Recording Digital Cable

From MythTV Official Wiki
Revision as of 03:44, 3 June 2012 by Vossman (talk | contribs) (Option 4: CableCard Tuner)

Jump to: navigation, search

The following page is a general overview of options for recording digital cable in standard and high definition, primarily from a US perspective. It is not a how to guide, but instead is a jumping off point for those who are interested in building a MythTV system and recording digital cable.

General Overview

Recording digital cable versus analog cable should, in theory, be a simpler matter than recording its analog counterpart, due to the fact that unlike analog television, digital television need not undergo analog to digital conversion and encoding to be digitally stored on a computer. Instead, the digital stream is simply "downloaded" as is in the form of a transport stream. In practice, however, recording digital cable is more complex due to industry imposed encryption; cable companies often encrypt the channels provided via their cable service such that only rented set top boxes (or other means such as cablecard) are capable of receiving and "descrambling" the channels for viewing.

To that end, two of the three options for recording digital cable solely depend on the encryption status of your cable service. These two options are to use a QAM tuner card to tune the digital channels or to use FireWire output from a cable company provided cable box, and they are the sole means of viewing digital cable channels in their unaltered digital form, as well as the only means to receive high definition television provided through digital cable. The only option that works regardless of encryption status is the analog tuner card option, but this method does not preserve the digital quality of the incoming video and hence can produce serious degradation of the quality of the video depending on a number of factors. Read on for a break down of these three options.

Option 1: HD Component Recording

Hauppauge has released the Hauppauge HD-PVR, a high definition component capture box. The box is capable of encoding 480i, 480p, 720i, 720p, and 1080i component video into h.264 video with a hardware based encoder. It is fully supported in Linux, and can provide MythTV users a way to record all of their digital HD content with negligible quality loss, regardless of encryption status, when paired with a cable or satellite company provided tuner or STB. Judging by the mailing list, this has become one of the most popular options.

The Bottom Line: Necessary Equipment and Services

Option 2: QAM Tuner Card

In the US, digital cable is generally transmitted via quadrature amplitude modulation or QAM, a means of transmitting digital data such as digital video streams. These streams, if unencrypted, can be tuned via a QAM tuner card. These cards simply "download" the digital video streams straight from the cable to your hard drive in their original form, hence preserving their original quality. They support both standard definition digital television and high definition digital television.

This method is the most reliable means of recording digital cable, assuming your QAM channels are not encrypted, as it does not rely on any outside hardware from the cable company which avoids the support problems of FireWire set top boxes as stated below. Unfortunately, QAM channels are almost always provided encrypted, so this method does not work for most. The only exception is the free to air (FTA) high definiton channels (such as ABC, CBS, NBC, etc..) that cable companies by law must provide in the clear, though that's hardly a consolation as these channels are provided for free over the air via the ATSC standard. Additionally, the native numbering system for QAM tuning differs from that of the lineup providers (see Adding Digital Cable Channels (For ATSC/QAM Tuner Cards -- USA/Canada)

To check if your channels are provided in the clear via QAM, you must attempt to tune them either with a QAM tuner card in a PC, or with a newer television set that has a built in QAM tuner. Alternatively, you can contact your local cable company, but that may prove to be a frustrating experience. It's also important to note that cable companies can change their encryption status when they please, so while your channels may be unencrypted today they might not be tomorrow. This isn't too common, but it is possible and definitely something to be aware of. A third option is to check the channel lineups provided by Silicon Dust.


The Bottom Line: Necessary Equipment and Services

Option 3: FireWire via Set Top Box

Using this method, a set top box rented from the cable company is used access your digital cable channels and then pass through the unencrypted digital video streams to your computer via FireWire. This method also preserves the digital quality of the video streams, and it also has the added benefit of being able to work when the QAM channels are encrypted. In this case, the set top box essentially decrypts the video being provided by the cable company and then passes it to the computer in an unencrypted form via a FireWire interface. Myth either changes channels via the FireWire interface itself, or if that function is not supported on the set top box in question, an IR blaster can be used, and then the output from the FireWire is simply "downloaded" to your system in its original transport stream.

The problem is that in addition to QAM encryption, digital cable channels can also be encrypted such that they are not able to be passed through via the FireWire. This is known as 5C encryption, and channels encrypted with it cannot be accessed via FireWire. 5C encryption varies by local franchise, and can often be seemingly quite random where some channels are encrypted but others are not without apparent reason, but some franchises such as some in the Seattle and Portland, OR areas provide nearly all of their channels without 5C encryption. At the very least it is much more common to have non-5C-encrypted channels than unencrypted QAM channels, so it is often the best way to record digital cable.

