<br><br><div class="gmail_quote">On Thu, Feb 12, 2009 at 10:48 AM, Daniel James Laird <span dir="ltr">&lt;<a href="mailto:daniel.j.laird@nxp.com">daniel.j.laird@nxp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
How do I get this codec_info header from a downstream component (i.e how can my sink get this info)?<br>
<br>
I have tried searching for it in the code (an manual) and have failed horribly. &nbsp;I suspect that I am doing something rather stupid but I cannot find an example usage at all.<br></blockquote><div><br></div><div>It&#39;s likely to be in the caps of the stream. If you run your gst-launch in verbose mode (-v) you&#39;ll probably see them.</div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hope you can help<br>
Dan<br>
<br>
-----Original Message-----<br>
From: Michael Smith [mailto:<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>]<br>
Sent: 2009 Feb 10 16:50<br>
To: Discussion of the development of GStreamer<br>
Subject: Re: [gst-devel] QT Demux with strange ouput ES data<br>
<br>
On Tue, Feb 10, 2009 at 2:58 AM, Daniel James Laird<br>
&lt;<a href="mailto:daniel.j.laird@nxp.com">daniel.j.laird@nxp.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am trying to use the qtdemux to demux a &quot;.mov&quot; file that I have. I am using the qtdemux and then I put the output into my onboard decoder. &nbsp;However it is failing to find start codes in the data.<br>
&gt; I checked by running qtdemux on my PC (FC10) by running the following:<br>
&gt; gst-launch filesrc location=term.mov ! qtdemux name=demux &nbsp;demux.audio_00 ! queue ! fakesink &nbsp; demux.video_00 ! queue ! filesink location=gstreamer.h264<br>
&gt;<br>
<br>
qtdemux doesn&#39;t output an H.264 elementary stream, which is where<br>
you&#39;re having problems.<br>
<br>
Additional headers needed to initialise your decoder will be in the<br>
&quot;codec_info&quot; attribute in the caps. Depending on how your decoder is<br>
structured, perhaps you can supply this directly, or perhaps you need<br>
to rewrite the stream using that data to be a raw elementary stream.<br>
<br>
Mike<br>
<br>
------------------------------------------------------------------------------<br>
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)<br>
software. With Adobe AIR, Ajax developers can use existing skills and code to<br>
build responsive, highly engaging applications that combine the power of local<br>
resources and data with the reach of the web. Download the Adobe AIR SDK and<br>
Ajax docs to start building applications today-<a href="http://p.sf.net/sfu/adobe-com" target="_blank">http://p.sf.net/sfu/adobe-com</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" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
------------------------------------------------------------------------------<br>
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)<br>
software. With Adobe AIR, Ajax developers can use existing skills and code to<br>
build responsive, highly engaging applications that combine the power of local<br>
resources and data with the reach of the web. Download the Adobe AIR SDK and<br>
Ajax docs to start building applications today-<a href="http://p.sf.net/sfu/adobe-com" target="_blank">http://p.sf.net/sfu/adobe-com</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" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br><br>Embedded Systems and Pervasive Computing Lab (Embedded)<br>Center of Electrical Engineering and Informatics (CEEI)<br>Federal University of Campina Grande (UFCG)<br>