Sometimes we have some media file as movie saved on Chromebook and we want to view this movie on TV right now. That’s the purpose of this article, I’m going to show a way to stream from Chromebook to TV using UPnP. Before starting, what’s UPnP exactly? Let’s take the definition from Wikipedia: Universal Plug [...]
Sometimes we have some media file as movie saved on Chromebook and we want to view this movie on TV right now. That’s the purpose of this article, I’m going to show a way to stream from Chromebook to TV using UPnP.
Before starting, what’s UPnP exactly? Let’s take the definition from Wikipedia:
Universal Plug and Play (UPnP) is a set of networking protocols for primarily residential networks without enterprise class devices that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other’s presence on the network and establish functional network services for data sharing, communications, and entertainment.
The term “DLNA” is often used as a synonym for Universal Plug and Play (UPnP). UPnP defines the types of device that DLNA supports (“server”, “renderer”, “controller”) and the mechanisms for accessing media over a network. The DLNA guidelines then apply a layer of restrictions over the types of media file format, encodings and resolutions that a device must support.
What we need?
- GNU/Linux UPnP server (I’m going to use Chromebook with GNU/Linux Debian)
- TV with UPnP support, or a device with UPnP support connected to our TV (example: Playstation 3)
The scenario will be:
1. Put all movies, photos, and anything that we want to view on TV on a special folder of my UPnP server
2. Connect the TV to scan my UPnP server (Chromebook)
3. On TV: play movies, view photos or listen to music saved on UPnP folder.
Very easy, isn’t it? I’m going to explain how to do it.
Installing UPnP server
In this article, we’re going to use TwonkyMedia UPnP server. There are a lot of UPnP servers, but for me this one works really well.
You can download manually TwonkyMedia UPnP server from here: http://www.twonky.com/products/twonkylinux/downloads.aspx
Next, open a console and download the installer script with wget:
Change permissions and execute the script:
chmod +x twonkymedia-i386-glibc-2.2.5-6.0.38.sh sudo ./twonkymedia-i386-glibc-2.2.5-6.0.38.sh
Wait until installation process finishes. Next, open your browser to:
This will show your TwonkyServer configuration. You can easy add movies, music, photos from here.
Click on the upload icon and add the media that you want to stream to TV. For example, add a movie or photo from your Chromebook.
Next go to config (click the tool icon, or enter the following url):
Click on Save Changes if you modified something, and Restart the server to refresh the media files you uploaded.
Go to your TV, if you’re using a TV with UPnP support just scan the UPnP servers, you will find your UPnP server and you can browse the files you uploaded.
If you’re using Playstation 3, first enable UPnP on Playstation 3 settings, next you will see your UPnP server on Photos, Movies, Music, depending what you uploaded.
More info of TwonkyServer: http://www.twonky.com/products/twonkylinux/