The downside is that using this method you must rely upon a rented piece of hardware from your cable company that may be subject to change. And because of the variety of cable boxes on the market, it is impossible to support all of them, and at this point Myth's FireWire support should be considered young. It works rock solid for some, but for many it is less then 100 percent reliable and can require considerable tweaking to get working in such a manner. This support is improving considerably with each release, however. Also, as cable companies are only required by law to provide cable boxes with FireWire output for high definition subscriptions, you may have to pay extra to get such a box as most companies charge extra for high definition enabled cable service.

To check if your channels are provided in the clear via FireWire, you must attempt to tune them via the FireWire interface or use a cable box that has a diagnostic menu that is capable (such as many Motorola set top boxes) of giving the 5C status of individual channels. Alternatively you can contact your local cable company, but as mentioned earlier, that may prove to be a frustrating experience. You can ask others who may live in the same area as you what they have found with their FireWire setup, but as individual franchises can have different 5C setups, this should not be taken to be infallible. It's also important to note that cable companies can change their encryption status when they please, so while your channels may be unencrypted today they might not be tomorrow. This isn't too common, but it is possible and definitely something to be aware of.


The Bottom Line: Necessary Equipment and Services

  • Set top box from cable company with FireWire output. (Two separate boxes are needed for the time being to watch/record two channels at once, but support for dual tuner boxes may change.)
  • FireWire interface on your MythTV backend.
  • Non-5C-encrypted channels capable of being outputted via FireWire in the clear.
  • Should be avoided by anyone for whom CableCard is an option

Option 4: CableCard Tuner

CableCard is the system for conditional access and content management for North American cable companies. These devices accept a CableCard which is rented from ones cable company, and will allow encrypted channels to be decrypted and recorded by MythTV. As with FireWire capture, this method is restricted to those channels marked "copy freely," such that DRM is not required. Comcast, Verizon FIOS, and RCN generally have customer friendly copy protection flagging, whereas the opposite is true of Cox and Time Warner Cable. There are exceptions with all of these companies, so it bears some research into the topic before investing in hardware.

The currently usable options are the HDHomeRun Prime, the Hauppauge WinTV DCR-2650 (a two tuner USB variant of the HDHR Prime) and InfiniTV 4. The HDHomeRun tuner has been supported since 0.24. The InfiniTV card is available for purchase now, but is not yet officially supported in MythTV. Support is in development, and will hopefully be complete in time for the release of 0.25.

The Bottom Line: Necessary Equipment and Services

Option 5: Analog Output Recording

With this method, a set top box rented from the cable company is used access your digital cable channels via its analog outputs, which is then recorded with an analog tuner card such as the PVR-150. Channels are changed via an IR blaster while the analog tuner card records the output of the box either through a coax, composite, or s-video input. Essentially, the analog tuner card records exactly what your TV would see if it was connected via an analog output of the set top box.

While this method is completely reliable and works whether or not your channels are encrypted, it presents, for some, a very serious problem. Because the digital video being received by your cable box must be converted to analog (to be transmitted via a coax, composite, or s-video output) then reconverted back to digital with an analog tuner card, the original digital quality of the video stream is degraded. This quality loss depends upon whether standard definition or high definition video is being viewed, and whether or not that video is being displayed on a standard or high definition screen.

With standard definition video the loss is not severe; it is definitely noticeable when being played back on a high definition television or computer monitor but not to the point of being unwatchable; however, on standard definition screens it is often indistinguishable from the digital source. With high definition video the loss is again generally indistinguishable from the source on standard definition televisions, but on high definition screens it is like night and day. The entire point of the enhanced resolution of high definition is lost, as the output from the set top box is down converted standard definition video. The bottom line is that you probably won't notice a big difference on standard definition televisions, but when using high definition televisions you will notice a decent difference in quality on standard definition video, and a huge difference in quality on high definition video.


The Bottom Line: Necessary Equipment and Services

  • An analog tuner card such as the PVR-150. (Double this or get a dual tuner card to watch/record two channels at once.)
  • A set top box from the cable company (Dual set top boxes are also necessary to watch/record two channels at once.)
  • An IR blaster, or other means of changing channels on the set top box. (Dual IR blasters or other means are also necessary to watch/record two channels at once.)

Option 6: Analog-Digital Simulcasting

It is important to note that, in many areas, analog cable television is provided right along side digital cable television on the same line in the form of analog-digital simulcasting. Essentially, digital cable users may be able to receive some or all of their digital channels via an analog transmission. Often, channels 0-70 (usually basic cable) are provided as an analog transmission, with the exact same channels and all above channels being provided digitally as well. To check, you only need connect any old cable-ready standard definition television directly to your wall outlet bypassing any cable box provided; if you can recieve channels, then you have ADS. Alternatively, you can contact your cable company, and in this instance they will likely be able to let you know.

If this is the case, and you do not desire any channels not provided via analog means, or any high definition only channels, then you can simply use an analog tuner card such as the PVR-150 to record your television. It is important to note however that ADS will eventually disappear in all areas, but that may still be years away for some places.