After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673163 - [oggdemux] Occasional failure to seek in push mode
[oggdemux] Occasional failure to seek in push mode
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-30 12:03 UTC by Vincent Penquerc'h
Modified: 2017-11-10 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Penquerc'h 2012-03-30 12:03:42 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
Comment 1 Vincent Penquerc'h 2012-03-30 12:08:55 UTC
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.
Comment 2 Edward Hervey 2017-11-10 10:12:14 UTC
Should be fixed. Reopen if not the case.