SIST EN 300 743 V1.2.1:2005
(Main)Digital Video Broadcasting (DVB); Subtitling systems
- Abstract
Updating of existing document following operational experience of the previous version in the UK and elsewhere.
- Status
- Published
- Publication Date
- 31-Oct-2005
- Technical Committee
- RES - Radio equipment and systems
- Current Stage
- 6060 - National Implementation/Publication (Adopted Project)
- Start Date
- 01-Nov-2005
- Due Date
- 01-Nov-2005
- Completion Date
- 01-Nov-2005
SIST EN 300 743 V1.2.1:2005 is the SIST adoption of the ETSI European Standard for Digital Video Broadcasting (DVB) subtitling systems. It specifies how subtitles, logos and other graphical elements are coded and carried in DVB bitstreams, using Colour Look-Up Tables (CLUTs) and MPEG-2 transport, for broadcasters, subtitle-service providers and receiver or decoder implementers.
What does SIST EN 300 743 V1.2.1:2005 specify?
SIST EN 300 743 V1.2.1:2005 specifies the DVB subtitling system for transport and coding of subtitle data in DVB bitstreams. The scope covers subtitles, logos and other graphical elements, and states that transport is based on the MPEG-2 system in ISO/IEC 13818-1.
The document is organized into clauses for scope, references, definitions and abbreviations, an introduction to the DVB subtitling system, the subtitle decoder model, PES packet format, PES packet data syntax, subtitling-data requirements, colour-component translation, default CLUTs and map-tables, and an informative clause on pixel-code-string structure. Annex A gives explanatory examples of how the system works, and Annex B is a bibliography.
The scope also notes features that rely on private agreement between the data provider and the decoder manufacturer, such as referencing objects resident in ROM and using character codes or strings instead of graphical objects.
What are the key requirements of SIST EN 300 743 V1.2.1:2005?
SIST EN 300 743 V1.2.1:2005 defines a layered carriage model: subtitle segments are carried in PES packets, which are carried in transport packets, and all packets for a subtitle stream use the same PID. In practice, this is the basis for how a receiver finds the subtitle service in a transport stream.
Transport, timing and service signaling
Clause 6 and clause 7 require the PES packet to use private_stream_1, set the data alignment indicator, and carry a Presentation Time Stamp (PTS) for presentation timing. Clause 4.2 and clause 8.3 require PTS values to remain the same or increase monotonically, so subtitle display follows presentation order.
The subtitling descriptor in EN 300 468 signals the composition page id and, optionally, the ancillary page id for each subtitle service. In practice, this is how a broadcaster ties a subtitle service to the right PID, language and shared data.
Page, region and display-set structure
Clause 7.2.1 defines the page composition segment, which lists the regions for a page and places them on screen. Clause 7.2.2 defines the region composition segment, which defines the objects inside a region and the region attributes.
The page state values normal case, acquisition point and mode change matter operationally because they control whether the stream carries a page update, a page refresh, or a new page. A mode change or acquisition point display set must include a complete set of region composition segments for the epoch, which lets decoders plan memory use before rendering.
Decoder model and memory planning
Clause 5 defines a decoder model with a 512 byte transport buffer, a 24 kbyte coded-data buffer, a 4 kbyte composition buffer and an 80 kbyte pixel buffer. The standard uses this model to define what a compliant subtitle stream must let practical decoders handle.
The epoch concept in clause 5.1 is important because a mode change page composition segment resets decoder state, while an acquisition point should support fast service acquisition without disturbing the display. In practice, that means broadcasters can choose between a hard change and a smoother refresh strategy.
Layout and overlap rules
Clause 7.2.1 and clause 8.4 require regions to be positioned so they do not share horizontal scan lines, and clause 8.4.2 requires objects within the same display set not to overlap. Clause 8.4.3 states that new object pixels overwrite existing region content, so the encoder has to plan object placement carefully.
Clause 7.2.1 also constrains region coordinates to the 720 by 576 active frame used by the system. In practice, this keeps subtitle graphics within the expected television picture area.
Region compatibility, depth and colour coding
Clause 7.2.2 defines region_depth values of 2, 4 or 8 bits and links each region to a CLUT family by CLUT_id. Clause 7.2.2 also defines region_level_of_compatibility, which states the minimum CLUT type a decoder needs before it may present that region.
Clause 7.2.3 defines CLUT entries in Y, Cr, Cb and T terms, with either full 8-bit values or reduced-resolution values, and clause 10 defines default CLUT contents and map-table contents. For implementers, this means colour mapping is not ad hoc: decoders are expected to translate indexed pixel codes through the defined CLUT and default tables.
Object coding and run-length compression
Clause 7.2.4 defines object data segments for graphical objects and character-coded objects. For graphical objects, pixel data is carried in 2-bit, 4-bit or 8-bit pixel-code strings with run-length coding and an end of object line code; for character-coded objects, the segment carries character codes.
Clause 7.2.4.1 and 7.2.4.2 also define map-tables for switching between reduced coding schemes and the full CLUT range. In practice, this lets one subtitle service serve receivers with different colour capabilities while keeping bandwidth under control.
What terms does SIST EN 300 743 V1.2.1:2005 define?
- Subtitle stream - A stream of subtitling segments carried in transport packets with the same PID; it can contain one or more subtitle services.
- Subtitle service - The subtitle delivery for one purpose, such as one language or hearing-impaired subtitles, shown as one or more pages.
- Page - The set of subtitles for a service during a period, made up of one or more page instances.
- Page composition - The use and positioning of regions that may be displayed within the page.
- Region - A rectangular area on the page where objects are positioned.
- Display set - The set of subtitle segments for one subtitle service that share the same PTS.
- CLUT (Colour Look-Up Table) - A lookup table used in each region to translate pixel pseudo-colours into display colours.
- PTS (Presentation Time Stamp) - The timing value that tells the decoder when the decoded subtitle is to be presented.
Who uses SIST EN 300 743 V1.2.1:2005?
SIST EN 300 743 V1.2.1:2005 is used by broadcasters, subtitle-service providers, receiver and decoder manufacturers, and transport-stream engineers. It is also relevant to equipment designers who implement IRD subtitle rendering, buffering and CLUT handling.
In practice, broadcasters and service providers use it to define subtitle services, page identifiers, shared ancillary data and timing. Manufacturers use it to design compliant decoders, choose supported pixel depths, and manage memory, region layout and colour translation.
What changed in SIST EN 300 743 V1.2.1:2005 from the previous edition?
SIST EN 300 743 V1.2.1:2005 is an update of the existing document following operational experience of the previous version in the UK and elsewhere. The document history shows earlier publication as ETS 300 743 and later publication of EN 300 743 V1.2.1.
Which standards are used with SIST EN 300 743 V1.2.1:2005?
The document cites ISO/IEC 13818-1 for MPEG-2 systems and for the definitions of TS, PES, PID and PTS. It cites EN 300 468 for Service Information and the subtitling descriptor that signals page ids.
It also cites ITU-R Recommendation BT.601 for studio encoding parameters and for Y, Cr and Cb meanings, and ITU-R Recommendation BT.656-4 for digital component video interface conventions. Annex B cites ISO/IEC 10646-1 in the bibliography.
What does the SIST EN 300 743 V1.2.1:2005 document contain?
The document contains the normative syntax and semantics for page composition segments, region composition segments, CLUT definition segments, object data segments and end-of-display-set segments. It also contains the decoder model, memory assumptions, rendering-bandwidth model, colour-reduction rules and default CLUT/map-table contents.
Several tables define segment types, page-state effects, region compatibility levels, object coding methods, CLUT defaults and run-length pixel-code strings. Figures in the main text and Annex A illustrate the decoder model, colour translation and example operating patterns such as double buffering, instant graphics and stenographic subtitles.
Annex A explains how the subtitling system works in practice, including epoch boundaries, service acquisition, region-based graphics and colour quantization. Annex B is a bibliography.
Get Certified
Connect with accredited certification bodies for this standard

