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

MythTV noreply at mythtv.org
Mon Nov 12 17:32:43 UTC 2018


#13334: Improved Video timing and Synchronization
-------------------------------------+-------------------------------
 Reporter:  Peter Bennett            |          Owner:  Peter Bennett
     Type:  Patch - Feature          |         Status:  new
 Priority:  minor                    |      Milestone:  30.0
Component:  MythTV - Video Playback  |        Version:  Master Head
 Severity:  medium                   |     Resolution:
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-------------------------------

Comment (by Peter Bennett):

 On my system here in the USA, playing the DVB recording and pressing I
 shows an incorrect elapsed time in the OSD.

 With v29 or master with AVSync2 disabled, after 1 minute timed by
 stopwatch, the info OSD shows 1:14. This is because DVB radio involves the
 decoder generating "dummy" video frames, required because all elapsed
 timing in MythTV is done by frame number. Some parts of the code assume
 25fps and other parts assume 30fps, hence the timestamp is out by a factor
 of 30/25.

 It may be that the calculation is related to the refresh interval of my
 screen, which is 60. If you had a refresh rate of 50 it may work
 correctly.

 AVSync2 was doing worse, displaying 2:26 after 1 minute by stopwatch. The
 above commit restores the behavior of AVSync2 to what AVSync is doing
 (i.e. displaying 1:14 after 1 minute).

 Fixing the timing problem is out of scope of this ticket.

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


More information about the mythtv-commits mailing list