自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(237)
  • 资源 (35)
  • 收藏
  • 关注

原创 安装python kivy环境1

安装python kivy环境

2022-06-19 15:46:40 370 1

原创 vmware usb连接手机提示驱动程序错误,断开usb时提示未知错误, lsusb看不到手机设备

有可能是vmware有问题,用vmware安装包修复一下vmware软件就可以了

2020-01-16 09:50:31 1517 2

原创 RTCP 包中的 NTP 时间

RTP/RTCP的时间同步机制转自:http://blog.csdn.net/leesphone/article/details/5571972RTP支持传送不同codec的steaming,不同codec的clock rate的也不一样,不同的media之间需要依靠RTCP进行同步。这里简单介绍一下他们的机制。在每个RTCP SR包中对应有一个RTP时间和一个NTP时间,它表达...

2019-12-26 10:18:05 1288

原创 下载清华提供的Android源码初始化包

https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/浏览各个版本的包然后wget mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-20170801.tar注意要把mirros前的"https://"删掉,否则连不上服务器...

2019-12-12 10:00:07 428

原创 编译android上跑的test程序

/home/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -I/home/android-ndk-r10e/platforms/android-14/arch-arm/usr/include -L/home/android-ndk-r1...

2019-11-15 16:15:09 349

转载 SWIG与JAVA 交互最全开发指南一

项目背景最近开始研究做移动端项目,但是本人基本是做了五六年的c++的底层研发,对C++的研发可以说是驾轻就熟了,但是对于android还是属于刚入门阶段,虽然断断续续做移动端也做了一年,但是没有一个系统的去研究过android,怎么才能结合两者的优势呢。我决定用C++写底层。ANDROID是运行JAVA虚拟机层,编译的是字节码,效率不会太高,特别是密集型CPU计算。 希望用更快速,更简单...

2019-11-12 13:36:10 1402

转载 人工智能四大平台发布!百度、腾讯、阿里、科大讯飞各占一席

人工智能四大平台发布!百度、腾讯、阿里、科大讯飞各占一席https://blog.csdn.net/shenshen211/article/details/80634740

2019-11-07 11:29:14 879

转载 在美国码工一年能攒下来多少钱啊?

https://www.1point3acres.com/bbs/thread-71415-1-1.html

2019-09-24 14:24:57 491

转载 程序员去美国工作:奋斗在加州

程序员去美国工作:奋斗在加州(在线交流活动帮你深入了解一手的程序员赴美工作、生活的经验。定期邀请在美国各地工作的程序员现身说法,只为你解惑,记得联系我)本文为转载,该作者目前在美国圣地亚哥城工作,就职于全球著名IT公司。在美国工作生活多年,本文是他对在美国当程序员的一些观察和感受。奋斗中的胖胖写于2015年1月1日。自从毕业工作后,我就很少码文字了。前段时间忙里偷闲的功夫断断续续看了一...

2019-09-23 11:08:22 3311 1

转载 移民加拿大,你们后悔了么?

https://www.zhihu.com/question/31980909/answer/593547226作者:周一链接:https://www.zhihu.com/question/31980909/answer/593547226来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。这明显是屁股决定脑袋的问题。说真的,我见过90%移民后悔的都是二...

2019-09-18 11:36:12 941

转载 加拿大目前华人数量

加拿大目前华人数量有多少,结果惊人!2018-09-11 16:56很多同学和家长选择加拿大,都是为了优质的教育,适宜的生活环境慕名而来,由于在早些年,加拿大已有很多华人到当地移民生活,到现在,不同城市的华人数量都占有不少。不少家长不希望孩子去华人太多的城市,那么,威久留学专家就为大家讲讲加拿大华人在各城市的比重和数量有多少,我们一起来看看吧。都知道列治文是北美最大的"华人自治区...

2019-08-15 15:18:39 2126

转载 美国加州华裔人口最多的32个城市排名(根据最新统计数字计算)

美国加州华裔人口最多的32个城市排名(根据最新统计数字计算)发表于 2018-06-12 21:43 5月22日,经纪人房产网公众号发表了原创文章《美国南加州15个华裔人口比例最高的城市排名》,受到读者的广泛关注。 了解我们所生活的南加华人社区的人口状况,这的确是一个有趣的新鲜话题。 不过,从读者和朋友反馈的情况看,可能有人产生了小小的误解,以为华人比例高就是华人多。其实,...

