Over-the-Air Digital TV with Linux
My ten-year-old TV set gave out recently. Being a Linux geek, I use a variety of open-source distributions on my notebook and desktop. So, the demise of my TV was a great opportunity to see if I could watch television on Linux instead of getting another TV set. It's just in time too, because over-the-air television broadcasts in the US will convert to all digital in February 2009. So, it was exciting to switch over to digital TV on my desktop.
In my quest to understand the state of digital TV (DTV) on Linux, I looked at digital TV tuner cards, antennas and accessories. I chose to set up MythTV, and by the end of the entire experience, I had a cool digital TV right on my Linux desktop with Picture-in-Picture and remote control. It was enough high-definition (HD) TV to turn me into a serious couch potato. I'm happy to report that Linux, along with hardware support from digital TV tuner cards, video cards, LCD monitors and rich software, such as MythTV, is ready for prime time.
For this review, I used a PC with an Intel Core 2 Duo 3GHz, with 4GB memory, an NVIDIA 8800 GT graphics card, and a 750GB SATA hard disk. The display was a Samsung SyncMaster 245BW, with a resolution of 1920x1200. I ran Ubuntu 7.10, with all the latest updates, as my operating system. Using a powerful graphics card was essential for viewing HD programs on a high-resolution, wide-screen display.
A good antenna also is a critical component of the DTV setup. I tested both indoor and outdoor antennas, and discovered that the reception improved dramatically when using an outdoor antenna. The reception also improved with amplified indoor antennas. Standard indoor antennas performed adequately only when positioned very carefully. Because HDTV content is high-resolution (1920x1080), if your signal is weak, you may see a lot of artifacts. Frequent artifacts result in a very poor viewing experience. Hence, choosing an amplified indoor antenna or an outdoor antenna is recommended. Standard-definition TV (SDTV) is not as high-resolution and has greater tolerance for weak broadcast signals. But, even here a good antenna is essential.
I used MythTV (version 0.20.2) to view over-the-air DTV channels. MythTV is an open-source home entertainment software application for Linux and Mac OS. It has grown to become one of the most comprehensive, feature-rich platforms for viewing and recording television programming from over-the-air and cable broadcasts. I also used another open-source software application called tvtime (version 1.0.2) to view over-the-air analog NTSC channels.
So, what can we watch? There are a lot of over-the-air programs available in all major US metropolitan areas. For example, ABC, CBS, FOX and NBC offer standard and high-definition programming in addition to analog NTSC. In my location, the San Francisco Bay area, local public broadcasting stations (PBS) broadcast high-quality educational and topical content in HDTV format from 5pm to 6am each day.
To evaluate various digital tuner cards, I tested first whether the hardware was recognized by Linux at boot time by checking the system logs. If it wasn't recognized, I had to find and build a device driver manually. Once this step was successful, I configured the tuner card within MythTV. As a part of configuration, MythTV scans for channels available in the broadcast area. On average, it took MythTV about seven minutes to find more than 25 digital channels. Once the channels were found, we were ready to watch digital TV.
I evaluated a range of digital tuners that included PCI, PCI Express and USB bus types.
The pcHDTV HD-5500 is a PCI card and is the only hardware designed and marketed to support Linux right out of the box. The HD-5500 supports digital (ATSC), analog (NTSC) and unencrypted cable TV signals. This low-profile PCI card provides a coaxial input for a TV antenna, a stereo audio output jack for analog TV and a nine-pin port for an adapter cable. The adapter cable provides inputs for S-Video and stereo audio, an RCA video output, and an IR transmitter (to control a set-top box). pcHDTV ships a CD with the HD-5500 tuner card, which includes drivers for 2.4 and older 2.6 kernels, command-line tools to capture and manipulate digital (ATSC) data streams and signals, and a version of the Xine video player customized to support HDTV.
This tuner card worked out of the box—configuration was as easy as installing the card into the PCI slot of my desktop test machine. Both the digital (ATSC) and analog (NTSC) tuners on the hardware were recognized right away and were fully functional at system bootup. Configuring the tuner as a “DVB DTV capture card (v3.x)” in MythTV was simple. If I had installed additional pcHDTV cards, I could have tested out multicard features, such as Picture-in-Picture (PiP) in MythTV. pcHDTV claims you can put up to four such cards in a single system.
The picture quality for both high-definition and standard-definition programs was superb. To top it off, the whole idea of having an end-to-end Linux DTV solution with a no-fuss setup and a great viewing experience is just plain cool. The HD-5500 is an ideal choice for a desktop Linux system. It would be nice to have a USB version for laptops as well. A remote control, as offered by several other DTV tuner products, would be icing on the cake.
I had the chance to catch up with pcHDTV's CEO, Jack Kelliher, by e-mail (see the Interview with Jack Kelliher, CEO and Cofounder of pcHDTV sidebar).
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- New Products
- Using Salt Stack and Vagrant for Drupal Development
- Validate an E-Mail Address with PHP, the Right Way
- Build a Skype Server for Your Home Phone System
- Why Python?
- Tech Tip: Really Simple HTTP Server with Python
- A Topic for Discussion - Open Source Feature-Richness?
- Not free anymore
2 hours 53 min ago - Great
6 hours 41 min ago - Reply to comment | Linux Journal
6 hours 49 min ago - Understanding the Linux Kernel
9 hours 3 min ago - General
11 hours 33 min ago - Kernel Problem
21 hours 36 min ago - BASH script to log IPs on public web server
1 day 2 hours ago - DynDNS
1 day 5 hours ago - Reply to comment | Linux Journal
1 day 6 hours ago - All the articles you talked
1 day 8 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
I still prefer to watch TV
I still prefer to watch TV on classic TV screens rather than on my laptop
very interesting post though
Matt