Hardware Acceleration Issue?

Hello,

Long time Kodi user here. I’ve been using kodi to playback my movies which are mostly in mp4 h.264.

Recently I switched to using h.265. Haven’t noticed any issues. So last night I burned about 40 movies. I went to watch a few using Kodi and they would not playback properly. At first I thought it was the file issue itself. Tried to play them on my computer and they look fine.

Messed around with Kodi settings and turned off hardware acceleration and now they playback fine in Kodi

Anyone have any ideas what might be going on? The picture looks like a mosaic. Each horizontal tile is off a few inches. Never have seen this before. Tried using two different versions of Kodi (16 and 17) and had same issue on both devices with the playback.

Appreciate any help or thoughts.