Thanks Felipe for replying.<br><br><font size="2">&nbsp;Just now I tried with qtdemux and also with decodebin2 but I&#39;m not able to play. I used following command-<br><br>gst-launch-0.10 -v&nbsp; filesrc location=MI3_QCIF_24FPS_5MBPS_48KHZ_128KBPS.3gp ! qtdemux&nbsp; name=demux {demux.audio_00 ! queue ! omx_mp3dec ! omx_audiosink} {demux.video_00 ! queue&nbsp; ! omx_h264dec&nbsp; ! omx_videosink} <br>
</font><br>&nbsp;&nbsp; Please can u suggest any way to resolve this problem? <br><br>In my openmaxil components we have separate demuxer and clock component but I do&#39;nt have idea how to use in gst openmax. Either should I integrate this component like other decoder components are integrated in gst openmax?<br>
<br>thanks a lot for ur suggestion.<br><br>Regards<br><br>Prafull<br><br><div class="gmail_quote">On Sat, Dec 6, 2008 at 4:40 PM, Felipe Contreras <span dir="ltr">&lt;<a href="mailto:felipe.contreras@gmail.com">felipe.contreras@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Sat, Dec 6, 2008 at 12:13 PM, prafull singh<br>
&lt;<a href="mailto:singh.prafull0206@gmail.com">singh.prafull0206@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I&#39;m porting my own openmaxil component with gstreamer. I used gst openmax<br>
&gt; plugin whatever used for ST Bellagio component. I&#39;m able to play aac file<br>
&gt; containing audio only. But when I&#39;m paying file containing both audio and<br>
&gt; video then I&#39;m not able to parse data using decodebin element. I&#39;m using<br>
&gt; following command for playing file containing audio and video both-<br>
&gt; gst-launch -v filesrc location=MI3_QCIF_24FPS_5MBPS_48KHZ_128KBPS.3gp &nbsp;!<br>
&gt; decodebin name=demux {demux.audio_00 ! queue ! omx_mp3dec ! omx_audiosink}<br>
&gt; {demux.video_00 ! queue &nbsp;! omx_h264dec &nbsp;! omx_videosink}<br>
<br>
</div>If you read decodebin&#39;s description: &quot;Autoplug and decode to raw<br>
media&quot;, you would understand that&#39;s it&#39;s not supposed to demux. In<br>
theory you can replace omx_mp3dec by decodebin for example.<br>
<br>
You could use decodebin2 as a demuxer, but it&#39;s not working perfectly right now.<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; followig output I&#39;m getting-<br>
&gt;<br>
&gt; /pipeline0/demux/typefind.src: caps = application/x-3gp<br>
&gt; Pipeline is PREROLLING ...<br>
&gt; /pipeline0/demux/queue2.sink: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt; framed=(boolean)true, codec_data=(buffer)1410, rate=(int)16000,<br>
&gt; channels=(int)2<br>
&gt; /pipeline0/demux/queue2.src: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt; framed=(boolean)true, codec_data=(buffer)1410, rate=(int)16000,<br>
&gt; channels=(int)2<br>
&gt; /pipeline0/demux/omxaacdec0.sink: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt; framed=(boolean)true, codec_data=(buffer)1410, rate=(int)16000,<br>
&gt; channels=(int)2<br>
&gt; /pipeline0/demux/omxaacdec0.sink: caps = audio/mpeg, mpegversion=(int)4,<br>
&gt; framed=(boolean)true, codec_data=(buffer)1410, rate=(int)16000,<br>
&gt; channels=(int)2<br>
&gt; /pipeline0/demux/queue3.sink: caps = video/x-h264,<br>
&gt; codec_data=(buffer)0142e00affe100122742e00aa918589d803506010630ad7bdf0101000428ce0988,<br>
&gt; width=(int)176, height=(int)144, framerate=(fraction)2997/200<br>
&gt; /pipeline0/demux/queue3.src: caps = video/x-h264,<br>
&gt; codec_data=(buffer)0142e00affe100122742e00aa918589d803506010630ad7bdf0101000428ce0988,<br>
&gt; width=(int)176, height=(int)144, framerate=(fraction)2997/200<br>
&gt; /pipeline0/demux/omxh264dec1.sink: caps = video/x-h264,<br>
&gt; codec_data=(buffer)0142e00affe100122742e00aa918589d803506010630ad7bdf0101000428ce0988,<br>
&gt; width=(int)176, height=(int)144, framerate=(fraction)2997/200<br>
&gt; /pipeline0/demux/omxh264dec1.sink: caps = video/x-h264,<br>
&gt; codec_data=(buffer)0142e00affe100122742e00aa918589d803506010630ad7bdf0101000428ce0988,<br>
&gt; width=(int)176, height=(int)144, framerate=(fraction)2997/200<br>
&gt; /pipeline0/demux/omxaacdec0.src: caps = audio/x-raw-int, width=(int)16,<br>
&gt; depth=(int)16, rate=(int)48000, signed=(boolean)true, endianness=(int)1234,<br>
&gt; channels=(int)2<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m suspecting that decodebin demuxer element is not able to stream audio<br>
&gt; and video data to corresponding audio and video decoder. Can anyone please<br>
&gt; suggest in gstreamer which type of demuxer I should use. Also in GSTOpenmax<br>
&gt; there is no demuxer element so how demuxing is happening in this case?<br>
<br>
</div></div>That&#39;s right, you need to specify the demuxer. Probably you need qtdemux.<br>
<br>
The goal of gst-openmax is not to replace the whole pipeline with omx<br>
elements, just the parts that you need. There&#39;s nothing wrong with<br>
having part in GStreamer and part in OpenMAX IL.<br>
<br>
There&#39;s people interested in developing a demuxer wrapper in<br>
gst-openmax, but it has not been done yet.<br>
<br>
--<br>
<font color="#888888">Felipe Contreras<br>
</font></blockquote></div><br>