1、 Copyright 2014 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 3 Barker Avenue, White Plains, NY 10601 (914) 761-1100 Approved May 13, 2014 Table of Contents Page Foreword . 2 Intellectual Property 2 Introduction 2 1 Scope . 3 2 Conformance Notation . 3 3 Normative References . 3 4 Glossa
2、ry of Acronyms, Terms and Data Types . 4 5 JPEG 2000 Mappings 4 5.1 JPEG 2000 Coding Summary (Informative) 4 5.2 Application in the MXF Generic Container . 4 5.3 Frame-Based Wrapping “FU” Undefined and “P1” Progressive . 5 5.4 “I1” Interlaced Frame Wrapping, 1 Field per KLV Element 6 5.5 “I2” Interl
3、aced Frame Wrapping, 2 Fields per KLV Element 6 5.6 “F1” Field Wrapping, 1 Field per KLV Element 7 5.7 “Cn” Clip-Based Wrapping . 7 6 Key-Length-Value Coding 8 6.1 Essence Element Key 8 6.2 Length 9 6.3 Value 9 6.4 Essence Container UL . 10 6.5 Picture Essence Compression UL . 10 7 Application Issue
4、s 11 7.1 Application of the KAG and the KLV Fill Item 11 7.2 Index Table Usage . 11 7.3 Operational Pattern Usage 12 7.4 Mapping Track Numbers to Generic Container Elements . 12 7.5 Essence Container Partitions . 12 8 Essence Descriptors 12 8.1 File Descriptor Sets 12 8.2 JPEG 2000 Picture Sub-Descr
5、iptor . 12 Annex A JPEG2000 Coding of Television Signals (Normative) . 17 Annex B Illustration of the JPEG 2000 Picture Sub-Descriptor (Informative) 19 Annex C Bibliography (Informative) . 20 Revision Notes 21 Page 1 of 21 pages SMPTE ST 422:2014 Revision of SMPTE ST 422:2013 SMPTE STANDARD Material
6、 Exchange Format Mapping JPEG 2000 Codestreams into the MXF Generic Container SMPTE ST 422:2014 Page 2 of 21 pages Foreword SMPTE (the Society of Motion Picture and Television Engineers) is an internationally-recognized standards developing organization. Headquartered and incorporated in the United
7、States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Documents, including Standards, Recommended Practices, and Engineering Guidelines, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest
8、in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO, IEC and ITU. SMPTE Engineering Documents are drafted in accordance with the rules given in Part XIII of its Operations Manual. SMPTE ST 422 was prepared by Technology Committee 31FS. Intellectual Pr
9、operty At the time of publication no notice had been received by SMPTE claiming patent rights essential to the implementation of this Engineering Document. However, attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. SMPTE shall not b
10、e held responsible for identifying any or all such patent rights. Introduction This section is entirely informative and does not form an integral part of this Engineering Document. This standard maps the codestream for each JPEG 2000 (ISO/IEC 15444-1) coded still picture into a MXF generic container
11、. JPEG 2000 is a picture-by-picture coding scheme where each picture is entirely independent and can be extracted as an independent entity. However, the codestreams can be simply concatenated to form a sequence of compressed pictures. This standard maps the JPEG 2000 codestream as either frame-wrapp
12、ed where each JPEG 2000 codestream is individually mapped into a frame or clip-wrapped where a sequence of JPEG 2000 codestreams is mapped into a clip. This standard defines the KLV coding, the essence container and compression label values and the essence descriptor. This standard specifies the map
13、ping of ISO/IEC 15444-1 Annex A codestreams into the MXF generic container. This document does not specify mappings for ISO/IEC 15444-1 Annex I, nor does it specify mappings for any other parts of ISO/IEC 15444. SMPTE ST 422:2014 Page 3 of 21 pages 1 Scope JPEG 2000 is a picture-by-picture compressi
14、on coding defined by ISO/IEC 15444-1 and used for both individual pictures and picture sequences. This standard specifies the mapping of JPEG 2000 codestreams into a picture essence track of the MXF generic container in both frame-wrapped and clip-wrapped forms. The MXF generic container is the nati
15、ve essence container of the material exchange format (MXF) file body. The MXF generic container is defined for the interchange of streamable audio-visual material. This standard defines the data structure at the signal interfaces of networks or storage media. This standard does not define internal s
16、torage formats for MXF compliant devices. 2 Conformance Notation Normative text is text that describes elements of the design that are indispensable or contains the conformance language keywords: “shall“, “should“, or “may“. Informative text is text that is potentially helpful to the user, but not i
17、ndispensable, and can be removed, changed, or added editorially without affecting interoperability. Informative text does not contain any conformance keywords. All text in this document is, by default, normative, except: the Introduction, any section explicitly labeled as “Informative“ or individual
18、 paragraphs that start with “Note:” The keywords “shall“ and “shall not“ indicate requirements strictly to be followed in order to conform to the document and from which no deviation is permitted. The keywords, “should“ and “should not“ indicate that, among several possibilities, one is recommended
19、as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required; or that (in the negative form) a certain possibility or course of action is deprecated but not prohibited. The keywords “may“ and “need not“ indicate course
20、s of action permissible within the limits of the document. The keyword “reserved” indicates a provision that is not defined at this time, shall not be used, and may be defined in the future. The keyword “forbidden” indicates “reserved” and in addition indicates that the provision will never be defin
21、ed in the future. A conformant implementation according to this document is one that includes all mandatory provisions (“shall“) and, if implemented, all recommended provisions (“should“) as described. A conformant implementation need not implement optional provisions (“may“) and need not implement
22、them as described. Unless otherwise specified, the order of precedence of the types of normative information in this document shall be as follows: Normative prose shall be the authoritative definition; Tables shall be next; followed by formal languages; then figures; and then any other language form
23、s. 3 Normative References The following standards contain provisions that, through reference in this text, constitute provisions of this Standard. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this recommended
24、 practice are encouraged to investigate the possibility of applying the most recent edition of the standards indicated below. SMPTE ST 335:2012, Metadata Element Dictionary Structure SMPTE ST 377-1:2011, Material Exchange Format (MXF) File Format Specification Amendment 1:2012 to SMPTE ST 377-1:2011
25、 SMPTE ST 422:2014 Page 4 of 21 pages Amendment 2:2012 to SMPTE ST 377-1:2011 SMPTE ST 379-1:2009, Material Exchange Format (MXF) MXF Generic Container SMPTE ST 379-2:2010, Television Material Exchange Format (MXF) MXF Constrained Generic Container SMPTE ST 400:2012, SMPTE Labels Structure ISO/IEC 1
26、5444-1:2004, Information Technology JPEG 2000 Image Coding System Part 1: Core Coding System 4 Glossary of Acronyms, Terms and Data Types SMPTE ST 379-x: throughout this standard, SMPTE ST 379-x refers to both SMPTE ST 379-1 and ST SMPTE 379-2. The general glossary of acronyms, terms and data types
27、used in the MXF specification is given in SMPTE ST 377-1 and is supplemented in SMPTE ST 379-x. These glossaries are not repeated here to avoid any divergence of meaning. In this document, terms are used as defined by SMPTE ST 377-1 in preference to any definition specific to SMPTE ST 379-1 or SMPTE
28、 ST 379-2. Definitions of terms, abbreviations and symbols relating to JPEG 2000 are given in ISO/IEC 15444-1. 5 JPEG 2000 Mappings The MXF generic container (GC) is fully described in SMPTE ST 379-x. This standard specifies the mapping of JPEG 2000 codestreams as a picture element that may be used
29、in the picture item of the MXF GC. The picture element may contain either individual JPEG 2000 codestreams using frame-wrapping or a sequence of JPEG 2000 codestreams using clip-wrapping. This standard specifies the key, the length, and the value fields of the JPEG 2000 coded picture element. This s
30、tandard also defines the essence container and compression label values and the essence descriptor. 5.1 JPEG 2000 Coding Summary (Informative) JPEG 2000 is a picture-by-picture coding scheme, so each picture is independently coded and can be extracted as an independent entity. However, sequences of
31、JPEG 2000 coded bitstreams can be simply concatenated to form a sequence of compressed images. A JPEG 2000 coded bitstream for a single compressed image is defined as a codestream. This codestream is defined by a start codeword that identifies the start of the codestreams and an end codeword that id
32、entifies the end of the codestream. In between the start and end codewords are other codewords for identification of key parts of the codestream together with the raw compressed image data. The syntax of the codestream is fully defined in ISO/IEC15444-1. This standard specifies only the mapping of I
33、SO/IEC 15444-1 Annex A codestreams into an MXF file. JPEG 2000 codestreams encapsulated in the MPEG-4 base media file format as defined by ISO/IEC 15444-12 and ISO/IEC 15444-3 are known as an ISO/IEC Motion JPEG 2000. Any ISO/IEC Motion JPEG 2000 file that is converted to an MXF file should transfer
34、 appropriate file metadata to the MXF file. 5.2 Application in the MXF Generic Container This mapping shall use the MXF generic container in either the frame-based wrapping or clip-based wrapping mode defined in SMPTE ST 379-x. SMPTE ST 422:2014 Page 5 of 21 pages The following wrapping cases are de
35、fined: Frame-based wrapping “FU” Undefined Frame-based wrapping “P1” Progressive “I1” Interlaced Frame Wrapping, 1 field per KLV Element “I2” Interlaced Frame Wrapping, 2 fields per KLV Element “F1” Field Wrapping, 1 field per KLV Element “Cn” Clip-based wrapping These are described in the sections
36、immediately below. 5.3 Frame-Based Wrapping “FU” Undefined and “P1” Progressive An essence container that frame-wraps only JPEG 2000 compressed image data shall comprise one or more KLV triplets each of which shall contain a single JPEG 2000 compressed picture as illustrated in Figure 1. A system it
37、em is optional in this essence container. V 1 f r a m e K L P ic t u r e I t e m Cod e str e a m V 1 f r a m e K L P ic t u r e I t e m Cod e str e a m V 1 f r a m e K L P ic t u r e I t e m Cod e str e a m Figure 1 Frame-based wrapping JPEG 2000 picture elements in the generic container Progressive
38、-scanned frames shall be labelled with Essence Container Label “P1” (value defined later in this document). Essence Container Label FU is prohibited in files compliant with this standard. Note: Earlier versions of this standard required the use of the Essence Container Label “FU” (value defined late
39、r in this document), however insufficient metadata was specified to determine if the pictures were progressive-scanned or interlace-scanned. If Decoders encounter such legacy material, they have to infer picture scanning parameters circumstantially. The FU value is deprecated. The JPEG 2000 compress
40、ed images may optionally be interleaved with other essence components in the frame-wrapped essence container as illustrated in Figure 2. These other essence components shall be as defined by this or other MXF mapping standards. All essence element types shall be frame wrapped. For simplicity of oper
41、ation, each frame should contain essence data that is independent of adjacent frames. Interleaved essence elements that are inter-frame coded are not prohibited, but their inclusion may impact the performance of codecs. All essence elements in each interleaved frame should be time coincident within
42、the limits of human recognition. Note: The term frame-based wrapping is defined by SMPTE ST 379-x as the individual wrapping of one or more content packages each having a basic sample unit. This basic sample unit is defined by the JPEG 2000 codestream and in television systems, may be the result of
43、coding fields from an interlaced scanned picture or frames from a progressively scanned picture. SMPTE ST 422:2014 Page 6 of 21 pages Figure 2 Frame-based wrapping of interleaved items and elements in the generic container Note: Interleaving essence elements sometimes involve timing tolerances whose
44、 specification is beyond the scope of this standard. However, the design of the frame-based interleaved MXF generic container is predicated on the concept of essentially time-aligned essence elements within each content package. Individual applications may define the JPEG 2000 picture element as the
45、 only element present in each content package. 5.4 “I1” Interlaced Frame Wrapping, 1 Field per KLV Element An essence container that wraps JPEG 2000 compressed interlaced data with one field per KLV Element and one frame per Content Package shall comprise one or more pairs of KLV triplets each of wh
46、ich shall contain one JPEG 2000 codestream as illustrated in Figure 3. V 1 f i e ld K L Pic t ure I t e m Cod e str e a m 1 f i e ld Cod e str e a m K L V V 1 f i e ld K L Pic t ure I t e m Cod e str e a m 1 f i e ld Cod e str e a m K L V Figure 3 “I1” Interlace Frame wrapping JPEG 2000 picture elem
47、ents, 1 field per KLV element The first KLV triplet in each pair shall contain the first field of the interlaced picture. The two KLV triplets may be separated by a KLV Fill Item. The JPEG 2000 compressed images may optionally be interleaved with other essence components in the frame-wrapped essence
48、 container. 5.5 “I2” Interlaced Frame Wrapping, 2 Fields per KLV Element An essence container that wraps JPEG 2000 compressed interlaced data with two fields per KLV Element and one frame per Content Package shall comprise one or more KLV triplets each of which shall contain two JPEG 2000 codestream
49、s as illustrated in Figure 4. SMPTE ST 422:2014 Page 7 of 21 pages V 1 f i e ld K L P ic t u r e I t e m Cod e str e a m 1 f i e ld Cod e str e a m 1 f i e ld K L P ic t u r e I t e m Cod e str e a m 1 f i e ld Cod e str e a m 1 f i e ld K L P ic t u r e I t e m Cod e str e a m 1 f i e ld Cod e str e a m Figure 4 “I2” Interlace Frame wrapping JPEG 2000 picture elements, 2 fields per KLV element The JPEG 2000 compressed images may optionally be interleaved with other essence components in the frame-wrapped ess