I spent recent few days on the couch with my notebook and nasty cold. Trying to reduce piles of queued video seemed like logical thing to do.
So I decided to setup UPnP server on my desktop (which I tried and failed to do in the past for my Nokia N810).
Setting up centralized media server allows to keep everything organized, in single place and (depending on your level of media obsession) offers numerous expanding and integrating opportunities – from simple convenience enhancements to smart home networks.
Universal Plug and Play
UPnP is set of open standards that aims to simplify networking tasks and (among other things) allows compatible hardware devices and software to share and access media files.
There are three basic types of nodes in UPnP setup:
- server – does media sharing (computer, NAS, etc);
- renderer – does media playback (software or hardware);
- control point – enumerates and controls servers and renderers.
These can all be combined or separate with common split into server on one end and player (control point plus renderer) on another.
Scope of my setup
Few variants I offer are all software based and for Windows environment. This is very general case that can be easily accomplished on average computer. Dedicated media servers might be better using specialized solutions like MythTV.
It was actually quite hard to find viable Windows ways to put it together because choice of free UPnP software for this platform frankly sucks.
This guide also leaves out video transcoding (on-the-fly re-encoding for underpowered devices) – because choice for that is beyond sucks and into realm of words that won’t be polite to use in post.
Windows Media Player 11
Native Windows solution. Can act as UPnP server and player (latter only if used on Vista). Despite being same version on outside, embedded Windows Media Connect technology (that handles UPnP) is of different version on Vista.
To enable server check option in Library > Media Sharing. This will run background executable (and make it run on startup as well) that will handle UPnP server. It works independently and doesn’t require WMP running but relies on it for all media library management.
Each remote player must be confirmed and allowed access first time it tries to connect.
- native Windows solution with easy setup;
- complete WMP library integration.
- lacks native support for some media types like MP4 and MKV.
XBMC Media Center
Formerly Xbox Media Center this project had grown into massive open source and cross-platform media application. It can act as UPnP server, player and renderer.
To enable server check option in Setting > Network > UPnP and add content you want shared.
For viewing content add your UPnP share as source when choosing media to play.
- packed full of features;
- remote-friendly interface.
- Xbox roots show up as some bugs that seem unfixed for years – I had encountered high CPU usage when idle and low volume problem on some files;
- sometimes stuck and required restart when browsing UPnP share;
- too bulky solution to run for server only.
Free UPnP Entertainment Service (FUPPES)
This one is quite old and seems to be no longer developed but turned out to be very efficient.
FUPPES is UPnP server only that runs in background (with icon in tray that gives access to some basic controls and calls main web-interface).
Initial setup is supposed to be as easy as adding some folders (or iTunes database). I also had to correct mis-detected IP address, change access port and manually edit XML configuration file to add support for MKV files.
Security is based on list of allowed IPs and open for all by default.
- most suitable to be server only;
- just works;
- clunky setup.
Comparing to Linux platform choice of decent software for the task on Windows is extremely limited. I was unpleasantly surprised that my media players of choice (Media Player Classic and VLC) are completely oblivious about UPnP.
XBMC turned out to be best (and only for WinXP) player.
For server part:
- WMP is easy but limited;
- FUPPES is complex and flexible;
- XBMC somewhere in the middle with occasional negative quirks.
Despite complicated choice of software (which I just did for you) actual server setup is quite easy to perform and media playback is nice and convenient experience.