Sunday, November 07, 2010

Cutting the Cord

Sometime in the mid summer of this year my brother and I spoke briefly about canceling cable TV and going to an Internet only feed. The idea quickly faded since the alternatives, while there, just weren't up to meeting our entertainment requirements. A few weeks ago with an deal between Time Warner and ESPN (more on this later) and the new media server I built it was time to cut the cord. With broadcast HDTV, a PS3, and Linux based media server here's how we did it and ended up saving a ton of $.

Movies

We had the movie option in our cable TV package, with Encore, Starz, and a few other channels excluding the more premium ones like HBO and Showtime. This was by far the easiest to check off by using Netflix. The PS3 is capable of streaming all of the on-demand Netflix catalog, as well as play blu-ray and DVDs with the 10$ one-at-a-time plan. Netflix is only expanding their streaming library in addition to making more HD streams available. I also have many movies ripped to the linux media server and pushed out to the PS3 via a UPnP server software called fuppes for streaming of my movie collection.

Network TV

With cable we had a DVR package to record and replay shows back later on in the week. Time Warner also had a nice On-Demand feature to play a majority of network and cable channels shows anytime even if it wasn't recorded on the DVR. Since HDTV came about a few years ago network TV looks just as good, if not better, than it's HD cable counterpart. By purchasing a HD antenna and putting it over the bookcase we're able to get the local SD network channels in 1080i. Now this isn't as ideal as having the DVR or On-Demand on TW, but the biggest piece in this puzzle was the software called playon.tv.

Playon.tv runs on a Windows computer and scrapes streaming websites like hulu.com, cbs.com, tv.com, etc. It transcodes the streams on the fly and then presents them as a UPnP media server to various devices such as the Wii or PS3. It also has a mobile feature, and devices like an iPad or iPhone can connect to the media server over a remote 3G connection for playback anywhere. The one downside is the streams are not in HD, although HD support is promised by the developers soon. Total cost is 40$ a month with 20$ a month renewal and it more than makes up for the lack of DVR. On a technical note, playon.tv will run just fine in a Windows XP KVM guest on my linux media server with 2 vCPUs and 4GB of memory dedicated to it.

Sports

By far the most asked question I get when talking to people about this is "what about sports?". There's almost this myth that you NEED cable to get live sports, which is absolutely not true. With the advent of espn3.com almost any live sporting even can be watched via a web browser. There's even sports on there I've never heard of. The only downside here is that in order to get espn3.com your ISP needs to have inked a deal with ESPN3. Up until a week ago Time Warner had not done this but now is available, in addition to a new TW only website called espnnetworks.com which adds even more live sports content. Time Warner unfortunately requires you have ESPN as part of your video cable package, which we do not. Logging into another TW customers account however gets around this. Right now playon.tv supports ESPN3 for non-login ISPs, so for TW customers you still need to go through the web browser. With a media server connected to the same TV this isn't much of an issue. HDTV sports broadcasts look even better than cable since they're still in 1080i but don't suffer from the compression artifacts that most cable channels seem to add. Finally, if you really want to see a live sports even and you can't get it at home, it's probably time to leave the living room.

Notes

While we own all three major gaming systems the PS3 was chosen since it can do everything we need and we have a nice bluetooth remote that looks like it belongs in the living room.

We tried out Hulu+ for streaming over the PS3, and even though it had excellent HD output, it was lacking many of the shows available on the website. Strange since it's 10$ a month and you're paying to get less content... In the future if Hulu decides to do things different I'll revisit it.

Since a lot of this is network dependent, I upgraded our router to one capable of 802.11n and gigabit ethernet speeds so the media server and PS3 aren't laggy when talking to one another.

Time Warner is still in use for the Internet connection, but Verizon is planning on rolling out their LTE network to San Diego before the end of 2010. Hopefully they start offering service as an ISP and we can replace the cable connection completely.

Update


I switched from Windows XP to Windows 7 due to XP seeming to crash daily. Along with improved stability,Win 7 is also 64-bit and can handle all 4 cores when Playon moves to HD streams. The only issue was the AC97' sound card that KVM emulates doesn't have 64-bit Win 7 drivers, and other sound card options don't work either. Playon ships with a virtual audio device that takes care of transcoding the audio to work around this.

Monday, November 01, 2010

Jezebel 7.0

This fall I decided it was time to update my Atom based media server to a more power version.This was driven mainly by the want to rip and encode blu-ray disks and run KVM for virtualization. While the Atom setup was great for power efficiency (using about 40 watts at peak load) there were other tweaks I wanted to make. Below is my new system specs for Jezebel 7.0:

All of the parts were new except the case and blu-ray drive since they integrated without a problem. I originally purchased a micro-ATX motherboard which had more PCI, memory, and SATA slots, but the majority of the SATA connections went right up against the drive bay wall. The smaller board had less expansion space but fit better into the case and didn't limit any of the other components I purchased.

I went through about 4 graphics cards before landing on the GT430. Two were too large, and one was passively cooled but used a ton of power and put out a lot of heat. The GT430 has a fan on it that is a bit louder than I would have liked, but it can underclock itself when not in use to 50MHz to save power and heat. The GT430 is a bit overpowered for what I wanted to do, but it's CUDA support has me hoping for encoding programs like ffmpeg to use it for faster blu-ray encoding.

By far the biggest improvement is the quad-core processor, with two cores and 4 gigs of memory dedicated to KVM for a Windows XP guest install. I haven't tested it for video encoding yet but it has turbo-boost to go to 3.0GHz if needed. I also enabled an on-demand CPU governor and it runs at 1.2GHz while idle.


The drive setup was a big improvement as well. Before it was running the OS off a compact-flash card plugged into a parallel IDE connection, two 1TB drives on the onboard SATA, and the blu-ray into a SATA PCI card. This was less than ideal from an IO perspective and was still running on legacy technology. The new board has 4 SATA connections and I swapped the two drives for one 2TB disk. The SSD has shown a huge IO boost and the OS boots in less than 10 seconds. The 2TB drive is actually slow at 5900 RPMs, but it makes it quieter and is very power efficient.

The system setup is 64-bit Debian Squeeze installed onto the SSD, with /home all on the large disk. I also installed Windows XP into a KVM guest which resides on the SSD as well. GNOME is setup and running off the video card. HDMI out works for video and looks great, however I kept getting stumped on trying to pass sound through it and settled on a 1/8 audio connection from the line out.

The main use of the system is for pushing out content to our LCD TV via a variety of methods which I'll explain in a different post, and ripping/encoding DVD and blu-rays. It's also hooked up to our LCD TV and the wireless Apple keyboard and mouse is great for a living room setup with a range of approximately 10 meters.

Overall the system uses more power than the Atom setup, but the performance ratio makes up for this exponentially due to the advances in efficiency of the other components over the last few years. I'm looking forward to seeing what this system can do with it's virtualization capabilities and performance capabilities.

On some future notes, the next Intel architecture Sandy Bridge is looking to integrate video directly into the CPU. I looked into the on-die graphics available now since this motherboard can support them, but unfortunately the only Core i series CPUs that have it are dual core. Sandy Bridge will have 4 and 6 core CPUs to use it, but it will use a different socket, making this board unsuitable for it. Soon though we'll have HTPC systems like this that don't require any additional peripherals, increasing performance while at the same time driving down power usage even more.