New WD Media Player Reviewed, Stripped Naked

November 3rd, 2008 by Brett Burns

wd a inhand

Over the weekend, Western Digital silently introduced their WD TV HD Media Player. It is an extremely small device (think two WD Passport drives stacked on top of each other) which packs an extreme amount of processing power. And best of all: I picked one up on sale at Best Buy for $99.99.

The unit’s design is nearly identical to WD’s MyBook series drives. features two USB ports (one on the back, one on the side), an HDMI output supporting up to 1080p60, and an optical SPDIF output. It supports drives formatted with FAT32, NTFS, and HFS+ file systems.

wd a back

Plugging it in to my current AV setup was very easy. This device not only boasts an optical SPDIF output, it also supports audio over HDMI, though no bitstreaming support for HD audio formats (more on that later).

At first, I did not really expect much. For a device with an MSRP of $129.99, what can one really expect? It seems Western Digital has decided to pack support for nearly everything into this tiny box at such a tiny price. From the manufacturer’s website:

Music - MP3, WMA, OGG, WAV/PCM/LPCM, AAC, FLAC, Dolby Digital, AIF/AIFF, MKA
Photo - JPEG, GIF, TIF/TIFF, BMP, PNG
Video -MPEG1/2/4, WMV9, AVI (MPEG4, Xvid, AVC), H.264, MKV, MOV (MPEG4, H.264)
Playlist - PLS, M3U, WPL
Subtitle -SRT (UTF-8)

Disclaimer: I did not test all of the formats listed above, as I’ve basically switched my entire media library to MKV containers with H.264 and AC3/DTS audio. I also did not bother testing analog outputs.

After getting it connected to my TV and receiver, I plugged in one of my drives. The first thing I noticed was how bad the “media library” function is. It might be a good thing for people with unorganized drives, but I already know my folder structures, so I’d prefer to just have a folder view. After turning the “media library” function off in the system settings, I had a normal folder view. I also switched the view to “list” instead of “thumbnail” since it is much faster. The other essential setting is to switch the audio output to “digital”, otherwise it’ll just play two channels even if you’re connected via SPDIF.

The first file I played was a recorded TV show with 720p resolution, encoded with x264 at around 5mbps, and containing AC3 (Dolby Digital 5.1) audio. So far, so good. My receiver showed Dolby Digital coming through, and the video playback was very smooth.

wd ua chip

The one thing I did notice is that the decoder chip inside (Sigma SMP8635LF) seems to be doing some type of video processing work, because the 720p files seemed to have added sharpening or “edge enhancement” which I was not able to turn off - somewhat annoying, since at times it would add unnecessary noise especially in dark scenes. This was not a problem when I switched the output resolution to 720p.

wd ua compareipod

Next, I tried a 1080p x264 file, also in an MKV container, this time with DTS audio. The video bitrate was around 15mbps, and I honestly expected many dropped frames. However, I was proven wrong, as the file played back with no issues at all. My receiver showed DTS audio coming through, and the video played back on my TV with no dropped frames.
Since I was playing back a 1080p file and the player was outputting 1080p60, I did not notice the sharpening effect mentioned above. I’m going to assume this is because there was no scaling going on, therefore no postprocessing of any kind.

With each file I tested, I increased the bitrate, so next I tested a 25mbps MPEG2 file (I had to change the extension from .TS to .MPG as the player won’t recognize .TS files). It was a 1080i movie captured from DTheater tape, and looked very nice. The player did a decent job with deinterlacing/IVTC, but when I switched the output resolution to 1080i and let my TV do the work, I did notice a slight increase in picture quality and motion was a bit smoother. This was mainly noticeable during slow camera pans.

Finally, I tested a couple of Blu-Ray backups. The player would recognize an .ISO file, however it didn’t understand the Blu-Ray structure, so it would not play that particular file. I decided to extract the .m2ts from the .ISO image and test that, and to my surprise, it worked! This particular movie was encoded with AVC at a bitrate of around 30mbps. The WD TV played it without breaking a sweat. Fast motion and lots of action, with bitrate peaks of over 45mbps, and playback was flawless. I’m sold.

wd a digg

A few miscellaneous issues:
Sometimes the video won’t completely fill the screen at first. It’s easily fixed by zooming in, then back out. But for some reason, the decoder just doesn’t scale the video properly. This doesn’t happen always. It seems to happen completely randomly. Once I zoomed in and out to fix it, it would play properly for the rest of the file. This issue is pretty annoying, and hopefully it can be fixed.

wd a picerr

I tried playing an MKV file containing MPEG2 video and AC3 audio, and it did not play. While that’s not a traditional container for those codecs, it still should have played.
The interface is a bit sluggish, although not the worst I’ve seen. It’s not unbearably slow, but there is definitely room for improvement.

1080p24 would be really nice. I shouldn’t necessarily expect that for $99.99, but I don’t think it would be very difficult to add that functionality via a firmware update.

I’m really upset that there is no network connectivity with this device. If I had to guess, I’d say WD did this because they want people to buy their drives as a complement to the media player.

Finally, I wish this device could switch the output resolution to the currently playing file’s native resolution. If I’m playing a 1080p file, output 1080p. If 1080i, output 1080i and let my TV do the deinterlacing (the chip inside of the player, while not terrible, does not do a great job). If 720p, output 720p, and so on… you get the point.

Conclusion:
The WD TV HD Media Player is worth every penny. Power consumption is much lower than using an HTPC. It’s completely silent. It plays back 1080p files like they’re no big deal. If you’re like me and have been waiting for a device like this, I can tell you with confidence that you won’t regret purchasing this. Though I had a few minor complaints, it’s a great deal for $129.99.

