(2013-06-05, 09:32)fritsch Wrote: If you are running on Linux (what you actually do), try to get the very latest version from wsnipex xvba testing ppa - just a for a test. In this tree the "GetDelay" for AudioEngine is fixed at last and the new vdpau implementation that slowly reaches mainline is already in.
As this new version has a new settings hierachy, remember to press "left" and choose "Advanced" to get all settings. Don't try this version "as a solution with no problem", but just to see where the future will be pushing video / audio and so on, you can revert back to an older version at every time.
fritsch,
After more tests, I am pretty sure that there are 2 bugs in xbmc 12.2 source code that impact the smoothness of the playback.
Both bugs create some picture skip/dup that are not shown in the xbmc statistics.
The first bug is the one I identified earlier. The DVDClock speeds up the playback 0.1%. There is no impact to the statistics but it speeds up the VideoClock and create frame skips.
The second bug is int the DVDPlayerVideo at line 1170++ :
Code:
// check if our output will limit speed
if(m_fFrameRate * abs(m_speed) / DVD_PLAYSPEED_NORMAL > maxfps*0.9)
limited = true;
If the display refresh rate is arround 24Hz and the frame rate of the video playing is 23.976 or 24 then this condition is met and XBMC limits the playback and skip frames.
I changed it to the following:
Code:
if(MathUtils::round_int(m_fFrameRate) * abs(m_speed) / DVD_PLAYSPEED_NORMAL > MathUtils::round_int(maxfps))
limited = true;
With both patches the playback is finally smooth.
Both bugs are not specific to nvidia graphics and should impact most HTPC. I checked the master branch in XBMC github and both bugs are still there.
I'll try the latest version this week end but if it works better for this I'll be surprised