




已阅读5页,还剩207页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
i MPEG2 规范规范 英文版英文版 FOREWORD IX INTRODUCTION PART 1 SYSTEMSX 0 1 TRANSPORT STREAMXII 0 2 PROGRAM STREAMXIV 0 3 CONVERSION BETWEEN TRANSPORT STREAM AND PROGRAM STREAM XV 0 4 PACKETIZED ELEMENTARY STREAMXVI 0 5 TIMING MODELXVI 0 6 CONDITIONAL ACCESSXVI 0 7 MULTIPLEX WIDE OPERATIONSXVII 0 8 INDIVIDUAL STREAM OPERATIONS XVII 0 8 1 De multiplexingxvii 0 8 2 Synchronizationxvii 0 8 3 Relation to compression layerxviii 0 9 SYSTEM REFERENCE DECODERXVIII 0 10 APPLICATIONSXVIII SECTION 1 GENERAL1 1 1 SCOPE1 1 2 REFERENCES1 1 3 IDENTICAL RECOMMENDATIONS INTERNATIONAL STANDARDS2 1 4 ADDITIONAL REFERENCES2 SECTION 2 TECHNICAL ELEMENTS3 2 1 DEFINITIONS3 2 2 SYMBOLS AND ABBREVIATIONS6 2 2 1Arithmetic operators6 2 2 2 Logical operators7 2 2 3 Relational operators7 2 2 4 Bitwise operators8 2 2 5 Assignment8 2 2 6 Mnemonics8 2 2 7 Constants9 2 3 METHOD OF DESCRIBING BIT STREAM SYNTAX9 2 4 TRANSPORT STREAM BITSTREAM REQUIREMENTS10 2 4 1 Transport Stream coding structure and parameters10 2 4 2 Transport Stream system target decoder11 2 4 3 Specification of the Transport Stream syntax and semantics 21 1 2 4 3 1 Transport Stream21 2 2 4 3 2 Transport Stream packet layer22 ii 3 2 4 3 3 Semantic definitions of fields in Transport Stream packet layer22 4 2 4 3 4 Adaptation field24 5 2 4 3 5 Semantic definitions of fields in adaptation field 25 6 2 4 3 6 PES packet33 7 2 4 3 7 Semantic definitions of fields in PES packet 36 8 2 4 3 8 Carriage of Program Streams and ISO IEC 11172 1 Systems streams in the Transport Stream44 2 4 4 Program specific information 44 2 5 PROGRAM STREAM BITSTREAM REQUIREMENTS53 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 9 2 5 3 1 Program Stream57 10 2 5 3 2 Semantic definition of fields in Program Stream 58 11 2 5 3 3 Pack layer of Program Stream58 12 2 5 3 4 Semantic definition of fields in program stream pack59 13 2 5 3 5 System header59 14 2 5 3 6 Semantic definition of fields in system header 60 2 5 4 Program Stream map62 2 5 5 Program Stream directory64 2 6 PROGRAM AND PROGRAM ELEMENT DESCRIPTORS67 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 descriptor69 2 6 4 Audio stream descriptor 70 2 6 5 Semantic definition of fields in audio stream descriptor70 2 6 6 Hierarchy descriptor70 2 6 7 Semantic definition of fields in hierarchy descriptor71 2 6 8 Registration descriptor71 2 6 9 Semantic definition of fields in registration descriptor 72 2 6 10 Data stream alignment descriptor 72 iii 2 6 11 Semantic definition of fields in data stream alignment descriptor72 2 6 12 Target background grid descriptor73 2 6 13 Semantic definition of fields in target background grid descriptor73 2 6 14 Video window descriptor74 2 6 15 Semantic definition of fields in video window descriptor74 2 6 16 Conditional access descriptor74 2 6 17 Semantic definition of fields in conditional access descriptor75 2 6 18 ISO 639 language descriptor75 2 6 19 Semantic definition of fields in ISO 639 language descriptor75 2 6 20 System clock descriptor76 2 6 21 Semantic definition of fields in system clock descriptor76 2 6 22 Multiplex buffer utilization descriptor 76 2 6 23 Semantic definition of fields in multiplex buffer utilization descriptor77 2 6 24 Copyright descriptor77 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 descriptor78 2 6 28 Private data indicator descriptor 78 2 6 29 Semantic definition of fields in Private data indicator descriptor78 2 6 30 Smoothing buffer 78 2 6 31 Semantic definition of fields in smoothing buffer descriptor79 2 6 32 STD descriptor79 2 6 33 Semantic definition of fields in STD descriptor 80 2 6 34 IBP descriptor80 2 6 35 Semantic definition of fields in IBP descriptor 80 2 7 RESTRICTIONS ON THE MULTIPLEXED STREAM SEMANTICS80 2 7 1 Frequency of coding the system clock reference80 2 7 2 Frequency of coding the program clock reference 81 2 7 3 Frequency of coding the elementary stream system clock reference81 2 7 4 Frequency of presentation time stamp coding81 2 7 5 Conditional coding of time stamps81 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 Stream83 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 IMPLICATIONS109 E DATA TRANSMISSION APPLICATIONS120 F GRAPHICS OF SYNTAX FOR ITU T REC H 222 0 ISO IEC 13818 1121 iv G GENERAL INFORMATION127 H PRIVATE DATA128 I LIST OF COMPANIES HAVING PROVIDED PATENT STATEMENTS FOR ITU T REC H 222 0 ISO IEC 13818130 J SYSTEMS CONFORMANCE AND REAL TIME INTERFACE132 K INTERFACING JITTER INDUCING NETWORKS TO MPEG 2 DECODERS133 L SPLICING TRANSPORT STREAMS137 v 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 EXAMPLEXIII 0 3 PROTOTYPICAL TRANSPORT MULTIPLEXING EXAMPLEXIII 0 4 PROTOTYPICAL TRANSPORT STREAM TO PROGRAM STREAM CONVERSIONXIV 0 5 PROTOTYPICAL DECODER FOR PROGRAM STREAMS XV 2 6 TRANSPORT STREAM SYSTEM TARGET DECODER NOTATION 12 2 7 PROGRAM STREAM SYSTEM TARGET DECODER NOTATION54 2 8 TARGET BACKGROUND GRID DESCRIPTOR DISPLAY AREA73 A 1 CONFIGURATION OF DSM CC APPLICATION 88 A 2 DSM CC BITSTREAM DECODED AS A STANDALONE BITSTREAM89 A 3 DSM CC BITSTREAM DECODED AS PART OF THE SYSTEM BITSTREAM 89 B 1 32 BIT CRC DECODER MODEL98 C 1 PROGRAM AND NETWORK MAPPING RELATIONSHIPS104 D 1 CONSTANT DELAY MODEL 109 D 2 STC RECOVERY USING PLL 113 F 1 TRANSPORT STREAM SYNTAX DIAGRAM121 F 2 PES PACKET SYNTAX DIAGRAM 122 F 3 PROGRAM ASSOCIATION SECTION DIAGRAM122 F 4 CONDITIONAL ACCESS SECTION DIAGRAM123 F 5 TS PROGRAM MAP SECTION DIAGRAM123 F 6 PRIVATE SECTION DIAGRAM124 F 7 PROGRAM STREAM DIAGRAM125 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 TIMESTAMPS135 K 3 INTEGRATED DEJITTERING AND MPEG 2 DECODING 136 vi vii List of Syntax Tables 2 1 NEXT START CODE 10 2 2 TRANSPORT STREAM21 2 3 ITU T REC H 222 0 ISO IEC 13818 TRANSPORT PACKET22 2 4 PID TABLE 23 2 5 SCRAMBLING CONTROL VALUES23 2 6 ADAPTATION FIELD CONTROL VALUES23 2 7 TRANSPORT STREAM ADAPTATION FIELD24 2 8 SPLICE PARAMETERS TABLE 130 2 9 SPLICE PARAMETERS TABLE 231 2 10 SPLICE PARAMETERS TABLE 3 31 2 11 SPLICE PARAMETERS TABLE 4 31 2 12 SPLICE PARAMETERS TABLE 5 31 2 13 SPLICE PARAMETERS TABLE 6 32 2 14 SPLICE PARAMETERS TABLE 7 32 2 15 SPLICE PARAMETERS TABLE 8 32 2 16 SPLICE PARAMETERS TABLE 9 32 2 17 SPLICE PARAMETERS TABLE 1032 2 18 PES PACKET33 2 19 STREAM ID ASSIGNMENTS36 2 20 PES SCRAMBLING CONTROL VALUES37 2 21 TRICK MODE CONTROL VALUES40 2 22 FIELD ID FIELD CONTROL VALUES 41 2 23 COEFFICIENT SELECTION VALUES 42 2 24 PROGRAM SPECIFIC INFORMATION 45 2 25 PROGRAM SPECIFIC INFORMATION POINTER46 2 26 PROGRAM ASSOCIATION SECTION 47 2 27 TABLE ID ASSIGNMENT VALUES47 2 28 CONDITIONAL ACCESS SECTION49 2 29 TRANSPORT STREAM PROGRAM MAP SECTION 50 2 30 PRIVATE SECTION 52 viii 2 31 PROGRAM STREAM58 2 32 PROGRAM STREAM PACK58 2 33 PROGRAM STREAM PACK HEADER 58 2 34 PROGRAM STREAM SYSTEM HEADER59 2 35 PROGRAM STREAM MAP63 2 36 STREAM TYPE ASSIGNMENTS64 2 37 PES PACKET SYNTAX FOR PROGRAM STREAM DIRECTORY65 2 38 INTRA CODED INDICATOR 67 2 39 CODING PARAMETERS INDICATOR 67 2 40 PROGRAM AND PROGRAM ELEMENT DESCRIPTORS 68 2 41 VIDEO STREAM DESCRIPTOR69 2 42 FRAME RATE CODE69 2 43 AUDIO STREAM DESCRIPTOR70 2 44 HIERARCHY DESCRIPTOR71 2 45 HIERARCHY DESCRIPTOR VALUES 71 2 46 REGISTRATION DESCRIPTOR72 2 47 DATA STREAM ALIGNMENT DESCRIPTOR72 2 48 VIDEO STREAM ALIGNMENT VALUES72 2 49 AUDIO STREAM ALIGNMENT VALUES73 2 50 TARGET BACKGROUND GRID DESCRIPTOR 73 2 51 VIDEO WINDOW DESCRIPTOR74 2 52 CONDITIONAL ACCESS DESCRIPTOR75 2 53 ISO 639 LANGUAGE DESCRIPTOR75 2 54 AUDIO TYPE VALUES75 2 55 SYSTEM CLOCK DESCRIPTOR76 2 56 MULTIPLEX BUFFER UTILIZATION DESCRIPTOR 77 2 57 COPYRIGHT DESCRIPTOR77 2 58 MAXIMUM BITRATE DESCRIPTOR78 2 59 PRIVATE DATA INDICATOR DESCRIPTOR78 2 60 SMOOTHING BUFFER DESCRIPTOR 79 2 61 STD DESCRIPTOR 79 A 1 ISO IEC 13818 1 DSM CC91 A 2 COMMAND ID ASSIGNED VALUES91 A 3 DSM CC CONTROL 93 A 4 SELECT MODE ASSIGNED VALUES94 ix A 5 DSM CC ACKNOWLEDGEMENT 95 A 6 TIME CODE96 C 1 COMPOSITE DESCRIPTOR106 C 2 SUB DESCRIPTOR106 C 3 PROGRAM ASSOCIATION TABLE BANDWIDTH USAGE BPS 107 C 4 PROGRAM MAP TABLE BANDWIDTH USAGE BPS 107 D 1 REMULTIPLEXING STRATEGY115 E 1 PES PACKET HEADER EXAMPLE 120 I 1 LIST OF COMPANIES SUPPLYING PATENT STATEMENTS130 x List of Equations 2 1 PCR BASE14 2 2 PCR EXTENSION14 2 3 PROGRAM CLOCK REFERENCE14 2 4 INPUT ARRIVAL TIME15 2 5 TRANSPORT RATE15 2 6 SYSTEM INFORMATION MAIN BUFFER TRANSFER RATE19 2 7 OPCR BASE28 2 8 OPCR EXTENSION28 2 9 OPCR28 2 10 PRESENTATION TIMESTAMP38 2 11 DECODE TIMESTAMP39 2 12 ELEMENTARY STREAM CLOCK REFERENCE BASE39 2 13 ELEMENTARY STREAM CLOCK REFERENCE EXTENSION 39 2 14 ELEMENTARY STREAM CLOCK REFERENCE 39 2 15 BUFFER SIZE FOR AUDIO STREAM43 2 16 BUFFER SIZE FOR VIDEO STREAM43 2 17 SYSTEM CLOCK REFERENCE BASE 55 2 18 SYSTEM CLOCK REFERENCE EXTENSION55 2 19 SYSTEM CLOCK REFERENCE55 2 20 ARRIVAL TIME56 2 21 SCR BASE FOR CBR PROGRAM STREAM 60 2 22 SCR EXTENSION FOR CBR PROGAM STREAM60 2 23 RATIO OF SYSTEM CLOCK FREQUENCY AND AUDIO SAMPLE RATE 60 2 24 RATIO OF SYSTEM CLOCK FREQUENCY TO VIDEO PICTURE RATE61 2 25 CLOCK ACCURACY DETERMINATION76 2 26 PACKET RATE 83 2 27 PACKET RATE 83 2 28 MAXIMUM PACKET RATE83 2 29 SAMPLE RATE LOCKING IN TRANSPORT STREAM84 2 30 RATIO OF SYSTEM CLOCK FREQUENCY TO VIDEO PICTURE RATE84 xi Foreword FOREWORD PROVIDED BY ISO xii Introduction The systems part of this Recommendation International Standard addresses the combining of one or more elementary streams of video and audio as well as other data into single or multiple streams which are suitable for storage or transmission Systems coding follows the syntactical and semantic rules imposed by this specification and provides information to enable synchronized decoding of decoder buffers over a wide range of retrieval or receipt conditions System coding shall be specified in two forms the Transport Stream and the Program Stream Each is optimized for a different set of applications Both the Transport Stream and Program Stream defined in this Recommendation International Standard provide coding syntax which is necessary and sufficient to synchronize the decoding and presentation of the video and audio information while ensuring that data buffers in the decoders do not overflow or underflow Information is coded in the syntax using time stamps concerning the decoding and presentation of coded audio and visual data and time stamps concerning the delivery of the data stream itself Both stream definitions are packet oriented multiplexes The basic multiplexing approach for single video and audio elementary streams is illustrated in figure 0 1 on page xi The video and audio data is encoded as described in ITU T Rec H 262 ISO IEC 13818 2 and ISO IEC 13818 3 The resulting compressed elementary streams are packetized to produce PES packets Information needed to use PES packets independently of either Transport Streams or Program Streams may be added when PES packets are formed This information is not needed and need not be added when PES packets are further combined with system level information to form Transport Streams or Program Streams This systems standard covers those processes to the right of the vertical dashed line xiii PS Mux TS Mux Video Encoder Audio Encoder Packetizer Video PES Audio PES Video Data Audio Data Program Stream Transport Stream Extent of Systems Specification Packetizer Figure 0 1 Simplified overview of ITU T Rec H 222 0 ISO IEC 13818 1 scope The Program Stream is analogous and similar to ISO IEC 11172 Systems layer It results from combining one or more streams of PES packets which have a common time base into a single stream For applications that require the elementary streams which comprise a single program to be in separate streams which are not multiplexed the elementary streams can also be encoded as separate Program Streams one per elementary stream with a common time base In this case the values encoded in the SCR fields of the various streams shall be consistent Like the single Program Stream all elementary streams can be decoded with synchronization The Program Stream is designed for use in relatively error free environments and is suitable for applications which may involve software processing of system information such as interactive multi media applications Program Stream packets may be of variable and relatively great length The Transport Stream combines one or more programs with one or more independent time bases into a single stream PES packets made up of elementary streams that form a program share a common timebase The Transport Stream is designed for use in environments where errors are likely such as storage or transmission in lossy or noisy media Transport Stream packets are 188 bytes in length xiv Program and Transport Streams are designed for different applications and their definitions do not strictly follow a layered model It is possible and reasonable to convert from one to the other however one is not a subset or superset of the other In particular extracting the contents of a program from a Transport Stream and creating a valid Program Stream is possible and is accomplished through the common interchange format of PES packets but not all of the fields needed in a Program Stream are contained within the Transport Stream some must be derived The Transport Stream may be used to span a range of layers in a layered model and is designed for efficiency and ease of implementation in high bandwidth applications The scope of syntactical and semantic rules set forth in the systems specification differ the syntactical rules apply to systems layer coding only and do not extend to the compression layer coding of the video and audio specifications by contrast the semantic rules apply to the combined stream in its entirety The systems specification does not specify the architecture or implementation of encoders or decoders nor those of multiplexors or demultiplexors However bit stream properties do impose functional and performance requirements on encoders decoders multiplexors and demultiplexors For instance encoders must meet minimum clock tolerance requirements Notwithstanding this and other requirements a considerable degree of freedom exists in the design and implementation of encoders decoders multiplexors and demultiplexors 0 1 Transport Stream The Transport Stream is a stream definition which is tailored for communicating or storing one or more programs of coded data according to ITU T Rec H 262 ISO IEC 13818 2 and ISO IEC 13818 3 and other data in environments in which significant errors may occur Such errors may be manifested as bit value errors or loss of packets Transport Streams may be either fixed or variable rate In either case the constituent elementary streams may either be fixed or variable rate The syntax and semantic constraints on the stream are identical in each of these cases The Transport Stream rate is defined by the values and locations of Program Clock Reference PCR fields which in general are separate PCR fields for each program There are some difficulties with constructing and delivering a Transport Stream containing multiple programs with independent time bases such that the overall bit rate is variable Refer to 2 4 2 2 on page 14 The Transport Stream may be constructed by any method that results in a valid stream It is possible to construct Transport Streams containing one or more programs from elementary coded data streams from Program Streams or from other Transport Streams which may themselves contain one or more programs The Transport Stream is designed in such a way that several operations on a Transport Stream are possible with minimum effort Among these are xv 1 Retrieve the coded data from one program within the Transport Stream decode it and present the decoded results as shown in figure 0 2 on page xiii 2 Extract the Transport Stream packets from one program within the Transport Stream and produce as output a different Transport Stream with only that one program as shown in figure 0 3 on page xiii 3 Extract the Transport Stream packets of one or more programs from one or more Transport Streams and produce as output a different Transport Stream not illustrated 4 Extract the contents of one program from the Transport Stream and produce as output a Program Stream containing that one program as shown in figure 0 4 on page xiv 5 Take a Program Stream convert it into a Transport Stream to carry it over a lossy environment and then recover a valid and in certain cases identical Program Stream Figure 0 2 on page xiii and figure 0 3 on page xiii illustrate prototypical demultiplexing and decoding systems which take as input a Transport Stream Figure 0 2 on page xiii illustrates the first case where a Transport Stream is directly demultiplexed and decoded Transport Streams are constructed in two layers a system layer and a compression layer The input stream to the Transport Stream decoder has a system layer wrapped about a compression layer Input streams to the Video and Audio decoders have only the compression layer Operations performed by the prototypical decoder which accepts Transport Streams either apply to the entire Transport Stream multiplex wide operations or to individual elementary stream
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 托班五一节课件
- 大豆国际品牌合作创新创业项目商业计划书
- 播客内容策划与生产创新创业项目商业计划书
- 2025年高纯羰基硫行业研究报告及未来行业发展趋势预测
- 2025年反恐安防行业研究报告及未来行业发展趋势预测
- 2025年厨房挂件行业研究报告及未来行业发展趋势预测
- 2025年玻尿酸丰唇行业研究报告及未来行业发展趋势预测
- 2025年防火电缆行业研究报告及未来行业发展趋势预测
- 2025年代驾服务行业研究报告及未来行业发展趋势预测
- 2025年3-氯苯酐行业研究报告及未来行业发展趋势预测
- 2024年山东省(枣庄、菏泽、临沂、聊城)中考语文试题含解析
- 云南省大理州州级机关统一遴选公务员真题
- 一建机电实务压力试验总结
- 现代农业课件教学课件
- 房地产 图集-复合配筋先张法预应力混凝土管桩(2018浙G36)
- 地质灾害防治工程勘察规范DB50143-2003
- 光伏并网系统中的网络安全分析
- 2024年图形化编程竞赛选拔试题
- 2020教科版三年级科学上册全册教案
- 泰州zx附属初中2023-2024七年级上学期第一次月考数学试卷及答案
- 【课件】点线传情-造型元素之点线面高中美术人美版(2019)选择性必修1+绘画
评论
0/150
提交评论