[mythtv-commits] Ticket #10173: Double framerate deinterlacer incorrectly invalidated

MythTV noreply at mythtv.org
Mon Nov 21 18:58:54 UTC 2011


#10173: Double framerate deinterlacer incorrectly invalidated
-------------------------------------+----------------------------
 Reporter:  krose@…                  |          Owner:  markk
     Type:  Bug Report - General     |         Status:  new
 Priority:  minor                    |      Milestone:
Component:  MythTV - Video Playback  |        Version:  Trunk Head
 Severity:  medium                   |     Resolution:
 Keywords:                           |  Ticket locked:  0
-------------------------------------+----------------------------

Comment (by krose@…):

 After doing some more digging, this problem appears to be limited to live
 TV. When I watch a live TV recording after the fact, I get the proper
 deinterlacing behavior:
 {{{
 2011-11-21 13:45:05.570575 I [14632/14632] CoreContext tv_play.cpp:336
 (StartTV) - TV: Entering main playback loop.
 2011-11-21 13:45:05.624509 I [14632/14632] CoreContext mythplayer.cpp:791
 (SetScanType) - Player(0): Validating double framerate:
 frame_interval=33367 videosync->getRefreshInterval()=16667
 2011-11-21 13:45:05.657728 I [14632/14632] CoreContext
 mythrender_vdpau.cpp:558 (CheckOutputSurfaces) - VDPAU: Added 2 output
 surfaces (total 4, max 4)
 }}}
 Note that 33367/2 is close enough to 16667. But when I watched the same
 program live, I got this weirdness:
 {{{
 2011-11-21 13:50:11.695572 I [14632/14632] CoreContext
 mythrender_vdpau.cpp:373 (Create) - VDPAU: Created VDPAU render device
 1920x1080
 2011-11-21 13:50:12.711364 N [14632/14632] CoreContext mythplayer.cpp:541
 (CheckExtraAudioDecode) - Player(2): Forcing decode extra audio option on
 (Video method requires it).
 2011-11-21 13:50:12.711525 I [14632/14632] CoreContext mythplayer.cpp:791
 (SetScanType) - Player(2): Validating double framerate:
 frame_interval=33367 videosync->getRefreshInterval()=41717
 2011-11-21 13:50:12.711549 E [14632/14632] CoreContext mythplayer.cpp:796
 (SetScanType) - Player(2): Video sync method can't support double
 framerate (refresh rate too low for 2x deint)
 }}}
 The framerate computed for the video is correct, but where is 41717 coming
 from in the vsync code? If anyone more familiar with that code has any
 idea, I would greatly appreciate it; otherwise, I will try to dig into the
 code after Thankgiving when I should have more time.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10173#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list