Video freezes after several minutes



The video will play for several minutes, then the image freezes. The audio continues for 10 to 15 seconds, then silence. If I stop then resume, it will play for another several minutes, then freeze again.

Kodi 20.4
Amazon Fire TV Stick 4K max

It plays fine on an Amazon Fire TV Stick 4K running an earlier version of Kodi.

The debug log:
https://paste.kodi.tv/verozoveve.kodi

Thanks