1、BRITISH STANDARD BS EN ISO/IEC 13818-1:1997 Incorporating Amendment No.1 toBSISO/IEC 13818-1:1996 (renumbers BS as BSENISO/IEC 13818-1:1997) Information technology Generic coding of moving pictures and associated audio information Part 1: Systems The European Standard ENISO/IEC13818-1:1997 has the s
2、tatus of a BritishStandard ICS 35.040BSEN ISO/IEC 13818-1:1997 This British Standard having beenprepared under the directionof the DISC Board, waspublished under the authorityof the Standards Boardand comes into effect on 15April1997 BSI 05-2000 ISBN 0 580 27230 3 National foreword This British Stan
3、dard has been prepared by Technical CommitteeIST/37 and is the English language version ofENISO/IEC13818 Information technology Generic coding of moving pictures and associated audio information Part1: Systems published by the European Committee for Standardization (CEN). It is identical withISO/IEC
4、13818-1:1996 published by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). The UK participation in its preparation was entrusted to Technical CommitteeIST/37, Coding of picture, audio, multimedia and hypermedia information, which has t
5、he responsibility to: aid enquirers to understand the text; present to the responsible international/European committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the
6、 UK. A list of organizations represented on this committee can be obtained on request. Cross-references The British Standards which implement international or European publications referred to in this document may be found in the BSI Standards Catalogue under the section entitled “InternationalStand
7、ards Correspondence Index”, or using the “Find” facility of the BSI Standards Electronic Catalogue. A British Standard does not purport to include all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard
8、does not of itself confer immunity from legal obligations. Summary of pages This document comprises a front cover, an inside front cover, pagesi andii, theEN ISO/IEC title page, page2, theISO/IEC title page, pagesii tox, pages1to122 and a back cover. This standard has been updated (see copyright dat
9、e) and may have had amendments incorporated. This will be indicated in the amendment table on the inside front cover. Amendments issued since publication Amd. No. Date Comments 9625 September 1997 Indicated by a sideline in the marginBSEN ISO/IEC 13818-1:1997 BSI 05-2000 i Contents Page National for
10、eword Inside front cover Foreword 2 Foreword ix Text of ISO/IEC 13818-1 1ii blankEUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN ISO/IEC 13818-1 February1997 ICS 35.040 Descriptors: Coding (data conversion), data conversion, data processing, definitions, encoding, figures, image processing, inf
11、ormation technology, sound recording, system architecture, video recording, codification, data converting English version Information technology Generic coding of moving pictures and associated audio information Part1: Systems (ISO/IEC13818-1:1996) Technologies de linformation Codage gnrique des ima
12、ges animes et des informations sonores associes Partie1: Systmes (ISO/IEC13818-1:1996) This European Standard was approved by CEN on1997-01-19. CEN members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a n
13、ational standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CEN member. This European Standard exists in three official versions (English, French, German). A version in
14、 any other language made by translation under the responsibility of a CEN member into its own language and notified to the Central Secretariat has the same status as the official versions. CEN members are the national standards bodies of Austria, Belgium, Denmark, Finland, France, Germany, Greece, I
15、celand, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and UnitedKingdom. CEN European Committee for Standardization Comit Europen de Normalisation Europisches Komitee fr Normung Central Secretariat: rue de Stassart 36, B-1050 Brussels 1997 Copyright reserved t
16、o CEN members Ref. No. EN ISO/IEC13818-1:1997EENISO/IEC 13818-1:1997 BSI 05-2000 2 Foreword The text of the InternationalStandard from Technical CommitteeISO/IEC/JTC1, Information technology, of the International Organization for Standardization (ISO) and the International Electrotechnical Commissio
17、n (IEC) has been taken over as a European Standard by the Technical Board of CEN. This European Standard shall be given the status of a national standard, either by publication of an identical text or by endorsement, at the latest byAugust1997, and conflicting national standards shall be withdrawn a
18、t the latest byAugust1997. According to CEN/CENELEC Internal Regulations, the national standards organizations of the following countries are bound to implement this European Standard: Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norw
19、ay, Portugal, Spain, Sweden, Switzerland and the UnitedKingdom.BSISO/IEC 13818-1:1996 ii BSI 05-2000 Contents Page Foreword ix Introduction 1 Intro. 1 Transport Stream 2 Intro. 2 Program Stream 4 Intro. 3 Conversion between Transport Stream and Program Stream 5 Intro. 4 Packetized Elementary Stream
20、5 Intro. 5 Timing model 6 Intro. 6 Conditional access 6 Intro. 7 Multiplex-wide operations 6 Intro. 8 Individual stream operations (PES Packet Layer) 7 Intro. 8.1 Demultiplexing 7 Intro. 8.2 Synchronization 7 Intro. 8.3 Relation to compression layer 7 Intro. 9 System reference decoder 8 Intro. 10 Ap
21、plications 8 Section 1. General 1.1 Scope 8 1.2 Normative references 9 1.3 Identical Recommendations|InternationalStandards 9 1.4 Additional references 9 Section 2. Technical elements 2.1 Definitions 9 2.2 Symbols and abbreviations 14 2.2.1 Arithmetic operators 14 2.2.2 Logical operators 15 2.2.3 Re
22、lational operators 15 2.2.4 Bitwise operators 15 2.2.5 Assignment 15 2.2.6 Mnemonics 15 2.2.7 Constants 16 2.3 Method of describing bit stream syntax 16 2.4 Transport Stream bitstream requirements 17 2.4.1 Transport Stream coding structure and parameters 17 2.4.2 Transport Stream system target decod
23、er 18 2.4.3 Specification of the Transport Stream syntax and semantics 26 2.4.3.2 Transport Stream packet layer 26 2.4.3.3 Semantic definition of fields in Transport Stream packet layer 26 2.4.3.4 Adaptation field 28 2.4.3.5 Semantic definition of fields in adaptation field 28 2.4.3.6 PES packet 36
24、2.4.3.7 Semantic definition of fields in PES packet 39 2.4.3.8 Carriage of Program Streams andISO/IEC11172-1 Systems streams in the Transport Stream 46 2.4.4 Program specific information 46 2.4.4.1 Pointer 48 2.4.4.2 Semantics definition of fields in pointer syntax 48 2.4.4.3 Program association Tab
25、le 49 2.4.4.4 Table_id assignments 49 2.4.4.5 Semantic definition of fields in program association section 49 2.4.4.6 Conditional access Table 50BSISO/IEC 13818-1:1996 BSI 05-2000 iii Page 2.4.4.7 Semantic definition of fields in conditional access section 51 2.4.4.8 Program Map Table 51 2.4.4.9 Sem
26、antic definition of fields in Transport Stream program map section 51 2.4.4.10 Syntax of the Private section 53 2.4.4.11 Semantic definition of fields in private section 54 2.5 Program Stream bitstream requirements 55 2.5.1 Program Stream coding structure and parameters 55 2.5.2 Program Stream syste
27、m target decoder 55 2.5.2.1 System clock frequency 56 2.5.2.2 Input to the Program Stream system target decoder 56 2.5.2.3 Buffering 57 2.5.2.4 PES streams 58 2.5.2.5 Decoding and presentation 58 2.5.3 Specification of the Program Stream syntax and semantics 58 2.5.3.1 Program Stream 58 2.5.3.2 Sema
28、ntic definition of fields in Program Stream 59 2.5.3.3 Pack layer of Program Stream 59 2.5.3.4 Semantic definition of fields in program stream pack 59 2.5.3.5 System header 60 2.5.3.6 Semantic definition of fields in system header 60 2.5.3.7 Packet layer of Program Stream 62 2.5.4 Program Stream map
29、 62 2.5.4.1 Syntax of Program Stream map 62 2.5.4.2 Semantic definition of fields in Program Stream map 62 2.5.5 Program Stream directory 63 2.5.5.1 Syntax of Program Stream directory packet 64 2.5.5.2 Semantic definition of fields in Program Stream directory 64 2.6 Program and program element descr
30、iptors 66 2.6.1 Semantic definition of fields in program and program element descriptors 66 2.6.2 Video stream descriptor 66 2.6.3 Semantic definitions of fields in video stream descriptor 67 2.6.4 Audio stream descriptor 68 2.6.5 Semantic definition of fields in audio stream descriptor 68 2.6.6 Hie
31、rarchy descriptor 68 2.6.7 Semantic definition of fields in hierarchy descriptor 69 2.6.8 Registration descriptor 69 2.6.9 Semantic definition of fields in registration descriptor 69 2.6.10 Data stream alignment descriptor 69 2.6.11 Semantics of fields in data stream alignment descriptor 70 2.6.12 T
32、arget background grid descriptor 70 2.6.13 Semantics of fields in target background grid descriptor 71 2.6.14 Video window descriptor 71 2.6.15 Semantic definition of fields in video window descriptor 71 2.6.16 Conditional access descriptor 72 2.6.17 Semantic definition of fields in conditional acce
33、ss descriptor 72 2.6.18 ISO639 language descriptor 72 2.6.19 Semantic definition of fields inISO639 language descriptor 73BSISO/IEC 13818-1:1996 iv BSI 05-2000 Page 2.6.20 System clock descriptor 73 2.6.21 Semantic definition of fields in system clock descriptor 74 2.6.22 Multiplex buffer utilizatio
34、n descriptor 74 2.6.23 Semantic definition of fields in multiplex buffer utilization descriptor 74 2.6.24 Copyright descriptor 74 2.6.25 Semantic definition of fields in copyright descriptor 74 2.6.26 Maximum bitrate descriptor 75 2.6.27 Semantic definition of fields in maximum bitrate descriptor 75
35、 2.6.28 Private data indicator descriptor 75 2.6.29 Semantic definition of fields in Private data indicator descriptor 75 2.6.30 Smoothing buffer descriptor 75 2.6.31 Semantic definition of fields in smoothing buffer descriptor 76 2.6.32 STD descriptor 76 2.6.33 Semantic definition of fields in STD
36、descriptor 76 2.6.34 IBP descriptor 76 2.6.35 Semantic definition of fields in IBP descriptor 77 2.7 Restrictions on the multiplexed stream semantics 77 2.7.1 Frequency of coding the system clock reference 77 2.7.2 Frequency of coding the program clock reference 77 2.7.3 Frequency of coding the elem
37、entary stream clock reference 77 2.7.4 Frequency of presentation timestamp coding 77 2.7.5 Conditional coding of timestamps 78 2.7.6 Timing constraints for scalable coding 78 2.7.7 Frequency of coding P-STD_buffer_size in PES packet headers 79 2.7.8 Coding of system header in the Program Stream 79 2
38、.7.9 Constrained system parameter Program Stream 79 2.7.10 Transport Stream 79 2.8 Compatibility withISO/IEC11172 80 Annex A CRC Decoder Model 81 A.0 CRC decoder model 81 Annex B Digital Storage Medium Command and Control (DSM-CC) 82 B.0 Introduction 82 B.0.1 Purpose 82 B.0.2 Future applications 82
39、B.0.3 Benefits 82 B.0.4 Basic functions 82 B.0.4.1 Stream selection 82 B.0.4.2 Retrieval 83 B.0.4.3 Storage 83 B.1 General elements 83 B.1.1 Scope 83 B.1.2 Overview of the DSM-CC application 83 B.1.3 The transmission of DSM-CC commands and acknowledgments 84 B.2 Technical elements 85 B.2.1 Definitio
40、ns 85 B.2.2 Specification of DSM-CC syntax 85 B.2.3 Semantics of fields in specification of DSM-CC syntax 86 B.2.4 Control layer 86BSISO/IEC 13818-1:1996 BSI 05-2000 v Page B.2.5 Semantics of fields in control layer 86 B.2.6 Acknowledgment layer 88 B.2.7 Semantics of fields in acknowledgment layer 8
41、8 B.2.8 Time code 89 B.2.9 Semantics of fields in time code 89 Annex C Program Specific Information 90 C.0 Explanation of Program Specific Information in Transport Streams 90 C.1 Introduction 90 C.2 Functional Mechanism 90 C.3 The Mapping of Sections into Transport Stream Packets 91 C.4 Repetition R
42、ates and Random Access 91 C.5 What is a Program? 91 C.6 Allocation of program_number 92 C.7 Usage of PSI in a Typical System 92 C.8 The Relationships of PSI Structures 93 C.8.1 Program Association Table 93 C.8.2 Program Map Table 93 C.8.3 Conditional Access Table 93 C.8.4 Network Information Table 9
43、4 C.8.5 Private_section() 95 C.8.6 Descriptors 95 C.9 Bandwidth Utilization and Signal Acquisition Time 95 Annex D Systems Timing Model and Application Implications of this Recommendation|InternationalStandard 97 D.0 Introduction 97 D.0.1 Timing Model 98 D.0.2 Audio and Video Presentation Synchroniz
44、ation 99 D.0.3 System Time Clock recovery in the decoder 101 D.0.4 SCR and PCR Jitter 103 D.0.5 Clock Recovery in the Presence of Network Jitter 105 D.0.6 System clock used for chroma sub-carrier generation 105 D.0.7 Component video and audio reconstruction 107 D.0.8 Frame Slipping 107 D.0.9 Smoothi
45、ng of network jitter 107 Annex E Data Transmission Applications 108 E.0 General considerations 108 E.1 Suggestion 108 Annex F Graphics of Syntax for this Recommendation| InternationalStandard 109 F.0 Introduction 109 F.0.1 Transport Stream syntax 109 F.0.2 PES packet 110 F.0.3 Program Association Se
46、ction 111 F.0.4 CA section 111 F.0.5 TS program map section 112 F.0.6 Private section 112 F.0.7 Program Stream 113 F.0.8 Program Stream map 114BSISO/IEC 13818-1:1996 vi BSI 05-2000 Page Annex G General Information 114 G.0 General Information 114 G.0.1 Sync Byte Emulation 114 G.0.2 Skipped picture st
47、atus and decoding process 114 G.0.3 Selection of PID Values 114 G.0.4 PES start_code emulation 115 Annex H Private Data 115 H.0 Private Data 115 Annex I Systems conformance and real-time interface 116 I.0 Systems conformance and real-time interface 116 Annex J Interfacing Jitter-Inducing Networks to
48、 MPEG-2 Decoders 116 J.0 Introduction 116 J.1 Network compliance models 117 J.2 Network specification for jitter smoothing 118 J.3 Example decoder implementations 119 J.3.1 Network adapter followed by an MPEG-2 decoder 119 J.3.2 Integrated decoder 119 Annex K Splicing Transport Streams 119 K.0 Intro
49、duction 119 K.1 The different types of splicing point 120 K.1.1 Ordinary splicing points 120 K.1.2 Seamless splicing points 120 K.2 Decoder behaviour on splices 121 K.2.1 On non-seamless splices 121 K.2.2 On seamless splices 121 K.2.3 Buffer Overflow 121 Figure Intro. 1 Simplified overview the scope of this Recommendation|InternationalStandard 1 Figure Intro. 2 Prototypical transport demultiplexing and decoding example 3 Figure Intro. 3 Prototypical transport multiplexing example 3 Figure Intro. 4 Prototypical Transport Stream to Program