Jellyfin transcoding issues on Bazzite?

I'm running my Jellyfin server on Bazzite, my client devices (chromecast, iPad) seem to have issues playing certain file types (avi, mkv). Other files (mp4) play fine. Looks like some sort of transcoding issue? Logs from Jellyfin have an error: [h264_amf @ 0x5624d19a3f80] DLL libamfrt64.so.1 failed to open

Google results mention issues like this on AMD systems under linux, I'm running an AMD CPU (7700) and GPU (6700). I didn't find a sure solution though and I'm new to immutable linux so I wasn't sure if I found a fix whether it would be applicable anyway? So I thought I'd ask here rather than on Jellyfin... Partial (mkv) log is posted below, hit the char limit, thanks from a former windows user.
Was this page helpful?