I have a similar problem, but not as severe: 4k video exhibits hesitations -- perhaps even slowdowns without actually stopping -- but without audio problems. Regular HD videos appear to be ok.
I have a rpi4 and libreelect 9.2.1 just upgraded yesterday. I added hdmi_enable_4kp60=1 to my setup.txt and while I was there changed gpu_mem to 512k.
(From what I read, that last one may have been ineffectual.)
Before I made those changes to the setup file, the same hesitations were present, but if I tried to run the movie and look at the cpu stats from the main menu, the screen would blank and the sound would hesitate and it was just a general mess. Stop the stats and just watch the movie and it went back to mild (but annoying) hesitations.
After the changes, all that went away.... alas except the mild hesitation in the video.
I tried your suggestion to whitelist only the 59.94 and 60 hz video formats in the whitelist. (I do not have a 50 available: presumably because we're in the land of 60Hz.
I do not yet have a 4k TV, so a) this isn't terribly important to me yet and b) there are no higher resolutions available in the menu as one might expect.
Here's running:
bick-ubtu3 ~$ iperf -c kodi --port 5201
------------------------------------------------------------
Client connecting to kodi, TCP port 5201
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.128 port 59088 connected with 192.168.2.120 port 5201
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 732 MBytes 614 Mbits/sec
bick-ubtu3 ~$
I took a few screenshots of an HD movie, a UHD movie, and iperf running. Here they are:
![]()
![]()
![]()
So I don't think there's a network issue.
I watched the cpu temp and whether it was throttled as the movie runs and the cpu never went above 47° and that's not even close to throttling. It never showed as throttled, either.
(BTW, that's in a FLIRC case with no fan. I had my RP3 in a FLIRC case and it did very well with no fan. Looks like RP4 is doing ok, too.)
One more bit of data: the onscreen player process info (key 'O') shows this:
Video decoder: ff-hevc-mmal (HW)
Pixel format: rpi
Deinterlace method: none
Video stream: 3,840x2,160 px1.78 AR, 23.976 FPS
Audio stream: FL, FR, FC, LFE, SL, SR, ff-eac3, 32 bits, 48,000 Hz
System memory usage: 12% (stable) System CPU usage; (all over the place as usual, bbut max seems to be 37% for brief moments, dodging from one cpu to the other... lows in the single digits, most teens to 20's. I know. Not terribly [word meaning science in the adjectival form].
)
top shows the load average to be 1.33, 1.00, 0.9 as the movie runs. That's a little more [word meaning science in the adjectival form].
Anyone know what's going on here?
P.S. If you're wondering why [word meaning science in the adjectival form] instead of ... erm... I dare not say it ... it's because I got this message as I tried to save:
![](https://forum.libreelec.tv/core/attachment/6061-pasted-from-clipboard-png/)
oops. well, there apparently I said it.
P.P.S.
Here's a video I took with my phone that demonstrates the stutter issue.