Connect with us

Chromecast

How to Setup Chromecast for Linux?

Published

on

Chromecast for Linux

Chromecast is the small transmission device which allows you to play multimedia content from your TV that has the HDMI port and you can use any device that has support for this. You can find the Chromecast in any of the official stores which shows us from the official website of the product. You can find the Chromecast, Chromecast 2 and Chromecast audio. This is the small device that needs the HDMI port, power source and a WiFi connection to operate. The only thing that you can separate from that is the Chromecast Audio that only needs the 3.5mm plug. You can easily setup Chromecast for Linux.

Chromecast for Linux
Chromecast for Linux

Google Chromecast lets you play any type of audio content including videos and music on digital television. You can do this with the help of various devices including smartphone, tablet, laptop, or desktop as a TV remote. Once the streaming gets started, it is not required to keep the app open, and the device can be used for other purposes. You can stream the contents from a variety of sources including Netflix, Youtube, Hulu Plus, movies, Google Play music, and the chrome browser. It allows users to play online content including videos and music on digital television.

Related: How to Setup Chromecast on iPad/iPhone?

How to Setup Chromecast on Linux?

To transmit multimedia content to your device from your operating system, you can do it with the help of a tool called Mkchromecast, this program was written in Python and transmitted through the node.js, avconv or ffmpeg.

Mkchromecast is capable of using lossless video and audio formats.

Chromecast for Linux
Chromecast for Linux

Related: How to Setup Google Chromecast on Mac?

To install it you have to open the terminal and execute the following command:

For Ubuntu and derivatives:

one | sudo apt-get install mkchromecast

For Arch Linux and derivatives:

one | sudo pacman -Sy mkchromecast

Chromecast for Linux
CChromecast for Linux

You can install this tool from the source code, You have to clone your git, Just type the following commands:

one|git clone https://github.com/muammar/mkchromecast.git
two|cd mkchromecast
3 |pip install -r requirements.txt

Now you only have to use the terminal to send your content, for example, If you want to play the video you can do it with the following command.

one | mkchromecast –video -i “/ruta/del/video/file.mp4”

Chromecast for Linux
Chromecast for Linux

If you want to add subtitles you can load them with the following command

one|mkchromecast –video -i “~ /Video/ Example.mkv” –subtitles ~ /Video/ Example.srt

If you want to broadcast a video file, that is available from an online source, you can use the -source-url:

one | mkchromecast –source-url http://myvideowebsite.org/video.mp4 -c mp4 –volume –video

Chromecast for Linux
Chromecast for Linux

You can also stream the YouTube videos, this downloads the YouTube videos to your computer and then broadcast the local file to your TV

They can even stream YouTube videos, but keep in mind that this will download the YouTube video to your computer and then broadcast the local file to your TV:

one | mkchromecast -y https://www.youtube.com/watch?v=ABCDEfg –video

Thanks for reading this post. You can comment your suggestions and queries on the comment box below.

Advertisement

Facebook

Trending