[mythtv] Video/audio skips with new vsync code

Zarakin zarakin at hotpop.com
Sun Aug 22 23:58:04 EDT 2004


>1. If you're not using AC3 passthrough, try turning in "Use video as
>timebase."  This will adjust the audio speed rather than video.

No change in behaviour.

>2. Compile with OpenGL disabled.  Maybe the OpenGL timer resolution on
>TV-out is one frame rather than one field.
>3. In NuppelVideoPlayer.cpp, try changing the lines (around 1300):
>                        avsync_adjustment = refreshrate;
>and
>                         avsync_adjustment = -refreshrate;
>to use frame_interval rather than refreshrate.

No luck with these either:
2004-08-22 20:17:26 Changing from None to WatchingPreRecorded
2004-08-22 20:17:26 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2004-08-22 20:17:26 DRMVideoSync: Could not open device /dev/dri/card0, No
such device or address
2004-08-22 20:17:26 Using video as timebase
2004-08-22 20:17:26 Video timing method: RTC
2004-08-22 20:17:26 Refresh rate: 16579, frame interval: 33366
...
avsync_delay: 35, avsync_avg: 35, warpfactor: 0.999861, warpfactor_avg:
0.991498
'video_output' mean = '33365.60', std. dev. = '373.18', fps = '29.97'
avsync_delay: 35, avsync_avg: 34, warpfactor: 0.999864, warpfactor_avg:
0.991546
'video_output' mean = '33359.17', std. dev. = '362.73', fps = '29.98'
avsync_delay: 35, avsync_avg: 34, warpfactor: 0.999861, warpfactor_avg:
0.991594
2004-08-22 20:19:30 A/V diverged by -22.1799 frames, dropping frame to keep
audio in sync
2004-08-22 20:19:30 A/V diverged by -24.6221 frames, dropping frame to keep
audio in sync
2004-08-22 20:19:30 A/V diverged by -26.199 frames, dropping frame to keep
audio in sync

>Of course, if none of this fixes the problem you'll have to do some
>further debugging as I'm out of ideas.

Yup, I'm out of ideas as well :-(. I'll try to do some profiling next, if I
just would get oprofiler to co-operate.




More information about the mythtv-dev mailing list