<div>I'm analyzing H.264 movies using ffmpeg. I modified the h264.c file to gather all information I want and simply run ffmpeg (or ffplay). That works fine. Now if issue 2) means you also want to output a modified h264 stream, I think neither the shoe or the glass will work.
</div>
<div> </div>
<div>Cor<br><br> </div>
<div><span class="gmail_quote">2007/7/31, Loren Merritt <<a href="mailto:lorenm@u.washington.edu">lorenm@u.washington.edu</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, 31 Jul 2007, aviad rozenhek wrote:<br><br>> I am receiving H264 packets over RTP. I would like to use x264 to
<br>><br>> 1) analyze the packets, to know what kind of NAL units it contains<br>> (for instance, discovering if the NAL is an IDR frame).<br>> 2) repeat the H264 headers before each IDR frame. (note that data is
<br>> already encoded, so I can't use x264_encoder_encode)<br><br>Whenever I hear anyone ask "I want to use X to do Y", I think of a story:<br><a href="http://weblogs.asp.net/alex_papadimoulis/archive/2005/05/25/408925.aspx">
http://weblogs.asp.net/alex_papadimoulis/archive/2005/05/25/408925.aspx</a><br><br>No, x264 can't analyze or modify existing h264 streams. x264 is only an<br>encoder. <a href="http://h264bitstream.sf.net/">http://h264bitstream.sf.net/
</a> might do what you want.<br><br>--Loren Merritt<br>_______________________________________________<br>x264-devel mailing list<br><a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br><a href="http://mailman.videolan.org/listinfo/x264-devel">
http://mailman.videolan.org/listinfo/x264-devel</a><br></blockquote></div><br>