you could use soemthing like
https://mediaarea.net/en/MediaInfo
on a file that works on a tv to see which video and audio codecs work
if handbrake is too complicated use winff
https://github.com/WinFF/winff
it's not supported any more, but i like it, i use it for similar reasons for playing back files on the ps4, if they don't work i use that and select ps4 from the dropdown and that converts them and they always work after