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 617368 - [matroska] Implement push-mode seeking and non-cue seeking
[matroska] Implement push-mode seeking and non-cue seeking
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.25
Assigned To: Mark Nauwelaerts
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-01 12:48 UTC by Sebastian Dröge (slomo)
Modified: 2010-07-22 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2010-05-01 12:48:39 UTC
matroskademux should support seeking in push mode and if no cues are inside the file.

Seeking without cues could be implemented by a binary search as in oggdemux and an automatically generated index during playback.
Comment 1 Tim-Philipp Müller 2010-05-01 13:08:35 UTC
See:

commit a6bb8338fdf3e04e1caba95637309e0b9ad08f51
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Wed Apr 14 11:53:46 2010 +0200

    matroskademux: implement push mode seeking
Comment 2 Mark Nauwelaerts 2010-06-17 06:43:03 UTC
For v2 matroska files (that at least record keyframe info), presumably something similar to flvdemux or oggdemux could be done (if no cues).
Comment 3 Sebastian Dröge (slomo) 2010-06-17 07:00:17 UTC
Hm, actually I already started to implement this similar to oggdemux. I hope you didn't start too already, Mark? :)
Comment 4 Mark Nauwelaerts 2010-06-17 07:02:57 UTC
Not yet.
Comment 5 Sebastian Dröge (slomo) 2010-06-17 07:07:29 UTC
Ok, do you want to do this then or shall I? I don't have that many changes yet
Comment 6 Mark Nauwelaerts 2010-07-22 10:21:49 UTC
The following then takes care of seek without cue:

commit c626e90fda0e2cbbbcc5bda8690327accb36c99d
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Thu Jul 22 12:05:26 2010 +0200

    matroskademux: pull mode non-cue seeking
    
    That is, in files that have no index (Cue), perform seek by scanning for
    nearest cluster with timecode before requested position.  Scanning is done
    as a combination of interpolation and sequential scan.
    
    Fixes #617368.