[mythtv] [PATCH] XVideo XvMC VLD broken

Terry Barnaby terry1 at beam.ltd.uk
Tue May 3 20:49:28 UTC 2005


Isaac Richards wrote:
> On Tuesday 03 May 2005 04:17 pm, Terry Barnaby wrote:
> 
>>>It looks like the problem is with AVSync (again !).
>>>
>>>If I set "disableaudio" in NupplePlayer.cpp video display is fine.
>>>If I set "avsync_avg = frame_interval" at the top of
>>>NuppelVideoPlayer::WarpFactor() all is Ok (bar audio delayed/infront).
>>>
>>>What is supposed to happen in NuppelVideoPlayer::AVSync() when
>>>"diverge > MAXDIVERGE" ?
>>>Could it be that with XvMC VLD video frames are not actually "extended" ?
>>>
>>>Terry
>>
>>I have put some debug statements into NuppelVideoPlayer::AVSync().
>>It appears that the Video output frame rate has been cut in half
>>(as it should be) and the correct Video frames are being output
>>at this rate however the audio seems to have slowed down to match ?
>>The Audio should be running at normal speed and would catch up with
>>the Video.
>>I note that if I set "enable Extra Audio Buffering" the situation
>>is improved drasticly. However, is this just covering up some
>>other issue ?
>>Any ideas on this ?
> 
> 
> Extra audio buffering should be on for everyone, unless it otherwise causes 
> problems.
> 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Ok, It appears to default to off and the settings indicate that it
should not normally be used. So should this be changed ?

I did not need to use this option prior to the XvMC/Xv merge ...
I just want to make sure it is not covering up some other issue, so
any ideas as to the reason that the Audio does not run at
normal speed when the Video has had its frame rate cut in half to allow
the audio to catch up ?

Cheers

Terry


More information about the mythtv-dev mailing list