ISO/IEC 1-13818 IS
INTERNATIONAL ORGANISATION FOR STANDARDISATION
ORGANISATION INTERNATIONALE DE NORMALISATION
ISO/IEC JTC1/SC29/WG11
CODING OF MOVING PICTURES AND ASSOCIATED AUDIO
ISO/IEC JTC1/SC29/WG11 N0801
13 November 1994
Systems
INFORMATION TECHNOLOGY -
GENERIC CODING OF MOVING PICTURES AND
ASSOCIATED AUDIO: SYSTEMS
Recommendation H.222.0
ISO/IEC 13818-1
International Standard
Draft of: 1540 Sun 13 Nov 1994
© ISO/IEC ISO/IEC 13818-1: 1994(E)
Contents
Page
Foreword...................................................................................................................................... ix
Introduction - PART 1 Systems.................................................................................................... x
0.1 Transport Stream..................................................................................................... xii
0.2 Program Stream...................................................................................................... xiv
0.3 Conversion between Transport Stream and Program Stream.................................xv
0.4 Packetized Elementary Stream...............................................................................xvi
0.5 Timing model........................................................................................................... xvi
0.6 Conditional access.................................................................................................. xvi
0.7 Multiplex-wide operations.......................................................................................xvii
0.8 Individual stream operations...................................................................................xvii
0.8 1 De-multiplexing.......................................................................................xvii
0.8 2 Synchronization.......................................................................................xvii
0.8 3 Relation to compression layer................................................................xviii
0.9 System reference decoder..................................................................................... xviii
0.10 Applications.......................................................................................................... xviii
Section 1: General........................................................................................................................ 1
1.1 Scope......................................................................................................................... 1
1.2 References................................................................................................................. 1
1.3 Identical Recommendations |International Standards................................................2
1.4 Additional references.................................................................................................2
Section 2 Technical elements....................................................................................................... 3
2.1 Definitions..................................................................................................................3
2.2 Symbols and abbreviations........................................................................................ 6
2.2.1Arithmetic operators....................................................................................6
2.2.2 Logical operators........................................................................................7
2.2.3 Relational operators...................................................................................7
2.2.4 Bitwise operators........................................................................................8
2.2.5 Assignment................................................................................................8
2.2.6 Mnemonics................................................................................................. 8
2.2.7 Constants...................................................................................................9
2.3 Method of describing bit stream syntax.....................................................................9
2.4 Transport Stream bitstream requirements...............................................................10
2.4.1 Transport Stream coding structure and parameters.................................10
2.4.2 Transport Stream system target decoder.................................................11
2.4.3 Specification of the Transport Stream syntax and semantics..................21
2.4.3.1 Transport Stream.....................................................................21
2.4.3.2 Transport Stream packet layer.................................................22
2.4.3.3 Semantic definitions of fields in Transport Stream
packet layer.......................................................................................... 22
2.4.3.4 Adaptation field........................................................................24
2.4.3.5 Semantic definitions of fields in adaptation field.......................25
2.4.3.6 PES packet..............................................................................33
ITU-T Rec. H.222.0 (1995 E) ii
© ISO/IEC 1994
All rights reserved. No part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission
in writing from the publisher.
ISO/IEC Copyright Office • Case Postale 56 • CH1211 Genève 20 • Switzerland
Printed in Switzerland.
© ISO/IEC ISO/IEC 13818-1: 1994(E)
2.4.3.7 Semantic definitions of fields in PES packet............................36
2.4.3.8 Carriage of Program Streams and ISO/IEC 11172-1
Systems streams in the Transport Stream...........................................44
2.4.4 Program specific information....................................................................44
2.5 Program Stream bitstream requirements.................................................................53
2.5.1 Program Stream coding structure and parameters..................................53
2.5.2 Program Stream system target decoder..................................................53
2.5.3 Specification of the Program Stream syntax and semantics....................57
2.5.3.1 Program Stream.......................................................................57
2.5.3.2 Semantic definition of fields in Program Stream......................58
2.5.3.3 Pack layer of Program Stream.................................................58
2.5.3.4 Semantic definition of fields in program stream pack...............59
2.5.3.5 System header.........................................................................59
2.5.3.6 Semantic definition of fields in system header.........................60
2.5.4 Program Stream map...............................................................................62
2.5.5 Program Stream directory........................................................................64
2.6 Program and program element descriptors..............................................................67
2.6.1 Semantic definition of fields in program and program element
descriptors......................................................................................................... 67
2.6.2 Video stream descriptor...........................................................................68
2.6.3 Semantic definition of fields in video stream descriptor............................69
2.6.4 Audio stream descriptor...........................................................................70
2.6.5 Semantic definition of fields in audio stream descriptor...........................70
2.6.6 Hierarchy descriptor.................................................................................70
2.6.7 Semantic definition of fields in hierarchy descriptor.................................71
2.6.8 Registration descriptor.............................................................................71
2.6.9 Semantic definition of fields in registration descriptor..............................72
2.6.10 Data stream alignment descriptor..........................................................72
2.6.11 Semantic definition of fields in data stream alignment descriptor...........72
2.6.12 Target background grid descriptor.........................................................73
2.6.13 Semantic definition of fields in target background grid descriptor..........73
2.6.14 Video window descriptor........................................................................74
2.6.15 Semantic definition of fields in video window descriptor.........................74
2.6.16 Conditional access descriptor.................................................................74
2.6.17 Semantic definition of fields in conditional access descriptor.................75
2.6.18 ISO 639 language descriptor..................................................................75
2.6.19 Semantic definition of fields in ISO 639 language descriptor.................75
2.6.20 System clock descriptor.........................................................................76
2.6.21 Semantic definition of fields in system clock descriptor..........................76
2.6.22 Multiplex buffer utilization descriptor......................................................76
2.6.23 Semantic definition of fields in multiplex buffer utilization
descriptor.......................................................................................................... 77
2.6.24 Copyright descriptor...............................................................................77
2.6.25 Semantic definition of fields in copyright descriptor................................77
2.6.26 Maximum bitrate descriptor....................................................................78
2.6.27 Semantic definition of fields in maximum bitrate descriptor....................78
2.6.28 Private data indicator descriptor.............................................................78
2.6.29 Semantic definition of fields in Private data indicator descriptor............78
2.6.30 Smoothing buffer.................................................................................... 78
2.6.31 Semantic definition of fields in smoothing buffer descriptor...................79
2.6.32 STD descriptor.......................................................................................79
2.6.33 Semantic definition of fields in STD descriptor.......................................80
2.6.34 IBP_descriptor........................................................................................ 80
2.6.35 Semantic definition of fields in IBP_descriptor.......................................80
2.7 Restrictions on the multiplexed stream semantics...................................................80
2.7.1 Frequency of coding the system clock reference.....................................80
2.7.2 Frequency of coding the program clock reference...................................81
2.7.3 Frequency of coding the elementary stream system clock
reference........................................................................................................... 81
2.7.4 Frequency of presentation_time_stamp coding........................................81
ITU-T Rec. H.222.0 (1995 E) iii
© ISO/IEC ISO/IEC 13818-1: 1994(E)
2.7.5 Conditional coding of time stamps...........................................................81
2.7.6 Timing constraints for scalable coding.....................................................82
2.7.7 Frequency of coding P-STD_buffer_size in PES packet headers............83
2.7.8 Coding of system header in the Program Stream....................................83
2.7.9 Constrained system parameter Program Stream.....................................83
2.7.10 Transport Stream...................................................................................84
2.8 Compatibility with ISO/IEC 11172............................................................................85
Annexes
A Digital Storage Medium Command and Control [DSM CC].....................................................86
B CRC Decoder Model............................................................................................................... 98
C Program Specific Information................................................................................................100
D ITU-T Rec. H.222.0 |ISO/IEC 13818-1 Systems Timing Model and Application
Implications............................................................................................................................... 109
E Data Transmission Applications............................................................................................ 120
F Graphics of Syntax for ITU-T Rec. H.222.0 | ISO/IEC 13818-1............................................121
G General Information.............................................................................................................. 127
H Private Data.......................................................................................................................... 128
I List of companies having provided patent statements for ITU-T Rec H.222.0 | ISO/IEC
13818 130
J Systems conformance and real-time interface.......................................................................132
K Interfacing Jitter-Inducing Networks to MPEG-2 Decoders...................................................133
L Splicing Transport Streams................................................................................................... 137
ITU-T Rec. H.222.0 (1995 E) iv
© ISO/IEC ISO/IEC 13818-1: 1994(E)
List of Figures
0-1 -- Simplified overview of ITU-T Rec. H.222.0 | ISO/IEC 13818-1 scope................................xi
0-2 -- Prototypical transport demultiplexing and decoding example...........................................xiii
0-3 -- Prototypical transport multiplexing example......................................................................xiii
0-4 -- Prototypical Transport Stream to Program Stream conversion........................................xiv
0-5 -- Prototypical decoder for program streams........................................................................xv
2-6 -- Transport Stream system target decoder notation............................................................12
2-7 -- Program Stream system target decoder notation.............................................................54
2-8 -- Target background grid descriptor display area................................................................73
A-1 -- Configuration of DSM CC application...............................................................................88
A-2 -- DSM CC bitstream decoded as a standalone bitstream...................................................89
A-3 -- DSM CC bitstream decoded as part of the system bitstream...........................................89
B-1 -- 32 bit CRC decoder model............................................................................................... 98
C-1 -- Program and network mapping relationships.................................................................104
D-1 -- Constant delay model..................................................................................................... 109
D-2 -- STC recovery using PLL................................................................................................113
F-1 -- Transport Stream syntax diagram..................................................................................121
F-2 -- PES packet syntax diagram............................................................................................122
F-3 -- Program association section diagram.............................................................................122
F-4 -- Conditional access section diagram...............................................................................123
F-5 -- TS program map section diagram..................................................................................123
F-6 -- Private section diagram.................................................................................................. 124
F-7 -- Program Stream diagram...............................................................................................125
F-8 -- Program Stream map diagram.......................................................................................125
K-1 -- Sending system streams over a jitter-inducing network.................................................134
K-2 -- Jitter smoothing using network-layer timestamps...........................................................135
K-3 -- Integrated dejittering and MPEG-2 decoding..................................................................136
ITU-T Rec. H.222.0 (1995 E) v