2/4/08
Set
top box interconnections
“Set
top box” (STB) is a term that can include any type of accessory that may
connect to the HDTV. Common STBs are
satellite receivers, cable TV receivers, OTA receivers, DVD players, VCRs, and
so on. In the HDTV era, an STB usually
has a large memory where the image is reassembled out of the MPEG-2 data.
Warning: Older DTV receiver models were often very
buggy, cranky units. Before buying a
“bargain” used receiver you should probably see what has been written about it
on the AVSforum. (The
old RCA DTC-100 was pretty good. I still
use mine.)
While HDMI has become the industry favorite, it still cannot be said that a single universal standard for unit-to-unit video connections exists. Eventually, through competition, the best of the following will survive. Any STB you acquire will probably have more than one of these output connectors. When you buy an HDTV and an STB, try to select units that can connect to each other directly. Otherwise you will have to pay for a transcoder or a video switch box.

For
options 1-3 above: If the STB has any of these connectors, it is only for
standard definition images. When a
high-def program is being received, these connectors are either disabled or
carry an image that has been down-converted to NTSC.
VGA
and component video are sometimes called “analog” because they carry signals
that are not binary. DVI, HDMI, and 1394
are sometimes called “digital” connections.
Analog connections are inferior to digital connections when the monitor
is not a CRT, but this inferiority can be insignificant if the cables are
chosen with sufficient care. Neither VGA
nor component video is superior to the other.
For a cable length of six feet, VGA is more convenient. For longer runs, component video is usually
more convenient. Component video is the
prevalent analog output, and VGA is becoming rare.
Very
few displays will draw both 1080i and 720p.
If you feed the set a format that it cannot draw, you will get either a
blank screen or garbage. (The law
requires a set to receive all 18 modes.
But the law only regulates tuners, not these intermediate inputs.) An exception to this is fixed-pixel displays
that will re-digitize component video.
DVI,
HDMI, and 1394 are presently competing for the hearts and minds of the
manufacturers. At the moment HDMI
appears to be the clear winner, but not everybody is convinced. 1394 still has important technical
advantages. All outboard recording
devices will likely use 1394, but Hollywood does not want to allow outboard
(dismountable) media. Some companies
have developed radio schemes for moving audio/video material around a home
wirelessly. But these schemes usually
require 1394 and might become useless if 1394 is blocked.
The
FCC issued a requirement that a 1394 interface be included in all satellite and
cable STBs when requested by the customer.
Most companies made a halfhearted attempt at complying. Some of these 1394 ports talk only with
certain devices, such as D-VHS recorders.
DirecTV has totally refused to comply and has stated publicly that it
never will. The FCC is an enormously
powerful agency, but they often look for compromise. How this contest of wills will end is
presently unclear.
At
the present time it is probably a mistake to buy a TV or STB that does not have
an HDMI or DVI connector. Also having
analog connections is a good idea since there is a lot of HD equipment that
lacks digital connections. 1394 has
advantages. Presently, Hollywood does
not want any DBS or cable set-top-box to have a 1394 connector passing MPEG-2
data. They even consider analog to be a
piracy threat. Hollywood could order all
DBS and cable companies to down-convert all STB analog or 1394 video outputs
whenever a hi-def movie is showing.
This
author believes that Hollywood will not carry out its threat any time
soon. What Hollywood is most concerned
about is movie piracy via the Internet.
That is currently not practical at high definition because it takes too
long. But if it should become practical
and piracy proliferates, Hollywood wants to shut down those STBs that
contribute to it. (Hollywood would then
not release films to distributors who enable STBs with piratable outputs.) The FCC will certainly side with Hollywood if
movie piracy makes movie making unprofitable.
This is not all bad since it guarantees home access to first-rate
films.
An STB is likely to provide one or more of the following audio outputs:
Again,
it is wise to plan this before buying.
You could be in a bind if the TV and STB do not have enough of the right
connectors. Some optical/coaxial converters
are described at minidisk.org
.
The HDMI Audio
Problem
HDMI
carries digital audio, but it is carried on the video signal lines during the
video blanking periods. This audio is in
a form that is not easily convertible into SPDIF (optical or coaxial digital
audio). SPDIF is the normal input for
A/V Receivers (audio power amplifiers).
This
is not a problem if you are going to rely on the speakers or audio power
amplifiers that come inside the TV. It
is also probably not a problem if your system has only one HDMI source. But if you have more than one HDMI cable
(multiple HDMI sources) then you might discover you have no way to connect up
the A/V Receiver.
Here
are your options:
1.
Just
connect the TV SPDIF Output to the
A/V Receiver. Unfortunately many TVs
lack this connector. If your TV provides
neither SPDIF nor “line” audio outputs then there is no way to connect it to an
A/V Receiver. Some TV SPDIF Outputs put
out fewer than 6 audio channels.
2.
The
A/V Receiver probably has multiple SPDIF inputs. But if it does not have multiple HDMI inputs
then you must use the TV to switch HDMI.
You will have to use two remotes every time you want to switch sources,
or buy a universal remote and learn how to program it.
3.
Or
you could buy an HDMI switch box that also switches SPDIF. But most HDMI switch boxes do not have this.
DVI
was originally developed for computer monitors, but has been adopted by
HDTV. DVI comes in different
versions. All versions use the same
29-pin connector. Sometimes you can tell
which version you have by seeing how many of the 29 pins are missing.
DVI-D is the version most commonly used for
HDTV. The five large pins are usually
missing. There is a single link
version of this that uses only 18 of the 24 small pins. Single link will work properly with all
HDTVs.
DVI-I uses all 29 pins. The five large pins pass analog VGA
signals. Presently, DVI-I is used mainly
by the computer industry, but front projector HDTVs by a number of makers
support DVI-I. There are DVI-to-VGA
adapters and adapter cables available for these units. Front projectors from a couple makers will
accept component video signals through their DVI connectors. These companies will provide DVI-to-Component
adapter cables. However this is
nonstandard.
These
adapter cables only work with DVI-I. In
most cases, if you want to connect a DVI unit to a VGA or component unit, these
adapters will not work. That would
require a transcoder circuit that can convert between analog and digital
signals.
HDMI is a single link DVI plus digital
audio and a control line in a miniature connector. It carries no analog signals.
The
following device will convert component video into VGA.
Key Digital KD-CTCA3 $375 YPrPb to RGBHV -3dB @ 110MHzm (discontinued)
The following devices will convert VGA into component video.
Audio Authority 9A60 $129 RGBHV to YPrPb -3dB
@ 250 MHz
Key Digital KD-VTCA3 $250 RGBHV
to YPrPb -3dB @ 110 MHz (discontinued)
RCA VHDC300 $130 RGBHV
to YPrPb (discontinued)
The following devices will convert between DVI and VGA.
RAM Electronics EXT-DVI-2-VGA DVI-to-VGA $400
RAM Electronics EXT-VGA-2-DVI VGA-to-DVI $300
There are no transcoders for IEEE 1394.
VGA to Component video adapters
Component video to VGA adapters
These
can be found on the Internet for $25-$50.
In most situations they will not work.
VGA is a 5 wire standard with Hsync and Vsync on the 4th and
5th wires. For component
video, these two sync signals are multiplexed onto the green wire (Y in a YPrPb
system). But some STB makers add the
syncs to the green wire of a VGA port, and some monitors will look for the
syncs on the VGA green wire. A menu item
or a back panel switch may enable these actions, or they may be always
enabled. Often these features are
completely undocumented, and it is harder still finding out before you buy if
these features are present. If they are
then the adapter will work and you can avoid buying a transcoder.
You’re A/V Receiver might do this for you. Otherwise standalone switch boxes are available from Gefen, PCC, Key Digital, and possibly others. They are very new, a bit pricey, and hard to find. You might have to buy over the Internet.
The
previous generation of A/V Receivers would switch composite video. The newest generation will switch component
video. If you have too many STBs, one of
these new receivers might serve as a switch for your STBs. Otherwise you will need a video switch box
such as one of these:
Name
plate Inday Zektor Inline Video-Storm
model
number RGB4X HDS4.1 IN3582 CSM42
configuration 4-to-1 4-to-1 2-to-1 4-to-2 (matrix)
component video yes yes yes yes
VGA no yes no yes
-3dB
Bandwidth 230 MHz 200 MHz 280
MHz 200 MHz
coaxial digital audio no yes yes yes
optical digital audio no yes no yes
connectors (per
device) 3 phono 6PT * 6PT *
pushbutton switched yes yes no yes
activity switched no no yes no
IR remote switched yes yes no yes
Price $120 $260 $260 $250
*6PT = 6 phono + TOSlink
The activity switched units allow only one source to be on all of the time. The other sources must be disableable, which may require powering them off.
Audio
Authority makes a 4-to-1 switch (the 1154), but some
people have had problems with it.
Notice
there are two ways of specifying bandwidth.
For most devices the “-3dB” bandwidth is twice the “flat to”
bandwidth. The author recommends
switches with a bandwidth that is flat to 100 MHz or -3 dB at 200 MHz. This is especially important if the monitor
is a digital display that re-digitizes these analog signals.
If
you buy a switch that is flat to 30 MHz, -3 dB at 60 MHz :
The
remainder of this page is nonessential reading.
You should skip it unless you are curious about how HDMI works.
DVI
A
CRT is a device with no memory. DVI
assumes all displays have no memory. DVI
assumes all displays require scanning in the manner of a CRT. DVI will refresh each pixel once per frame,
even if the pixel has not changed since the previous scan.
But
instead of three analog signal lines (red, green, and blue) there are three
digital signal lines (red, green, and blue) plus a clock line. The clock line pulses once per pixel
drawn. The data signal rate is 10 times
the clock rate. During each pixel 10
bits are passed over each signal line, 30 bits in all. 24 of these bits are the color value. The other 6 are control bits. The maximum allowed clock rate is 165 MHz,
which would allow 165 megapixels/second minus about 5% for vertical and
horizontal blanking times.
The
maximum data rate is said to be 1.65 Gbits/second, which would be the bit rate
(data and control) over one digital signal line. The three data lines together can pass 4.95
Gbits/second.
There
are some variations on the above:
·
For
480i, pixels are sent multiple times to keep the data rate from being low. The monitor discards the extra copies.
·
Data
rates above 4.95 GB are allowed but require a “dual-link”. A dual-link has 6 data lines, not 3. If a dual-link is still not fast enough then
the clock rate is allowed to exceed 165 MHz.
Each
of the above signal and clock lines has 3 wires: plus, minus, and shield (a
shielded twisted-pair).
It
might be said that the industry chose a technology with an artificially high
data rate to make piracy more difficult.
Two
additional connector pins are used for DDC (Display Data Channel). DDC is a medium-speed unidirectional channel
between the two units. The monitor uses
it for identifying its operating modes and formats to the STB.
HDMI
HDMI
is partially compatible with DVI. The
new features with HDMI are:
·
HDMI
single-link uses a miniature 19-pin connector.
An even smaller connector is available for portable equipment like
camcorders. Dual-link uses a miniature
29-pin connector
·
Digital
audio is provided. It is carried on the
video data lines between frames and between lines. (The timing is not the same as SPDIF.)
·
HDMI
has one connector signal that DVI lacks:
One additional pin is used for CEC (Consumer Electronics Control). This is a very low speed party-line wire that
connects to possibly every STB and unit in the user’s system. It conceivably allows any unit to control any
other unit, possibly eliminating all but one remote controller.
·
Red,
green, and blue are standard, but Y, Pr, and Pb are allowed. Pr and Pb can be skipped every other pixel.
HDMI 1.3
·
The
single-link clock speed limit is raised to 340 MHz. Single-link will pass up to 10.2 Gbits/second
(data and control). Dual-link is used
for speeds higher than that. (This
author has never seen the dual-link HDMI connector. 1080 60p will work with a single link, but
1080 120p would require a dual-link according to the HDMI 1.3 spec.)
·
Pixels
with 8, 10, 12, and 16 bits/color are allowed.
There is always 1 clock pulse for every 30 bits. So when the pixels are larger than 24 bits, the
clock rate will be higher than the pixel rate.
·
An
“Auto lip-sync” feature keeps the audio and video synchronized.
·
A
“Reference Cable Equalizer” circuit makes longer cables possible.
HDCP
This
encryption scheme is used only for the cable between the STB and the
monitor. The MPEG data received from the
source (DVD, satellite, or cable company) may be protected by some other
encryption scheme. If so it must be
decrypted so it can be used for building the complete image in the STB’s
memory, which is then re-encrypted using HDCP.
(DVDs
are protected by an encryption scheme called “CSS”.)
When
encryption is enabled, every pixel data bit is exclusive-ORed with a
pseudo-random data bit before transmission via HDMI. The STB and the monitor agree upon the pseudo-random
data pattern during authentication. Non-video data is likewise protected.
Authentication
is performed periodically, whenever the STB demands it. Every box (STB and monitor) has a set of
binary keys assigned to it. These keys
are generated by a company called Digital Content Protection LLC, a subsidiary
of Intel, and are assigned to the box when it is manufactured. Some of the steps in authentication are:
1.
The
public key – private key method is
used to prove that each box is an authorized unit. The public key is 40 bits long and the
private key is 2240 bits.
2.
The
Key Revocation List is searched to
see if a box has been associated with piracy.
The DVD or distribution company provides this list.
3.
A
seed value is chosen for the pseudo-random data stream.
The
encryption scheme is designed to be hard to crack. Breaking it probably requires saving the
entire movie on disk and then launching a deciphering program that could take
many hours or days. But the high data
rate of HDMI means that 30 terabits of disk memory would be required to save
the entire encrypted data stream of a two hour 1080p movie, and not many people
have that much storage at their disposal.
Stealing
a valid set of keys is easier. “HDCP
Stripper” boxes with stolen keys can be purchased. Such boxes are illegal in the United States,
and their keys could someday end up on the Key Revocation Lists.
Some
manufacturers have used the same set of keys in all their boxes of the same
type. If any of those boxes ever ended
up on the Key Revocation Lists then many innocent people would lose
functionality.
WHY not DTCP?
IEEE
1394 has obvious advantages over HDMI.
The lower data rate makes it easier to route the signal around the
house, either through CAT5 cable or wirelessly.
The MPEG decoding can be more tailored to the capabilities of the
monitor if the monitor does the decoding.
This usually results in a better picture, easier operation, lower cost,
and a much simpler planning process for the buyer.
But,
according to rumors, the DTCP encryption scheme used by IEEE 1394 has been
successfully violated, and a program for doing so might be easily
downloadable. Hopefully someday the
studios will come to their senses and adopt an un-crackable successor to DTCP.
This page is part of
“An HDTV Primer”, which starts at www.hdtvprimer.com