Connect with us

Chromecast

Chromecast for Linux: Cast Media from Linux to Chromecast

Published

on

Chromecast for Linux

Chromecast is a popular digital streaming media player that allows you to cast media files such as pictures, videos, documents, etc to your TV. The latest Chromecast with Google TV is equipped with several in-built apps and features. Chromecast turns any TV into Smart TV. The price of the Chromecast is extremely low compared to other streaming players. You can cast videos and other content from any supported device such as Android, iOS, and more. As you all know, Linux is an open-source operating system like Windows, Mac, etc. It is free to download and the performance of Linux is better than the Windows OS. If you are using a Linux computer, you can easily cast the media content to your desired Smart TV using Chromecast. But, the process is not straightforward. In this article, we’ve included the steps to cast content from Linux PC to Chromecast.

Chromecast for Linux

Cast Media files from Linux to Chromecast (VLC Media Player)

You can use the VLC player to cast the content on Chromecast-connected TV. Before moving into the steps, connect the Chromecast device to your TV and set it up. Then, connect the Chromecast-connected TV and your Linux PC to the same Wi-Fi.

1. Install and launch the VLC Media Player on your Linux PC.

2. Play your desired video on VLC Media Player.

3. Select the Playback tab displayed at the top.

4. Scroll down and click the option Renderer.

Select your Chromecast

5. Select your Chromecast device from the list of available devices.

6. Now, you will be able to see the video on Chromecast-connected TV.

Cast Media files from Linux to Chromecast (Google Chrome)

Before following the steps given below, make sure to install the latest version of the Chrome browser on your Linux computer. Then, connect your Linux computer and the Chromecast-connected TV to the same Wi-Fi network.

1. Open the Chrome browser and navigate to the website or play any video you intend to cast.

2. Click the three-dots icon displayed in the top-right corner.

3. Scroll down and tap the Cast option.

Click Cast

4. Select your Chromecast device and tap the option Cast tab.

Select Cast tab

Note: If you want to cast the entire PC, select the option Cast Desktop.

5. Now, you can see the website or video on your Chromecast-connected TV screen.

How to Setup Chromecast on Linux using Mkchromecast

Use Mkchromecast to cast the video and audio content from Linux to Chromecast-connected TV. To do it, follow the steps listed below.

Open the terminal and execute the following commands:

For Ubuntu and derivatives:

one | sudo apt-get install mkchromecast

For Arch Linux and derivatives:

one | sudo pacman -Sy mkchromecast

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”

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

You can also cast the YouTube videos from Linux to Chromecast.

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

Follow the above methods and cast your favorite video, audio, image, and other files from your Linux computer to Chromecast-connected TV. The first two methods are simple and easy to follow. Using the Mkchromecast method is quite difficult and requires technical knowledge.

Frequently Asked Questions

1. Can I cast media files from Linux to Chromecast?

Yes. There are three ways to cast media files from Linux to Chromecast. To know more, refer to the blog.

2. How to Cast video using Chrome browser on Linux PC?

* Play the video on the Chrome browser and right-click the video.
* Click Cast and select your Chromecast device.
Now, you can see the video playing on your Chromecast-connected TV.

Advertisement

Facebook

Trending