Mine is Local Send which is a FOSS alternative similar to air drop that works across a variety of devices.
Your pi is the problem if you are trying to playback incompatible H.265 content or stuff with incompatible subtitles like SSA-subtitles in anime.
My advice (if you can) get a mini-pc like a NUC (used or new) and do everything you did on the Pi.
Besides that, watch tutorials on how to set it up properly or take your time to get docker to know. With docker you’ll just need to set up video permissions and the rest is taken care of by the container.