+4 votes
432 views
How to send audio and video from Linux to Chromecast

in Linux / Unix by (552k points)
recategorized by | 432 views

1 Answer

+3 votes
Best answer

What is the Chromecast?
What is mkchromecast?
How to install and use mkchromecast?
Stream from YouTube to Chromecast

Chromecast is becoming the most used device to transmit to our TV what is playing on our computer, mobile or even in the browser. Linux users do not have a native functionality that allows us to send audio and video from Linux to Chromecast , so we must opt ​​for applications such as mkchromecast , which allows us to easily transmit the content we want to display on our TV through this device.

What is the Chromecast?

It is an HDMI device similar to a USB drive that connects to the TV in order to capture the signal from the multimedia devices that are connected in the Wi-Fi network. With this tool we can visualize the multimedia contents that are sent from our computers, mobile phones and even the web browser.

What is mkchromecast?

It is an open source tool, written in Python and that uses   node.js, ffmpegor avconvto send audio and video from Linux to Chromecast.

mkchromecast sends multimedia to our Chromecast without losing audio and video quality, it also supports multiple transmissions, high-quality 24-bit / 96kHz audio resolution, direct transmission from YouTube, among other features found in modern Chromecast models .Linux to Chromecast

The tool is equipped with an excellent user panel, which is displayed in our inbox. In the same way, the installation of mkchromecast is simple in almost all Linux distros.

How to install and use mkchromecast?

In any Linux distro we can install mkchromecast directly from its source code hosted on Github, for this we must perform the following steps:

  • Clone the official repository of the tool, or in its absence download the stable version of the application from here .
$ git clone https://github.com/muammar/mkchromecast.git
  • We go to the newly cloned folder and proceed to execute pip install with the file requirements.txtthat contains all the necessary dependencies for the tool to work properly (in some cases the tool must be executed with sudo):
$ cd mkchromecast/
$ pip install -r requirements.txt

Users of Debia, Ubuntu and derivatives can install the tool directly from the official repositories, you only have to execute the following command from the console:

sudo apt-get install mkchromecast

For their part, Arch Linux users and derivatives can use the package available in the AUR repository

yaourt -S mkchromecast-git

We can visualize in detail the behavior and use of this application in the following gif distributed by the developer team. In addition we can see the official tutorials of use from here .

mkchromecast

Stream from YouTube to Chromecast

Particularly something that I like about this application is that we can transmit a YouTube video directly from the console to our chromecast, for this we must execute the following command:

python mkchromecast.py -y https://www.youtube.com/watch\?v\=NVvAJhZVBT

Undoubtedly a tool that will allow us to send our multimedia from Linux to Chromecast in an easy, fast and without losing quality..


by (3.5m points)
selected by

Related questions

+3 votes
1 answer
asked Nov 19, 2020 in Help by backtothefuture (552k points) | 188 views
+3 votes
1 answer
asked Nov 20, 2020 in Help by backtothefuture (552k points) | 195 views
+5 votes
1 answer
asked Nov 19, 2021 in Guides by backtothefuture (552k points) | 87 views
+5 votes
1 answer
+5 votes
1 answer
asked Nov 19, 2019 in Linux / Unix by backtothefuture (552k points) | 328 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,653 questions
10,785 answers
510 comments
3 users