For inf, I have solved an issue with .ts format files recorded from broadcasts and saved on a NAS, played through emby on a Windows 10 pc to a chromecast. I set up hardware acceleration using an Nvidia card but only direct play happened, which stuttered and then failed.
Solution was to transfer files and library pointers to the pc, after which the Nvidia kicked in.
Hope that helps someone. Much better for recording than Plex, btw.