It’s simple, with Stream2Chromecast!


Are you searching for an easy way to stream media files from your LinuxBox to a Chromecast?

You can use Stream2chromecast, a simple Python script that makes the task of streaming media files to a Chromecast device ridiculously easy.

Simply clone the project’s GitHub repository with this command

git clone https://github.com/Pat-Carter/stream2chromecast.gi

Now, to stream a media content, start the script with this command line

stream2chromecast.py /path/to/foo.mp4

The utility also supports basic playback controls through -pause, -continue and -stop options.

Subtitles?

Only the WebVTT format is currently supported.

If you have an SRT subtitle file, you can convert it with this online tool:

[embed]http://www.webvtt.org/[/embed]

To cast the subtitles on /path/to/subtitles.vtt use this command:

stream2chromecast.py -subtitles /path/to/subtitles.vtt /path/to/foo.mp4

More info and download

[embed]http://www.webvtt.org/[/embed]