ANCE
Mexican certification and testing association.

Intertek Slovenia
Intertek testing, inspection, and certification services in Slovenia.

LNE (Laboratoire National de Métrologie et d'Essais)
French national laboratory for metrology and testing.
Sponsored listings
Frequently Asked Questions
SIST EN 300 743 V1.2.1:2005 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Digital Video Broadcasting (DVB); Subtitling systems". This standard covers: Updating of existing document following operational experience of the previous version in the UK and elsewhere.
Updating of existing document following operational experience of the previous version in the UK and elsewhere.
SIST EN 300 743 V1.2.1:2005 is classified under the following ICS (International Classification for Standards) categories: 33.170 - Television and radio broadcasting. The ICS classification helps identify the subject area and facilitates finding related standards.
SIST EN 300 743 V1.2.1:2005 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- 1 Scope
- 2 References
- 3 Definitions and abbreviations
- 3.1 Definitions
- 7 ETSI EN 300 743 V1.2.1 (2002-10)
- 8 ETSI EN 300 743 V1.2.1 (2002-10)
- 3.2 Abbreviations
- 9 ETSI EN 300 743 V1.2.1 (2002-10)
- 4 Introduction to DVB subtitling system
- 4.1 Overview
- 10 ETSI EN 300 743 V1.2.1 (2002-10)
- 11 ETSI EN 300 743 V1.2.1 (2002-10)
- 4.2 Data hierarchy and terminology
- 12 ETSI EN 300 743 V1.2.1 (2002-10)
- 13 ETSI EN 300 743 V1.2.1 (2002-10)
- 4.3 Temporal hierarchy and terminology
- 5 Subtitle decoder model
- 14 ETSI EN 300 743 V1.2.1 (2002-10)
- 5.1 Decoder temporal model
- 15 ETSI EN 300 743 V1.2.1 (2002-10)
- 16 ETSI EN 300 743 V1.2.1 (2002-10)
- 5.2 Buffer memory model
- 17 ETSI EN 300 743 V1.2.1 (2002-10)
- 5.3 Cumulative display construction
- 5.4 Decoder rendering bandwidth model
- 18 ETSI EN 300 743 V1.2.1 (2002-10)
- 6 PES packet format
- 19 ETSI EN 300 743 V1.2.1 (2002-10)
- 7 The PES packet data for subtitling
- 7.1 Syntax and semantics of the PES data field for subtitling
- 7.2 Syntax and semantics of the subtitling segment
- 20 ETSI EN 300 743 V1.2.1 (2002-10)
- 21 ETSI EN 300 743 V1.2.1 (2002-10)
- 22 ETSI EN 300 743 V1.2.1 (2002-10)
- 23 ETSI EN 300 743 V1.2.1 (2002-10)
- 24 ETSI EN 300 743 V1.2.1 (2002-10)
- 25 ETSI EN 300 743 V1.2.1 (2002-10)
- 26 ETSI EN 300 743 V1.2.1 (2002-10)
- 27 ETSI EN 300 743 V1.2.1 (2002-10)
- 28 ETSI EN 300 743 V1.2.1 (2002-10)
- 29 ETSI EN 300 743 V1.2.1 (2002-10)
- 30 ETSI EN 300 743 V1.2.1 (2002-10)
- 31 ETSI EN 300 743 V1.2.1 (2002-10)
- 8 Requirements for the subtitling data
- 8.1 Scope of Identifiers
- 8.2 Scope of dependencies
- 8.3 Order of delivery
- 32 ETSI EN 300 743 V1.2.1 (2002-10)
- 8.4 Positioning of regions and objects
- 9 Translation to colour components
- 33 ETSI EN 300 743 V1.2.1 (2002-10)
- 34 ETSI EN 300 743 V1.2.1 (2002-10)
- 10 Default CLUTs and map-tables contents
- 35 ETSI EN 300 743 V1.2.1 (2002-10)
- 36 ETSI EN 300 743 V1.2.1 (2002-10)
- 37 ETSI EN 300 743 V1.2.1 (2002-10)
- 11 Structure of the pixel code strings (informative)
- 38 ETSI EN 300 743 V1.2.1 (2002-10)
- 39 ETSI EN 300 743 V1.2.1 (2002-10)
- 40 ETSI EN 300 743 V1.2.1 (2002-10)
- 41 ETSI EN 300 743 V1.2.1 (2002-10)
- 42 ETSI EN 300 743 V1.2.1 (2002-10)
- 43 ETSI EN 300 743 V1.2.1 (2002-10)
- 44 ETSI EN 300 743 V1.2.1 (2002-10)
- 45 ETSI EN 300 743 V1.2.1 (2002-10)
- 46 ETSI EN 300 743 V1.2.1 (2002-10)
- 47 ETSI EN 300 743 V1.2.1 (2002-10)
- Bibliography
- 48 ETSI EN 300 743 V1.2.1 (2002-10)
1 Scope
The present document specifies the method by which subtitles, logos and other graphical elements may be coded and carried in DVB bitstreams. The system applies Colour Look-Up Tables (CLUTs) to define the colours of the graphical elements. The transport of the coded graphical elements is based on the MPEG-2 system described in ISO/IEC 13818-1 [1].
2 References
The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
- References are either specific (identified by date of publication and/or edition number or version number) or non-specific.
- For a specific reference, subsequent revisions do not apply.
- For a non-specific reference, the latest version applies.
[1] ISO/IEC 13818-1: "Information technology - Generic coding of moving pictures and associated audio information: Systems".
[2] ETSI EN 300 468: "Digital Video Broadcasting (DVB); Specification for Service Information (SI) in DVB systems".
[3] ITU-R Recommendation BT.601: "Studio encoding parameters of digital television for standard 4:3 and wide-screen 16:9 aspect ratios".
[4] ITU-R Recommendation BT.656-4: "Interfaces for digital component video signals in 525-line and 625-line television systems operating at the 4:2:2 level of Recommendation ITU-R BT.601 (Part A)".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the following terms and definitions apply:
ancillary page: means of conveying subtitle elements that may be shared by multiple subtitle services within a subtitle stream NOTE: For example, an ancillary page can be used to carry logos or character glyphs. Colour Look-Up Table (CLUT): look-up table applied in each region for translating the objects' pseudo-colours into the correct colours to be displayed CLUT-family: family of CLUTs which may consist of:
- one CLUT with 4 entries;
- one CLUT with 16 entries;
- one CLUT with 256 entries.
ETSI
SIST EN 300 743 V1.2.1:2005
7 ETSI EN 300 743 V1.2.1 (2002-10)
A CLUT-family is used in a region to define colours for decoders with different rendering capabilities. NOTE: Three CLUTs are defined to allow flexibility in the decoder design. Not all decoders may support a CLUT with 256 entries, some may provide sixteen or even only four entries. A palette of four colours might be enough for graphics that are basically monochrome, like very simple subtitles, while a palette of sixteen colours allows for cartoon-like coloured objects or coloured subtitles with antialiassed edges. composition page: means of conveying subtitle elements for one specific subtitle service display set: set of subtitle segments of a specific subtitle service to which the same PTS value is associated epoch: period of time for which the decoder maintains an invariant memory layout NOTE: This layout may be altered by resets to the decoder state caused by receiving page composition segments with page state = "mode change". The end of an epoch therefore signals the "death" of a page. The epoch may, if so desired, be considered to be the highest level data structure in DVB subtitling. object: graphical unit that can be positioned within a region; examples of an object include a character glyph, a logo, a map, etc.
NOTE: Each object has its own object_id.
Packet IDentifier (PID): Transport packet identifier NOTE: See ISO/IEC 13818-1 [1].
page: Set of subtitles for a subtitle service during a certain period. A page consists of one or more page instances. Each page update or refresh will result in a new page instance. A page contains a number of regions, and in each region there may be a number of objects.
page composition: composition (use and positioning) of regions that may be displayed within the page NOTE: At any new page instance the page composition may change; for example, some regions may not yet or no longer be displayed. At any one time, only one page composition can be active for displaying. page instance: period of time during which that page does not change i.e. there is no change to the page composition, to any region composition, to any object within a region or any applicable CLUT NOTE: Typically, a new page instance is defined by the PTS of a display set. PES packet: See ISO/IEC 13818-1 [1].
pixel-data: string of data bytes that contains, in coded form, the representation of a graphical object Presentation Time Stamp (PTS): See ISO/IEC 13818-1 [1].
region: rectangular area on the page in which objects can be positioned NOTE: Regions may be shared by multiple subtitling services within the same subtitle stream. Objects that share one or more horizontal scan lines on the screen are included in the same region. region composition: composition (use and positioning) of objects within a region subtitle element: subtitle data used within a page composition and contained within a subtitle segment NOTE: Regions, region compositions, CLUTs and object data are examples of subtitle elements. subtitle segment: basic syntactical element of a subtitle stream subtitle service: service that provides subtitling for a program for a certain purpose, such as subtitles in a specific language or for the hard of hearing NOTE 1: A subtitle service is displayed as a series of one or more pages. NOTE 2: Typically, a subtitle service meets a single communication requirement (e.g. the graphics to provide subtitles in one language for one program).
ETSI
SIST EN 300 743 V1.2.1:2005
8 ETSI EN 300 743 V1.2.1 (2002-10)
subtitle stream: stream of subtitling segments carried in transport packets identified by the same PID NOTE: A subtitle stream contains one or more subtitle services. transport packet: See ISO/IEC 13818-1 [1].
transport stream: stream of transport packets carrying one or more MPEG programs NOTE: See ISO/IEC 13818-1 [1].
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
bslbf bit string, left bit first Cb Chrominance value NOTE: As defined in ITU-R Recommendation BT.601 [3], clause 7.2.3. CLUT Colour Look-Up Table Cr Chrominance value NOTE: As defined in ITU-R Recommendation BT.601 [3], see clause 7.2.3. DVB Digital Video Broadcasting IRD Integrated Receiver Decoder MPEG Moving Pictures Experts Group (WG11 in SC 29 of JTC1 of ISO/IEC) PCR Programme Clock Reference PCS Page Composition Segment PES Packetized Elementary Stream NOTE: As defined in ISO/IEC 13818-1 [1].
PID Packet IDentifier NOTE: As defined in ISO/IEC 13818-1 [1].
PID transport packet identifier NOTE: As defined in ISO/IEC 13818-1 [1].
PMT Program Map Table NOTE: As defined in ISO/IEC 13818-1 [1].
PTS Presentation Time Stamp NOTE: As defined in ISO/IEC 13818-1 [1].
RCS Region Composition Segment ROM Read-Only Memory T Transparency value TS Transport Stream NOTE: As defined in ISO/IEC 13818-1 [1].
uimsbf unsigned integer, most significant bit first Y luminance value NOTE: As defined in ITU-R Recommendation BT.601 [3], see clause 7.2.3. ETSI
SIST EN 300 743 V1.2.1:2005
9 ETSI EN 300 743 V1.2.1 (2002-10)
4 Introduction to DVB subtitling system
The present document specifies the DVB subtitling system for the transport and coding of subtitles.
4.1 Overview
The DVB subtitling system defined in the present document provides a syntax for decoding subtitle streams. A subtitle stream conveys one or more subtitle services; each service containing the textual and/or graphical information needed to provide subtitles or glyphs for a particular purpose. Separate subtitle services may be used, for example, to convey subtitles in several languages.
Each subtitle service displays its information in a sequence of so-called pages that are intended to be overlayed on the associated video image. A subtitle page contains one or more regions, each region being a rectangular area with a specified set of attributes. These attributes include a region identifier, the horizontal and vertical size, pixel depth and background colour. A region is used as the background structure into which graphical objects are placed. An object may represent a character, a word, a line of text or an entire sentence; it might also define a logo or icon. The use and positioning of objects within a region is defined by the region composition segment. The use and positioning of regions within a page is defined by the page composition segment, in which a list of displayed regions is provided, each with their own spatial position. A page composition need not change when objects are added to or removed from a region. Furthermore regions may be declared but not used. By way of example one region can be used to display multiple subtitle fragments, as depicted in figure 1. First the text "Shall we?" is displayed in the region; subsequently this text is removed and the new text "Said the fly on the mirror" is displayed. It is possible to use more than one region at the same time; for example one region could be used to display subtitles on the bottom of the screen, while another one might be used to display a logo somewhere else on the screen.
Region 1
Shall we ?
Said the fly on the mirror.
Region 2
Figure 1: Two regions overlayed on top of video; one with a logo and another one with subtitles. The subtitles are positioned within the same region.
A DVB subtitle stream is carried in PES packets and the timing of their presentation is defined by the PTS in the PES header. Upon reception and decoding of the subtitle data for a page (such as the page composition, the region composition, the objects to be used and any other associated data) the page contents are displayed at the time indicated by the associated PTS. When objects are to be added, the decoder receives region composition updates and the data for the new objects, and will display the updated page at the time indicated by the new PTS. At the page update only page differences need be provided. To improve random access to DVB subtitling, a page refresh is also possible. At page refresh all the subtitling data needed to display a page is provided. Each page update or refresh will result in a new page instance. A page ceases to exist after the time-out of the page, or when a new page is defined. To provide efficient use of display memory in the decoder the DVB subtitling system uses region based graphics with indexed pixel colours. Pixel depths of 2, 4 and 8-bits are supported allowing up to 4, 16 or 256 different pixel codes to be used in each region. Each region is associated with a single CLUT family to define the colour and transparency for each of the pixel codes. In most cases, one CLUT is sufficient to present correctly the colours of all objects in a region, but if it is not enough, the objects can be split horizontally into smaller objects across separate vertically adjacent regions with one CLUT each.
ETSI
SIST EN 300 743 V1.2.1:2005
10 ETSI EN 300 743 V1.2.1 (2002-10)
The use of CLUTs allows colour schemes to be dynamic. The colours that correspond to the entries within the region can be redefined at any suitable time, for instance in case of a CLUT with four entries from a black-grey-white scheme to a blue-grey-yellow scheme. Furthermore, a graphical unit may be divided into several regions each using a different CLUT, i.e. a different colour scheme may be applied in each of the regions. At the discretion of the encoder, objects designed for displays supporting 16 or 256 colours can be decoded into displays supporting fewer colours. A quantization algorithm is defined to ensure that the result of this process can be predicted by the originator. Use of this feature allows a single data stream to be decoded by a population of decoders with mixed, and possibly evolving, capabilities.
A subtitle stream may transport multiple subtitle service components. In this case the pages of one particular subtitle service are all identified by the same page-id value. This value is used when transporting the subtitling data so as to provide a mechanism to retrieve the data that is specific to a service from a subtitle stream. The subtitling system allows sharing of subtitling data between services within the same subtitle stream. A frequent and often preferred method is to convey the distinct services in different streams on separate PIDs. In either case the appropriate PID, language and page-ids will be signalled in the program map table (PMT) for the television service of interest (language and page-id in the subtitling descriptor defined in DVB-SI [2]). These two approaches are illustrated in figure 2.
PMT
PID = X language = spanish composition-page_id = 1 ancillary-page _id = 3 Subtitle descriptors associated with this language = italian subtitle stream in the composition-page_id = 2 PMT ancillary-page_id = 3 PES packet data Subtitle data signalled Subtitle data signalled Subtitle data signalled by page-id = 3 by page-id = 2 by page-id = 1 (shared) (italian) (spanish) PID = X
Figure 2a: Example of use of different page_ids to distinguish between different subtitle languages for the same service (shown with a shared ancillary page)
PMT PID = X language = spanish composition-page_id = 1 Subtitle descriptors ancillary-page_id = 1 associated with these PID=Y subtitle streams in the language = italian PMT composition-page_id = 1 ancillary-page_id = 1 PES packet data Subtitle data signalled by page_id = 1 (spanish) PID = X
PES packet data Subtitle data signalled by page_id = 1 (italian) PID = Y
Figure 2b: Example of use of PIDs to distinguish between different subtitle languages for the same service (shown with no ancillary page) Figure 2: Example of two ways of conveying dual language subtitles (one using shared data) ETSI
SIST EN 300 743 V1.2.1:2005
11 ETSI EN 300 743 V1.2.1 (2002-10)
In summary, the DVB subtitling system provides a number of techniques that allow efficient transmission of the subtitling data:
- objects that occur more than once within a region need only be transmitted once, and then positioned multiple times within the region;
- objects used in more than one subtitle service need only be transmitted once;
- pixel data within objects are compressed using run-length coding;
- where the gamut of colours required for part of a graphical object is suitably limited, that part can be coded using a smaller number of bits per pixel and a map table. For example, an 8-bit per pixel graphical object may contain areas coded as 4 or 2-bits per pixel each preceded by a map table to map the 16 or 4 colours used onto the 256 colour set of the region. Similarly, a 4-bit per pixel object may contain areas coded as 2-bits per pixel;
- colour definitions can be coded using either 16 or 32-bits per CLUT entry. This provides a trade-off between colour accuracy and transmission bandwidth;
- only those CLUT values to be used need be transmitted.
The above features are fully supported within the DVB subtitling system. In addition, functionality is provided to allow more efficient operation where there are private agreements between the data provider and the manufacturer of the decoder:
- objects resident in ROM in the decoder can be referenced;
- character codes, or strings of character codes, can be used instead of objects with the graphical representation of the character(s). This requires the decoder to be able to generate glyphs for these codes. The private agreements required to enable these features are beyond the scope the present document.
4.2 Data hierarchy and terminology
The basic "building block" of a DVB subtitle stream is the subtitling segment. These segments are carried in PES packets, which are in turn carried by transport packets. The number of segments carried in a PES packet is only limited by the maximum length of a PES packet, as defined by ISO/IEC 13818-1 [1]. A subtitle stream shall be carried in transport packets identified by the same PID. A single subtitle stream can carry several different subtitle services. All the subtitling data required for a subtitle service shall be carried by a single subtitle stream. The different subtitle services can be subtitles in different languages for a common program. Alternatively, they could in principle be for different programs (provided that the programs share a common PCR). Different subtitle services can also be supplied to address different display characteristics or to address special needs. For instance:
- different subtitle services might be provided for 4:3 and 16:9 aspect ratio displays;
- subtitle services might be provided specifically for viewers with impaired hearing. These may include graphical representations of sounds.
Within a subtitle stream, a page id value is assigned to each segment. Segments can either contain data specific for one subtitle service, or data that is to be shared by more than one subtitle service. The data for a subtitle service shall be carried in segments identified by at most two different page id values:
- one page id value signalling segments with data specific for that subtitle service; the use of this type of data is mandatory;
- one page id value signalling segments with data that may be shared by multiple subtitle services; the use of this type of data is optional.
ETSI
SIST EN 300 743 V1.2.1:2005
12 ETSI EN 300 743 V1.2.1 (2002-10)
For each subtitle service a subtitling_descriptor as defined in EN 300 468 [2] signals the page id values of the segments needed to decode that subtitle service. The subtitling descriptor shall be included in the PMT of the program and shall be associated to the PID that conveys the subtitle stream. In the subtitling descriptor the page id of segments with data specific to that service is referred to as the composition page id, while the page id of segments with shared data is referred to as the ancillary page id. For example, the ancillary page id might signal segments carrying a logo that is common to subtitles in several different languages.
The PTS in the PES packet header provides presentation timing information for the subtitling data, and is associated with the subtitle data in all segments carried in that PES packet. The PTS defines the time at which the associated decoded segments should be presented. This may include removal of subtitles, for example when an entire region is removed or when all objects in a region are removed. There may be two or more PES packets with the same PTS value, for example when it is not possible or desirable to include all segments associated to the same PTS in one PES packet. The complete set of segments of a subtitle service that are associated to the same PTS is referred to as a display set. The last segment of a display set shall be followed by an "end_of-display-set segment", which signals that no more subtitling data associated to a certain PTS is needed for that service before decoding can commence. The display sets shall be delivered in their correct presentation-order, and the PTSs of subsequent display sets shall differ by more than one video frame period.
For carriage of multiple types of subtitling data, several segment types are defined, in particular:
...



