Dear all,
I was trying to use GStreamer(0.10.26) to play a mpg file under the latest version of Ubuntu. I used: gst-launch filesrc location=test.mpg ! mpegdemux ! mpeg2dec ! ffmpegcolorspace ! ximagesink The video can be perfectly played. Then I tried to use queue to make audio run as the manual of gst-launch told me: gst-launch filesrc location=test.mpg ! mpegdemux name=demuxer demuxer. ! queue ! mpeg2dec ! ffmpegcolorspace ! ximagesink demuxer. ! queue ! mad ! audioconvert ! audioresample ! alsasink Then GStreamer told me queue can't link with the decoder, prompting: WARNING: erroneous pipeline: could not link queue0 to mpeg2dec0. I wonder why this is not working as the manual said. I suppose it is a pretty normal way to play video with audio together. Or Could I have done something wrong to make GStreamer crazy? If I did, please let me know where I did wrong, so I can make it work. Thank you very much for all the replies. |
Hi,
Try pipeline below, (added explicit demuxer pad) gst-launch filesrc location=test.mpg ! mpegdemux name=demuxer demuxer.video_00 ! queue ! mpeg2dec ! ffmpegcolorspace ! ximagesink demuxer.audio_00 ! queue ! mad ! audioconvert ! audioresample ! alsasink 2010/3/22 Jason Yang <[hidden email]>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |