[mythtv] vsync reimplementation bug ? could be EPIA specific.

Darren djsharman at ntlworld.com
Wed Aug 11 21:52:23 EDT 2004


Guys,

I have an issue that I think involves the new vsync code. I'm running an
up to date CVS.

I'm running on and EPIA, I am using the code compiled with
USING_OPENGL_VSYNC flags enabled. I also have "use video as timebase"
enabled on the General playback settings page.

What I find is that all is well picture is nice and smooth during normal
viewing. Then when i try to fast forward through adverts the frontend
picture and audio locks up for a while on some occasions. When it locks
up if I wait for about 50 seconds the system eventually recovers, the
picture moves in jumps several times alternating with playing and being
frozen. The frozen periods become shorter and shorter until finally the
picture is playing normally again.

I captured a log from the frontend when this but happens and its
attached below, i used -v playback to capture the logs. Log is attached
below. The log covers from normal running, into the problem and back out
to normal viewing again.

I have seen a similar problem with the old sync code and I was able to
fix it by modifying the code as shown in the attached patch.

can someone help me fix this issue on the present cvs code. 

Thanks,

Darren


---8<--- log follows ---8<---
'video_output' mean = '64895.82', std. dev. = '80658.15', fps = '15.41'
avsync_delay: 788, avsync_avg: 197, warpfactor: 1.03712, warpfactor_avg:
1.00126
2004-08-08 22:25:06 waiting for prebuffer...
2004-08-08 22:25:06 prebuffering pause
2004-08-08 22:25:06 waiting for prebuffer...
2004-08-08 22:25:06 A/V diverged by 9150.52 frames, extending frame to
keep audio in sync
2004-08-08 22:25:08 Waited too long for video out to pause
2004-08-08 22:25:09 Waited too long for video out to pause
2004-08-08 22:25:10 Waited too long for video out to pause
2004-08-08 22:25:11 Waited too long for video out to pause
2004-08-08 22:25:12 Waited too long for video out to pause
2004-08-08 22:25:13 Waited too long for video out to pause
2004-08-08 22:25:14 Waited too long for video out to pause
2004-08-08 22:25:15 Waited too long for video out to pause
2004-08-08 22:25:16 Waited too long for video out to pause
2004-08-08 22:25:17 Waited too long for video out to pause
2004-08-08 22:25:18 Waited too long for video out to pause
2004-08-08 22:25:19 Waited too long for video out to pause
2004-08-08 22:25:20 Waited too long for video out to pause
2004-08-08 22:25:21 Waited too long for video out to pause
2004-08-08 22:25:22 Waited too long for video out to pause
2004-08-08 22:25:23 Waited too long for video out to pause
2004-08-08 22:25:24 Waited too long for video out to pause
2004-08-08 22:25:25 Waited too long for video out to pause
2004-08-08 22:25:25 A/V diverged by 6867.76 frames, extending frame to
keep audio in sync
2004-08-08 22:25:25 waiting for prebuffer...
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
2004-08-08 22:25:39 A/V diverged by 5149.77 frames, extending frame to
keep audio in sync
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
waiting for free video buffers timed out
'video_output' mean = '465590.76', std. dev. = '2491168.03', fps =
'2.15'
avsync_delay: -255, avsync_avg: -255, warpfactor: 0.993456,
warpfactor_avg: 1.00137
'video_output' mean = '39996.78', std. dev. = '2851.58', fps = '25.00'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vidastimepatch3
Type: text/x-patch
Size: 1350 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040812/7d06a2fe/vidastimepatch3.bin


More information about the mythtv-dev mailing list