Hi,<br><br>Try pipeline below, (added explicit demuxer pad)<br><br>gst-launch filesrc location=test.mpg ! mpegdemux name=demuxer demuxer.video_00 !<br>
queue ! mpeg2dec ! ffmpegcolorspace ! ximagesink demuxer.audio_00 ! queue ! mad !<br>
audioconvert ! audioresample ! alsasink<br><br><br><div class="gmail_quote">2010/3/22 Jason Yang <span dir="ltr">&lt;<a href="mailto:jiheng.yang@gmail.com">jiheng.yang@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Dear all,<br>
<br>
I was trying to use GStreamer(0.10.26) to play a mpg file under the latest<br>
version of Ubuntu.<br>
<br>
I used:<br>
gst-launch filesrc location=test.mpg ! mpegdemux ! mpeg2dec !<br>
ffmpegcolorspace ! ximagesink<br>
<br>
The video can be perfectly played. Then I tried to use queue to make audio<br>
run as the manual of gst-launch told me:<br>
gst-launch filesrc location=test.mpg ! mpegdemux name=demuxer demuxer. !<br>
queue ! mpeg2dec ! ffmpegcolorspace ! ximagesink demuxer. ! queue ! mad !<br>
audioconvert ! audioresample ! alsasink<br>
<br>
Then GStreamer told me queue can&#39;t link with the decoder, prompting:<br>
WARNING: erroneous pipeline: could not link queue0 to mpeg2dec0.<br>
<br>
I wonder why this is not working as the manual said. I suppose it is a<br>
pretty normal way to play video with audio together. Or Could I have done<br>
something wrong to make GStreamer crazy? If I did, please let me know where<br>
I did wrong, so I can make it work.<br>
<br>
Thank you very much for all the replies.<br>
--<br>
View this message in context: <a href="http://n4.nabble.com/GStreamer-queue-issue-tp1677638p1677638.html" target="_blank">http://n4.nabble.com/GStreamer-queue-issue-tp1677638p1677638.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&amp;#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</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>