<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>Daniel_Díaz, Hello </DIV>
<DIV>&nbsp;</DIV>
<DIV>It sounds that you meet the same problem.</DIV>
<DIV>First, you need to parse codec_data, check file "h264.c" from 
gst-ffmpeg-0.10.2, the function "decode_frame" show you how to parse it.</DIV>
<DIV>Second, you should convert frame to nal unit, check file "media_export.c" 
from gpac-0.4.2, the function "gf_media_export_native" show you how to convert 
based&nbsp;pps,&nbsp;sps and unit size.&nbsp;</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-04-04 </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:mrchapp@gmail.com">Daniel_Díaz</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@lists.sourceforge.net</A> 
  </DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Time:</B> 
  2007-04-04, 04:01:48</DIV>
  <DIV 
  style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Subject:</B> 
  [gst-devel] Demuxing H.264</DIV>
  <DIV><BR></DIV>
  <DIV></DIV>
  <DIV></DIV>
  <DIV>
  <DIV>Hello!<BR><BR>With some help from the IRC channel, I managed to get my 
  MPEG-4<BR>decoder to work with a demuxer. That is, "filesrc ! qtdemux 
  !<BR>mympeg4dec ! mysink" now works correctly, thanks to the 
  codec_data<BR>being prepended to the first buffer.<BR><BR>However, that's not 
  helping much with H.264 and am having a hard time<BR>with it. The problem is 
  that my decoder chokes with the raw data. I<BR>digged into gstffmpeg's H.264 
  decoder and the codec_data seems to be<BR>information about NAL 
  Units.<BR><BR>Is there any way to decode this information without #including 
  and<BR>linking against libavcodec?<BR><BR>I noticed this was discussed in this 
  mailing list a couple of days<BR>ago, but couldn't find the final 
  resolution.<BR><BR>Thanks for any pointers. Greetings!<BR><BR>Daniel Díaz<BR><A 
  href="mailto: yosoy@danieldiaz.org">yosoy@danieldiaz.org</A><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><A 
  href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</A><BR>_______________________________________________<BR>gstreamer-devel 
  mailing list<BR><A 
  href="mailto: gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A><BR><A 
  href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A><BR><BR></DIV></DIV></BLOCKQUOTE></BODY></HTML>