Unable to play mpeg video using gst-launch

Sudarshan Bisht bisht.sudarshan at gmail.com
Wed Nov 23 11:21:56 PST 2011


Hi,

gst-launch-0.10 filesrc location=MovieTra1950_3.mpeg ! mpegdemux ! mpeg2dec
! autovideosink

works perfectly fine for me, I have latest gstreamer (core + plugins)
 installed in my machine.

So just update your installation :)




On Wed, Nov 23, 2011 at 2:08 PM, Soeren Grunewald <
soeren.grunewald at avionic-design.de> wrote:

> Hi,
>
> you should check what playbin does, try:
>
> $ GST_DEBUG_DUMP_DOT_DIR=. gst-launch playbin2 uri=file://...
> $ dot -T svg -O *gst-launch.PAUSED_PLAYING.dot -o pipe.svg && eog pipe.svg
>
> This will show you the formats detected and elements are choosen by
> playbin. Maybe this will help you.
> --
> Regards,
> Soeren
>
>
>
> On 11/23/2011 11:13 AM, David Walker wrote:
>
>> Hi,
>>
>> Try adding a typefind element between the filesrc and mpegdemux (whilst
>> adding "-v" to gst-inspect) and check the stream type is what you expect
>> and compatible with mpegdemux.
>>
>>
>> On 23 November 2011 05:00, Debsu<debojyoti.pal at wipro.com>  wrote:
>>
>>  I have already used this pipeline, the following are the result:
>>>
>>> gst-launch -v filesrc location=./Videos/**MovieTra1950_3.mpeg !
>>> mpegdemux !
>>> mpeg2dec ! ffmpegcolorspace ! autovideosink
>>> *Setting pipeline to PAUSED ...
>>> Pipeline is PREROLLING ...
>>> /GstPipeline:pipeline0/**GstMPEGDemux:mpegdemux0.**GstPad:sink: caps =
>>> video/mpeg, mpegversion=(int)2, systemstream=(boolean)true,
>>> parsed=(boolean)true
>>> /GstPipeline:pipeline0/**GstMpeg2dec:mpeg2dec0.GstPad:**sink: caps =
>>> video/mpeg,
>>> mpegversion=(int)2, systemstream=(boolean)false
>>> /GstPipeline:pipeline0/**GstMpeg2dec:mpeg2dec0.GstPad:**src: caps =
>>> video/x-raw-yuv, format=(fourcc)I420, width=(int)368, height=(int)480,
>>> pixel-aspect-ratio=(fraction)**40/23, framerate=(fraction)30000/**1001,
>>> interlaced=(boolean)true
>>> ERROR: from element /GstPipeline:pipeline0/**GstFileSrc:filesrc0:
>>> Internal
>>> data flow error.
>>> Additional debug info:
>>> gstbasesrc.c(2582): gst_base_src_loop ():
>>> /GstPipeline:pipeline0/**GstFileSrc:filesrc0:
>>> streaming task paused, reason not-negotiated (-4)
>>> ERROR: pipeline doesn't want to preroll.
>>> Setting pipeline to NULL ...
>>> *
>>>
>>> --
>>> View this message in context:
>>> http://gstreamer-devel.966125.**n4.nabble.com/Unable-to-play-**
>>> mpeg-video-using-gst-launch-**tp4094645p4098528.html<http://gstreamer-devel.966125.n4.nabble.com/Unable-to-play-mpeg-video-using-gst-launch-tp4094645p4098528.html>
>>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>>> ______________________________**_________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
>>> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>>>
>>>
>>
>>
>> ______________________________**_________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
>> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>>
>
> ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111123/c26d7da6/attachment.htm>


More information about the gstreamer-devel mailing list