Hi All<br><br>I am using gstreamer to work with MPEG-1 streams. However, I am unable to get it working. The pipeline hangs and does not go to a PLAYING state. I suspect the issues to be mpegdemux not sending no_more_pads() and hence decodebin not being able to change stage to PLAYING which causes filesink to be stuck in PAUSED and hence, not coming out of preroll-ing.<br>
<br>e.g. try this pipeline:<br>gst-launch -v gnomevfssrc location=&quot;<a href="http://samples.mplayerhq.hu/MPEG1/mpeg_demuxer_crash.mpg">http://samples.mplayerhq.hu/MPEG1/mpeg_demuxer_crash.mpg</a>&quot; ! decodebin name=d ! filesink location=aud d. ! filesink location=vid<br>
<br>Questions:<br><ul><li>Is this a known bug? If yes, is there a known/recommended workaround?</li><li>mpegdemux has a RANK of secondary and I was expecting that it would work straightaway while ffdemux_mpeg has a rank of NONE and hence decodebin does not pick it up. How is the RANK of elements decided?</li>
</ul>(I am using gst-plugins-ugly-0.10.6)<br><br>Any help/pointers would be really helpful.<br><br>thanks and regards<br>Mohit<br>