Unable to play mpeg video using gst-launch
Sudarshan Bisht
bisht.sudarshan at gmail.com
Tue Nov 22 05:31:48 PST 2011
I guess you need to provide codec_data with caps between demuxer and
decoder. When you play this file with playbin or decodebin using -v
option, you get to see caps between demuxer and decoder, so use the
same.
-
Sudarshan
From: Debsu
Sent: 22/11/2011 10:40
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Unable to play mpeg video using gst-launch
The excerpts of the command *"gst-launch-0.10 --gst-debug=3 --verbose filesrc
location=/home/mmes/Videos/MovieTra1950_3.mpeg ! flupsdemux ! mpeg2dec !
ffmpegcolorspace ! autovideosink"* are the following:
*
0:00:00.070213199 29059 0x8d9dc90 INFO flupsdemux
gstmpegdemux.c:2773:gst_flups_sink_get_duration:<flupsdemux0> sink segment
configured bytes segment start=0, stop=24068005, last_stop=0,
duration=24068005, rate=1.000000, applied_rate=1.000000, flags=0x00,
time=0:00:00.000000000, accum=0:00:00.000000000
0:00:00.070278081 29059 0x8d9dc90 INFO flupsdemux
gstmpegdemux.c:2775:gst_flups_sink_get_duration:<flupsdemux0> src segment
configured time segment start=0:00:00.477000000, stop=99:99:99.999999999,
last_stop=0:00:00.477000000, duration=0:00:52.118788888, rate=1.000000,
applied_rate=1.000000, flags=0x00, time=0:00:00.000000000,
accum=0:00:00.000000000
0:00:00.070434445 29059 0x8d9dc90 INFO GST_ELEMENT_PADS
gstelement.c:722:gst_element_add_pad:<flupsdemux0> adding pad 'video_e0'
0:00:00.070470515 29059 0x8d9dc90 INFO GST_PIPELINE
./grammar.y:496:gst_parse_found_pad: trying delayed linking
flupsdemux0:(NULL) to mpeg2dec0:(NULL)
0:00:00.070488671 29059 0x8d9dc90 INFO GST_ELEMENT_PADS
gstutils.c:1694:gst_element_link_pads_full: trying to link element
flupsdemux0:(any) to element mpeg2dec0:(any)
0:00:00.070507550 29059 0x8d9dc90 INFO GST_PADS
gstutils.c:1028:gst_pad_check_link: trying to link flupsdemux0:video_e0 and
mpeg2dec0:sink
0:00:00.070529332 29059 0x8d9dc90 INFO GST_PADS
gstutils.c:1592:prepare_link_maybe_ghosting: flupsdemux0 and mpeg2dec0 in
same bin, no need for ghost pads
0:00:00.070552528 29059 0x8d9dc90 INFO GST_PADS
gstpad.c:1956:gst_pad_link_prepare: trying to link flupsdemux0:video_e0 and
mpeg2dec0:sink
0:00:00.070572130 29059 0x8d9dc90 INFO GST_PADS
gstpad.c:2139:gst_pad_link_full: linked flupsdemux0:video_e0 and
mpeg2dec0:sink, successful
0:00:00.070613856 29059 0x8d9dc90 INFO flupsdemux
gstmpegdemux.c:610:gst_flups_demux_send_data:<flupsdemux0> sending new
segment: rate 1 applied_rate 1 start: 0:00:00.477011111, stop:
99:99:99.999999999, time: 0:00:00.477000000 to pad <flupsdemux0:video_e0>
0:00:00.070641540 29059 0x8d9dc90 INFO GST_EVENT
gstevent.c:599:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.477011111, stop
99:99:99.999999999, position 0:00:00.477000000
0:00:00.072080167 29059 0x8d9dc90 INFO GST_ELEMENT_PADS
gstelement.c:722:gst_element_add_pad:<flupsdemux0> adding pad 'audio_c0'
0:00:00.072138454 29059 0x8d9dc90 INFO flupsdemux
gstmpegdemux.c:610:gst_flups_demux_send_data:<flupsdemux0> sending new
segment: rate 1 applied_rate 1 start: 0:00:00.477011111, stop:
99:99:99.999999999, time: 0:00:00.477000000 to pad <flupsdemux0:audio_c0>
0:00:00.072166718 29059 0x8d9dc90 INFO GST_EVENT
gstevent.c:599:gst_event_new_new_segment_full: creating newsegment update 0,
rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.477011111, stop
99:99:99.999999999, position 0:00:00.477000000
0:00:00.075182710 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.075261854 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.076686836 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.076761652 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.078458810 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.078501785 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.080185074 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.080258111 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.084106939 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.084213202 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.086094807 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.086139527 29059 0x8d9dc90 WARN mpeg2dec
gstmpeg2dec.c:1147:gst_mpeg2dec_chain:<mpeg2dec0> Decoding error #1
0:00:00.087215022 29059 0x8d9dc90 WARN basetransform
gstbasetransform.c:1211:gst_base_transform_setcaps:<ffmpegcsp0> transform
could not transform 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 in anything we
support
0:00:00.087658808 29059 0x8d9dc90 WARN flupsdemux
gstmpegdemux.c:2934:gst_flups_demux_loop:<flupsdemux0> error: Internal data
stream error.
0:00:00.087675682 29059 0x8d9dc90 WARN flupsdemux
gstmpegdemux.c:2934:gst_flups_demux_loop:<flupsdemux0> error: stream
stopped, reason not-negotiated
0:00:00.087701281 29059 0x8d9dc90 INFO GST_ERROR_SYSTEM
gstelement.c:1931:gst_element_message_full:<flupsdemux0> posting message:
Internal data stream error.
ERROR: from element /GstPipeline:pipeline0/GstFluPSDemux:flupsdemux0:
Internal data stream error.
Additional debug info:
gstmpegdemux.c(2934): gst_flups_demux_loop ():
/GstPipeline:pipeline0/GstFluPSDemux:flupsdemux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
0:00:00.096708031 29059 0x8cc8050 INFO GST_STATES
gstelement.c:2408:gst_element_continue_state:<autovideosink0-actual-sink-ximage>
completed state change to READY
0:00:00.096731145 29059 0x8cc8050 INFO GST_STATES *
--
View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/Unable-to-play-mpeg-video-using-gst-launch-tp4094645p4094891.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
More information about the gstreamer-devel
mailing list