[Bug 704272] New: [qtdemux] invalid seek offset used because of chapters

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 15 09:48:09 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704272
  GStreamer | gst-plugins-good | 1.1.2

           Summary: [qtdemux] invalid seek offset used because of chapters
    Classification: Platform
           Product: GStreamer
           Version: 1.1.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: rawoul at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


With the recent chapter/text related patches in qtdemux, I got a regression on
this file when seeking:
http://absolut.zogzog.org/share/samples/mp4/Escargot.mp4

The problem is that the text stream (which is in fact a chapter entry) is used
when resolving the seek offset in the file. Since the chapter track has very
sparse entries, the seek offset is not accurate at all.

For example, if I want to seek at 2min46, the keyframe matching in the chapter
track is at 25sec, so the seek offset is at 25sec instead of 2min46:

<qtdemux0> align segment 0
<qtdemux0> sample for 0:02:46.260000000 at 4156 at offset 16358453
<qtdemux0> searching for keyframe index before index 4156 gave 4074
<qtdemux0> keyframe at 4074 with time 0:02:42.960000000 at offset 16190718
<qtdemux0> align segment 0
<qtdemux0> sample for 0:02:46.260000000 at 7793 at offset 16355509
<qtdemux0> searching for keyframe index before index 7793 gave 7793
<qtdemux0> align segment 0
<qtdemux0> sample for 0:02:46.260000000 at 1 at offset 31545768
<qtdemux0> searching for keyframe index before index 1 gave 1 
<qtdemux0> Pushing BYTE seek rate 1, start 16190718, stop -1
<qtdemux0> stream : avc1
<qtdemux0> Resetting demux
<qtdemux0> received newsegment bytes segment start=16190718, stop=-1,
rate=1.000000, applied_rate=1.000000, flags=0x01, time=16190718, base=0,
position 16190718, duration 31734295
<qtdemux0> Not storing upstream newsegment, not in time format
<qtdemux0> Pushing newseg time segment start=0:00:25.080000000,
stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x01,
time=0:00:25.080000000, base=0:00:00.000000000, position 0:00:25.080000000,
duration 0:05:32.520000000

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list