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 797290 - qtmux: Allow up to 1% of frame rate for lateness
qtmux: Allow up to 1% of frame rate for lateness
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal blocker
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-10-16 10:27 UTC by Vivia Nikolaidou
Modified: 2018-10-22 11:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qtmux: Allow up to 1% of frame rate for lateness (1.65 KB, patch)
2018-10-16 10:27 UTC, Vivia Nikolaidou
none Details | Review
qtmux: Allow up to 1% of frame rate for lateness (1.65 KB, patch)
2018-10-16 12:58 UTC, Vivia Nikolaidou
none Details | Review
qtmux: Allow up to 1% of frame rate for lateness (1.95 KB, patch)
2018-10-16 13:00 UTC, Vivia Nikolaidou
committed Details | Review
qtmux: Add property for providing a threshold after which we create an edit list for gaps at the start (4.88 KB, patch)
2018-10-19 14:03 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Vivia Nikolaidou 2018-10-16 10:27:30 UTC
See commit message
Comment 1 Vivia Nikolaidou 2018-10-16 10:27:36 UTC
Created attachment 373941 [details] [review]
qtmux: Allow up to 1% of frame rate for lateness
Comment 2 Sebastian Dröge (slomo) 2018-10-16 12:53:17 UTC
Comment on attachment 373941 [details] [review]
qtmux: Allow up to 1% of frame rate for lateness

Needs some further explanation *why* this is a good idea, in the commit message and as a comment. What is this preventing?
Comment 3 Vivia Nikolaidou 2018-10-16 12:58:21 UTC
Created attachment 373943 [details] [review]
qtmux: Allow up to 1% of frame rate for lateness
Comment 4 Vivia Nikolaidou 2018-10-16 13:00:52 UTC
Created attachment 373944 [details] [review]
qtmux: Allow up to 1% of frame rate for lateness
Comment 5 Vivia Nikolaidou 2018-10-16 13:06:53 UTC
Review of attachment 373944 [details] [review]:

commit 09904e59df1223da8e028ea1e5b4a135ddd82a98 (HEAD -> master, origin/master, origin/HEAD)
Author: Vivia Nikolaidou <vivia@ahiru.eu>
Date:   Tue Oct 2 19:32:47 2018 +0300

    qtmux: Allow up to 1% of frame rate for lateness

    https://bugzilla.gnome.org/show_bug.cgi?id=797290
Comment 6 Nicolas Dufresne (ndufresne) 2018-10-16 13:10:34 UTC
I'm not very happy to see that no further explanation was given in the commit message.
Comment 7 Edward Hervey 2018-10-18 06:23:38 UTC
Same here. And I don't think this should be the default behaviour.

reopening and marking as blocker.
Comment 8 Sebastian Dröge (slomo) 2018-10-18 06:38:34 UTC
The explanation is in the commit itself in a comment and was forgotten to be copied over to the commit message.


In summary, this is necessary to create files that are compatible with "professional" software like Premiere and Final Cut, that simply don't work well at all with edit lists. And Nicolas also mentioned that various other software does not support (or does not support well) edit lists, so we should by default try to not write edit lists if we can somehow prevent it.
Comment 9 Edward Hervey 2018-10-18 06:46:11 UTC
I understand the requirement. My point is that the muxer now "automagically" modifies the incoming DTS/PTS, whereas this is something that should maybe be made explicit.
Comment 10 Sebastian Dröge (slomo) 2018-10-18 07:11:19 UTC
It changes the timestamps by up to 0.4ms for a 25fps stream, less for higher framerates.


You're thinking of having a property for this to set a threshold?
Comment 11 Vivia Nikolaidou 2018-10-19 13:23:54 UTC
As discussed on IRC, a tolerance/threshold property will be added.
Comment 12 Sebastian Dröge (slomo) 2018-10-19 14:03:23 UTC
Created attachment 373972 [details] [review]
qtmux: Add property for providing a threshold after which we create an edit list for gaps at the start
Comment 13 Sebastian Dröge (slomo) 2018-10-22 11:36:43 UTC
Attachment 373972 [details] pushed as 01a2119 - qtmux: Add property for providing a threshold after which we create an edit list for gaps at the start