Teletext subtitles (EBU Teletext, and OP-47)

OpenSaveBroadcastIn the video

Europe's TV subtitles since the 1970s: a teletext page, 888 in many countries, whose text the receiver boxes over the picture. Analogue TV sent it in the lines above the picture; digital broadcasts carry it in the transport stream, and HD studios in each frame's ancillary data, as OP-47. Subtitld reads and writes it in transport streams, MXF files and MCC files.

At a glance

SpecificationETSI EN 300 706 (Enhanced Teletext); EN 300 472 for teletext in DVB. OP-47 (SMPTE RDD 8) for HD video's ancillary data.
Where they travelA teletext stream of a transport stream (.ts); the ancillary data of an MXF; MCC files. Written to EBU STL files for exchange.
Time precisionThe time the page is sent: a tick of 90 kHz in a transport stream, a frame in OP-47
CharactersTeletext's own sets of 7 bits: Latin with national variants, Cyrillic, Greek, Arabic and Hebrew; more from a second set placed over the page
StylingSeven colours and black, a background, double height, flashing. No italics.
PositioningA page of 25 rows of 40 characters: the rows a subtitle is on, and where on them it starts
SpeakersNone
ChannelsA page for each language or service: 888, 889 … Pages for the hard of hearing are marked as such.

A subtitle, as it is sent

Each subtitle is the page sent again: a header that erases the page, then the rows of text. This is what Subtitld sends for a subtitle of one line, each row 40 characters:

Row 0   page 88, magazine 8 · erase · subtitle · no header
Row 21  ⟨double height⟩⟨start box⟩⟨start box⟩You're a jerk, Thom.⟨end box⟩⟨end box⟩
Row 0   page FF, magazine 8
  1. 1 · Header

    Page 888 is page 88 of magazine 8. Its control bits: erase what the page showed, it is a subtitle page, show no header line.

  2. 2 · Text

    A row of the page, centred: double height, the box that makes it show over the picture, the text, the box closed. The row under a double-height one is left empty.

  3. 3 · Page complete

    A header for page FF, which is no page at all, tells the receiver the page before it is whole.

The same page sent with a header and no rows takes the subtitle away. Every byte is sent with its bits backwards, least significant first, as they go over the air; the page's address is Hamming-coded, so one bit wrong is put right, and each character has an odd parity bit.

The page

Code What it does
00–07 Text in black, red, green, yellow, blue, magenta, cyan, white
08 Flash
0A, 0B End box, start box: a subtitle page shows only what is boxed
0D Double height
1C, 1D Black background; a new background, in the colour the text is in

Every code takes a cell, drawn as a space. Row 0 is the header; Subtitld writes a subtitle on rows 1 to 23, a line every other row, and a receiver shows it over the picture, the rest of the page clear.

Character sets

Teletext's characters are 7 bits. A page's header picks the set among a group, and a packet X/28 can name the group:

Group Sets
Latin, western Europe English, German, Swedish, Finnish and Hungarian, Italian, French, Portuguese and Spanish, Czech and Slovak
Latin, central and eastern Europe Polish, Turkish, Serbian, Croatian and Slovenian, Romanian, Estonian, Latvian and Lithuanian
Cyrillic Serbian and Macedonian, Russian and Bulgarian, Ukrainian
Others Greek, Arabic, Hebrew

What a set lacks, such as a letter with an accent its language does not use, is placed over the page by a packet X/26: a character of the second set, or a letter with a mark on it.

Teletext or DVB subtitles?

Teletext DVB subtitles
Holds Characters Pictures
Looks The receiver's teletext font, in 8 colours Any font and colour, drawn by the broadcaster
A stream holds A page for each language: 888, 889 … A service for each language
Carried by Analogue TV first, then DVB broadcasts and OP-47 in HD studios DVB broadcasts

Teletext in Subtitld

Kept on the page
  • Every subtitle's text and line breaks, up to 11 lines
  • Colours, the nearest of teletext's eight, and backgrounds
  • Where it sits: top, middle or bottom; left, centre or right
  • Latin, Cyrillic, Greek, Arabic and Hebrew text, in the set its language has
  • A page for each language, with its language
  • Start and end, as the page is sent
Nowhere to go
  • Italics, bold and underline, which teletext does not have
  • Fonts and sizes
  • More than about 35 characters on a line: the rest is cut off, so break long lines yourself
  • Forced subtitles: a viewer turns a page on or off
  • Dubs, speakers' names and faces

Save a .usfx project to keep what is Subtitld's.

Reading teletext subtitles

From a recording. Open the .ts as the video. In the Import panel, choose the Subtitles in the video engine, then the track: each subtitle page a stream lists is a track of its own, Teletext 888, with its language, and marked when it is for the hard of hearing. Read subtitles reads it. A teletext track in another container is read through FFmpeg: the subtitle page it sends most often.

From an MXF. OP-47 travels with the closed captions: in the Import panel, choose the Closed captions in the video engine and Teletext subtitles in an MXF (OP-47), then Read captions. Read the CEA-608 / 708 page for the rest.

From an MCC file. A MacCaption file of OP-47 teletext alone opens as its subtitle page.

Subtitld reads:

  • the character set the header and an X/28 or M/29 packet choose, else the set the page's language uses;
  • characters and marks placed by X/26, Arabic and Hebrew in the order they are read;
  • colours, backgrounds and double height; a mosaic character as a space;
  • the rows a subtitle is on as its place at the top, middle or bottom, and its columns as left, centre or right;
  • a single wrong bit in an address, put right.

Times count from the start of the file, as FFmpeg counts them.

Writing teletext subtitles

Into a transport stream. In Export, under Video, choose Transport stream (.ts), Embedded, subtitle track, and Teletext pages as the Track format. The original goes on page 888; A track for each translation as well adds 889, 890 … The picture and sound are copied, not encoded again.

Into an MXF. Under Video, choose MXF (.mxf) and tick Teletext subtitles too, as OP-47 page 888: the subtitles go in each frame's ancillary data beside the closed captions.

Into an MCC file. Choose MCC under Subtitles, and CEA-608, CEA-708 and OP-47 teletext as its Captions.

Each subtitle is written double height and boxed, centred on the bottom rows, or the top or middle ones for a subtitle placed there, and erased when it ends, or replaced when the next one starts at once. A page is written in the set its language has, or the first that holds all its text; the western European Latin sets need no X/28 packet, the others get one. A character the set lacks is placed by X/26, and Arabic is shaped, each letter in the form the set has nearest the one it takes.

Trivia

1979

Ceefax, the BBC's teletext service, carried its first subtitled programmes. Subtitles later settled on page 888.

RDD 8

Free TV Australia's OP-47, which carries teletext subtitles in HD video's ancillary data, was registered with SMPTE as RDD 8 in 2006.

FF

The page number no page has. Subtitld sends its header after each subtitle, so receivers that wait for the next header show the subtitle at once.

Related formats

Have a 888 to fix?

Open it in Subtitld with the video and retime it on the waveform.

Download Subtitld