Videos start dropping frames / stuttering after several minutes



Hi all.

I am using Kodi 21 on a Homatics Box R 4K Plus with ATV 12.

Since Kodi 21 I have encountered the following problem: When I play a 4k video, after about 12 – 15 minutes of playback, Kodi starts dropping frames. It always starts with just dropping a few frames every few seconds, but then it gets worse until the whole video is heavily stuttering and only running at 17-20 fps.

I have only encountered this issue since Kodi 21 and only with 4k (HDR?) videos, not with lower bitrate 1080p content.
I play the files over a wired 1Gbit connection from my Jellyfin server using the Jellyfin Kodi addon, but this issue also occurred with local files from an external HDD connected directly to the TV box.
I already tried to change the cache sizes (20M, 128M, 192M, 256M), unfortunately without success.

I have created the following debug log: narigeyefu (paste)
I started the log, then started the video and let it run until it started to heavily stutter.

I hope this helps to get the issue resolved.

Kind regards