[mythtv-commits] Ticket #13176: AVsync is broken at high playback speeds in some streams

MythTV noreply at mythtv.org
Wed Nov 22 20:48:40 UTC 2017


#13176: AVsync is broken at high playback speeds in some streams
-------------------------------------+--------------------------
 Reporter:  Brad Martin <mythtv@…>   |          Owner:  pbennett
     Type:  Patch - Bug Fix          |         Status:  closed
 Priority:  minor                    |      Milestone:  30.0
Component:  MythTV - Video Playback  |        Version:  0.28.1
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
-------------------------------------+--------------------------
Changes (by Brad Martin <mythtv@…>):

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


Comment:

 In [changeset:"67a11c1599f2d4e33d4e0859dfa30ed537f8563d/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="67a11c1599f2d4e33d4e0859dfa30ed537f8563d"
 mythplayer: Fix issues with vsync with time stretch

 Vsync was broken with various combinations of:
  * 2x deinterlacing
  * High audio stretch factors (1.8x+)
  * Video streams using repeat_pict

 This was due to a combination of:
  * avsync_predictor failing to predict the correct frame interval
  * The vsync implementation trying to clamp the frame delay to a small
    multiple of the wrong frame interval, due to getting out sync with
    the interval and interlace setting at any given moment.

 With this change, the vsync method no longer tries to independently
 track the frame interval and interlace setting; instead, this is
 passed on a frame-by-frame basis.

 Fixes #13176

 Signed-off-by: Peter Bennett <pbennett at mythtv.org>
 }}}

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


More information about the mythtv-commits mailing list