Hi,<div><br></div><div>Try adding a typefind element between the filesrc and mpegdemux (whilst adding &quot;-v&quot; to gst-inspect) and check the stream type is what you expect and compatible with mpegdemux.</div><div><br>
</div><div><br><div class="gmail_quote">On 23 November 2011 05:00, Debsu <span dir="ltr">&lt;<a href="mailto:debojyoti.pal@wipro.com">debojyoti.pal@wipro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have already used this pipeline, the following are the result:<br>
<br>
gst-launch -v filesrc location=./Videos/MovieTra1950_3.mpeg ! mpegdemux !<br>
<div class="im">mpeg2dec ! ffmpegcolorspace ! autovideosink<br>
</div>*Setting pipeline to PAUSED ...<br>
Pipeline is PREROLLING ...<br>
/GstPipeline:pipeline0/GstMPEGDemux:mpegdemux0.GstPad:sink: caps =<br>
video/mpeg, mpegversion=(int)2, systemstream=(boolean)true,<br>
parsed=(boolean)true<br>
/GstPipeline:pipeline0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = video/mpeg,<br>
mpegversion=(int)2, systemstream=(boolean)false<br>
/GstPipeline:pipeline0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps =<br>
<div class="im">video/x-raw-yuv, format=(fourcc)I420, width=(int)368, height=(int)480,<br>
pixel-aspect-ratio=(fraction)40/23, framerate=(fraction)30000/1001,<br>
interlaced=(boolean)true<br>
</div>ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal<br>
data flow error.<br>
Additional debug info:<br>
gstbasesrc.c(2582): gst_base_src_loop ():<br>
/GstPipeline:pipeline0/GstFileSrc:filesrc0:<br>
streaming task paused, reason not-negotiated (-4)<br>
<div class="im">ERROR: pipeline doesn&#39;t want to preroll.<br>
</div>Setting pipeline to NULL ...<br>
*<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Unable-to-play-mpeg-video-using-gst-launch-tp4094645p4098528.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Unable-to-play-mpeg-video-using-gst-launch-tp4094645p4098528.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>