Linux Kamarada

Streaming from VLC to TV using Chromecast

VLC is the default Linux Kamarada multimedia player. I have already praised it a few times here for supporting various multimedia formats and having many nice features, it’s really smart! Among those features, today I’m going to show you how to cast videos or music from VLC to TV via Chromecast.

Chromecast is a small gadget created by Google that allows you to stream media content from your devices (smartphone, tablet or PC) to your TV screen via Wi-Fi. It turns simple TVs into smart TVs and eliminates the need for HDMI cables, which were previously used to connect things to TVs. Fewer cables, less mess, more convenience!

Before we get started

Make sure your Chromecast device is ready to receive streams.

In case you haven’t setup your Chromecast yet, use a mobile device with Android or iOS to set it up. If you need help on how to do that, take a look at:

On your computer, you need to set up the firewall to allow the ports used by Chromecast to communicate with the computer. If you haven’t done that already, see:

Also, you must be using VLC version 3.0 or later, because the support for Chromecast on VLC arrived with the release of VLC 3.0. Linux Kamarada 15.1 comes out-of-the-box with VLC 3.0.7.

Finally, both your computer and Chromecast must be connected to the same local network (for instance, your home Wi-Fi).

How to cast from VLC

Having the prerequisites met, casting from VLC to TV using Chromecast is simple.

To do this, start VLC, open the Playback menu and hover the mouse pointer on Renderer:

By default, VLC will have Local selected, meaning that it will play multimedia files on the computer itself. VLC searches the local network for casting compatible devices and lists them. If your Chromecast appears in the list, select it.

Now just open the multimedia file you want to play with VLC:

And streaming begins:

To control playback (pause, resume, stop, increase or decrease the sound volume, etc), you can use the playback controls on the VLC window or your TV’s remote control.

Troubleshooting

If your Chromecast device does not appear in the list of available renderers (it just shows Scanning):

Maybe your firewall is blocking VLC to connect to Chromecast. In this case, allow the ports used by Chromecast to make the connection possible. Here is how you can do it:

Another possible reason is that your router is blocking multicast DNS (mDNS) packets, which are used to discover neighbor devices on the network. If you need help with this, contact your ISP support to check your router’s configuration.

Did you know?

The movie in the picture above is the first of the Caminandes trilogy, an independently produced short animated series made with Blender, a free and open source 3D creation suite. Just as Blender is open source, those movies are also open movies: not only the movies themselves are available for download (for free and completely legal), but also are all the source files used to produce them.

You can download the movies (and the source) of the Caminandes trilogy at www.caminandes.com.

You can find other open movies of the Blender Institute at:

Have a lot of fun!

References

Would you buy me a coffee?
If you really liked it, if it was really helpful for you, is it worth a coffee? If you want, you can "buy me a coffee" with PayPal or contribute to the project in other ways.

Comments

About

The Linux Kamarada Project aims to spread and promote Linux as a robust, secure, versatile and easy to use operating system, suitable for everyday use be at home, at work or on the server. The project focuses mainly on distribution and documentation.

Ads

Facebook

Author