My Synology NAS is not powerful enough to transcode videos on the fly, so I decided to write a script which converts all my local media into Chromecast supported format using ffmpeg.
You can get the script from my GitHub repository chromecastize and convert all your media to Chromecast supported format by running one command - such as:
./chromecastize.sh /Volumes/MyNASIf you come across any issues or have ideas for improvement, please, report them by using issues in the GitHub repository.