<HTML><HEAD><TITLE></TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer" 
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=GB2312"></HEAD>
<BODY style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma" leftMargin=5 topMargin=5 
#ffffff>
<DIV>zhangfei gao, Hello </DIV>
<DIV>&nbsp;</DIV>
<DIV>My h264 decoder support say that:</DIV>
<DIV>I&nbsp;believe MP4 uses the NAL format (Need to confirm) and hence doesn¡¯t 
have the NAL Start codes. One needs to convert that to bytstream format because 
our decoders support only byte-stream format. Also one needs to do this while 
demuxing it from MP4 otherwise the information various slice positions would be 
lost. </DIV>
<DIV>&nbsp;</DIV>
<DIV>So, How should I do?</DIV>
<DIV>&nbsp;</DIV>
<DIV><!--AID_FROMNAME_BEGIN-->jp_liu<!--AID_FROMNAME_END-->, <A 
href="mailto:<!--AID_FROMADDRESS_BEGIN-->jp_liu@astrocom.cn<!--AID_FROMADDRESS_END-->"><!--AID_FROMADDRESS_BEGIN-->jp_liu@astrocom.cn<!--AID_FROMADDRESS_END--></A></DIV>
<DIV>2007-03-26 </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal">----- 
  Receiving the following content ----- </DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; BACKGROUND: #e4e4e4; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal; font-color: black"><B>From:</B> 
  <A href="mailto:gaozhangfei@yahoo.com.cn">zhangfei gao</A> </DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Receiver:</B> 
  <A href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel</A> 
  </DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Time:</B> 
  2007-03-22, 21:24:01</DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Subject:</B> 
  [gst-devel]re£º Re: how to use qtdemux to demux h264 stream from MP4?</DIV>
  <DIV><BR></DIV>
  <DIV></DIV>
  <DIV></DIV>
  <DIV>
  <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>
  <HR SIZE=1>
  <A href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡</A> 
  </DIV></BLOCKQUOTE></BODY></HTML>