What is error -5?

Ian Davidson id012c3076 at blueyonder.co.uk
Sat Nov 14 06:26:21 PST 2015


OK - so I forgot to demux the audio/video.  So I made thepipeline like this

    [ian at localhost superRecord]$ gst-launch-1.0 -e --gst-debug=4 filesrc
    location=MOV05E.Mpg ! queue ! decodebin ! queue ! videorate ! queue
    ! videoscale ! queue ! videoconvert !
    "video/x-raw,format=(string)I420,width=720,height=576,framerate=(fraction)25/1"
    ! queue ! autovideosink


but not with 100% success.

I notice from the log that it attempts to link decodebin to queue

    0:00:00.632747525  4685  0x9e170f0 INFO GST_ELEMENT_PADS
    gstutils.c:1543:gst_element_link_pads_full: trying to link element
    decodebin0:(any) to element queue1:(any)
    0:00:00.632803602  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.633150422  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstelement.c:897:gst_element_get_static_pad: found pad queue1:sink
    0:00:00.636628965  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:1443:prepare_link_maybe_ghosting: decodebin0 and queue1
    in same bin, no need for ghost pads
    0:00:00.636804738  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2120:gst_pad_link_prepare: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.637079583  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2176:gst_pad_link_prepare: caps are incompatible
    0:00:00.637145295  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.637409857  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstutils.c:1123:gst_element_get_compatible_pad:<decodebin0> Could
    not find a compatible pad to link to queue1:sink
    0:00:00.637477679  4685  0x9e170f0 INFO                 default
    gstutils.c:1889:gst_element_link_pads_filtered: Could not link pads:
    decodebin0:(null) - queue1:(null)
    0:00:00.637524916  4685  0x9e170f0 INFO               decodebin
    gstdecodebin2.c:3998:gst_decode_bin_expose:<decodebin0:src_0> added
    new decoded pad
    0:00:00.637567043  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstelement.c:646:gst_element_add_pad:<decodebin0> adding pad 'src_1'
    0:00:00.637610168  4685  0x9e170f0 INFO            GST_PIPELINE
    ./grammar.y:506:gst_parse_found_pad: trying delayed linking
    decodebin0:(NULL) to queue1:(NULL)
    0:00:00.637646931  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstutils.c:1543:gst_element_link_pads_full: trying to link element
    decodebin0:(any) to element queue1:(any)
    0:00:00.637689106  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.637868767  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstelement.c:897:gst_element_get_static_pad: found pad queue1:sink
    0:00:00.637914509  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:1443:prepare_link_maybe_ghosting: decodebin0 and queue1
    in same bin, no need for ghost pads
    0:00:00.637964841  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2120:gst_pad_link_prepare: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.638107409  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2176:gst_pad_link_prepare: caps are incompatible
    0:00:00.638160803  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_1
    and queue1:sink
    0:00:00.638331227  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstelement.c:897:gst_element_get_static_pad: found pad queue1:sink
    0:00:00.638375330  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:1443:prepare_link_maybe_ghosting: decodebin0 and queue1
    in same bin, no need for ghost pads
    0:00:00.638419776  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2120:gst_pad_link_prepare: trying to link decodebin0:src_1
    and queue1:sink
    0:00:00.638566710  4685  0x9e170f0 INFO                GST_PADS
    gstpad.c:2176:gst_pad_link_prepare: caps are incompatible
    0:00:00.638619040  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_0
    and queue1:sink
    0:00:00.638739735  4685  0x9e170f0 INFO                GST_PADS
    gstutils.c:936:gst_pad_check_link: trying to link decodebin0:src_1
    and queue1:sink
    0:00:00.638957027  4685  0x9e170f0 INFO        GST_ELEMENT_PADS
    gstutils.c:1123:gst_element_get_compatible_pad:<decodebin0> Could
    not find a compatible pad to link to queue1:sink



and then goes on with

    0:00:00.638998223  4685  0x9e170f0 INFO default
    gstutils.c:1889:gst_element_link_pads_filtered: Could not link pads:
    decodebin0:(null) - queue1:(null)
    0:00:00.639037460  4685  0x9e170f0 INFO               decodebin
    gstdecodebin2.c:3998:gst_decode_bin_expose:<decodebin0:src_1> added
    new decoded pad
    0:00:00.639132535  4685  0x9e70b50 INFO                GST_PADS
    gstpad.c:3675:gst_pad_peer_query:<decodebin0:src_0> pad has no peer
    0:00:00.647627603  4685  0x9e70e60 INFO                GST_PADS
    gstpad.c:3675:gst_pad_peer_query:<decodebin0:src_1> pad has no peer
    0:00:00.648100573  4685  0x9e170f0 INFO              GST_STATES
    gstbin.c:3112:bin_handle_async_done:<decodebin0> committing state
    from READY to PAUSED, old pending PAUSED
    0:00:00.651606227  4685  0x9e170f0 INFO              GST_STATES
    gstbin.c:3132:bin_handle_async_done:<decodebin0> completed state
    change, pending VOID
    0:00:00.651706436  4685  0x9e170f0 INFO              GST_STATES
    gstelement.c:2233:_priv_gst_element_state_changed:<decodebin0>
    notifying about state-changed READY to PAUSED (VOID_PENDING pending)
    0:00:00.787739883  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:00.788074126  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:00.822388615  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:00.822737347  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:00.872520588  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:00.872828815  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:00.910876192  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:2365:gst_video_decoder_prepare_finish_frame:<mpeg2dec0>
    decreasing timestamp (0:00:00.397522222 < 0:00:00.437522222)
    0:00:00.917755300  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:00.918070754  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:00.969984441  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:00.970298193  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:01.010405275  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error
    0:00:01.010771860  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3445:_gst_video_decoder_error:<mpeg2dec0> error:
    Reached libmpeg2 invalid state
    0:00:01.033767711  4685  0x9e70b50 WARN            videodecoder
    gstvideodecoder.c:3443:_gst_video_decoder_error:<mpeg2dec0> error:
    decoding error

This then keeps on and gives the impression that it will continue 
indefinitely.

Help please


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151114/b6f33a6c/attachment.html>


More information about the gstreamer-devel mailing list