640 likes | 844 Vues
Digital Cinema Packaging Primer. Kevin Wines Secretary, DC28.0. About DC28. SMPTE Committee Organized to Create Standards for Digital Cinema Chair – Wendy Aylsworth DC28.10 Mastering ; Image, Audio, Sub picture, Compression Chair – Jerry Pierce
E N D
Digital Cinema Packaging Primer Kevin Wines Secretary, DC28.0 Digital Cinema Summit, 17 April 2004
About DC28 • SMPTE Committee Organized to Create Standards for Digital CinemaChair – Wendy Aylsworth • DC28.10 Mastering; Image, Audio, Sub picture, CompressionChair – Jerry Pierce • DC28.20 Distribution; Packaging, EncryptionChair – Howard Lukk • DC28.30 Exhibition; Key Management, Projector (Interface, Performance)Chair - John Wolski Digital Cinema Summit, 17 April 2004
About DC28 • Packaging AD HOC Committee under DC28.20Chair – Jim Whittlesey • Create a series of specifications and documents designed to handle Packaging requirements specific to Digital Cinema Digital Cinema Summit, 17 April 2004
Today’s Discussion • Digital Cinema Packaging • Requirements & Philosophy • Documents – Specifications • Operational Constraints • Packing List • Composition PlayList • Track Files • Subtitles (Sub picture) Digital Cinema Summit, 17 April 2004
Today’s Discussion • Related Documents & Work • Digital Cinema Certificate • AS-DCP Encryption Digital Cinema Summit, 17 April 2004
Requirements • Provide a Standardized, Common method for exchanging Digital Cinema Essence and associated files and data • Essence type aware, but essence agnostic • Where possible, build from existing work and/or standards – don’t re-invent the wheel Digital Cinema Summit, 17 April 2004
Philosophy • The D-Cinema Packaging is a file interchange format/specification – it is NOT necessarily a storage format • One can ingest & store as packaged files then unwrap at playout time • Or unwrap at ingest and store the essence in its native format • The Packaging Spec should be indifferent to either implementation Digital Cinema Summit, 17 April 2004
SpecificationDocument Roadmap Operational Constraints Packing List (XML) D-Cinema Certificate Specification Composition PlayList (XML) Track File Encryption Specification Sound & Picture Track Essence Wrapping (MXF) Subtitle (Sub picture) Segmentation for Physical Media Digital Cinema Summit, 17 April 2004
Digital CinemaDistribution PackageContents: • It will always have one and only one Packing List and at least one of the following: • Zero or more Sound or Picture track files • Zero or more Subtitle track files • Zero or more Composition PlayLists • Other files such as fonts, images, etc. Digital Cinema Summit, 17 April 2004
Package OperationalConstraintsFor Constraints needed across specification boundaries Digital Cinema Summit, 17 April 2004
Operational Constraints • Describes operation constraints that apply to the entire Digital Cinema Package • Must span two or more specification documents • Frame rate, Audio sample rate • A Valid DCP has only one Packing List • Constraints that are specific to a specification/document stay within that specification/document • Examples: composition playlist markers Digital Cinema Summit, 17 April 2004
Packing List SpecificationA list of the files, and information about those files included in a Digital Cinema PackageUsing XML Digital Cinema Summit, 17 April 2004
What is XML • eXtensible Markup Language • Defines a generic syntax used to identify and describe data with simple, human-readable tags • W3C-endorsed standard • Universal format for exchanging documents & Files Digital Cinema Summit, 17 April 2004
What is XML Example Packing List Header <?xml version="1.0" encoding="UTF-8"?> <PackingList xmlns="http://www.smpte-ra.org/pkl-proto-031124#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <Id>urn:uuid:00000000-0000-0000-0000-000000000000</Id> <AnnotationText>When Pigs Will Fly II – Swedish Package</AnnotationText> <IconId>urn:uuid:00000000-0000-0000-0000-000000000000</IconId> <IssueDate>2001-12-17T09:30:47-05:00</IssueDate> <Issuer>Distribution Center XYZ</Issuer> Digital Cinema Summit, 17 April 2004
What is the Packing List? • A List of all files (assets) included in a given Digital Cinema Distribution Package • Also includes Information about the files • Is the file encrypted? • File size in bytes • A hash of each file (asset) • The MIME type of the asset Digital Cinema Summit, 17 April 2004
Packing List • Delivery media agnostic • No files names • No directory structure • List of Asset Identifiers • Unique identifier per asset (UUID) Audio Track File Packing List AssetID Composition List AssetID AssetID AssetID Picture Track File AssetID AssetID Digital Cinema Summit, 17 April 2004
Packing List Security • IssuerCertificate (optional) conforms to D-Cinema certificate defined by DC28.30 • IssuerSignature (optional) conforms to W3C XML digital signature standard • Constrained X.509v3 • Packing List can be Validated and Authenticated • The Digital Cinema Distribution Package can be Validated Digital Cinema Summit, 17 April 2004
How is thePacking List used? • Used by Exhibition to determine if all the files were received • Integrity checking for all files in the D-Cinema Package Digital Cinema Summit, 17 April 2004
Packing List Structure • ID - UUID • Annotation Text (optional) • IconID (optional) • IssueDate • Issuer – describes person/company who created • Creator – describes the system that created • AssetList • IssuerCertificate (optional) • IssuerSignature (optional) Digital Cinema Summit, 17 April 2004
Per Asset Structure • ID – UUID • Annotation Text (optional) • Hash – hex result of SHA-1 • Size (in bytes) • MIME Type of Asset • Original File Name (optional) • Encrypted flag – if present file is encrypted Digital Cinema Summit, 17 April 2004
Composition PlayListDefines how to playback a movie from several picture, audio and subtitle track filesUsing XML Digital Cinema Summit, 17 April 2004
Composition Playlist Specification Scope • Specifies the manner in which individual MXF track files are rendered – within the composition playlist there is an ordered sequence list of track files (reels) • A composition list is a self contained representation of a complete Digital Cinema work – either feature film, or a trailer, or an advertisement, or other content Digital Cinema Summit, 17 April 2004
What is the Composition PlayList? • Composition PlayList Specification: The Composition PlayList Specification defines how the files are assembled to form a digital cinema composition • An XML File • Integrity is Protected via certifcate and digital signature Digital Cinema Summit, 17 April 2004
Composition PlayListStructure Digital Cinema Summit, 17 April 2004
Composition Security • IssuerCertificate (optional) conforms to D-Cinema certificate defined by DC28.30 • IssuerSignature (optional) conforms to W3C XML digital signature standard • Constrained X.509v3 • Composition Playlist can be Validated Authenticated • Composition can be Validated Digital Cinema Summit, 17 April 2004
How is it used? • Use by Exhibition to “play” a version of the movie • There is a Separate Composition for each language dub – a FIGS release would need 4 composition playlists • There is a Separate Composition PlayList for each SubTitle release and for ALL combinations of the above Digital Cinema Summit, 17 April 2004
Composition PlayListStructure • ID • Annotation Text (optional) • IconID (optional) • IssueDate • ContentTitleText • ContentKind • ContentVersion (optional) • RatingList • ReelList • IssuerCertificate (optional) • IssuerSignature (optional) Digital Cinema Summit, 17 April 2004
Reel Structure • ID • AnnotationText (optional) • AssetList • MainMarkers (optional) • MainPicture (optional • MainSound (optional) Digital Cinema Summit, 17 April 2004
Asset Structure • GenericAssetType • ID • AnnotationText (optional) • EditRate • IntrinsicDuration • EntryPoint (optional) • Duration (optional) Digital Cinema Summit, 17 April 2004
Asset Structure • TrackFileAssetType • KeyID (optional) • Hash (optional) • MainMarkers • Marker List • Label • AnnotationText (optional) • Offset Digital Cinema Summit, 17 April 2004
Asset Structure • MainPicture • FrameRate • ScreenAspectRatio • AnamorphicSqueeze • MainSound • Language (optional) Digital Cinema Summit, 17 April 2004
Markers • FFOC - First Frame of Content • LFOC - Last Frame of Content • FFTC - First Frame of Title Credits • LFTC - Last Frame of Title Credits • FFOI - First Frame of Intermission • LFOI - Last Frame of Intermission • FFEC - First Frame of End Credits • LFEC - Last Frame of End Credits • FFOB - First Frame of Ratings Band • LFOB - Last Frame of Ratings Band • FFMC - First displayable frame of content that contains any intensity of moving, rolling or scrolling credits • LFMC - Last displayable frame of content that contains any intensity of moving, rolling or scrolling credits Digital Cinema Summit, 17 April 2004
Sound and Picture Track FilesThe MXF Wrapped Files Digital Cinema Summit, 17 April 2004
What is MXF? Material eXchange Format Standards Created in SMPTE W25 Digital Cinema Summit, 17 April 2004
What is MXF? • An Interchange file format • An extensible wrapper format • A compression agnostic file format • A versatile file format • A metadata aware file format • A Streamable file format • Not an authoring format • MXF allows editable packages with simple cuts • Everything else is AAF Digital Cinema Summit, 17 April 2004
SMPTE 377M Format SMPTE 379MGeneric Container SMPTE 390M OP-Atom SMPTE 381M MPEG (long GOP) SMPTE 382M Audio SMPTE EG41Engineering Guideline SMPTE EG42 Descriptive Metadata Engineering Guideline Which MXF Documents? Digital Cinema Summit, 17 April 2004
MXFOperational Pattern • Selected OP-Atom with the following Constraints • Track Files Shall use the MXF Generic Container - SMPTE 379M • NO essence interleaving within a Track File • Track Files shall not include GC system items • Track Files shall not be divided into Partitions • Track File shall include standard MXF index tables per SMPTE 377M • Shall use the default KLV Alignment Grid of 1 – see SMPTE 377M Digital Cinema Summit, 17 April 2004
Operational Patterns Digital Cinema Summit, 17 April 2004
The Lowest Level • Extensibility by KLV coding • K= Key: a unique identifier • L= Length: how long is the field • V= Value: what is the value of the field Digital Cinema Summit, 17 April 2004
The Highest Level • Basic file structure • Simple “Tape replacement” Digital Cinema Summit, 17 April 2004
MXF Sources • SMPTE ftp site for SMPTE Specifications • Pro MPEG; http://www.pro-mpeg.org • The MXF Implementer Group (part of ProMPEG) • Snell & Wilcox to release free MXF S/W @ NAB • http://www.irt.de/mxf/index.html • MOG Solutions • SoureForge.com open source mxflib & klvlib Digital Cinema Summit, 17 April 2004
What are theSound & PictureTrack Files? • These are the basic files that contain either a segment of picture, or audio, but not both within the same file • Track Files are similar to reels of film • The Packaging system will support multiple picture file and a single audio (the length of the composition) • Minimum length is 1 sec. Digital Cinema Summit, 17 April 2004
Essence Constraints • Each Picture Track shall contain one MXF GC Picture or Sound • Picture stream shall be KLV Packets using frame wrapping with appropriate file indexing • Raster • Frame Rate • Compression Digital Cinema Summit, 17 April 2004
Essence Constraints • Sound Sampling rate – see Operational Constraints • Sound Essence shall be KLV Packets using frame wrapping with appropriate file indexing in Compliance with SMPTE 382M Audio in MXF Generic Container Digital Cinema Summit, 17 April 2004
Descriptive Metadata Constraints • Shall contain 377M Header Metadata • Shall not use 380M MXF DMS-1 • Track files shall contain Digital Cinema Package Specify metadata set DMC-DCP which conforms to the rules of 377M DMS framework • DMS-DCP metadata shall be carried in a track file within the DM Segment of a Static DM track per SMPTE 377M • Each track file shall be labeled with a register DMS-DCP label Digital Cinema Summit, 17 April 2004
How are the Sound & Picture Track Files used? • At exhibition – the track files are similar to reels of film • The Composition PlayList assembles the track files for play out much like a projectists splices together reels of film to form a platter • Individual track files may be replaced with updated content Digital Cinema Summit, 17 April 2004
Essence Wrapping • These documents specify the fashion in which different types of essence are mapped into MXF files. This effort will likely be carried by W25. Examples of these specifications are: • SMPTE 381M Mapping MPEG (Long GOP) into the MXF Generic Container • SMPTE 382M Mapping AES and Broadcast Wave Audio into the MXF Generic Container • Wrapping of D-Cinema Compression? TBD Digital Cinema Summit, 17 April 2004
SubtitlingThe Final Feature Neededto Complete the Package Digital Cinema Summit, 17 April 2004
SubTitling, New Track File or ? • OP-Atom not Appropriate for Subtitling data so a new track file • A proposed method: Wrap the DC28.10 XML file in MXF for Distribution Packaging • or Rewrite the Data from the DC28.10 XML file into the Composition Playlist • Or Leave as Stand-Alone file and reference externally in the CPL Digital Cinema Summit, 17 April 2004
Work in Progress–to beCompleted this Quarter • Determine preferred method for Packaging of SubTitle information • Write Specification • Review at next DC28.20 meeting • Go To Working Draft Ballot Thereafter Digital Cinema Summit, 17 April 2004