[gst-devel] QT Demux with strange ouput ES data

Daniel James Laird daniel.j.laird at nxp.com
Thu Feb 12 13:48:01 CET 2009


How do I get this codec_info header from a downstream component (i.e how can my sink get this info)?  

I have tried searching for it in the code (an manual) and have failed horribly.  I suspect that I am doing something rather stupid but I cannot find an example usage at all.

Hope you can help
Dan

-----Original Message-----
From: Michael Smith [mailto:msmith at xiph.org] 
Sent: 2009 Feb 10 16:50
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] QT Demux with strange ouput ES data

On Tue, Feb 10, 2009 at 2:58 AM, Daniel James Laird
<daniel.j.laird at nxp.com> wrote:
> Hi,
>
> I am trying to use the qtdemux to demux a ".mov" file that I have. I am using the qtdemux and then I put the output into my onboard decoder.  However it is failing to find start codes in the data.
> I checked by running qtdemux on my PC (FC10) by running the following:
> gst-launch filesrc location=term.mov ! qtdemux name=demux  demux.audio_00 ! queue ! fakesink   demux.video_00 ! queue ! filesink location=gstreamer.h264
>

qtdemux doesn't output an H.264 elementary stream, which is where
you're having problems.

Additional headers needed to initialise your decoder will be in the
"codec_info" attribute in the caps. Depending on how your decoder is
structured, perhaps you can supply this directly, or perhaps you need
to rewrite the stream using that data to be a raw elementary stream.

Mike

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list