Unable to play mpeg video using gst-launch

Soeren Grunewald soeren.grunewald at avionic-design.de
Wed Nov 23 04:08:21 PST 2011


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
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list