[Bug 778330] qtmux: Creates two edit lists with reserved-* options enabled

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 8 12:43:53 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=778330

--- Comment #1 from Vivia Nikolaidou <vivia at ahiru.eu> ---
Maybe x264 was a bad example. because it has to write two edit lists anyway. So
I tried with prores instead, and adding an audio stream just in case:

gst-launch-1.0 -e qtmux name=m reserved-max-duration=43200000000000
reserved-moov-update-period=5000000000 ! filesink location=arxeio.mov
videotestsrc ! avenc_prores ! queue ! m. audiotestsrc ! queue ! m.

When I have the reserved-* options blank (tried this in git master), the edit
list works correctly.

When I have the reserved-* options enabled, I observe either no edit list at
all or two of them. It apparently never worked correctly. I ran a git bisect
(assuming no edit lists is "good") and it gave me this commit, though I'm not
sure if this knowledge can be of any use:

7fb278d7d230c51c28754e67e05ad0e836acc28f is the first bad commit
commit 7fb278d7d230c51c28754e67e05ad0e836acc28f
Author: Sebastian Dröge <sebastian at centricular.com>
Date:   Mon Nov 14 14:44:11 2016 +0200

    qtmux: Always write edit lists for the tracks to give a more accurate
duration

    Always write an edit list for the whole track. In general this is not
    necessary except for the case of having a gap or DTS adjustment but
    it allows to give the whole track's duration in the usually more
    accurate media timescale.

    https://bugzilla.gnome.org/show_bug.cgi?id=774403

:040000 040000 2a16328a01c19028a571eeb6df948d78bd0c4f62
dc3417a325f11d6c28e92aec71ff592f7a7d0964 M    gst

-- 
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