2019-08-15 15:15:40 14879

原创 ndk-build 编译器输出重定向到日志文件

ndk-build >mylog 2>&1

2019-08-13 10:34:26 760 1

转载 Android源码下载(包括最新8.0版本)

Android源码下载(包括最新8.0版本)2018年02月08日 11:30:55天宇240阅读数 27707更多所属专栏:Android开发中的技巧版权声明:终于建了一个自己个人小站:https://huangtianyu.gitee.io,以后优先更新小站博客~ https://blog.csdn.net/hty1053240123/article/details/783...

2019-07-22 09:13:21 995

转载 Android NDK MediaCodec在ijkplayer中的实践 (media/NdkMediaCodec.h)

Android NDK MediaCodec在ijkplayer中的实践金山视频云关注0.92018.02.08 15:25*字数 1449阅读 3124评论 2喜欢 15从API 21(Android 5.0)开始Android提供C层的NDK MediaCodec的接口。Java MediaCodec是对NDK MediaCodec的封装,ijkplayer硬解通路...

2019-07-18 10:49:33 1802 1

转载 cc编译器看到了什么

cc -E foo.c | grep -v '^$' > foo.out

2019-02-27 17:43:07 321

转载 使用LeakTracer检测android NDK C/C++代码中的memory leak

使用LeakTracer检测android NDK C/C++代码中的memory leak hanpfei 关注 0.1 2017.01.12 20:26* 字数 4019 阅读 1345评论 3喜欢 5赞赏 1Memory issue是C/C++开发中比较常遇到,经常带给人比较大困扰,debug起来又常常让人无从下手的一类问题,memory issue主要又分为memory lea...

2019-02-21 10:22:54 2326

转载 source insight c/c++ 宏定义无法识别

source insight c/c++ 宏定义无法识别2017年08月30日 15:04:21 少年姜太公 阅读数:2608 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013693241/article/details/77716074在使用source insight 3.0看freeswitch代码时,函数返回值多用的是宏...

2019-01-23 10:25:03 7145

原创 vmware openwrt 设置 网络,连接互联网

1)openwrt的虚拟机选择NAT模式,vmware的编辑菜单中的虚拟网络编辑器里查看NAT模式的虚拟网卡的子网地址,假设是192.168.61.0   启动openwrt虚拟机,修改/etc/config/network,把lan网卡的地址设为192.168.61网段的地址2) 参考ubuntu虚拟机的网关设置,在ubuntu机器上输入route命令,看它的默认网关设置是多少。3) 在o...

2019-01-18 14:49:14 8023 1

转载 vmware下搭建openwrt

最近闲来无事,想研究下openwrt, 所以尝试着自己搭建一个来玩玩, 当然这里不是以源码编译的形式,那样太耗时。    首先官网下载已有的系统image,  路径如下 :    https://archive.openwrt.org/chaos_calmer/15.05.1/x86/generic/     然后找到combined-ext4.img.gz 这个image, 下载下来...

2019-01-17 09:47:39 1156

原创 android gdb 调试报错 No symbol in current context

是由于编译时用的ndk版本和调试时用的gdb对应的ndk版本不一致

2019-01-10 13:42:20 973

转载 使用openwrt路由搭建自己的媒体中心

使用openwrt路由搭建自己的媒体中心,硬盘有多大,你的ipad容量就有多大!(多图杀猫)    [复制链接]     xyx208 8主题 58帖子 32人气 级别: 青苹果   帖子 58 经验 66 精华 人气 32 粉...

2018-12-22 15:19:30 9573 1

转载 [openwrt 项目开发笔记]: 传送门

http://www.cnblogs.com/double-win/p/3888399.html“Openwrt 项目开发笔记”系列传送门:[Openwrt 项目开发笔记]:Openwrt平台搭建(一) (2014-07-11 00:11)[Openwrt 项目开发笔记]:Openwrt平台搭建(一)补遗 (2014-07-11 20:32)[Openwrt 项目开发笔记]:Ope...

