Instant Streaming from Linux to Chromecast with stream2chromecast

Dmitri Popov

Productivity Sauce

Mar 10, 2016 GMT
Dmitri Popov

What's the easiest way to stream media files from a Linux machine to Chromecast? The correct answer is stream2chromecast. This simple tool makes the task of streaming media files from a Linux machine to a Chromecast device ridiculously easy. Clone the project's GitHub repository using the git clone https://github.com/Pat-Carter/stream2chromecast.git command. On Ubuntu-based distributions, run the sudo apt-get install libav-tools command to install the avconv package required for transcoding media files not supported by Chromecast. And that's all there is to it.

To stream a media file, switch to the stream2chromecast directory and run the stream2chromecast.py /path/to/foo.mp4 command. To transcode unsupported files on-the-fly, use the -transcode switch, for example: stream2chromecast.py -transcode /path/to/foo.mpg. The utility also supports basic playback controls through -pause, -continue, -stop, and a few other switches. Is that all stream2chromecast has to offer? Almost. Is this tool useful? Absolutely!

comments powered by Disqus