[mythtv-commits] Ticket #7964: Predictively skip frames to smooth out timestretch

MythTV mythtv at cvs.mythtv.org
Wed Apr 28 22:30:58 UTC 2010


#7964: Predictively skip frames to smooth out timestretch
-------------------------------------+--------------------------------------
 Reporter:  jppoet@…                 |       Owner:  markk   
     Type:  enhancement              |      Status:  accepted
 Priority:  minor                    |   Milestone:  0.24    
Component:  MythTV - Video Playback  |     Version:  head    
 Severity:  medium                   |     Mlocked:  0       
-------------------------------------+--------------------------------------

Comment(by markspieth):

 there are 2 problems with existing smooth playback of mismatched framerate
 vs refreshrate.

 1. vsync for gl and drm have an incorrect equation in WaitForFrame

 2. if frameinterval < refreshrate, it will never work correctly. this si
 the problem addressed by johns patches though it was only for the case
 where source material rate = refresh rate, otherwise it introduces
 blockyness.

 the latest patch makes playback really smooth for frameinterval >=
 refreshinterval. tested with playback,timestmap. divergence is now very
 stable at any play speed. vsync.cpp part only.

 the frame skip is untested (NuppelVideoPlayer.*) but should work. needs
 extra testing as my systems cant exceed this limit due to fast refresh
 speeds.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7964#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list