[mythtv-commits] Ticket #13334: Improved Video timing and Synchronization
MythTV
noreply at mythtv.org
Tue Oct 30 14:00:55 UTC 2018
#13334: Improved Video timing and Synchronization
-------------------------------------+-------------------------------
Reporter: Peter Bennett | Owner: Peter Bennett
Type: Patch - Feature | Status: assigned
Priority: minor | Milestone: 30.0
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------
Comment (by Peter Bennett):
commit 1af27643ac60e6a392c1ab04130aa999ac40b6dd (HEAD -> master,
origin/master, origin/HEAD)
{{{
Author: Peter Bennett <pbennett at mythtv.org>
Date: Sat Oct 27 18:43:09 2018 -0400
Playback: Improved Video timing and Synchronization (avsync2)
Since modern videos have audio and video timestamps, it makes more
sense to use the timestamp to display each frame at the required time
rather than assuming a frame rate that may be wrong. A new
synchronization
routine (AVSync2) works this way. It uses a real time clock via a
system function and shows each frame at the calculated correct time.
The frame is actually shown at the next refresh time, since the
renderers
use a dual buffering scheme. AVSync2 adjusts audio synchronization in
a
different way, by changing the video time base. There is a setting
that
can be adjusted to improve audio sync when the audio card does not
provide
the application with good data on the amount of sound buffered.
With this patch, the old sync routine is still the default. To use
AVSync2,
you need to select it in frontend settings.
Fixes #13334
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13334#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list