1、 Copyright 2008 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 3 Barker Avenue, White Plains, NY 10601 (914) 761-1100 Approved December 3, 2008 Table of Contents Page Foreword . 2 Intellectual Property 2 1 Scope . 3 2 Conformance Notation . 3 3 Normative References . 3 4 Glossary . 4 5 Ov
2、erview 4 6 Composition Playlist Extensions (Normative) . 4 6.1 Extension Elements . 4 6.2 Namespace 4 6.3 ClosedCaption Optional . 5 6.4 ClosedSubtitle Optional . 5 6.5 MainCaption Optional 5 6.6 CaptionTrackFileAssetType. 5 6.6.1 Language optional . 6 7 Schema 6 8 Samples (Informative). 7 9 XML Dia
3、gram Legend (Informative) 9 9.1 Element Symbols . 9 9.1.1 Examples . 9 9.2 Model Symbols (“Compositors“) 10 9.3 Types . 10 9.4 Model Groups and References 11 Page 1 of 11 pages SMPTE 429-12-2008 SMPTE STANDARD D-Cinema Packaging Caption and Closed Subtitle SMPTE 429-12-2008 Page 2 of 11 pages Forewo
4、rd SMPTE (the Society of Motion Picture and Television Engineers) is an internationally-recognized standards developing organization. Headquartered and incorporated in the United States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Documents, including Stan
5、dards, Recommended Practices and Engineering Guidelines, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO, IEC and ITU. SMPTE E
6、ngineering Documents are drafted in accordance with the rules given in Part XIII of its Administrative Practices. This SMPTE Engineering Document was prepared by Technology Committee DC28. Intellectual Property At the time of publication no notice had been received by SMPTE claiming patent rights es
7、sential to the implementation of this Standard. 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 be held responsible for identifying any or all such patent rights. SMPTE 429-12-2008 Page 3 of 11 pages 1 Sco
8、pe This document defines the SMPTE 429-7 Composition Playlist asset type extensions required for inclusion of SMPTE 428-10 Closed Captions and Closed Subtitles, as well as the asset type extension required of Open Captions created per SMPTE 428-7. 2 Conformance Notation Normative text is text that d
9、escribes 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 indispensable, and can be removed, changed, or added editorially without affecting interoperabi
10、lity. 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 paragraphs that start with “Note:” The keywords “shall“ and “shall not“ indicate requirements
11、 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 as particularly suitable, without mentioning or excluding others; or that a certain course of
12、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 courses of action permissible within the limits of the document. The keyword “reserved” indicates a
13、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 defined in the future. A conformant implementation according to this document is one that includes
14、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 them as described. 3 Normative References The following standards contain provisions which, th
15、rough reference in this text, constitute provisions of this recommended practice. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this recommended practice are encouraged to investigate the possibility of applyi
16、ng the most recent edition of the standards indicated below. 1. SMPTE 428-7-2007, D-Cinema Distribution Master Subtitle 2. SMPTE 428-10-2008, D-Cinema Distribution Master Closed Caption and Closed Subtitle 3. SMPTE 429-7-2006, D-Cinema Packaging Composition Play List 4. World Wide Web Consortium (W3
17、C) (2004, February 4). Extensible Markup Language (XML) 1.0 (Third Edition) 5. World Wide Web Consortium (W3C) (2004, October 28). XML Schema Part 1: Structures (Second Edition) 6. World Wide Web Consortium (W3C) (2004, October 28). XML Schema Part 2: Datatypes (Second Edition) 7. Internet Engineeri
18、ng Task Force (IETF) (1996, November). RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax SMPTE 429-12-2008 Page 4 of 11 pages 4 Glossary The reader is directed to the glossary terms defined in SMPTE 428-10, and should be aware of the terminology defined in SMPTE 429-7. 5 Overview This spec
19、ification defines the ClosedCaption, ClosedSubtitle, and MainCaption asset type extensions to SMPTE 429-7 Composition Playlist. These extensions are used to describe Closed Caption essence, Closed Subtitle essence, and Open Caption essence, respectively. Definitions for Closed Caption, Closed Subtit
20、le, and Open Caption essence can be found in SMPTE 428-10. 6 Composition Playlist Extensions (Normative) 6.1 Extension Elements To reference the Closed Caption essence, Closed Subtitle essence, and Open Caption essence in a Composition, the extension elements defined in this section shall be used to
21、 extend the Reel element of a Composition Playlist, as specified in SMPTE 429-7. 6.2 Namespace The ClosedCaption, ClosedSubtitle, and MainCaption extension elements defined in this specification shall be associated with a unique XML namespace name that shall be the string value “http:/www.smpte-ra.o
22、rg/schemas/429-12/2008/TT”. This namespace name conveys both structural and semantic version information, and serves the purpose of a traditional version number field. XML namespace names used in this standard are identified in Table 1. Namespace names are represented as Uniform Resource Identifier
23、(URI) values RFC 23961. Table 1 XML Namespaces Qualifier URI Cpl http:/www.smpte-ra.org/schemas/429-7/2006/CPL Tt http:/www.smpte-ra.org/schemas/429-12/2008/TT URIs listed in Table 1 are normative, whereas the namespace qualifier values themselves (used in Table 1 and elsewhere in this standard) are
24、 not normative. Thus, namespace qualifier values may be replaced in instance documents by any arbitrary XML compliant namespace qualifier, meaning that conformant implementations shall expect any XML compliant namespace qualifier value that is associated with a URI from Table 1. Datatypes from other
25、 schemas that are used in this document will be prefixed with the appropriate namespace qualifier (e.g. xs:dateTime). See XML Schema Part 2: Datatypes for further information about these types. 1Readers unfamiliar with URI values as XML namespace names should be aware that although a URI value begin
26、s with a “method” element (“http” in this case), the value is designed primarily to be a unique string and does not necessarily correspond to an actual on-line resource. Applications implementing this standard should not attempt to resolve URI values on-line. SMPTE 429-12-2008 Page 5 of 11 pages 6.3
27、 ClosedCaption Optional The ClosedCaption extension element defines the Closed Caption essence to be reproduced on closed-style displays in the auditorium. The actual Closed Caption essence is contained in an external Track File. The ClosedCaption element shall be an instance of the CaptionTrackFile
28、AssetType element, whose structure is defined in Section 6.6. 6.4 ClosedSubtitle Optional The ClosedSubtitle extension element defines the Closed Subtitle essence to be reproduced on closed-style displays in the auditorium. The actual Closed Subtitle essence is contained in an external Track File. T
29、he ClosedSubtitle element shall be an instance of the cpl:SubtitleTrackFileAssetType element, whose structure is defined in SMPTE 429-7. 6.5 MainCaption Optional The MainCaption extension element defines the Open Caption essence to be reproduced on the main screen of the auditorium. The actual Open
30、Caption essence is contained in an external Track File. The MainCaption element shall be an instance of the CaptionTrackFileAssetType element, whose structure is defined in Section 6.6. 6.6 CaptionTrackFileAssetType The CaptionTrackFileAssetType element, as illustrated in Figure 1, is derived from c
31、pl:TrackFileAssetType, defined in SMPTE 429-7. The element describes the caption material associated with the reel. Instances of the CaptionTrackFileAssetType are the ClosedCaption element and the MainCaption element. Figure 1 CaptionTrackFileAssetType structure. Dotted lines denote an optional elem
32、ent. (Diagram legend in Section 9.) SMPTE 429-12-2008 Page 6 of 11 pages The elements defined below replicate values contained in the underlying track file and shall remain consistent with the content of the underlying track file at all times. They are included in the Composition Playlist to allevia
33、te the need for theater management software to access and parse individual track files when scheduling content. In the event an inconsistency exists, the values contained in the underlying track file shall take precedence. 6.6.1 Language optional If a primary text language is used by the Caption ess
34、ence, then the Language element shall be present, and shall reflect the primary text language used by the Caption essence. The absence of the element shall indicate that no primary text language is associated with the asset. It is represented as an xs:language value. 7 Schema The XML Schema document
35、 presented in this section normatively defines the structure of the SMPTE 429-7 Composition Playlist extensions previously described using a machine-readable language. While this schema is intended to faithfully represent the structure presented in the normative prose portions of this specification,
36、 conflicts in definition may occur. In the event of such a conflict, the normative prose shall be the authoritative expression of the standard. SMPTE 429-12-2008 Page 7 of 11 pages 8 Samples (Informative) Two CPL Reel samples are provided below to illustrate CPL implementation of the extension eleme
37、nts defined in this specification. Open Caption CPL Reel Sample urn:uuid:117120ab-07eb-4a26-8356-ce28e7b4a8cf Reel #1 of The Jazz Singer urn:uuid:e4922ca2-e18e-465b-bd80-9c1d527b0075 24 1 3600 FFOC 0 LFOC 3600 urn:uuid:8a212f2b-e753-4161-a115-733c3b15f62d Picture for Reel #1 of The Jazz Singer 24 1
38、3800 100 3600 urn:uuid:7f70a22d-489a-4272-8697-bb649f9f35d8 24 1 185 100 urn:uuid:d9ba0fb8-40c4-40db-93e3-3d6189904223 Soundtrack for Reel #1 of The Jazz Singer 24 1 3600 urn:uuid:942a31d1-71bc-4272-9a52-cc376859e367 en-us urn:uuid:92840e55-2c8d-4c84-a688-91a61e602193 Open Caption for Reel #1 of The
39、 Jazz Singer 24 1 3600 en-us SMPTE 429-12-2008 Page 8 of 11 pages Closed Caption and Closed Subtitle CPL Reel Sample urn:uuid:adac28b2-6ac59dee-dcb6-4f24-9e1f-0829dd2b4441 Reel #1 of The Jazz Singer urn:uuid:c543d4ef-ba6c-43bd-976f-869a30ba78b9 24 1 3600 FFOC 0 LFOC 3600 urn:uuid:2fd9f048-5646-4b75-
40、b0e7-8839b1a395c9 Picture for Reel #1 of The Jazz Singer 24 1 3800 100 3600 urn:uuid:6bcb6fb3-cf6b-4585-9a3c-df999d78908b 24 1 185 100 urn:uuid:5cd4f4ff-3b74-40f9-82b4-3e559dcfba53 Soundtrack for Reel #1 of The Jazz Singer in US English 24 1 3600 urn:2bcf55be-3234-4131-99d8-d6983e5af1ed en-us urn:uu
41、id:388b82e5-0cb9-426f-80e8-f060c2046570 Closed Caption in US English for Reel #1 of The Jazz Singer 24 1 3600 en-us urn:uuid:771ea46f-44c8-4bdb-8612-e21aa1c91aff Closed Caption in French for Reel #1 of The Jazz Singer 24 1 3600 fr urn:uuid:00041fbb-e0d8-4182-8dd1-34622a6173c2 Closed Subtitle in Fren
42、ch for Reel #1 of The Jazz Singer 24 1 3600 fr SMPTE 429-12-2008 Page 9 of 11 pages 9 XML Diagram Legend (Informative) The following provides a legend for notation used in diagrams depicting XML structures. 9.1 Element symbols In the schema design diagrams presented above of this document, only the
43、elements are drawn. Attributes are not visible. The cardinality of the element (01, 1 exactly, 0n, 1n) is indicated by the border of the elements. Optional elements are drawn with a dashed line, required elements with a solid line. A maximum occurrence greater one is indicated by a double border. Op
44、tional element Min. occurrence = 0, Max. occurrence = 1 Required single elementMin. occurrence = 1, Max. occurrence = 1 Required repeated element Min. occurrence = 1, Max. occurrence = unbounded The content model of elements is symbolized on the left and right side of the element boxes. The left sid
45、e indicates whether the element contains a simple type (text, numbers, dates, etc.) or a complex type (further elements). The right side of the element symbol indicates whether it contains child elements or not: simple content complex content complex content with child elementsno element content (si
46、mple type, attributesonly, or empty element) 9.1.1 Examples Optional single element without child elements. Minimum Occurrence = 0, Maximum Occurrence = 1, content = complex. As above, but with child elements. he “plus“ at the right side indicates the presence of one or more undisplayed child elemen
47、ts. Mandatory single element. Minimum Occurrence = 1, Maximum Occurrence = 1, content = complex, no child elements (i.e. this denotes an empty element). The gray or green text below the element displays the xml-schema annotation associated with the element. Mandatory multiple element containing chil
48、d elements (content = complex). This element must occur at least once (Minimum Occurrence = 1) and may occur as often as desired (Maximum Occurrence = unbounded). SMPTE 429-12-2008 Page 10 of 11 pages Mandatory single element with containing simple content (e.g. text) or mixed complex content (e.g.
49、text with xhtml markup). Minimum Occurrence = 1, Maximum Occurrence = 1, type = xsd:string (for example), content = simple. The three lines in the upper left corner are used for both text and numeric content. 9.2 Model symbols (“compositors“) A sequence of elements. The elements must appear exactly in the sequence in which they appear in the schema diagram. A choice of elements. Only a single element from those in the choice may appear at this position. The “all“ mode