this seek error is confusing and appears to be wrong

Andres Gonzalez andres.agoralabs at gmail.com
Sat Jul 8 20:12:03 UTC 2017


Hi,

I have been trying all sorts of various combinations of enum values in
calling gst_element_seek() and still cannot get this to work.

Using the follow to do a seek:

    gst_element_seek_simple(pGstPipeline, GST_FORMAT_TIME,
GST_SEEK_FLAG_FLUSH,  5*GST_SECOND);

which fails with the following logs:

ERROR: fileSeek(): gst_element_seek_simple() failed
ERROR: GstBus msg from GstElement                    : qtdemux1
ERROR:     : error: This file is invalid and cannot be played.
ERROR:     : info : qtdemux.c(5814): gst_qtdemux_process_adapter ():
/GstPipeline:FilePipeline-4/GstDecodeBin:FileDecodeBin-4/GstQTDemux:qtdemux1:
atom .... has bogus size 2591581531
ERROR: GstBus msg from GstElement                    : FileSrc-4
ERROR:     : error: Internal data flow error. 
ERROR:     : info : gstbasesrc.c(2948): gst_base_src_loop ():
/GstPipeline:FilePipeline-4/GstFileSrc:FileSrc-4:
streaming task paused, reason error (-5)
ERROR: GstBus msg from GstElement                    : qtdemux1
ERROR:     : error: This file is invalid and cannot be played.
ERROR:     : info : qtdemux.c(5814): gst_qtdemux_process_adapter ():
/GstPipeline:FilePipeline-4/GstDecodeBin:FileDecodeBin-4/GstQTDemux:qtdemux1:
atom .... has bogus size 2591581531
onVideoAppSinkEOS(): entered

Not sure how much simpler the GStreamer seek API could be so I think if
gst_element_seek_simple() fails, then the problem must be in the pipeline. 

Question: are there any specific properties in filesrc or decodebin that
have to be set so the pipeline will support seeking? The pipeline plays
perfectly otherwise so I am not sure what is causing this.

-Andres

 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/this-seek-error-is-confusing-and-appears-to-be-wrong-tp4683738p4683741.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list