<div>hi, jp_liu</div>  <div>&nbsp;</div>  <div>"h264.c" in ffmpeg has useful information of how to parse "codec_data" which get set_caps.</div>  <div>"codec_data" has all the nal_length, sps data and pps data.</div>  <div>&nbsp;</div>  <div>Thanks<BR><B><I>Jan Schmidt &lt;thaytan@noraisin.net&gt;</I></B> Ð´µÀ£º</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">jp_liu wrote:<BR>&gt; Hello, gstreamer-devel<BR>&gt; <BR>&gt; How to use qtdemux to demux h264 stream from MP4?<BR>&gt; The demuxed h264 stream looks have no startcodes before every NAL<BR>&gt; Unit. So, Some key information ( such as: SPS PPS ....) is missed. It<BR>&gt; caused my H264 decoder can not decode the frame which demuxed by qtdemux .<BR>&gt; How can I solve this problem?<BR>&gt; <BR><BR>I think the information your decoder is looking for is the stuff<BR>provided by the 'codec_data' in the caps. This is the header information<BR>that quicktime stores
 and provides separately from the actual data stream.<BR><BR>Regards,<BR>Jan.<BR><BR>-------------------------------------------------------------------------<BR>Take Surveys. Earn Cash. Influence the Future of IT<BR>Join SourceForge.net's Techsay panel and you'll get the chance to share your<BR>opinions on IT &amp; business topics through brief surveys-and earn cash<BR>http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV_______________________________________________<BR>gstreamer-devel mailing list<BR>gstreamer-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1><a href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡</a>