[mythtv-commits] Ticket #5113: Time Stretch Freezes Video with Some Recordings

MythTV mythtv at cvs.mythtv.org
Fri Apr 4 20:56:49 UTC 2008


#5113: Time Stretch Freezes Video with Some Recordings
-----------------------------------------+----------------------------------
 Reporter:  Matt S <skd5aner at gmail.com>  |        Owner:  ijr    
     Type:  defect                       |       Status:  new    
 Priority:  minor                        |    Milestone:  unknown
Component:  mythtv                       |      Version:  head   
 Severity:  medium                       |   Resolution:         
  Mlocked:  0                            |  
-----------------------------------------+----------------------------------

Comment(by justinh):

 Also seeing this on 0.21-fixes, MythTV Version   : 16836
 MythTV Branch    : branches/release-0-21-fixes
 Library API      : 0.21.20080304-1
 Network Protocol : 40
 Options compiled in:
  linux release using_oss using_alsa using_arts using_jack using_backend
 using_dbox2 using_dvb using_firewire using_frontend using_hdhomerun
 using_iptv using_ivtv using_joystick_menu using_lirc using_v4l using_x11
 using_xrandr using_xv using_xvmc using_xvmcw using_xvmc_vld
 using_bindings_perl using_bindings_python using_opengl
 using_ffmpeg_threads using_live

 Playback in timestretch mode (generally 1.2x according to playback groups)
 starts fine & works great until the playback is paused or skipped.  Upon
 resuming playback the video framerate appears to drop to about 5fps.
 Stopping the recording & restarting it via 'watch recordings' cues the
 problem until it is paused or skipped again.

 The problem can also be reproduced by attempting to enter timestretch mode
 while watching a recording at normal speed.  All recordings on my system
 are PAL mpeg2.

 A log from mythfrontend -v playback reveals much the same as what Matt
 sees:

 2008-03-31 20:55:50.154 NVP: 8800 interlaced frames seen.
 'video_output' mean = '33155.89', std. dev. = '9956.39', fps = '30.16'
 'video_output' mean = '33357.84', std. dev. = '9701.53', fps = '29.98'
 'video_output' mean = '33358.06', std. dev. = '9699.98', fps = '29.98'
 'video_output' mean = '33358.88', std. dev. = '9901.43', fps = '29.98'
 2008-03-31 20:56:03.497 NVP: 9200 interlaced frames seen.
 'video_output' mean = '33357.12', std. dev. = '9702.11', fps = '29.98'
 'video_output' mean = '33156.43', std. dev. = '9957.28', fps = '30.16'
 'video_output' mean = '33357.28', std. dev. = '9705.46', fps = '29.98'
 'video_output' mean = '33358.55', std. dev. = '9705.60', fps = '29.98'
 2008-03-31 20:56:16.821 NVP: 9600 interlaced frames seen.
 'video_output' mean = '33357.38', std. dev. = '9886.16', fps = '29.98'
 'video_output' mean = '33359.15', std. dev. = '9702.60', fps = '29.98'
 'video_output' mean = '33357.61', std. dev. = '9696.64', fps = '29.98'
 'video_output' mean = '33155.63', std. dev. = '9958.44', fps = '30.16'
 2008-03-31 20:56:30.165 NVP: 10000 interlaced frames seen.
 'video_output' mean = '33358.42', std. dev. = '9694.24', fps = '29.98'
 'video_output' mean = '33358.15', std. dev. = '9698.85', fps = '29.98'
 'video_output' mean = '33560.19', std. dev. = '9639.24', fps = '29.80'
 'video_output' mean = '33155.57', std. dev. = '9955.68', fps = '30.16'
 2008-03-31 20:56:43.381 NVP: Changing speed to 0
 2008-03-31 20:56:43.381 rate: 25 speed: 1.2 skip: 1 = interval 33333
 2008-03-31 20:56:43.381 Set video sync frame interval to 33333
 2008-03-31 20:56:43.421 VideoOutputXv: UpdatePauseFrame()
 UUUUUUUUUUUUUUAUUUUUUUUUUuUULUU
 2008-03-31 20:56:54.211 NVP: Play(  1.2, normal 1, unpause audio 1)
 2008-03-31 20:56:54.213 NVP: Changing speed to 1.2
 2008-03-31 20:56:54.213
 RingBuf(myth://192.168.1.10:6543/1006_20080331203000.mpg):
 CalcReadAheadThresh(2833250736 KB)
                          -> threshhold(64 KB) min read(0 KB) blk size(32
 KB)
 2008-03-31 20:56:54.213 NVP: DoPlay: rate: 25 speed: 1.2 skip: 1 => new
 interval 33333
 2008-03-31 20:56:54.213 VDP: LoadBestPreferences(704x576, 30)
 2008-03-31 20:56:54.214 Set video sync frame interval to 33333
 2008-03-31 20:56:54.214 NVP: Stretch Factor 1.2, disable passthru
 2008-03-31 20:56:54.291 NVP: Video is 3.97714 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.298 NVP: Video is 5.85537 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.298 NVP: 10400 interlaced frames seen.
 2008-03-31 20:56:54.306 NVP: Video is 7.02403 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.313 NVP: Video is 7.67555 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.320 NVP: Video is 7.92416 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.327 NVP: Video is 7.87064 frames behind audio (too
 slow), dropping frame to catch up.
 'video_output' mean = '140335.74', std. dev. = '1086585.54', fps = '7.13'
 2008-03-31 20:56:54.334 NVP: Video is 7.598 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.341 NVP: Video is 7.16101 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.348 NVP: Video is 6.59326 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.355 NVP: Video is 5.92743 frames behind audio (too
 slow), dropping frame to catch up.
 2008-03-31 20:56:54.361 NVP: Video is 5.18807 frames behind audio (too
 slow), dropping frame to catch up.

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


More information about the mythtv-commits mailing list