GNOME Bugzilla – Bug 653654
decklinksrc: Does not respect the PTS that comes in the input source
Last modified: 2014-12-19 13:57:19 UTC
Decklink sink has no mechanism to respect the PTS that comes in the source media in order to provide synced Audio/Video playback. Previous discussion about this topic happened here: https://bugzilla.gnome.org/show_bug.cgi?id=650914
Created attachment 202445 [details] [review] a simple patch to use the decklink timestamp for audio/video sync tested with Intensity Pro on Linux, HDMI audio/video
In my opinion, it's fine to be applied to trunk.
Comment on attachment 202445 [details] [review] a simple patch to use the decklink timestamp for audio/video sync This needs to be handled differently as the timestamp we get from decklink must mean something sensible in the segment that we configure. Check the v4l2 code, basically you need to make sure that the beginning of capture gets a running time of 0. If decklink timestamps mean exactly that (capture start gets timestamp 0), then this patch is correct.
Please test if this is still a problem with latest GIT master. The decklink elements were rewritten. The timing should now be handled properly and be based on the hardware clock of the capture card, while also properly handling pipelines that have a different clock than that one configured.