I’ve had this problem since at least January, maybe since I have the Vero 4K+ (I bought it a year ago). The problem was the same before the March update and is still present with the last update (this October).
On some media (mainly non-fiction shows, like 90 % of the time), at some point during playback, the image slow down or freeze, while the audio is still OK, then, after a few seconds (10 seconds to one minute maybe), the media jump a bit forward and image/sound are synchronised, then it does the same things a few minutes later.
Sometimes it is once or twice during an episode, sometimes it’s almost continuous.
I’ve enabled debug logging and played a file this morning. The slow down/jump appeared at least 4 or 5 times. Here is the log: https://paste.osmc.tv/olefuwixow (I think it happened the first time at 2020-10-27 10:47:25.289). [Edit: new log without upnext addon spam: https://paste.osmc.tv/wayozodube.]
Some notes:
I’ve all my media on the same hard drive (some with this bug, most play fine).
With hardware acceleration - amcodec deactivated, I haven’t this bug, but the image is not “fluid” (looks like there are tiny freezes).
I’ve tried changing several options, but I didn’t see any change (I haven’t kept track of those tests as I don’t understand all the settings, but I can try again some if needed).
If I show player debug information during playback, I see that during the slow down “aq” drops from 99 to 0 while “a/v” rise, then the jump happens (don’t know if it helps).
I don’t know if I just missed a simple option or misconfigured something or if it’s something else…
I’ve installed this addon about 10 or 15 days ago. I’m going to uninstall it as it annoys me more that it’s useful anyway, but I’ve had the bug long before that.
Try changing your UI refresh rate to 60 (it is currently 24) and see what that gets you. I think the problem is that your display has very limited modes it operates in so it is currently being forced to do things like trying to output a 1080p@30 video to 1080i@24. I wonder if with your display if you might get better results using 720p60 as your UI.
Thanks @darwindesign. I set the UI refresh rate at 60 (1080i@60) and play the same file again, I don’t see the “stream stalled” error in the log, but I wasn’t in front of the screen (have to work…). I’ll watch it again as soon as I can (and maybe try 720p60 too).
I had set the resolution at the max for my TV (a ~12 year old full hd plasma that I quite like), but I don’t understand the full logic behind those settings (what will the Kodi produce, what will the TV display…).
In Display > General > Whitelist, I have only a few option (480p, 576p, 720p@50/59,94/60 and 1080p@23,98/24), does OSMC/Kodi detect the available resolutions for my TV there ?
(I’m just curious here. )
You can see what resolutions and frame rates your TV is advertising support for in your logs…
====================== Display Cap =================== g0gjk991
480p60hz
576p50hz
720p50hz
720p60hz
1080p24hz
1080i50hz
1080i60hz
---------------------- Display Cap END --------------- g0gjk991
A simplified explanation of how this works is that if you have a resolution mismatch then between your source and display then the picture will be rescaled and that can cause a soft image or sometimes artifacts. Using a whitelist allows for OSMC to send lower resolution content to your display so that upscaling is done there instead instead of in the Vero/RPi. Many (most?) TV’s have superior scaling capabilities. This gets a bit more complicated when you factor in the frame rate. If your source and display have a mismatch where the frame rate of the source is not the same or an even multiple of what your display can do at a given resolution then you will have problems getting fluid motion as individual frames will have to get thrown away or duplicated to keep everything in sync. In your specific case your TV does not support 1080 in progressive mode in a frame rate over 24fps. The Whitelist does not allow you to select interlaced modes (I think their is a good reason for this but that is more of a Grahamh question that I don’t remember the details of) but the UI resolution is also included as part of the whitelist. With your old setting 1080p30 content was being forced to output to 1080p24. By changing your UI to 1080i60 I believe allows this to send the source at a perfectly doubled frame rate but interlaced.
As for running the UI in 720 that would be a suspicion that your display is not actually capable of 1080 but allows for that input for compatibility reasons. If this is the case then setting the lower resolution should give a better picture.
And thanks a lot @darwindesign for your answers. I’ve now watched a few shows which had the bug and it’s gone! Thanks a lot! Thank you for the clear explanations, I like to learn new things.
Unrelated to the bug, I went into more details about the resolution. I’ve looked in the TV’s manual and learned that it should be capable of displaying 1080i60/50 and 1080p60/50/24 (and not only 1080p24).
So I’ve plugged the Vero directly to it (instead of Vero → Soundbar → Tv), and OSMC show me 1080p50/59,94/60 in the whitelist.
I checked my soundbar manual, and it says it is compatible with 1080i60/50 and 1080p60/50/30/25/24. But when it’s Vero → Soundbar → TV, the max in the whitelist is 1080p24…
I guess something is not optimal. I tried switching cables, but it’s the same (both cables from Vero to TV show all resolutions). I don’t know if I should try another setup.