Here are some scripts I've written to make chromecast streaming easier on linux.
I plan to update these over time. I have a couple more scripts but I intend to test them before I release :)
- For streaming I use the wonderful catt package.
- For converting I use ffmpeg, it would be beneficial if you could activate hardware encoding/decoding, if not you can change the ffmpeg command in the script easily.
- It could be better if you mounted /tmp on ram (second comment if you use systemd)