2018-12-22 14:39:59 446 1

转载 git 书

https://git-scm.com/book/zh/v2

2018-11-23 15:25:49 159

转载 Git 分支 - 分支的新建与合并

2 Git 分支 - 分支的新建与合并分支的新建与合并现在让我们来看一个简单的分支与合并的例子,实际工作中大体也会用到这样的工作流程:开发某个网站。 为实现某个新的需求,创建一个分支。 在这个分支上开展工作。假设此时,你突然接到一个电话说有个很严重的问题需要紧急修补,那么可以按照下面的方式处理:返回到原先已经发布到生产服务器上的分支。 为这次紧急修补建立一个新分支,并在其中...

2018-11-23 15:23:30 611

原创 git 手动合入代码

git diff . --stat

2018-10-17 11:26:31 1177

原创 vscode 有不少地方比souce insight好,只是安装麻烦

需要上互联网装一些插件,比如 vscode.cpptools NO. 插件 简介 1 Project Manager It helps you to easily access your projects, no matter where they are located. Don’t miss that important projects anymore. ...

2018-09-30 15:46:35 6736

原创 apk 打包批处理命令

aapt package -f -A $ASSETS_DIR\assets -S $RES_DIR\res -I $ANDROID_SDK_DIR\sdk\platforms\android-23\android.jar -M $MANIFEST_DIR\AndroidManifest.xml -F my_packagecall apkbuilder my_unsigned.apk -v -u ...

2018-09-27 10:16:45 823

转载 Android打包之bat脚本打包

Android打包可以使用eclipse直接打包,而eclipse打包其实是对一系打包命令的执行。既然是执行命令,那么命令行也同样可以胜任,所以有了bat脚本打包。对于打包,其过程大致如下:1、生成R.java2、编译*.java3、生成classes.dex4、将assets、res打包5、生成未签名的apk6、将apk签名基于这些步骤,我们使用bat来一步一步完成,...

2018-09-26 10:51:37 3640

原创 android cannot link executable

run a elf file on android, can't locate the .so file in $PWD, must put the .so file into the /system/lib adb rootadb shellsumount | grep blockfind out the device on which system mount( lik...

2018-09-05 09:43:17 4522

原创 .so中符号明明有,就是链接不上

用gcc编译能够连接成功,用g++编译连接就找不到那个函数

2018-09-04 14:26:57 1442

原创 用gradle脚本拷贝文件

