1、 Copyright 2015 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 3 Barker Avenue, White Plains, NY 10601 (914) 761-1100 Approved Marc 26, 2015 The attached document is a Registered Disclosure Document (RDD) prepared by the proponent identified below. It has been examined by the appropriate
2、SMPTE Technology Committee and is believed to contain adequate information to satisfy the objectives defined in the Scope, and to be technically consistent. This document is NOT a Standard, Recommended Practice or Engineering Guideline, and does NOT imply a finding or representation of the Society.
3、Errors in this document should be reported to the proponent identified below, with a copy to engsmpte.org. All other inquiries in respect of this document, including inquiries as to intellectual property requirements that may be attached to use of the disclosed technology, should be addressed to the
4、 proponent identified below. Proponent contact information: Hideki Ohtaka Panasonic Corporation 2-15 Matsuba-cho, Kadoma City, Osaka 571-8503, Japan Email: Page 1 of 22 pages SMPTE RDD 26:2015 Revision of SMPTE RDD 26:2014 SMPTE REGISTERED DISCLOSURE DOCUMENT MXF OP-1b Specification for AVC with Ch
5、unk Audio SMPTE RDD 26:2015 Page 2 of 22 pages Table of Contents Page Introduction . 3 1 Scope . 3 2 Normative References . 3 3 Definition of Acronyms, Terms and Data Types 4 4 Basic Structure of MXF OP-1b File . 5 5 Partitions 6 5.1 Partitioning . 6 5.2 Partition Pack . 6 6 Operational Pattern . 7
6、7 Essence Container 7 7.1 Generic Container . 7 7.2 Video Essence . 7 7.3 Data Essence 9 7.4 Audio Essence . 10 8 MXF Header Metadata 12 8.1 Overall Structure 12 8.2 Essence Descriptor . 13 9 Index Table 19 9.1 General 19 9.2 Index Table Segment 20 10 Random Index Pack (RIP) . 22 11 Alignment . 22 S
7、MPTE RDD 26:2015 Page 3 of 22 pages Introduction This section is entirely informative and does not form an integral part of this RDD. Operational Pattern 1b (OP-1b) is defined as a conformance point of MXF files and specifies the minimum constraints. Additional constraints on OP-1b implementations n
8、eed to be specified to facilitate interoperability for a specific application, such as tape-less camera recording. This RDD provides the specification for implementing an MXF OP-1b file to encapsulate AVC video essence, data essence, and uncompressed PCM audio essence in chunk. OP-1b is employed to
9、carry video, data, and audio essences as separate File Packages in a single MXF file and multiplex them into a specific duration using partitioning. The feature of the essence wrapping is that the audio essence is Custom-wrapped based on a specific number of audio samples duration, while the Frame-w
10、rapping is used for the video essence and the data essence. Each Index Table segment is placed in the separate Partition immediately following the essence they Index. SMPTE RDD 26:2014 version supports AVC Long GOP encoded streams as the video essence. This document is a revision of SMPTE RDD 26:201
11、4 to add support for AVC Intra VBR (Variable Bit Rate) encoded video essence. 1 Scope This RDD provides the specification for implementing an MXF OP-1b file that encapsulates AVC Long GOP and AVC Intra VBR video essence, uncompressed PCM audio essence in chunk, and data essence originally carried in
12、 ancillary packets. This document specifies the structure of the MXF OP-1b file, partitioning, Essence Containers, and the implementations of the Header Metadata and Index Table. 2 Normative References Note: All references in this document to other SMPTE documents use the current numbering style (e.
13、g. SMPTE ST 382:2007) although, during a transitional phase, the document as published (printed or PDF) may bear an older designation (such as SMPTE 382-2007). Documents with the same root number (e.g. 382) and publication year (e.g. 2007) are functionally identical. The following standards contain
14、provisions which, through reference in this text, constitute provisions of this RDD. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this RDD are encouraged to investigate the possibility of applying the most re
15、cent edition of the standards indicated below. SMPTE ST 377-1:2011, Material Exchange Format (MXF) File Format Specification Amendment 1:2012 to SMPTE ST 377-1:2011 Amendment 2:2012 to SMPTE ST 377-1:2011 SMPTE ST 379-2:2010, Material Exchange Format (MXF) MXF Constrained Generic Container SMPTE RDD
16、 26:2015 Page 4 of 22 pages SMPTE ST 381-2:2011, Material Exchange Format (MXF) Mapping MPEG Streams into the MXF Constrained Generic Container SMPTE ST 381-3:2013, Material Exchange Format (MXF) Mapping AVC Streams into the MXF Generic Container SMPTE ST 382:2007, Material Exchange Format (MXF) Map
17、ping AES3 and Broadcast Wave Audio into the MXF Generic Container Amendment 1:2012 to SMPTE ST 382:2007 Amendment 2:2013 to SMPTE ST 382:2007 SMPTE ST 391:2004, Material Exchange Format (MXF) Operational Pattern 1b (Single Item, Ganged Packages) SMPTE ST 436-1:2013, Material Exchange Format (MXF) Ma
18、ppings for VBI Lines and Ancillary Data Packets SMPTE RP 210, Metadata Element Dictionary SMPTE RP 224, SMPTE Labels Register ISO/IEC 14496-10 | Rec. ITU-T H.264 (2012), Information Technology Coding of Audio-Visual Objects Advanced Video Coding 3 Definition of Acronyms, Terms and Data Types For the
19、 purposes of this RDD, the following definitions apply. The general glossary of acronyms, terms and data types used in the MXF specification is given in SMPTE ST 377-1, SMPTE ST 379-2, SMPTE ST 381-3, and SMPTE ST 382. Definitions of terms, abbreviations and symbols relating to AVC are given in ISO/
20、IEC 14496-10 | Rec. ITU-T H.264. 3.1 AVC Advanced Video Coding ISO/IEC 14496-10 I Rec. ITU-T H.264 3.2 AVC Long GOP 4:2:0 AVC Long GOP coding with 4:2:0 sampling 3.3 AVC Long GOP 4:2:2 AVC Long GOP coding with 4:2:2 sampling 3.4 AVC Intra VBR AVC Intra frame coding with variable bit rate 3.5 AVC Int
21、ra 4:4:4 AVC Intra VBR coding for 1080p with 4:4:4 sampling 3.6 AVC Intra 2K 4:2:2 AVC Intra VBR coding for 2K with 4:2:2 sampling SMPTE RDD 26:2015 Page 5 of 22 pages 3.7 AVC Intra 2K 4:4:4 AVC Intra VBR coding for 2K with 4:4:4 sampling 3.8 AVC Intra 4K 4:2:2 AVC Intra VBR coding for 4K with 4:2:2
22、 sampling 3.9 AVC Intra 4K 4:4:4 AVC Intra VBR coding for 4K with 4:4:4 sampling 3.10 2K Image format of 2048 x 1080 pixels 3.11 4K Image format of 4096 x 2160 and 3840 x 2160 pixels 3.12 Chunk Audio A constant number of audio sample data presented per Partition 4 Basic Structure of MXF OP-1b File F
23、igure 1 illustrates the outline of an MXF OP-1b file defined in this document. Figure 1 Basic structure of MXF OP-1b for AVC and Chunk audio The MXF file consists of one (1) Header Partition, multiple Body partitions, and one (1) Footer Partition. Body Partition is divided into multiple Partitions i
24、n a specific duration and each essence is carried using separate Body Partition. The duration of each Partition is constant throughout a file except the end of the file. The video essence is an AVC Long GOP or AVC Intra VBR encoded stream and mapped into the MXF Generic Container using Frame-wrappin
25、g. The data essence contains Ancillary Data Packets (ANC packets) and is mapped into the MXF Generic Container using Frame-wrapping. The audio essence is uncompressed PCM audio and is mapped into the MXF Generic Container in chunk using Custom-wrapping. Each Index Table is placed in the separate Par
26、tition immediately following the essence they Index. Hea d e rM e ta d a taAVCVi d e oI n d e xTab leS e g .P C M A u d io c h 1 K L K LAVC#1BPPH P PI n d e xTab leS e g .Au d i oc h 1K L K Ln s e c o n d s (m f r a m e s ) n s e c o n d sBPP BPP BPP AVCVi d e oBPP FP PANCDat aBPP- AVC#mI n d e xTab
27、 leS e g .BPPK L A N C#1K L K L- A N C#m- - R I Pn s e c o n d s (m f r a m e s )BPP : Bo d y Pa rt i ti o n Pa c kHPP : Hea d e r Pa rt i ti o n Pa c kFPP : Fo o te r P a rti t i o n P a c kSMPTE RDD 26:2015 Page 6 of 22 pages 5 Partitions 5.1 Partitioning There shall be one (1) Header Partition, m
28、ultiple Body Partitions, and one (1) Footer Partition in the file. Header Partition shall not contain any Essence Containers and any Index Table Segments Body Partition shall be divided into multiple Partitions and the duration of each Body Partition shall be up to ten (10) seconds. The recommended
29、Partition duration is two (2) seconds. The duration of each Body Partition shall be constant throughout a file except the end of the file. The 1st Body Partition shall contain Essence Container only for video essence. The 2nd Body Partition shall contain the Index Table Segment only for the immediat
30、ely preceding video essence. The 3rd Body Partition shall contain Essence Container only for data essence. The 4th Body Partition shall contain the Index Table Segment only for the immediately preceding data essence. If multiple channels of audio essence are present, the 5th Body Partition shall con
31、tain Essence Container only for the first channel and the 6th Body Partition shall contain the Index Table segment only for the immediately preceding first channel. Body Partitions for the other channels follow those for the first channel. All following Body Partitions shall follow the above pattern
32、 and the Partition order shall not change. The number of video frames and the number of audio samples in a Body Partition shall be constant depending on frame rates except the end of the file. Figure 2 illustrates the structure of the Body Partitions. Figure 2 Structure of Body Partitions 5.2 Partit
33、ion Pack Header Partition should be Closed and Complete. The Header should be rewritten as Closed and Complete; with the correct value of the Footer Partition property and updated Header Metadata including the duration. Body Partition shall be Open and Complete. Footer Partition shall be Closed and
34、Complete. AVCV ide oI n d e xTab leS e g .BPPI n d e xTab leS e g .A u d ioc h 1BPP BPP BPPA N CD a t aBPPI n d e xTab leS e g .BPP -I n d e xTab leS e g .A u d ioc h 2 BPPAVCV ide oI n d e xTab leS e g .BPP BPP -1 s t BP 2 nd BP 3 rd BP 5 t h BP4 t h BP 6 t h BP BP : Bo d y Pa rt i ti o nBPPBPP : B
35、o d y Pa rt i ti o n Pa c kSMPTE RDD 26:2015 Page 7 of 22 pages 6 Operational Pattern Operational Pattern shall be OP-1b (Single Item, Ganged Packages) as specified in SMPTE ST 391. The value of Universal Label for Operational Pattern 1b shall be as given in Table 1. Table 1 Value of MXF Operational
36、 Pattern identification Universal Label Byte No. Description Value (hex) Meaning 1-12 Specified by the MXF Specification SMPTE ST 377-1 13 Operational Pattern: Item Complexity 01h Single Item 14 Operational Pattern: Essence container Complexity 02h Ganged Packages 15 Operational Pattern: Qualifiers
37、09h See Table 2 for details 16 Reserved for future use 00h Table 2 Byte 15 value of MXF Operational Pattern UL Byte No. Value (bin) Meaning 0 1 Marker bit to prevent a zero value 1 0 Internal essence 2 0 Stream file 3 1 Multi-track 7-4 0000 Reserved for future use, and should be set to zero 7 Essenc
38、e Container 7.1 Generic Container Essence Container shall be the MXF Constrained Generic Container defined in SMPTE ST 379-2. 7.2 Video Essence 7.2.1 Generic Container Mapping Video essence shall be an AVC Long GOP or AVC Intra VBR encoded stream. The bit stream format shall be the AVC byte stream.
39、The AVC byte stream shall be mapped into the MXF Generic Container using Frame wrapped MPEG Picture Element defined in SMPTE ST 381-2 and SMPTE ST 381-3. 7.2.2 Universal Label for Essence Container Identification The Essence Container Universal Label for Frame wrapped AVC byte stream is as given in
40、Table 3. SMPTE RDD 26:2015 Page 8 of 22 pages Table 3 Essence Container Universal Label for AVC byte stream Byte No. Description Value (hex) Meaning 1-12 Specified by the MXF Generic Container Specification SMPTE ST 379-2 13 Essence Container Kind 02h MXF Generic Container 14 Mapping Kind 10h AVC by
41、te stream 15 Stream_id 60h ISO13818-1 stream_id bits 60 16 Wrapping scheme 01h Frame wrapping 7.2.3 KLV coding of Picture Element 7.2.3.1 Picture Element Key The Essence Element Key shall be the MPEG Picture Element Key defined in SMPTE ST 381-2. The Key value of the MPEG Picture Element is as given
42、 in Table 4. The value of Byte 15 shall be set to 05h to signal the Frame wrapped Picture Element. Table 4 Key Value for the MPEG Picture Element Byte No. Description Value (hex) Meaning 1-12 Specified by the MXF Generic Container Specification SMPTE ST 379-2 13 Item Type Identifier 15h GC Picture I
43、tem as defined in SMPTE ST 379-2 14 Essence Element Count 01h Count of Picture Elements in this Item 15 Essence Element Type 05h Frame Wrapped Picture Element 16 Essence Element Number nnh A number (used as an Index) of this Picture Item in this Generic Container as defined in SMPTE ST 379-2 7.2.3.2
44、 Picture Element Length The length field of the KLV coded Element is 4 bytes BER long-form encoded (i.e., 83h.xx.yy.zz) for Frame wrapping. 7.2.3.3 Picture Element Value For AVC Long GOP essence, the Essence Element Value within each KLV triplet shall be an AVC Long GOP coded frame or a pair of code
45、d fields. In the 1080/59.94i and 50i systems with an interlaced image source, each field is field-encoded and each pair of fields is wrapped into a KLV packet. The Value field of each KLV packet shall contain the field-encoded data of a complete frame. For AVC Intra VBR essence, the Essence Element
46、Value within each KLV triplet shall be an AVC Intra VBR coded frame. Figure 3 illustrates the structures of KLV packets for progressive and interlaced source images. SMPTE RDD 26:2015 Page 9 of 22 pages Figure 3 KLV packet structure for video essence 7.3 Data Essence 7.3.1 Generic Container Mapping
47、Data essence consists of Ancillary Data Packets (ANC packets), and shall be mapped into the MXF Generic Container using an ANC Frame Element defined in SMPTE ST 436-1. 7.3.2 Universal Label for Essence Container Identification The Essence Container Universal Label for an ANC packet is as given in Ta
48、ble 5. Table 5 Essence Container Universal Label for an ANC Packet Byte No. Description Value (hex) Meaning 1-12 Specified by the MXF Generic Container Specification SMPTE ST 379-2 13 Essence Container Kind 02h MXF Generic Container 14 Mapping Kind 0Eh ANC Packet 15 Reserved 00h Not used 16 Reserved
49、 00h Not used 7.3.3 KLV coding of Data Element 7.3.3.1 Data Element Key The Essence Element Key shall be the ANC Frame Element Key defined in SMPTE ST 436-1. The Key value of the ANC Frame Element is as given in Table 6. . E d i t Un i t E d i t Un i t E d i t Un i tKAc c e s s Uni t(C od ed fra m e)LKAc c e s s Uni t(C od ed fi e l d 1)LAc c e s s u n i t(C od ed fi e l d 2)( b ) K L V p a c k e t f o r i n te r l a c e d s o u r c e i m a g e( a ) K L V p