On my Vero 4k, AVI files are displayed very asynchronously. The movie part runs much faster than the audio part, then a little later, the movie stutters. Sometimes, I get the sad face. The audio is always in normal speed. This is probably since the last upgrade/reinstall. At least, before that, it was not a problem.
I tried changing the settings in settings > player > videos > frame rate and sync with monitor, but to no avail. It is the first time I played around with those settings, earlier, it was not necessary. But also in the standard settings for player, video, audio, the files are asynchronous and stutter.
The AVI files are of different resolutions. They are on an autofs-mounted NFS share. I copied a sample file to the local storage, but it shows the same behaviour.
Here is a short log of picking the video in the local storage, starting it, and watching it for a few seconds: https://paste.osmc.tv/qizirarovu
I tried changing the settings in settings > player > videos > frame rate and sync with monitor
“Frame Rate” is the refresh rate. I use a non-English UI language.
Nevertheless I got back to Kodi and tested all 8 options:
Refresh sync on sync off
===========================================================
Off problem exists problem exists
Always problem exists problem exists
Start/Stop problem exists problem exists
Start problem exists problem exists
Oh, thank you, kkuuu.
The AVIs used to work all the time before. The AVIs are provided as such by a (legit) online broadcasting recorder. And they worked all the time before. I have hundreds of them, so the idea of remuxing hundreds of AVIs to cater for, until now, a software problem in kodi, is not attractive. Did I mention that they worked all the time before? They did so in 2020, and hopefully will again in 2020, without remuxing provided content by the dozen.
That did the trick, at least for the movies in question. Disabled HW acceleration for h.264, and audio and video are in sync again and not stuttering.
What about HD (720, 1280) or mp4 content, then? How will they suffer from disabled HW acceleration?
And what caused the HW acceleration to degrade so much after the upgrade?
Ah yes, I found it in enable hardware acceleration for h.264 for “HD and better”.
But.
The movie in question, as other movies, are 720p. Kodi considers this as “HD and better”, activates HW acceleration, and the stuttering goes on. Is there an option to enable HW acceleration for 721+ p?