For me, upgrading to a recent LE11 nightly running Kodi 20 final has solved this buffering/video freezing issue completely.
I've tested LE11 beta and I'm still getting the same issues.
It would be useful to confirm if the issue is reproducible from a recorded file (played through file interface of kodi).
If it is we can investigate the file.
I doubt this would work as the issue appears to manifest when there is a problem with a network stream.
I think kodi just doesn't recover well when switching into and out of buffering where there isn't enough network bandwidth between the client and server.
I used to have issue like this when using a wifi connection, but it's been perfect since switching to wired.
I will test with the debug logging suggested but the issue isn't a poor connection, both client and server are hardwired on the local LAN. In my case it's likely my TVH server is having moments it struggles to re-encode the h264 stream. I have to use this feature as the build of Hyperion I'm using doesn't like the native resolution of SD channels.
I know of another user which has the same issues with a HDHomerun setup. Their RPi4 client and HDHR tuner are hard-wired into a Mesh WiFi network so that's obviously the issue there. Unfortunately there is no cost effective solution there to hard-wire either.
We can both live with occasional drop outs, it's the fact Kodi doesn't recover without interaction from the user that's annoying.