GNOME Bugzilla – Bug 673163
[oggdemux] Occasional failure to seek in push mode
Last modified: 2017-11-10 10:12:14 UTC
Sometimes, when receiving a seek request, oggdemux will not have a chain and will ignore the seek. I think this can happen when it's not built its chain yet. Subsequent seeks will work once the chain is ready. This may or may not be related to oggdemux attempting to seek to the end to determine stream length. Short debug log from GST_DEBUG=ogg*:5 showing this follows at the end, obtained from the Insanity http test on an Ogg file, with command line: GST_DEBUG=ogg*:5 ./tests/insanity-test-gst-http --run uri=file:///home/v/Samples/sintel_trailer-480p-new.ogv gst-debug-log=gst.log 0:00:01.696661957 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:2050:gst_ogg_demux_reset_streams:<oggdemux0> Resetting current chain 0:00:01.697194754 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3335:gst_ogg_demux_perform_seek_push:<oggdemux0> Push mode seek request received 0:00:01.697218884 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3356:gst_ogg_demux_perform_seek_push:<oggdemux0> Push mode seek request: 0:00:25.250000000 0:00:01.697233124 3515 0x25562d0 WARN oggdemux gstoggdemux.c:3360:gst_ogg_demux_perform_seek_push:<oggdemux0> No chain to seek on 0:00:01.697245711 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3476:gst_ogg_demux_perform_seek_push:<oggdemux0> seek failed 0:00:01.697321744 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3335:gst_ogg_demux_perform_seek_push:<oggdemux0> Push mode seek request received 0:00:01.697338613 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3356:gst_ogg_demux_perform_seek_push:<oggdemux0> Push mode seek request: 0:00:25.250000000 0:00:01.697352435 3515 0x25562d0 WARN oggdemux gstoggdemux.c:3360:gst_ogg_demux_perform_seek_push:<oggdemux0> No chain to seek on 0:00:01.697364751 3515 0x25562d0 DEBUG oggdemux gstoggdemux.c:3476:gst_ogg_demux_perform_seek_push:<oggdemux0> seek failed
In fact, it can also be reproduced without Insanity: GST_DEBUG=oggdemux:3 gst-launch-0.10 playbin2 uri=pushfile:///home/v/Samples/sintel_trailer-480p-new.ogv video-sink='navseek ! autovideosink' Then mash left/right arrows and wait for the warning.
Should be fixed. Reopen if not the case.