What is error -5?

Ian Davidson id012c3076 at blueyonder.co.uk
Sat Nov 14 05:26:36 PST 2015


I have a video clip which will play using playbin like this.

    gst-launch-1.0 playbin uri=file:///run/media/ian/LEXAR/MOV05E.Mpg


But, I want to be able to play around with it - so I tried this

    gst-launch-1.0 -e --gst-debug=4 filesrc location=MOV05E.Mpg ! queue
    ! videorate ! videoscale ! videoconvert !
    "video/x-raw,format=(string)I420,width=720,height=576,framerate=(fraction)5/1"
    ! autovideosink


It came up with an error - here is part of the log

    Pipeline is PREROLLING ...
    0:00:00.236809475  1744  0xa029920 INFO        GST_ELEMENT_PADS
    gstelement.c:894:gst_element_get_static_pad: no such pad 'sink' in
    element "filesrc0"
    0:00:00.237743606  1744  0xa029920 INFO               GST_EVENT
    gstevent.c:709:gst_event_new_segment: creating segment event bytes
    segment start=0, stop=-1, rate=1.000000, applied_rate=1.000000,
    flags=0x00, time=0, base=0, position 0, duration 147355648
    0:00:00.237944832  1744  0xa029950 WARN               videorate
    gstvideorate.c:796:gst_video_rate_sink_event:<videorate0> Got
    segment but doesn't have GST_FORMAT_TIME value
    0:00:00.238010787  1744  0xa029920 INFO                 basesrc
    gstbasesrc.c:2772:gst_base_src_loop:<filesrc0> marking pending DISCONT
    0:00:00.238078822  1744  0xa029950 WARN               videorate
    gstvideorate.c:796:gst_video_rate_sink_event:<videorate0> Got
    segment but doesn't have GST_FORMAT_TIME value
    0:00:00.238121420  1744  0xa029950 INFO                    task
    gsttask.c:300:gst_task_func:<queue0:src> Task going to paused
    0:00:00.238190364  1744  0xa029920 INFO                 basesrc
    gstbasesrc.c:2785:gst_base_src_loop:<filesrc0> pausing after
    gst_pad_push() = error
    0:00:00.238248910  1744  0xa029920 WARN                 basesrc
    gstbasesrc.c:2865:gst_base_src_loop:<filesrc0> error: Internal data
    flow error.
    0:00:00.238283599  1744  0xa029920 WARN                 basesrc
    gstbasesrc.c:2865:gst_base_src_loop:<filesrc0> error: streaming task
    paused, reason error (-5)
    0:00:00.238337423  1744  0xa029920 INFO        GST_ERROR_SYSTEM
    gstelement.c:1835:gst_element_message_full:<filesrc0> posting
    message: Internal data flow error.
    ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0:
    Internal data flow error.
    Additional debug info:
    gstbasesrc.c(2865): gst_base_src_loop ():
    /GstPipeline:pipeline0/GstFileSrc:filesrc0:
    streaming task paused, reason error (-5)
    ERROR: pipeline doesn't want to preroll.
    Setting pipeline to NULL ...

Is it complaining about the video file? What should I do to get it to work?


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


More information about the gstreamer-devel mailing list