[Bug 765797] gstavauddec: a/v sync issues with broken streams

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 29 08:39:50 UTC 2016


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

--- Comment #3 from Matej Knopp <matej.knopp at gmail.com> ---
The problem here is, if you get 10 broken frames in a row, you'll get very
noticeable a/v sync problem.

Whereas if first frame doesn't produce anything, you get at most one frame
delay. Also it is questionable whether the resulting frame should actually have
PTS of first or second frame; From what I've seen, most decoders are not really
bothered by this latency, and just slap current input PTS on whatever the
decoder outputs;

I don't think there is reliable way to determine whether the missing frame is
because of decoder latency or stream corruption; and if there is stream
corruption, you just have to keep going on, finishing empty frames, otherwise
the A/V sync gets lost.

I'm doing this with all my audio decoders and it makes huge difference for live
recordings;

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