Introduction

About 12 months ago I stumbled across this fantastic open source project known as MythTV, whilst searching google for PVR/Media Centre based software that wasn’t Windows MCE. MythTV is a wonderful piece of DIY PVR software, if you have the patients and the know how to install it.

My first MythTV build was really a test bed. I had some old PC parts lying around, that people had kindly donated to me over the years, and I had kindly hoarded around the house. So immediately I started to build my first Linux based PVR using MythTV. I used an AMD Semprom 2500, 1GB of RAM, a Maxtor 200GB, an old Nvidia Geforce2 graphics card (I swapped this with someone at work for my ATI all in wonder as I couldn’t get the TV out working on the blighter!!), a bog standard dvd-rom and a normal PC case. I didn’t have a TV tuner card, but I wanted MythTV more to play my media collection than to watch TV! I started with a fresh vanilla install of Ubuntu Fiesty which was the most up to date and stable version of the time. Then I went through apt-get’ing all the MythTV packages I required and hey presto that was it. From what I can remember it wasn’t that difficult, but it was fiddly and for someone coming from Windows MCE it would terrify them. After building my machine, realised how ugly it looked, it was just a PC, so it never made it into the living room or a bedroom. I set it up using a wireless AV sender, from the computer room to my bedroom. Anyway to cut a long story short, it got used everyday. My family love it. We use it for viewing movies, playing DVD’s, viewing photos etc. I have imported most of my son’s dvd collection into it. Its ace.

Well the whole point of this article is to show you how easy it is to build a PVR using MythTV, especially with the new streamlined installations that have gained popularity over the years. Yes I finally made the plunge after 12 months and bought some new dedicated gear for it, including a case that wouldn’t look out of place next to an AV setup!!

Part 1: The Build

So for my new MythTV build the hardware specification is a follows:

  • CPU: AMD AM2 Athlon 64 4600 + Windsor Core, Dual Core, Energy Efficent Retail
  • RAM: 2GB (2×1GB) Corsair TwinX XMS2 Pro, DDR2 PC2-6400 (800)
  • HDD: 1000GB (1Tb) Samsung Spinpoint F1, SATA II
  • DVD: Samsung 8x Multiformat DVD recorder
  • Motherboard: Abit AN-M2HD
  • Case: Extra Value Sonata MATX MediaCenter Case

The hardware was chosen based on my requirements. MythTV will run on lower spec machines very easily. Basically I want to be able to play HD content and therefore need a decent machine. My MythTV box will be both frontend and backend in one, so I require a case that is easy on the eye but also has plenty of space. The 1TB hard drive seems excessive but my son has a lot of kids dvds which I would like to import into MythTV for easy access. Plus when I eventually get round to sticking a TV tuner card in, I will need plenty of room for recordings too.

First off I unpacked the motherboard, the ram and the CPU, and I insert the ram and cpu on to the motherboard.

MythTV HowTo: Abit Motherboad

This board is awesome. I think its perfect for a media centre, and because it has an onboard Nvidia card its perfect for Linux and MythTV. It has standard vga out, but it also has a HDMI output with HDCP support. It as a 7.1 onboard soundcard with one digital out.

Next I opened up the case. Before inserting the motherboard I unscrewed and removed the drive bay.

MythTV HowTo: Bare Media Case

With the drive bay out I installed the hard drive into the hidden 3.5″ bay.

MythTV HowTo: Media case drive bay

I then went on to install the dvd writer and another spare IDE hard drive, next to the dvd writer. This is achieved by using an adapter to convert the drive space form 5.25 to 3.5.

MythTV HowTo: Fitting 3.5 IDE drive in 5.25 drive bay

The finished drive bay with all three devices fitted looks like so;

MythTV HowTo: Completed drive bay

My intention for the extra IDE drive was to install the operating system on this drive, and use the 1TB Samsung drive soley for media within MythTV. Unfortunately this plan was short lived as the supplied IDE cable wasn’t big enough to stretch from the DVD writer to the IDE drive. I’ve left it installed, to give me the motivation to go and get a longer, and better IDE cable, but I wont use it on my initial installation.

The next part of the build was to install the motherboard into the case. With the drive bay removed there was enough room to do this without any problems, although it is a snug fit. I used the supplied fixings that come with the case, and the holes on the motherboard matched up perfect with the case, and I was able to secure a screw in every position on the board.

There is a fan fitted inside the case, in a good position to blow external air across the CPU, and although a tight fit, there is room for another. I have purchased a couple of Sharkroon Silent Eagle 2000’s which are very quiet but also efficient, and I shall be replacing the existing fan and installing a second fan to pull hot air out, but at this stage I would like to see how the system performs with just the included fan.

MythTV HowTo: Motherboard Installation

To the left of the above image you can see the PSU. Its only 220w, so fingers crossed it will perform ok with the CPU I have installed.

The next step was to replace the drive bays. This is where space becomes restricted. To save yourself from fitting the drive bay 3 or 4 times like I did, make sure you fit the case wiring loom to the motherboard headers first; power switch, hdd led, USB etc. Once the drive bay is installed there will be very little access to these. To keep it all nice and neat, I taped these wires to the chasis, so that they don’t touch the sata drive, and the drive bay doesn’t sit on them and restrict their length. Also connect the IDE and SATA cable, and also the power cables. Once this is done, place the drive back in its original space. It should click back to the quick release catches.

MythTV HowTo: Drive Bay Installation MythTV HowTo: Drive Bay Installation 2

As you can see space around the drives, PSU connection, and the memory slots, is very restricted. In fact to insert more memory the whole lot has got to come out again. Also worryingly, the DVD writer sits right over the top of the PSU connectors on the motherboard, so the wires run right underneath it and touch it too. There is no way from what I can see so far to overcome this. Hopefully that part of the DVD writer will not become too hot or else this could cause real problems.

Ok thats it. The build is complete. Thus far I am not installing a TV card for use with MythTV, so no I won’t be using the full advantages of it. My intention is just to use it to play my media library, although some time in the future I will pursue this avenue. For those of you interested in installing a TV card in this case, you will require a low profile card. The motherboard has PCI, and PCI Express slots so you have options. The Hauppage WinTV PVR 150 seems to be the preferred choice for MythTV installations and it does come in a low profile variant. See here http://hauppage.com/pages/products/data_pvr150mcelp.html

Although only a certain chipset the WinTV Nova 500 is also a good choice http://www.hauppauge.co.uk/site/products/data_novat500.html

There are many others see the MythTV Wiki Hardware page for more information

http://www.mythtv.org/wiki/index.php/Category:Video_capture_cards

My next instalment of this guide, to follow very soon, will give you the run down on my installation of the latest Mythbuntu, which is based on the Hardy Heron release of Ubuntu.

Please feel free to leave comments asking me any questions about my build that I may not have covered. I’ve tried not to be too specific, and bore you with too many details. I will answer promptly when possible.

All the parts used in this build were purchased from Scan except the case which is available from ebuyer

The total build price was around £300.

Edit:- I’ve since bought a Nova T-500 DVB card, which endedup being the TD-500 (similar to the divesity model) Follow the link below to find out how I got it working!

HowTo: MythTV and Nova T-500 DVB Card