NetBSD TV: The Media Server

As I mentioned recently I bought a Playstation 3 (PS3) to use as a streaming video client in conjunction with the MediaTomb UPnP media server. Here is my recipe for installing and configuring the server package under NetBSD. The instructions apply to version 0.11.0nb2 or newer of the package, older versions provide neither a startup script nor a dedicated user account.

  1. Use make install or pkg_add(1) to install the package.
  2. Start the MediaTomb server manually as user root with the following command:
    /usr/pkg/share/examples/rc.d/mediatomb start
    Wait about 5 seconds and stop the server with this command afterwards:
    /usr/pkg/share/examples/rc.d/mediatomb stop
    The server should have created a configuration file located under /var/mediatomb/config.xml. Please use your favourite editor to make the changes suggested below.
  3. Change <accounts enabled=”no” …> to <accounts enabled=”yes” …> and add a password to the account definition one line below. This will protect the web user interface by password and stop unauthorized users from browsing your file systems.
  4. You can define a name for your media server by changing the <name>MediaTomb</name> line.
  5. If you want to use a firewall to restrict access to MediaTomb you need to put a fixed port number above 49152 into the <ports>0</ports> line. MediaTomb will otherwise choose a port number dynamically.
  6. Change the <protocolInfo extend=”no”/> to <protocolInfo extend=”yes”/> to enable support for protocol extensions required by the Playstation 3.
  7. Further down in the mappings section you will find an entry to enable DivX support for the PS3. Uncommenting that line isn’t really necessary to watch DivX files. But it will enable shiny DivX icons for all .avi files in the PS3’s video menu.
  8. Start the server again and and look at the logfile /var/log/mediatomb.log. You should find two lines likes these at the end of the logfile:
    2008-11-11 01:02:03 INFO: MediaTomb Web UI can be reached by following this link:
    2008-11-11 01:02:03 INFO: http://192.0.2.1:49152/

    Please visit this URL with a web browser and login into the web user interface using the account mediatomb and the password you defined previously.
  9. Use the Filesystem option of the web user interface to select directories with media content (audio or video) that should be exported to the PS3.
  10. Finally enable autostart of the server by copying /usr/pkg/share/examples/rc.d/mediatomb to /etc/rc.d and adding mediatomb=YES to /etc/rc.conf.

You should now be able to enjoy your audio and video files on your Playstation 3.

Posted in NetBSD | Comments Off on NetBSD TV: The Media Server

NetBSD TV: The Streaming Video Client

For quite some time I’ve been looking for a streaming video client that would allow me to watch the video files that are stored on my NetBSD server on the TV in the sitting room. I thought that my requirements for such a client were pretty basic:

  1. Decent analog video (preferably via a SCART connector) and digitial audio output.
  2. An HDMI connector for future use.
  3. Support for popular video file formats like DivX and MP4.
  4. Doesn’t require a proprietary server software.
  5. A good WAF.

But I was wrong. I couldn’t find any streaming video client that met these demands in over a year. When I recently learned that Sony’s Playstation 3 (PS3) supports DivX in newer versions of its firmware my interest was sparked. After a bit of research I found a number of facts in favour of the PS3:

  1. The PS3 supports UPnP AV and works fine with MediaTomb, an open source UPnP MediaServer.
  2. The PS3 has all the video and audio connectors that I wanted.
  3. As the PS3 can also play DVDs it could replace my DVD player. That would not only avoid an increase in the number of devices in the sitting room but also prevent a shortage of SCART ports on the TV.
  4. The case of the PS3 is well designed and shiny.
  5. In addition to all that the PS3 is also a powerful game console and a Blu-ray Disc player. And I was keen to play Assassin’s Creed anyway.

Based on the above evaluation I came up with a profound business case which was approved by the secretary of domestic affairs straight away (the WAF was even better than anticipated). I bought a Playstation 3 online the next day.

Posted in Hardware, NetBSD, Video Games | 1 Comment

Queen + Paul Rodgers at the O2

Last Friday Silke, me and over 10.000 other people had a really good time in The O2 arena in London. That was of course due to our hosts, Queen + Paul Rodgers.

The concert was brilliant, just as I expected. Brian May‘s mastery of the guitar is just breathtaking. Roger Taylor is looking a bit older than he used to but his abilities as a drummer haven’t been affected at all. He even played the famous bassline from Under Pressure on an electronic bass guitar using his drumsticks. And while nobody can replace the late Freddie Mercury the new lead singer Paul Rodgers is an excellent musician.

Besides some great songs from the new album the The Cosmos Rocks they played the classics that people love. There is nothing like celebrating We Will Rock You with thousands of others or singing We Are the Champions at the top of your lungs.

Silke and I are both hoping that this wasn’t the last Queen + Paul Rodgers concert that we have lived to see.

Posted in Music | Comments Off on Queen + Paul Rodgers at the O2