Hi All,<br><br>I have a mpeg media file with audio and video content. <br>video caps = video/mpeg, systemstream=(boolean)true, mpegversion=(int)1<br>audio caps = audio/mpeg, mpegversion=(int)1.<br><br>I am using the below pipeline to play the file<br>
<br>gst-launch filesrc location=/home/Alien.mpg ! decodebin name=dec dec. ! queue ! ffmpegcolorspace ! xvimagesink dec. ! queue ! audioconvert ! autoaudiosink -v<br><br>But file doesn&#39;t play with this launch line. The video freezes after the first frame and I don&#39;t hear any audio too. <br>
But when I am constructing the pipeline using the plugins used by decodebin the file plays well. I don&#39;t understand whats the difference. Below is the pipeline constructed using the plugins used by decodebin for this particular file.<br>
<br>gst-launch filesrc location=/home/Alien.mpg ! mpegpsdemux name=demux demux. ! queue ! mpeg2dec ! ffmpegcolorspace ! xvimagesink demux. ! queue ! mp3parse ! mad ! audioconvert ! autoaudiosink <br><br>
Thanks<br>