EIA-608
From Wikipedia, the free encyclopedia
EIA-608, also known as line 21 captions, is the standard for closed captioning for NTSC TV broadcasts in the United States and Canada. It was developed by the Electronic Industries Alliance.
EIA-608 captions are transmitted in the vertical blanking interval in NTSC broadcasts, and are also sometimes present in the picture user data in ATSC transmissions. It uses a fixed bandwidth of 960 bit/s.
EIA-608 is being phased out with the transition to digital television. ATSC broadcasts support EIA-708 captions, which include full support for Spanish and French, and nearly-complete support for other Western European languages.
Characters in EIA-608 are encoded either with single or double byte characters. The single byte characters closely resemble ASCII. In the table below exceptions from the ASCII standard are shown in red. Except for the transparent space (TS) all characters should be written as white characters on a black background. The top bit in each byte is an odd-parity bit.
[edit] Single-byte characters
|
|
|
In the table above SB represents a solid block.
[edit] Double-byte characters
Double byte characters are preceded by an escape character, 0x11.
|
TM is short for unregistered trademark and should be represented in superscript (™). TS in the table above represents a "transparent space" or non-breaking space. Finally, MN should be a musical note (♪), which is used to denote singing in captions.
[edit] Control characters
Bits 15 and 7 are always odd parity bits. Bit 11 is always the channel bit.
For a preamble address code these are as follows: Bits 15 and 7 are parity bits. Bits 14 and 13 are always 0, bits 12 and 6 are always 1. Bits 10, 9, 8 and 5 indicate the row position. Bits 4, 3, 2 and 1 indicate the attribute of the text. Bit 0 indicates underline.
The row bits specify which of the 15 screen rows should contain the caption text: row 11 (0000), 1 (0010), 2 (0011), 3, 4, 12, 13, 14, 15, 5, 6, 7, 8, 9, or 10 (1111).
The attributes bits allow 16 possibilities, which are: white (0000), green, blue, cyan, red, yellow, magenta, italics, indent 0, indent 4, indent 8, indent 12, indent 16, indent 20, indent 24, indent 28 (1111).
For a midrow code these are as follows: Bits 14, 13, 10, 9, 6 and 4 are always 0, bits 12, 8 and 5 are always 1. Bits 3, 2 and 1 form the color attribute (see the listing of attributes). Bit 0 indicates underline.
For other control codes these are as follows: Bits 14, 13, 9, 6 and 4 are always 0, bits 12, 10 and 5 are always 1. Bit 8 chooses between line 21 and 284. Bits 3, 2, 1 and 0 form a command.
The command bits allow 16 possibilities, which are: resume caption loading (0000), backspace (0001), delete to end of row (0100), roll-up captions 2-rows, roll-up captions 3 rows, roll-up captions 4-rows, flash on (0.25 seconds once per second), resume direct captioning, text restart, resume text display, erase displayed memory, carriage return, erase nondisplayed memory, end of caption (1111).
For tabs these are as follows: Bits 14, 13, 6, 4, 3, 2 are always 0, bits 12, 10, 9, 8, 5 are always 1. Bits 1 and 0 determine the number of tab offsets.