[x264-devel] analyzing H264 packets

Loren Merritt lorenm at u.washington.edu
Tue Jul 31 17:09:48 CEST 2007


On Tue, 31 Jul 2007, aviad rozenhek wrote:

> I am receiving H264 packets over RTP. I would like to use x264 to
>
> 1) analyze the packets, to know what kind of NAL units it contains
> (for instance, discovering if the NAL is an IDR frame).
> 2)  repeat the H264 headers before each IDR frame. (note that data is
> already encoded, so I can't use x264_encoder_encode)

Whenever I hear anyone ask "I want to use X to do Y", I think of a story:
http://weblogs.asp.net/alex_papadimoulis/archive/2005/05/25/408925.aspx

No, x264 can't analyze or modify existing h264 streams. x264 is only an 
encoder. http://h264bitstream.sf.net/ might do what you want.

--Loren Merritt
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list