task mycopy(type: Copy) {      copy {         from 'c:\\1\\'         into 'c:\\2\\     }}

2018-09-03 09:06:11 1391

转载 解决ubuntu上samba服务器通过windows访问不了的问题。

各种办法想尽了,发现一只报没有权限访问,后面通过查看samba的log 文件。/var/log/samba/log.xxxx 发现每次访问的时候,里面打印了一堆crash导致的调用堆栈。 后面发现是samba本身可能存在问题。在一国外论坛上找到了解决办法。特分享之。 sudo apt-get install --reinstall libsmbclient libsmbclient...

2018-08-30 16:58:45 7555 2

转载 Ubuntu14.04安装samba

Ubuntu14.04安装samba  按照惯例,首先介绍Samba。Samba是在Linux系统上实现的SMB(Server Messages Block,信息服务块)协议的一款免费软件。它实现在局域网内共享文件和打印机,是一个客户机/服务器型协议。客户机通过SMB协议访问服务器上的共享文件系统。安装步骤:首先同步源的索引,保证获取到最新的软件包。执行sudo apt-get upd...

2018-08-30 16:58:13 211

转载 Android笔记之使用CMake进行JNI开发(Android Studio)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/quwei3930921/article/details/78820991不知道有多少朋友像我一样,被Android NDK开发的环境配置折腾到吐,然后放弃。从事Android工作几年了,也不太愿意接触NDK开发。不过福利终于来了,新的AS中开始使用CMake开发jni,开发c跟开发java一样简...

2018-08-29 10:21:32 305

原创 libmingwex.a(xxx.o) xxx 已经在libcmtd.lib中定义

 libmingwex.a 所在的目录 执行命令 lib -remove:mbrtowc.o libmingwex.a

2018-08-27 10:29:39 897

原创 mingw compile 64位 x264

./configure --host=x86_64-w64-mingw32

2018-08-24 17:13:31 449

转载 H264码流打包分析(精华)

H264码流打包分析(精华)2017年08月21日 17:29:25 阅读数:660更多个人分类: 音频、视频转载地址:http://www.cnblogs.com/lidabo/p/4602422.html  H264码流打包分析SODB 数据比特串-->最原始的编码数据RBSP 原始字节序列载荷-->在SODB的后面填加了结尾比特(RBSP trailing b...

2018-08-23 09:03:17 1391

转载 AVS2 有点令人不敢相信

王荣刚:建立中国自主视频技术生态文 / 王荣刚整理 / LiveVideoStack直播回放:https://www.baijiayun.com/web/playback/index?classid=18072579438145&session_id=201807260&token=PsTmsjVpbRht681rrJ0J_Xl0fbNahfHFmF1doYNdca...

2018-08-07 10:47:24 22846 1

转载 使用Android Studio 进行NDK开发和调试

尽管Android Studio已经越来越流行了,但很多人还是习惯于Eclipse或源码环境下开发JNI应用。个人认为使用Android Studio作NDK开发是必然趋势,所以本文将简单介绍如何在Android Studio上实现NDK开发。简介JNIJNI 是Java Native Inteface的缩写,是Java中定义的一种用于连接Java和C/C++接口的一种实现方式。N...

2018-08-07 10:35:55 2272

封装好的overlay

封装好的overlay 要解决tearing的问题,用overlay

2012-08-28

overlay demo

overlay demo

2012-08-15

x264-2009-vc9.0.rar

可以用vc调试的x264 x264-2009-vc9.0.rar

2012-08-15

insight-7.3.50.20110803-cvs-src.tar

configure make make install (gdb version 7.3)

2012-05-16

windows gdb 可视化 调试 insight mingw

windows gdb 可视化 调试 insight mingw 1 运行wish84 2 在wish84的console中运行insight

2012-05-16

video osd yuv alpha

video osd yuv alpha

2012-02-17

x264-intel IPP 比较.rar

x264-intel IPP 比较.rar

2012-02-07

ffmpeg vc project

ffmpeg 移植到vc下的工程 ffmpeg vc project

2012-02-06

ffmpeg-2012-demo.rar

最新的ffmpeg h264 demo

2012-02-06

提取最新的ffmpeg h264并测试

提取最新的ffmpeg h264并测试

2012-02-06

rtsp 流测试工具

rtsp 流测试工具

2012-02-01

测试coreavc解码速度的工具

测试coreavc解码速度的工具

2012-01-31

h.264 decoder and play yuv

h264 解码 yuv directdraw 播放 play

2012-01-13

ffmpeg 0.9 h264 decoder demo

ffmpeg 0.9 h264 decoder demo

2012-01-12

h.264 测试序列

h.264 测试序列

2012-01-05

h.264 decoder demo

h.264 decoder demo

2012-01-05

h.264率失真优化

h.264 率失真优化率失真优化率失真优化率失真优化率失真优化率失真优化率失真优化率失真优化

2010-07-19

MobaXterm.rar

MobaXterm

2020-03-20

android 播放 pcm

android 播放 pcm

2017-04-21

安卓视频工具

安卓视频工具

2017-03-29

ffmpeg dxva gpu 解码的完整demo

ffmpeg dxva gpu 解码的完整demo,下载后即可顺利编译运行

2016-08-31

ffmpeg demo 2016

ffmpeg demo 2016

2016-08-16

x264 日记 

x264 blog x264 作者的博客

2016-05-18

从ffmpeg中提取出来的h264解码源代码 (含编译环境)3

C:\MinGW\msys\1.0\home\Administrator\h264

2016-04-14

从ffmpeg中提取出来的h264解码源代码 (含编译环境) 2

C:\MinGW\msys\1.0\home\Administrator\h264

2016-04-14

从ffmpeg中提取出来的h264解码源代码 (含编译环境)

C:\MinGW\msys\1.0\home\Administrator\h264

2016-04-14

MP4查看工具 QTAtomViewer.exe

MP4查看工具 QTAtomViewer.exe

2014-04-18

COM(activex)使用自定义类型传递数据

COM,activex使用自定义类型传递数据

2014-04-08

爱宝(电脑限时软件)

为了控制小孩使用电脑,自己写的一个小软件。 电脑限时软件,可以设置每隔一段时间休息几分钟,用于保护儿童的眼睛

2013-08-29

directshow msdn

directshow msdn 帮助 user manual

2013-08-28

MPEG-PS 流 打包 解包

MPEG-PS 流 打包 解包

2013-08-05

iphone h.264 live encode 实时 硬编码

Hardware Video Encoding on iPhone — RTSP Server example On iOS, the only way to use hardware acceleration when encoding video is to use AVAssetWriter, and that means writing the compressed video to file. If you want to stream that video over the network, for example, it needs to be read back out of the file. I’ve written an example application that demonstrates how to do this, as part of an RTSP server that streams H264 video from the iPhone or iPad camera to remote clients. The end-to-end latency, measured using a low-latency DirectShow client, is under a second. Latency with VLC and QuickTime playback is a few seconds, since these clients buffer somewhat more data at the client side. The whole example app is available in source form here under an attribution license. It’s a very basic app, but is fully functional. Build and run the app on an iPhone or iPad, then use Quicktime Player or VLC to play back the URL that is displayed in the app. Details, Details When the compressed video data is written to a MOV or MP4 file, it is written to an mdat atom and indexed in the moov atom. However, the moov atom is not written out until the file is closed, and without that index, the data in mdat is not easily accessible. There are no boundary markers or sub-atoms, just raw elementary stream. Moreover, the data in the mdat cannot be extracted or used without the data from the moov atom (specifically the lengthSize and SPS and PPS param sets). My example code takes the following approach to this problem: Only video is written using the AVAssetWriter instance, or it would be impossible to distinguish video from audio in the mdat atom. Initially, I create two AVAssetWriter instances. The first frame is written to both, and then one instance is closed. Once the moov atom has been written to that file, I parse the file and assume that the parameters apply to both instances, since the initial conditions were the same. Once I have the parameters, I use a dispatch_source object to trigger reads from the file whenever new data is written. The body of the mdat chunk consists of H264 NALUs, each preceded by a length field. Although the length of the mdat chunk is not known, we can safely assume that it will continue to the end of the file (until we finish the output file and the moov is added). For RTP delivery of the data, we group the NALUs into frames by parsing the NALU headers. Since there are no AUDs marking the frame boundaries, this requires looking at several different elements of the NALU header. Timestamps arrive with the uncompressed frames from the camera and are stored in a FIFO. These timestamps are applied to the compressed frames in the same order. Fortunately, the AVAssetWriter live encoder does not require re-ordering of frames. When the file gets too large, a new instance of AVAssetWriter is used, so that the old temporary file can be deleted. Transition code must then wait for the old instance to be closed so that the remaining NALUs can be read from the mdat atom without reading past the end of that atom into the subsequent metadata. Finally, the new file is opened and timestamps are adjusted. The resulting compressed output is seamless. A little experimentation suggests that we are able to read compressed frames from file about 500ms or so after they are captured, and these frames then arrive around 200ms after that at the client app. Rotation For modern graphics hardware, it is very straightforward to rotate an image when displaying it, and this is the method used by AVFoundation to handle rotation of the camera. The buffers are captured, encoded and written to file in landscape orientation. If the device is rotated to portrait mode, a transform matrix is written out to the file to indicate that the video should be rotated for playback. At the same time, the preview layer is also rotated to match the device orientation. This is efficient and works in most cases. However, there isn’t a way to pass this transform matrix to an RTP client, so the view on a remote player will not match the preview on the device if it is rotated away from the base camera orientation. The solution is to rotate the pixel buffers after receiving them from the capture output and before delivering them to the encoder. There is a cost to this processing, and this example code does not include this extra step.

2013-05-23

从ffmpeg中提取出来的h264解码源代码

花了一周时间从ffmpeg中提取出来的,本想研究一下h.264解码,后又束之高阁。 有缘者得之

2013-03-04

SSE4 intel pdf

SSE4 intel pdf

2012-11-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除