Full Gallery below:

Posted in Technology | 28 Comments »

Setup DNS Cache Server Using Dnsmasq and Ubuntu

October 27th, 2008 by MadHatter

dnsmasq

I’m always looking for ways to improve on my LAN, especially when it’s free. A friend suggested DNS caching to speed up browsing. I gave it a shot and was impressed with the results. I’m now saving at least 70ms for every DNS query (after it’s been cached the first time of course.) The installation is pretty simple, and takes only a couple of minutes. I’ve logged what I have done getting it running on an Ubuntu 8.04 machine:

Notes before starting: I didn’t need much for this system setup. The machine has a P4, with 512mb RAM. The NIC was only 100mbit, and the hard drive only 40GB. I chose a box to install this on that isn’t pegged with other processes. I don’t think you need to dedicate a whole box to this project if this is for a small LAN (mine is ~10 machines), but one that isn’t constantly being used for network tasks would be a good idea (not much of an incentive to run DNS locally if it doesn’t speed up the response time.) These are just my recommendations, and it will vary depending on the size of your LAN on what you would like to setup. There are many variables differ based on your setup.

As stated before, for this installation I’m using Ubuntu 8.04. I installed the server edition, but eventually installed the ubuntu-desktop packages, because I like having the GUI when working with experimental servers. Obviously, using the ubuntu-server edition will slim the machine down and be much more efficient.

1. Open Synaptic package manager and search for “dnsmasq”. Install both packages shown by right clicking “Mark for installation”.

2. Navigate to System > Administration > Networking to open the network configuration for the machine.

3. Click on the tab “DNS”. This is the list of name servers for the machine. You can keep the original name servers in the list but press “Add” on the side and add in “127.0.0.1″, and make sure it is at the top of the list. For your secondary name servers you may want to consider moving to opendns versus using your local ISP’s.

4. Once your 127.0.0.1 entry is at the top of the list you may press OK to exit the menu.

5. To start/stop/restart dnsmasq service use the following commands:
/etc/init.d/dnsmasq start
/etc/init.d/dnsmasq restart
/etc/init.d/dnsmasq stop

You will most likely need to restart the service after installation and the changes you’ve made. This will also let you the service is starting correctly.

6. Now it’s time to make sure it’s working. Type the “dig” command with the website of your choice and pay attention to the query time. The first time the DNS entry will be cached, and so the second time you try the dig command on the same site the response should be significantly lower. The format is $dig WEBSITE

Another way of testing is enabling logs to syslog so that each query will be logged. You can enable logging by removing the # at the line #log-queries in the file /etc/dnsmasq.conf You will need to restart dnsmasq for changes to take effect. Syslog can be viewed from System log viewer, or any text editor. After verifying that everything was working correctly, I added the # back into the config file so that it no longer logged queries.

7. After you’ve tested all is working correctly, make sure you change the primary DNS server on the client machines to the IP address of the server you have been working on. Here are pictures that show the primary name server being changed to the local machine just setup for DNS. The examples are for Ubuntu 8.04 and Windows XP:

ubuntudns
vistadns

So that’s it. Hopefully this speeds things up for you as it did for my LAN. Thanks for reading.

Posted in Education, Technology | No Comments »

Create Your Own Syslinux Bootloader Logo

September 7th, 2008 by MadHatter

SYSLINUX looks for the logo.16 image when booting. The following are my steps for creating mine:

To get started you will need a bootable USB drive with your OS of choice as long as it has SYSLINUX as the boot loader. You can edit this for a CD too but you will need to create a new image after editing it and then burn your disk. I also used an ubuntu machine with Photoshop (though I’m sure GIMP works just as well for this task) and an internet connection.

Note: I would recommend copying the image from your OS of choice which uses SYSLINUX. The original creators of the image had the image created to the proper dimensions to accommodate the boot menu on the bottom of the screen. I used DSL for this example.

1. I first navigated to the root directory of my bootable USB drive which had all DSL and SYSLINUX files on it. The logo.16 file was in this directory. I would recommend creating a copy to mess around with so you can restore the original if all goes wrong.

2. In order to edit the logo.16 file you need to convert it to a format your editor will read. Type the command: sudo apt-get install syslinux into terminal

3. Navigate to the directory in terminal with the logo.16 copy

4. in terminal type the following command: lss16toppm <logo.16> logo16.ppm This will create a logo16.ppm file. You should be able to open this in either Photoshop or GIMP to edit.

5. After editing I saved my file with the following properties: GIF, 16 colors, custom palette, 100% dither. I also saved the file in a new folder so that I would not overwrite the logo.16 later on.

6. Open terminal and enter the following command: sudo apt-get install netpbm This installs the proper tools to convert the GIF to a pnm, and then to a .16 file.

7. Navigate to the folder where you saved your GIF in terminal and type the following: giftopnm <logo.gif> logo.pnm If all goes well you should have a logo.pnm.

8. Type the following command in terminal: ppmtolss16 <logo.pnm> logo.16

9. Check to ensure your logo.16 has been created in the current directory by typing the ls command.

10. All editing is now completed. Simply copy the new logo.16 to the directory on your USB drive where the old one was located. Boot up your machine using your USB drive and test it out!

Below is my first completed bootloader image for DSL:

maddhatlogo

Click above to view full size image

Posted in Education, Technology | No Comments »

« Previous Entries