Building The Perfect HTPC (Media PC), Capable Of Playing 1080P H264
Saturday, November 8th, 2008
Updated: January 4th, 2009
The Idea
For the past month I have been exploring options and building a perfect Home Theater PC for my 50” Vizio plasma. Besides the obvious, it has to play movies, youtube videos, etc, I had a few concrete goals in mind. Here they are:
- it absolutely had to handle 1080P h264, specifically movies encoded using x264. An average movie size for this format is between 8.5 and 13 GB. There were 2 problems to overcome: the CPU had to be able to handle the decoding (my desktop dual core Conroe barely kept up) and the network had to be fast enough to stream in real time from my storage PC a floor away.
- I needed to have the easiest control over the whole thing. VNC wasn’t good enough, because I don’t always have a laptop lying around.
- It had to support 7.1 sound.
- It had to have excellent picture quality on the TV, preferably during both movies and regular browsing/reading, etc. HDMI/DVI was optional, depending on how good the analog quality was.
- It had to be as cheap as possible but still good enough to do the job really well.
- It had to have a serial port (most micro ATX motherboards nowadays do not, which is upsetting).
- It had to look slick and unconventional – unlike a regular PC.
Setup
After lots of research, I used the following components from the following sources (best deals I could find):
- Intel Pentium Dual-Core E2200 Processor, 2.2 GHz, $79.99, no tax, and free shipping. I decided to go for a relatively cheap but still very powerful CPU and the results exceeded my expectations. More below.
- ASUS P5KPL-CM LGA 775 Intel G31 Micro ATX Intel Motherboard, $52.99 + tax + $8.97 shipping. Also available on Amazon. It has on-board 7.1 sound, 2 PCI slots, and a serial port (for my good old Packard Bell serial remote control). No HDMI/DVI and no onboard RAID but I didn’t need those.
- OCZ SLI-Ready 2GB (2 x 1GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Memory (OCZ2N800SR2GK). $43.99 + tax, free shippping - $25 rebate. Also available on Amazon.
- Antec New Solution Series NSK2480 Case, $107.99, no tax + $17.82 shipping - $8 coupon (code: TAKER). Even cheaper on Amazon. The case already comes with a 380W power supply, so I didn’t need to buy a separate one. It provides plenty of power for the HTPC. Also, there’s a lot of space inside for ventilation, and I didn’t get a crammed feeling when installing my components. Ventilation is a separate point I’d like to highlight with this case, as it came with 2 120mm fans and 2 extra ones just in case. The lowest of 3 speed settings has worked great for me.
- DSI 2.4GHz Wireless Keyboard with Optical trackball, Black, FK-760, $52.99, no tax, and free shipping. Inspired by the famous mysql geek Jeremy Zawodny here and here.
- the keyboard you can see pictured below can be branded by DSI, Adesso, and other companies but it’s the same thing, so there’s no point trying out the Adesso one if the DSI didn’t work well for you.
- the DSI/whatevercloneofit fit my needs best, after comparing it to Logitech diNovo Mini and the full size diNovo version, Microsoft, and others.
- the price of ~$50 is simply unbeatable.
- the trackball mouse is probably the best for a keyboard of this type. I tried the touchpad on the diNovo and it was crap.
- the left mouse trigger button located on the right side under the keyboard as well as the left/right mouse buttons on the left side of the keyboard are exactly what I wanted from the usability point of view. I can hold the keyboard with either hand and still click like a champ.
However, Charger2000’s suggestion to buy a USB extension cord (I bought this one from monoprice.com) and use it to raise the keyboard receiver to about 5 feet off the ground worked like a charm and I am finally very happy.
- Airlink AWLH6080 300N Wireless-N & G PCI Adapter for Desktops, $44.99 + tax, no shipping as I picked it up at a local Fry’s. I needed to start experimenting with 802.11N because I didn’t want a swarm of network cables laying around. More on this later but I can tell you it’s great. Also available on Amazon.
- Airlink AR680W 300N Wireless-N & G Router, I think about $50 + tax at Fry’s. Also available on Amazon.
- Logitech Z-5500 505W 5.1 Speakers, on sale at Dell for $170 a few months ago. Also available on Amazon.
- Some old 60GB hard drive. I’m planning on streaming most things, so it’s not worth spending any money on this item. You can pick a 1TB Seagate drive on Amazon for about $100.
- Windows XP (for now)
Verdict
The final product exceeded my expectations. Not only did it play 1080P h264 perfectly, it didn’t even need a separate graphics card to take over the load. The CPU usage is about 35-40% when playing 720P and 40-50% when playing 1080P. No need for DVI or HDMI input – the standard VGA connector is very crisp and provides much better fine print and detail than HDMI. I can read and browse small font without any problems. The sound is superb as well, after all the tweaking, so no additional sound or video cards were needed. Using the wireless ultra light keyboard as well as the remote, I am now able to control everything on the screen with ease.
Temperatures, ventilation, cooling. The case provides excellent ventilation, as I already mentioned. The CPU idles at about 30C and goes to 45-48C when playing the highest quality 1080P HD video I could find. In short, the case is cool and quiet.
Wireless (802.11N). After playing around with the 802.11N (or at least Airlink101’s implementation), I have to say I’m quite impressed. I get speeds of between 3 and 5 MB/s (Megabytes per second) and all 720P and most 1080P content streams live. Some really hi-res 1080P movies require to be downloaded first, which confuses me. During streaming, instead of using 4-5 MB/s, VLC (or MPC, or any other player I’ve tried) uses only about 1-2 MB/s and starts lagging. I don’t yet have a workaround for the player to utilize 100% of my bandwidth and stop lagging. Do you?
One thing I really hated about Airlink101 is their software (the firmware seems great so far). It’s the most basic piece of crap software accompanying hardware I’ve ever seen. Absolutely no thought and effort went into it – I believe it’s still on version 1.0 or 1.1. It’s so bad, even the Windows default wireless manager is better. The final straw was the absence of a setting to connect to preferred networks only. After I found my computer randomly connected to some open netgear network one day, I decided to not use Airlink101’s software for a long-long time, maybe ever.
The sound. ASUS’ onboard 7.1 HD audio delivers very decent sound. I’ve installed the latest drivers, enable virtual fill (so that 2 channel sound gets automatically distributed to all speakers), and hooked up the Logitech Z5500 5.1 and another Logitech 2.1 to form a pseudo 8.2 speaker system. This thing has thump!
A note on VNC: I ended up not using it as it was creating sync issues while playing video (vsync?). If I turn on VNC while playing a video (and even if I turn it off), the vsync issues are quite apparent. The wireless keyboard is a better solution anyway, so I am quite happy with it (though it could use larger operational range).
HTPC/Media Center Software. Network file sharing + file manager (Total Commander or any other) + media player classic have worked very well but I still wanted to find the perfect media center program for visually pleasing media experience. It turns out there are a few candidates. Here they are:
- XBMC – free, not bad at all, but it was too buggy and couldn’t find my network drives.
- Mediaportal – also free and also buggy. It couldn’t play a lot of video files.
- SageTV – not free. Worse than the 2 above. Absolutely no reason to pay for something this bad when free alternatives are available.
- MeediOS – free. Testing it out right now.
- Boxee – free, no Windows version yet but supposedly this is the best one of them all, at least looking at all the recommendation on the web. As soon as I get around to putting Linux onto this box, I’ll try boxee.
- Anything else major I’m missing?
So, as of this time, Total Commander and MPC are still my preferred method of watching videos. I don’t feel that any of the programs I’ve tried are ready for prime time yet.
Remaining work. I’d like to figure out how to wake up the machine on keyboard event. I don’t think it’s possible with the wireless keyboard like that, but I’m not 100% on that. I’d like to know how to stream videos utilizing full network capacity.
Here are some pictures of the final system:
And I couldn’t resist:

(3 rating, 6 votes)
beer planet is Artem Russakovskii's blog. Artem is a software engineer at