How to transfer videos from Ubuntu to Chromecast
Chromecast is a device that enables seamless transmission of content such as audio and video on a TV over a home network. It is plugged into the HDMI port of the TV. You can use Chromecast to transfer media files from your mobile device or from computer to TV. Using Chromecast devices is a way to transfer the most affordable and good quality media content to a TV.
In this article, we will look at how to transfer videos from Ubuntu 18.04 LTS to Chromecast. There are 3 ways to transfer videos from Ubuntu to Chromecast:
- Use the terminal
- Use VLC Player
- Use Google Chrome
You can stream videos from Ubuntu to Chromecast devices in one of three possible ways if above. Before starting, make sure your Chromecast device and source device (ie, a mobile device or computer) is on the same network.
1. Use the terminal
You can use the terminal to transfer local videos or YouTube to Chromecast. To do this, you must install Mkchromecast. Mkchromecast is a program that you can use to stream media files (audio and video) from macOS X or Linux to your Chromecast device. So, start with the installation of this tool.
Step 1 : First, launch the terminal by pressing Ctrl
+ Alt
+ T
and then enter the following command to install Mkchromecast:
$ sudo apt install mkchromecast
Wait a while until the installation is complete.
Step 2 : Then you will pair the Chromecast device with Ubuntu. Open the terminal, then run the following command:
$ mkchromecast –t
The command will list the devices available online.
Click the Chromecast icon in the system tray area in the top right corner of the screen to search for devices that stream media. Select the name of the device you want to transfer content to. If no device is listed, click the Search for Media Streaming Devices option . You can also configure different settings from here.
Step 3 : To transfer local videos from Ubuntu to your Chromecast device, open the terminal application in Ubuntu. Then run the command using the following syntax to transmit the video:
$ mkchromecast --video -i [path/to/video]
Below in the terminal, you can see the following information:
- IP information about streaming devices (TV)
- Local IP of Ubuntu.
- Media file type
You can also stream YouTube videos directly from the terminal. Run the command in the terminal with the following syntax:
$ mkchromecast –y [youtube-URL] --video
However, be aware that streaming YouTube videos in this way will first require downloading the video to your system and then streaming that downloaded video on Chromecast.
To stop streaming video at any time, press Ctrl
+ C
2. Use VLC Player
You can also stream videos from Ubuntu to Chromecast using the most popular VLC Player. VLC Media Player has integrated Chromecast support.
Step 1 : Launch VLC Player in Ubuntu. Then play any video in VLC Player that you want to stream in your streaming device.
Step 2 : From the top menu, click Playback.
Step 3 : Hover over Renderer, it will display the list of available Chromecast devices.
Step 4 : Select your device. Then, the media file transfer process will start on your stream media device.
3. Use Google Chrome
Chrome browser is another way to let you stream online videos to Chromecast.
Step 1 : Launch Google Chrome in Ubuntu and open any video.
Step 2 : Click on three vertical dots in the right corner of Chrome browser to open the menu.
Step 3 : Click Cast to start streaming video on Chromecast device.
Step 4 : Then, at the top right of the Chrome browser, you will see the Chromecast icon (1), click it to open the pop-up window.
Step 5 : From here, you can select the device (2) and source (3) that you want to transfer. From the list of sources, click the Cast tab option.
Any video you have opened, will be transferred to your Chromecast device. If you do not select any source, Chromecast device will automatically start the opened tab by default.
To stop the video transmission, close the tab or click the Stop Casting option under the device name as shown in the picture below.
That's all it takes to stream videos from Ubuntu to Chromecast. You can see the transfer of any video from Ubuntu to a Chromecast device very simply. You can stream any video to Chromecast, whether it's saved locally on your computer, YouTube video, or any other video running on your Chrome browser.
Hope you are succesful.
You should read it
- How to turn off Chromecast feature in Google Chrome
- What is the difference between Chromecast and Miracast?
- How to transfer Android games to TV using Chromecast
- How to play games with the new Google Chromecast
- Opera browser adds support for Chromecast
- How to use your phone to control Chromecast with Google TV
- Compare Chromecast Ultra, Apple TV 4K, Roku Ultra and Amazon Fire 4K
- How to turn on and turn off notifications from Chromecast on Android
May be interested
- How to turn on and turn off notifications from Chromecast on Androidgoogle chromecast is a great development platform, but this google home companion app gets a lot of annoying updating requests for users. in this article, we will show you how to customize chromecast notifications on android.
- How to disable/enable Chromecast play controls in Google Chromethe chromecast media playback control key is displayed by default next to the user profile picture in the top right corner of the chrome browser window.
- What's New in Ubuntu 21.10?version 21.10 is the latest release of ubuntu and although canonical is turning more attention to the cloud and developers, ubuntu 'impish indri' still comes with some notable changes for those users use the ubuntu desktop every day.
- How to Migrate from Windows to Ubuntuwhen migrating from windows to ubuntu, there are a few things you might need to reflect over, like how to cope the new system, the new interface, and how to adapt to ubuntu in general, and of course, how to transfer your personal files...
- How to transfer videos and images between iPhone and computer without plugging in?thanks to the image transfer application, users will quickly perform the process of transferring images and videos between iphone and computer or between ios devices together.
- YouTube on smartphones has added claws to transfer videosthis new feature allows users to switch between different viewing videos by swiping the screen, promising to completely change the way users view videos on youtube.
- How to project a computer screen to a TV with Chromecastwant to project your computer screen on tv? you can do this with an hdmi cable, but an inconvenience is the location of the computer depends on the length of the cable. however, with google's chromecast, you can project any browser tab or the entire computer screen on a tv in just a few simple steps.
- How to Capture Adobe Flash Videos on Ubuntu Linuxthis tutorial will serve as an introduction to capturing an adobe flash video on ubuntu linux. some embedded videos are stored as flv videos. this article will show you how to capture those videos for later playback using the vlc...
- How to Transfer Videos from Android to Computerthis article will show you how to transfer videos from your android phone or tablet to your personal computer (pc). if it's a short video, you can send it to yourself via email (electronic mail). however, for longer videos (with larger capacity), you need to connect your android to your computer using a usb cable or upload the video to google drive.
- How to connect Google Home to Chromecastto connect google home to chromecast, all you need to do is plug the google chromecast into the hdmi port available on your tv and the google home app (on ios or android) for chromecast to communicate.