自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 UDP的sendto也是会阻塞的

写rtsp服务器时,把一份数据发给多个客户端,结果发现3个客户端来上就有延时了,查了好久才发现用sendto函数发一个帧时,竟然有时用了上百毫秒,原来忘记把socket设置成异步的了

2014-03-23 17:47:31 15226 3

H264中码率控制算法与率失真模型的研究.pdf

H264中码率控制算法与率失真模型的研究.pdf

2012-09-26

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

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