[mythtv-commits] Ticket #13334: Improved Video timing and Synchronization

MythTV noreply at mythtv.org
Wed Nov 7 11:50:09 UTC 2018

#13334: Improved Video timing and Synchronization
 Reporter:  Peter Bennett            |          Owner:  Peter Bennett
     Type:  Patch - Feature          |         Status:  closed
 Priority:  minor                    |      Milestone:  30.0
Component:  MythTV - Video Playback  |        Version:  Master Head
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
Changes (by Peter Bennett <pbennett@…>):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"1af27643ac60e6a392c1ab04130aa999ac40b6dd/mythtv"
 #!CommitTicketReference repository="mythtv"
 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
 you need to select it in frontend settings.

 Fixes #13334

Ticket URL: <https://code.mythtv.org/trac/ticket/13334#comment:23>
MythTV <http://www.mythtv.org>
MythTV Media Center

More information about the mythtv-commits mailing list