How to play local media on Chromecast

Martin Brinkmann
Jun 12, 2014
Updated • Mar 4, 2019
Tutorials
|
8

Google's Chromecast is a $35 device that provides you with the means to stream media contents to supported devices such as televisions or audio receivers.

While Google makes available a lot of apps for mobile devices and also a Chrome extension, it does not really point you in the right direction when it comes to local media on desktop systems.

Some apps -- AllCast or LocalCast for instance -- provide you with the means to do so, but if you want to play media that is stored on your computer's hard drive, then you may wonder if that is possible and if so, how it needs to be set up.

This tutorial walks you through the steps of streaming video and audio contents from a desktop computer to a Chromecast connected to a television.

What you need

Here is what you need for that:

  1. A Chromecast (duh!) that is set up properly.
  2. The Google Chrome web browser either installed or as a portable version.
  3. (no longer needed as Google added native support to Chrome) The Google Cast extension that you need to install in Chrome.

How to play local media

play local media chromecast

Once you have set up everything properly and installed the browser extension in Chrome, you are ready to stream contents to your television.

You can drag and drop local media files that Google Chrome can play natively directly to a new tab in the browser, hit the Chromecast icon in Chrome and select your Chromecast device to play it on the television using the connected Chromecast.

Instead of dragging and dropping, you can also copy the full local path to the file -- be it video, audio or image -- and paste it into Chrome's address bar instead to load it.

Tip: Videos may display with large black borders at the start. To change that move the mouse on the video playing in Chrome and click on the resolution button next to the volume slider. This ensures that videos play in fullscreen on the television.

Google Chrome supports the following media types that it can play natively. All of those can be streamed to the television:

  1. video: webm and mp4
  2. image: bmp, gif, jpeg, png and webp

As far as video codecs are concerned, the following are supported:

  1. video codecs: H.264 high Profile Level 4.1, 4.2 and 5, and VP8
  2. audio decoding: he-aac, lc-aac, celt/opus, mp3, vorbis, wav

If the video, audio or image file is of a supported type, it can be played directly on the television using Chromecast.

Unsupported media types

What about unsupported media types such as avi, mkv or wmv then among others?

You have two primary options. The first is to convert the video or audio files into supported formats. If you have an avi file for instance, you can convert it to mp4 to play it using the Chromecast.

While this works, it takes time and resources to do so.

Alternatives come in the form of plugins that add playback support for additional media types to Chrome.

Note: Google will block most plugins later this year in Chrome 35. While the method works for now, it is not clear if there will be an option to use it when that happens. We will update the guide with new information.

Probably the best option right now is to install VLC Media Player and its web plugin on your computer system.

vlc media player web plugin

You can then drag video files supported by VLC Media Player to the Chrome interface to play them on your television. Since VLC supports the majority of media types, it ensures that you can play nearly any file type using this method.

Instead of using plugins, it is also possible to install Videostream for Google Chromecast which adds support for additional media types that you can then play using the Chromecast.

Summary
How to play local media on Chromecast
Article Name
How to play local media on Chromecast
Description
A tutorial that offers information on how to play local media files on a television using Google's Chromecast.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Previous Post: «
Next Post: «

Comments

  1. Robert said on June 28, 2014 at 5:48 pm
    Reply

    @Sid,
    Your software rocks. Great Job.

    1. Sid said on June 28, 2014 at 6:34 pm
      Reply

      Thanks Robert! I am glad you find it useful.

  2. Sid said on June 22, 2014 at 6:21 am
    Reply

    Hi ghacks!

    I have built an HTML5 app with playlist functionality for playing local media in Google Chrome. Beats dragging and dropping a new file all the time so it’s helpful if you have lots of small length media files you’re trying to play.

    You can give it a try at http://www.sidscast.com

    Thanks!

  3. Anon said on June 16, 2014 at 6:16 pm
    Reply

    Even if it streams local files, does this stream over the local network or via the internet?

  4. Bean said on June 14, 2014 at 10:56 am
    Reply

    *convert

    Great article! Have been considering a chromecast for a whole. Thanks for the detailed review with the pros, cons, and tips!

  5. steven said on June 14, 2014 at 12:13 am
    Reply

    Raspberry Pi + Raspicast(Android)
    btw.Here is interesting video by RSA about google: https://www.youtube.com/watch?v=ldhHkVjLe7A

  6. Blerg Blergman said on June 13, 2014 at 5:14 am
    Reply

    I use Plex/Plex for Android to stream local files. Supports any codec I’ve ever thrown at it, subtitles, and the Android app is pretty simple to use, though the app (which you need to control Chromecast) does cost $5. There are ways around that of course, but that comes down to how unscrupulous a user one is.

  7. Dave said on June 13, 2014 at 12:31 am
    Reply

    Or a £9.99 NowTV box with the Plex or MediaBrowser app will give you flawless local streaming (as well as free TV catch up and PAYG movie rentals). It’s easily the best option around.

    If you live outside the UK you can use an entry-level Roku, or pick up a NowTV box on eBay.

    There’s the added benefit of Google not being able to monitor and register everything you watch in their dangerous database.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.