A few months ago I rebuilt my development box to be a PVR using Ubuntu Linux and MythTV. I originally planned to use Mythbuntu but had a lot of issues installing it, let alone getting it to work the way I wanted it to.
Firstly I did a standard Ubuntu 7.04 desktop install – Gnome desktop, LAN connectivity – and hooked it up to my Dad’s Panasonic widescreen projector via VGA cable. This was a little problematic as both Ubuntu and the Projector were trying to adapt to each others settings rather that just going for WXGA like they ought to have. Eventually I got a nice 1366×768 picture going and set about installing MythTV.
MythTV is a PVR software project that is roughly comparable to Windows Media Centre. There is even a theme that will ape WMC if you like, but at it’s heart it is a TV recording and playback system, but you can make it do almost anything using the various plugins. In my case I was using an old Twinhan Digital TV tuner card, outputting to the projector and the stereo amplifier in the lounge room.
Installing MythTV isn’t painful at all using Ubuntu’s software repository:
$sudo apt-get install mythtv
Configuring it on the other hand was very complex. If you are very lucky your system will detect your video card — my tip is to get it working beforehand – if
/dev/dvb0 exists configuring MythTV is much simpler.
Once you have MythTV talking to your TV card you can scan for channels and watch and record TV, if you like. MythTV is setup as a frontend/backend arrangement (or client/server, if you prefer). The MythTV backend needs to be constantly running so it gets schedule updates and can start and stop recording when unattended. The frontend does not have to be on the same computer and is the part where you get to interact with the program and videos.
One cool thing I got working after a bit of effort was the Electronic Program Guide (EPG). Until this was working the box was really a learning experience rather than something useful. Using the community provided guide over at Oztivo and some clever scripting to get the EPG periodically, suddenly MythTV was alive and autonomous. Tell it you want to record Formula 1, or the Rugby World Cup, or The Unit or Heroes or Doctor Who and it schedules it as soon as the program appears in the guide data. You can pay for the IceTV guide if you like, but I found the XMLTV format provided at OzTivo to be both accurate and accessible.
Playing back recorded videos has a few cool features. Using simple keyboard commands or your remote control (once setup) you can easily skip advertisements or jump forwards or backwards through the video. Even better, you can get MythTV to scan the program for Commercial breaks (blank screen, lack of station logo etc) and it will automatically mark or even skip these breaks for you. This was great and makes TV much more watchable.
The recorded programs are stored in MPEG2 format and are simple to edit and store for future reference or archive (to DVD or as XVID).
All in all this was the most powerful PVR I have come across, but was a definite challenge to get going. If you want a HTPC, I’d recommend almost everyone to use Windows Media Centre as it is much simpler to setup. If you want a PVR, buy one from a shop – they are getting quite affordable, are much quieter than a PC and are simple to use. At Strathfield Car Radios they even have a SD Set Top Box for $79 that you can put your own Hard Disk Drive into for an incredible bargain PVR.
The advantages of MythTV over those kind of setups are mainly in the EPG, the Commercial skip/delete facility and the built in Networking. Plus the fact it is completely free – both free as in beer and free as in speech.