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 13818-1: 1994(E)
© ISO/IEC
ii
ITU-T Rec H.222.0 (1995 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
© 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)
ITU-T Rec. H.222.0 (1995 E)
iii
2.4.3.5 Semantic definitions of fields in adaptation field.............................. 25
2.4.3.6 PES packet ...................................................................................... 33
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
ISO/IEC 13818-1: 1994(E)
© ISO/IEC
iv
ITU-T Rec H.222.0 (1995 E)
2.7.3 Frequency of coding the elementary stream system clock reference................... 81
2.7.4 Frequency of presentation_time_stamp coding.................................................. 81
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
© ISO/IEC
ISO/IEC 13818-1: 1994(E)
ITU-T Rec. H.222.0 (1995 E)
v
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