[mythtv-users] Video freezes after random time

Lukas Kasprowicz lukas.kasprowicz at web.de
Tue May 24 14:45:10 UTC 2005


Hi List,

While watching Video in mythtv (livetv or recordings) the video freezes after 
random time (1sec - 1h)

I am doing following:

Execute X as root, su to mythuser, export DISPLAY

execute mythtv (for testing) not mythfrontend, but it hangs with both.

mythtv says following:

>>>>>>>>>>>>>>>

2005-05-24 16:28:22.665 New DB connection, total: 1
Total desktop width=640, height=480, numscreens=1
2005-05-24 16:28:22.673 Using screen 0, 640x480 at 0,0
2005-05-24 16:28:22.693 Switching to square mode (Titivillus)
Could not find theme: Standard
2005-05-24 16:28:23.020 New DB connection, total: 2
2005-05-24 16:28:23.024 New DB connection, total: 3
2005-05-24 16:28:23.043 Connecting to backend server: 192.168.178.253:6543 
(try 1 of 5)
2005-05-24 16:28:23.050 Using protocol version 16
2005-05-24 16:28:23.090 Using protocol version 16
2005-05-24 16:28:38.148 AVFD: Opening Stream #0: codec id 2
2005-05-24 16:28:38.151 detectInterlace(Detect Scan, Detect Scan, 25, 576) 
->Interlaced Scan
2005-05-24 16:28:38.151 Interlaced: Interlaced Scan  video_height: 576  fps: 
25
2005-05-24 16:28:38.153 AVFD: Looking for decoder for 2
2005-05-24 16:28:38.153 AVFD: Opening Stream #1: codec id 86020
2005-05-24 16:28:38.153 AVFD: Looking for decoder for 86020
2005-05-24 16:28:38.154 AVFD: Opening Stream #2: codec id 86016
2005-05-24 16:28:38.154 AVFD: Looking for decoder for 86016
2005-05-24 16:28:38.413 Estimated bitrate = 15640
2005-05-24 16:28:38.420 Filling position map from 0 to 304
2005-05-24 16:28:38.431 Position map filled from Encoder to: 303
2005-05-24 16:28:38.431 SyncPositionMap liveTV, from Encoder: 25 entries
2005-05-24 16:28:38.432 SyncPositionMap, new totframes: 303, new length: 12, 
posMap size: 25
Input #0, mpeg, from 
'rbuf://192.168.178.253:6543/home/mythtv/tv_record//ringbuf1.nuv':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, 25.00 fps, 15000 kb/s
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 448 kb/s
  Stream #0.2: Audio: mp2, 48000 Hz, stereo, 192 kb/s
2005-05-24 16:28:38.432 Partial position map found
2005-05-24 16:28:38.432 AvFormatDecoder: Successfully opened decoder for file: 
"rbuf://192.168.178.253:6543/home/mythtv/tv_record//ringbuf1.nuv". novideo(0)
2005-05-24 16:28:38.454 Opening audio device '/dev/dsp'.
2005-05-24 16:28:38.455 Opening OSS audio device '/dev/dsp'.
2005-05-24 16:28:38.465 VideoOutputXv()
2005-05-24 16:28:38.475 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2005-05-24 16:28:38.485 @ j=3 Looking for flag[s]: XvInputMask XvImageMask
2005-05-24 16:28:38.485 Adaptor: 0 has flag[s]: XvInputMask XvVideoMask
2005-05-24 16:28:38.485 Adaptor: 1 has flag[s]: XvInputMask XvImageMask
2005-05-24 16:28:38.486 XVideo surface found on port 128
2005-05-24 16:28:38.496 Image size. dispxoff 0, dispyoff: 0, dispwoff: 640, 
disphoff: 480
2005-05-24 16:28:38.496 Image size. imgx 0, imgy: 0, imgw: 720, imgh: 576
2005-05-24 16:28:39.462 Realtime priority would require SUID as root.
2005-05-24 16:28:39.564 Changing from None to WatchingLiveTV
2005-05-24 16:28:39.667 nVidiaVideoSync: VBlank ioctl did not work, 
unimplemented in this driver?
2005-05-24 16:28:39.677 DRMVideoSync: Could not open device /dev/dri/card0, No 
such file or directory
2005-05-24 16:28:39.681 OpenGLVideoSync: GLX extensions: GLX_EXT_visual_info 
GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync 
GLX_SGI_swap_control GLX_ARB_multisample GLX_NV_float_buffer 
GLX_ARB_get_proc_address
2005-05-24 16:28:39.806 Using OpenGLVideoSync
2005-05-24 16:28:39.809 Using audio as timebase
2005-05-24 16:28:39.810 Video timing method: SGI OpenGL
2005-05-24 16:28:39.810 Refresh rate: 16666, frame interval: 40000
'video_output' mean = '39766.22', std. dev. = '2140.72', fps = '25.15'
'video_output' mean = '39992.67', std. dev. = '314.25', fps = '25.00'
2005-05-24 16:28:51.113 positionMap[ 315 ] == 5843991.
2005-05-24 16:28:51.593 positionMap[ 327 ] == 6056871.
.
.
.
'video_output' mean = '40000.42', std. dev. = '19265.19', fps = '25.00'
2005-05-24 16:30:56.008 positionMap[ 3438 ] == 57622288.
2005-05-24 16:30:56.508 positionMap[ 3450 ] == 57860296.
2005-05-24 16:30:56.988 positionMap[ 3462 ] == 58049140.
2005-05-24 16:30:57.468 positionMap[ 3474 ] == 58211120.
2005-05-24 16:30:57.947 positionMap[ 3486 ] == 58419281.
2005-05-24 16:30:58.427 positionMap[ 3498 ] == 58638693.
2005-05-24 16:30:58.907 positionMap[ 3510 ] == 58854434.
2005-05-24 16:30:59.387 positionMap[ 3522 ] == 59052459.
'video_output' mean = '39792.40', std. dev. = '19524.84', fps = '25.13'
2005-05-24 16:30:59.867 positionMap[ 3534 ] == 59251013.
2005-05-24 16:31:00.347 positionMap[ 3546 ] == 59451815.
2005-05-24 16:31:02.737 Timed out waiting for free video buffers.
2005-05-24 16:31:04.936 Timed out waiting for free video buffers.
2005-05-24 16:31:07.136 Timed out waiting for free video buffers.

<<<<<<<<<<<<<<<<<<<<<<


When "Timed out waiting for free video buffers" appears the X cpu usage grows 
to 100%

Would be very happy, if someone can help.


Lukas


More information about the mythtv-users mailing list