PDC Live

Teletext Transmission Details

Teletext is transmitted as a series of 45-byte packets, one per TV scan line. It is possible for every line of the TV signal to carry Teletext, but to avoid the appearance of snow on a video picture, the lines used are limited to those that are not visible because they occur during the TV vertical blanking interval (lines 6 to 22 and 318 to 335).

The video signal on each scan line used for Teletext has a fixed format so that a decoder can recognise and decode it:

Volts
.462+                    .CCF##########################.         logic 1
    |                    |CCF##########################|
    |                    |CCF##########################|
    |                    |CCF##########################|
    |        .#####.     |CCF##########################|
   0+---.  .-#######-----'CCF##########################`---.  .- logic 0
    |   |  | `#####'                                       |  |
    |   `--'                                               `--'
    +---+------------------+---------------------------+----Time
        0                 12                          46      us
     Line    Colour      Clock run-in C=10101010
     Sync    Burst          Framing pattern F=11100100
     Pulse                   MPAG, 40-byte Data
Bits are coded as binary non-return-to-zero (NRZ) in a negative modulation system at 6.9375Mbit/s; that is, each bit is represented by a dot 144.44ns long; black for a zero and white for a one (60--72% of peak white).

The data begin with a fixed framing pattern: ``10101010 10101010 11100100''. This pattern is chosen so that the receiver's clock can be synchronised during the first sixteen bits and the position of byte boundaries unambiguously defined by the last eight bits. The penultimate 1 of the clock run-in should be 12us after the leading edge of sync. After this comes a two-byte Magazine and Packet Address Group (MPAG), then 40 bytes of data.

Each packet belongs to one of 8 magazines, identified by 3 bits in the packet address. These magazines are independent of each other, so in effect, there are eight independent teletext services operating simultaneously. The magazine number is the first digit of the three-digit page number you type in on your teletext TV.

Each packet also has an associated 5-bit packet number (which used to be called row number when all packets corresponded directly with displayed rows). This value determines the meaning and format of the remaining 40 bytes of the packet. Packet number 0 is the page header, numbers 1 to 25 are display lines and 26 to 31 carry non-displayable data. Packets 30 and 31 do not belong to a page or magazine.

The magazine and packet numbers are coded in a single byte, then that byte is hammed to protect against reception errors, yielding the two-byte Magazine and Packet Address Group (MPAG).

A normal teletext page consists of a sequence of packets, all in the same magazine. These packets can be interleaved with packets from other magazines.

Other packet numbers are used to transmit data not related to any particular teletext page. The only one I know about in detail is packet 30, which performs one of two functions, depending on the first data byte. It carries either the Television Service Data Packet (TSDP) or the PDC packet. The format of this packet is described in a separate document, Packet 30 Technical Details.

Packet 31 is used extensively by ITV to carry what is almost certainly commercial data. It comes in two formats, A and B. The format used on ITV is format A, also called ``Didon medium prefix slow mode'' or ``Datacast Format''. Format B is similar, but uses the CRC bytes for error recovery. Format A consists of a variable-length header followed by 28 to 36 bytes of data. The bytes of the header are Hamming protected; the data bytes may be 8 bit or 7 bit with parity. The header always contains a format type (FT) byte followed by a packet address length (AL) byte, then the specified number of bytes of packet address. Following the packet address come two optional bytes, RI and CI. Two flags in the format type byte indicate which (if any) of these optional bytes are present. The packet repeat (RI) byte gives the number of times packet has been retransmitted. The continuity indicator (CI) byte increments for each new packet to the same packet address. Next come the data bytes, followed by a 2-byte CRC which protects CI (if present) and the user data bytes.

References

I found some books and documents useful when writing this page.
This page was created on 22 July 1996. It was last updated 12 December 2001.
Please send comments to Robin O'Leary pdc at ro dot nu
Copyright (C)1996--2004 Robin O'Leary. All rights reserved.