It is simple to cast video and audio to your TV from Linux based PC using Chromecast or Google cast devices with Mkchromecast. It is written in Python, and it streams via node.js, ffmpeg, or avconv. Mkchromecast uses both lossy and lossless audio formats provided that ffmpeg, avconv (Linux), or parec (Linux) are installed. It also supports Multi-room group playback and 24-bits/96kHz for high audio resolution. Linux users also can configure ALSA to capture audio. In this article let us see how to cast or mirror contents from a Linux PC to TV using Chromecast.

How To Cast Video from Ubuntu to Chromecast

Firstly you need to download Mkchromcast to cast videos and other media to TV.

Download Mkchromcast for Linux

Click the below link to download the Mkchromcast to your Linux based PC. Download Mkchromecast The Video casting works on both node and FFmpeg backends. Ensure that you have paired the Chromecast with Mkchromecast using the Mkchromecast tray applet. Do not forget to quit the tray applet before casting a video to Chromecast, else you will get issues out of that. Now open a new Terminal window and run: mkchromecast –video -i “/path/to/file.mp4” If you want, you can specify a backend to process the video. mkchromecast –video -i “/path/to/file.mp4” –encoder-backend ffmpeg If you want to cast videos with subtitles, just pass –subtitles flag and point the app to a matching .srt file mkchromecast –video -i “~/Videos/Example.mkv” –subtitles ~/Videos/Example.srt To cast videos files that are online using their URL, use the –source-url flag mkchromecast –source-url http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 -c mp4 –volume –video It is also possible to cast YouTube videos using this method, but have in mind that the videos will be downloaded first and then it will cast the video to TV. If you have doubts in downloading and converting youtube videos, check this link youtube converter mp4. mkchromecast -y https://www.youtube.com/watch?v=NxD_kWK8A5M –video Read also

How to Watch Popcorn Time on Chromecast? 2019How to Watch Sling TV on Chromecast?

Hope you will now be able to cast your videos, music, or other media content to your TV from a Linux PC. Comment below for doubts or clarifications.

How to Use Chromecast for Linux to Cast Videos  Music   More - 85How to Use Chromecast for Linux to Cast Videos  Music   More - 97