自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 Android用surface直接显示yuv数据(三)

http://blog.csdn.net/tung214/article/details/37762487

2017-04-21 13:56:17 1736

转载 android.os.Debug.waitForDebugger() 使用需谨慎

android.os.Debug.waitForDebugger() 通常用于service中的调试,但因一时疏忽,打包时忘记注释掉这一段代码,将会导致线程阻塞,故使用时需谨慎,不需要调试了记得把它注释掉。FileInputStream 出现权限问题需要在AndroidMainfest.xml中增加 Permission,选uses pemission的READ_EXTERNAL_ST

2017-04-19 16:53:23 2073

转载 CSipsimple编译

CSipsimple是依赖pjsip协议,官网http://code.google.com/p/csipsimple/,官网上也有已经编译好的apk,对于编译CSipsimple有两种方式,一种就是要编译jni,另一种编译jni,直接使用已经编译好的这两种我都会说一下,首先说比较简单的一种,这个在官网上 也有介绍http://code.google.com/p/csipsimple/wiki/

2017-04-15 09:14:56 1366 2

转载 MEDIACODEC在JNI层下的H264,H265视频硬解码实现(ACODEC )

MEDIACODEC在JNI层下的H264,H265视频硬解码实现(ACODEC )发表于 2015-12-22 11:07:02      浏览:3600 | 回复:20        打印      只看该作者   [复制链接]楼主本帖最后由 jingjin221 于 2016-11-21 12:03 编辑    有疑惑请一起商讨QQ(5

2017-04-12 10:13:51 3370

原创 .git目录删不掉

这样的情况并非是第一次遇到了,以前总是会觉得这样的问题只是电脑的错乱,重启一下电脑就好了,但是并非每次都需要重启电脑的,其实简单的设置一下,这个问题就可以解决了。对了,咱们还是说说这到底是个什么问题吧!不知道大家在使用win7 64位旗舰版的时候有没有遇到过,删除一个文件,老是提示“文件正被另一个程序占用”,所以一直无法实现删除的操作。怎么办呢?下面咱们就来说说。  推荐系统:win7 6

2017-04-01 16:28:38 10499 2

封装好的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关注的人

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