I have the very same problem though in my case I see it happening while I am recording a video and playing it back one hour later (so I am watching it live but with 1hr delay).
I am recording over USB so I shouldn't see any buffering, but I do. Sometimes, in rare occasions, video resumes, but generally speaking, audio keeps working while video is frozen. I normally stop and play again, now I see I can also go back 10s, will try that.
In kodi logs I see this:
2023-01-18 23:11:17.814 T:10596 INFO <general>: CVideoPlayerAudio::Process - stream stalled
2023-01-18 23:11:24.481 T:10602 ERROR <general>: CDVDVideoCodecDRMPRIME::AddData - send packet failed: End of file (-541478725)
2023-01-18 23:11:31.210 T:904 INFO <general>: Skipped 574 duplicate messages..
Note that if TVH is not recording, I never face buffering or stalling issues at all.
I checked CPU and RAM resources and they look fine (I am also using comskip while recording, so CPU% is a bit high)
Video is HD, H264 interlaced
nput #0, mpegts, from '/media/DVR/RegistrazioniTV/CLV/CLV2023-01-18.ts':
Duration: 03:20:00.61, start: 82849.148356, bitrate: 5753 kb/s
Program 1
Metadata:
service_name : Rai 3 HD
service_provider: Rai
Stream #0:0[0xc9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x12d](ita): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 128 kb/s
Stream #0:2[0x191](oth): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, mono, fltp, 64 kb/s
Stream #0:3[0x259](ita,ita,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
No Program
Stream #0:4[0x12]: Data: epg