dvd-video image file package for electronic distribution ... image file draft v2... · package for...

43
DVD-Video Image File Package for Electronic Distribution (DRAFT) Draft 1.0 2 nd Draft July 2010

Upload: vukhanh

Post on 29-Aug-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package

for Electronic Distribution(DRAFT)

Draft 1.02nd Draft

July 2010

Page 2: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Table of Contents

1Scope (Informative).....................................................................................................................2

2Background (Informative)..........................................................................................................3

3Definitions and Acronyms...........................................................................................................5

4References.....................................................................................................................................6

5Disc Image Layout (Normative).................................................................................................7

6File Format (Normative)...........................................................................................................10

7File Storage in a DVD-Video Image File Package (Normative)............................................13

8Disc Image File Encryption (Conditionally Normative)........................................................18

9Application of the SMPTE Media Package for storage of an Encrypted DVD-Video File Set (Normative)............................................................................................................................22

10 XML Metadata Files Required for a DVD-Video Disc Image File Package (Normative) .......................................................................................................................................................24

Appendix of Examples (Informative).........................................................................................32

©Copyright 2010 The DVD Forum. All rights reserved. Page 1

Page 3: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

1 Scope (Informative)

The DVD-Video Image File Package for Electronic Distribution is a file format for storing DVD disc data and descriptive information in a standard file format to promote interoperability between electronic content publishers, DVD players, and DVD recorders. The Package format is designed to support electronic delivery such as Internet download, and storage on media such as memory cards and magnetic storage. It enables both playback of DVD-Video content from a file, and recording of DVD-Video content with CSS content protection on specially made DVD recordable discs (DVD Download Discs) that can be used to play the recorded CSS content on most existing DVD players.

Areas that are out of scope of this specification:

1. It does not specify the method used to download or otherwise deliver the File Package to a consumer’s local file storage. Methods such as HTTP:, HTTPS:, FTP:, and peer to peer network protocols could be used over the Internet, private, and local networks, as well as broadcast and other delivery methods. File Packages may be recorded on portable media when manufactured, or copied there by other means such as a kiosk or computer transfer.

2. It does not specify the methods of content protection or digital rights management (DRM) that may be used to enable playback or recording. It is assumed that publishers and player and recorder manufacturers will use DRM or copy protection technology and/or network security to protect content until it is recorded to disc, and that recorders applying CSS content protection will protect the Disc Image file data according to CSS security requirements. The specification does define an encrypted Disc Image file format that can be managed by any DRM system supported by a publisher, which will protect the Disc Image file from unauthorized playback.

3. It does not specify the authorization method used to allow consumers to make a CSS recording. The DVD-CCA has published a “Managed Recording Amendment” to allow authorized home recording of CSS content, and is developing an authorization system for licensed devices. A publisher may also use a DRM system to control Managed Recording as well as playback; but this specification does not define or specify the use of any particular DRM system.

©Copyright 2010 The DVD Forum. All rights reserved. Page 2

Page 4: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

2 Background (Informative)

The most important component of a DVD-Video File Package is the DVD Disc Image File. The Disc Image File is closely related to DVD-Video discs and premasters used to press discs, so it takes advantage of existing DVD-Video content and DVD-Video playback systems. The File Package, which is an application of the SMPTE Media Package, provides an electronic “container” with metadata, file storage, and other capabilities that are the electronic equivalent of the physical container that is a DVD-ROM disc and its printed label and box.

The Disc Image format was designed both for playback, and for CSS recording. There are three main precedents from which to derive the Disc Image format for DVD-Video images:

1. “ISO” image files currently in use for recording of non-CSS content. These contain already formatted ISO-9660/UDF 1.02 file system information, as well as “user data” in the format of 2048 byte sectors on a DVD disc. Most formatting and recording tools support this image format, and it is relatively easy to read or write the user data of each sector to and from a file if it is not CSS protected. The user or recording application usually requires separate information, in addition to the file, to identify its contents, identify Single or Dual Layer, whether Lead-out is included, etc.

2. DDP* and CMF “cutting master formats” are used to create masters for CSS protected (or not) DVDs replicated in pressing plants. These formats were designed for professional use, require four or more files, are optimized for tape storage, which was the main method of file interchange in the 1990s, and have many options that aren’t relevant to consumer recording and would unnecessarily complicate formatters and recorders for consumer CSS recording. However, they do have the necessary information to instruct a recorder how to apply CSS, identify what the content is, its size, number of layers, track path, etc.

3. New DVD recorders that are adding support for CSS recording have done so by supporting recently specified drive commands, which are standardized by the “Mt. Fuji Group” of drive and computer manufacturers [SFF Committee’s “Mt. Fuji Commands for Multimedia Devices Version 7” Document INF-8090i v7]. Because of the evolution of CSS recording, it is not possible to make a direct recording of complete 2064 byte sectors on consumer DVD writers, which would be necessary to create a complete CSS disc from a 2064 byte sector image file. Instead, 2048 byte “user data” sectors must be written with legacy Mt. Fuji commands, and the system portions of 2064 byte sectors used by CSS must be written with new Mt. Fuji commands that require specific parameters, not a binary image.

To simplify recorders, a Disc Image file provides the user data as a binary image like a 2048 byte “ISO” image, and the CSS data and other recording information as parameters, similar to CMF for use by different Mt. Fuji commands.

©Copyright 2010 The DVD Forum. All rights reserved. Page 3

Page 5: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Figure 2.1 Diagram of a 2064 byte DVD-Video Disc Sector

* DDP means “Disc Description Protocol”, and was developed by Doug Carson and Associates, and the basis for DVD Forum and SMPTE specifications for widely used DVD cutting master specifications.

©Copyright 2010 The DVD Forum. All rights reserved. Page 4

User Data

2048 bytes

6 bytes

Data ID4 bytes

IED2 bytes

CPR_MAI6 bytes

EDC4 bytes

Page 6: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

3 Definitions and Acronyms

AES – Advanced Encryption Standard (National Institute of Standards and Technology FIPS 197)

AVDP – Anchor Volume Descriptor Pointer

CDZ – Control Data Zone

PCA – Power Calibration Area

RMA – Region Management Area

MOD – Manufacturing On Demand

EST - Electronic Sell Through

CSS - Content Scramble System

DRM - Digital Right Management

DVD-CCA - DVD Copy Control Association

CPR-MAI – Copyright Management Information

DDP – Disc Description Protocol

UDF - Universal Disk Format

PSN - Physical Sector Number

LSN - Logical Sector Number

OTP - Opposite Track Path

ISAN - International Standard Audiovisual Number

CGMS - Copy Generation Management System

Package – A file that can contain multiple files, such as a Zip “archive” file

SMPTE Media Package – A Zip container standardized by SMPTE based on ISO Open Packaging Conventions that includes XML Table of Contents and Presentation files to describe media, metadata, and related files

©Copyright 2010 The DVD Forum. All rights reserved. Page 5

Page 7: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

4 References

4.1 Normative ReferencesDVD Specifications for Read-Only Disc, Part 1: Physical Specifications Version 1.0DVD Specifications for Read-Only Disc, Part 2: File System Specifications Version 1.0DVD Specifications for Read-Only Disc, Part 3: Video Specifications Version 1.1DVD Specifications for Download Disc, Part 1: Physical Specifications Version 1.0DVD Specifications for Download Disc, Part 2: File System Specifications Version 1.0DVD Specifications for Download Disc for Dual Layer, Part 1: Physical Specifications Version 2.0DVD Specifications for Download Disc for Dual Layer, Part 2: File System Specifications Version 2.0

Advanced Encryption Standard, National Institute of Standards and Technology publication FIPS 197 - http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf

EMA metadata specifications at http://www.entmerch.org/ema_metadata_.html and http://www.movielabs.com/md/

Media Package - For Storage, Distribution, and Playback of Multimedia File Sets and Internet Resources, SMPTE Standard 2053:2010

4.2 Informative ReferencesCMF 1.2 : DVD Cutting Master Format Specification Ver. 1.20RFC 2396 : Uniform Resource Identifiers (URI): Generic SyntaxRFC 2141 : URN SyntaxW3C XML Schema : World Wide Web Consortium Extensible Markup Language Schema

©Copyright 2010 The DVD Forum. All rights reserved. Page 6

Page 8: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

5 Disc Image Layout (Normative)

The DVD-Video Image File for CSS Recording is designed to be recorded on a recordable disc compliant with the “DVD Download Disc (for Single Layer) Version 1.0” or “DVD Download Disc for Dual Layer Version 2.0” physical specifications. The DVD-Video Application format and file system for DVD-ROM are the same format that is applied to DVD-Video on DVD-ROM, except that the Control Data Zone (CDZ) of the Download disc has been previously recorded when a consumer purchases the blank recordable Download disc.

Figure 5.1 Simplified Diagram of Blank DVD Download Disc with Pre-recorded CDZ

Figure 5.2 Diagram of DVD Download Disc, Single Layer – Recorded

Figure 5.3 Diagram of DVD Download Disc, Dual Layer – Recorded (OTP)

PCA – Power Calibration Area

CDZ – Control Data Zone

FS data – File System data (including volume, directory, and file information)

AVDP – Anchor Volume Descriptor Pointer (a backup pointer to file system information)

End Sector Number – (PSN) Single Layer L0=26127Fh; Dual Layer L0=22EF5Fh L1=FCC22Fh to FCCD5Fh

©Copyright 2010 The DVD Forum. All rights reserved. Page 7

End Sector Number

Lead-inArea

BlankLead-inArea

CDZ

Page 9: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

The DVD-Video Image file set can be simplified in comparison to existing cutting master and image file formats because it is intended for consumer recording DVD-Video format.

1. For Dual Layer discs, only Opposite Track Path layout shall be used. Parallel Track Path is an option mainly intended for random access data discs, but video applications use OTP to avoid interruption of video playback when a layer jump is played.

2. DVD-Video Image file set shall not contain Lead-in or Lead-out image data. Recorders are capable of automatically recording the Lead-in and Lead-out.

3. Only 2048 byte sector data shall be included in the image data file. The recorder shall generate and record 2064 byte disc sectors as specified by parameters in the Download Disc Information file, the DVD-Video specifications, and CSS (Content Scrambling System) specifications and Managed Recording Amendment.

4. The first sector of the Disc Image file shall be recorded at PSN 30000h on Layer 0. The recorder shall generate and write the Lead-in and Lead-out Areas, and Anchor Volume Descriptor Pointer automatically.

5. When the CDZ is pre-recorded, it includes a value indicating the last Data Area sector number. In the case of a Single Layer Download Disc, after writing all data contained in the Disc Image file, the recorder shall pad any unfilled Data Area on Layer 0 with byte values “00000000b” before writing the Anchor Volume Descriptor Pointer in the last Data Area sector, and writing the Lead-out, as shown in Figure 3.2.

6. In the case of a Dual Layer Download Disc with pre-recorded CDZ and a Dual Layer Disc Image file, the recorder shall pad any unfilled Data Area on Layer 0, and then add the same number of padding sectors to Layer 1 starting from the Middle Area, writing in Opposite Track Path direction. Then the recorder shall write the Layer 1 portion of the Disc Image file (the start of which is indicated in the Download Video Information file), and pad any unfilled Data Area on Layer 1 before writing the Anchor Volume Descriptor Pointer in the last Data Area sector, then writing the Lead-out on Layer 1, as shown in Figure 3.3.

Note: The padding method applied in Figure 3.3 produces vertical alignment of the end of Layer 0 data and the beginning of Layer 1 data. This improves the chances that players will be able to play the layer break without video interruption because radial head seeking is minimized.

7. In the case of a Dual Layer Download Disc with pre-recorded CDZ and a Single Layer Disc Image file, the recorder shall pad any unfilled Data Area on both layers before writing the AVDP and Lead-out on Layer 1.

8. When the CDZ is not pre-recorded (only the case for professional “Manufacture on Demand” applications), the value indicating the last Data Area sector number in the CDZ can be written to match the size of the data in the Disc Image file, no padding is required, and the remainder of the recording area beyond the Data Area can be filled with Lead-out (Single Layer) or Middle Area (Dual Layer).

©Copyright 2010 The DVD Forum. All rights reserved. Page 8

Page 10: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

9. If dual-sided recordable discs are created, each side will be treated as a separate DVD Image file and disc recording. A Disc Image file can include either one or two layers for one side only.

©Copyright 2010 The DVD Forum. All rights reserved. Page 9

Page 11: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

6 File Format (Normative)

The DVD-Video Image file set consists of three files:

1. Disc Information File – A binary file that provides a recorder the parameters it needs to record a disc in combination with a single Disc Image file containing file system and user data for one or two disc layers. The Disc Information file includes a table used during recording to map CSS Title Keys and copy protection information to appropriate areas on the disc. Title Keys may be obtained or generated by a recorder according to methods allowed by the DVD-CCA Procedural Specifications and Managed Recording Amendment. Title Keys are protected by Disc Keys that the recorder can read from Download Discs with pre-recorded CDZ, intended for consumer recording.

2. Disc Description File – An XML file that provides information about the video contents that will be meaningful to users, as well as useful to content management systems and graphical user interfaces used to acquire, store, organize, and find content to be recorded or played. Documents compliant with the EMA Common Metadata schema Shall be used.

3. Disc Image File – An image or byte stream corresponding to 2048 byte user data sectors to be written to Layer 0, and possibly Layer 1 (sequenced for Opposite Track Path reading), not including Lead-in or Lead-out. ISO-9660/UDF 1.02 Bridge volume, directory, and file system included. There shall be one and only one Disc Image file in a DVD-Video Image file set. The Disc Information file field “L1” indicates the presence of Layer 1 data if it has a non-zero size, and the field “L0” indicates the number of Layer 0 sectors, so subsequent sectors present in the file will be for Layer 1. The byte stream should be equivalent to the OTP read order of the user data portion of the Data Area of a DVD-Video disc compliant with the “DVD-Video Version 1.1” specifications. The PES_scramble_control field contained in the user data of audio, video, and sub-picture sectors, will indicate when the recorder shall scramble the user data of that sector when recording, if a sector is included in an Extent indicated as protected in the Disc Information file

As for Disc Image File Embedded Directory, – TtheNote: The Disc Image File contains volume and directory information in the UDF 1.02/ISO-9660 Bridge format specified in the DVD-Video specification. DVD players may access *.IFO, *.VOB, and other files in the disc image by interpreting the volume and directory information from the disc image in the same way it is read from a physical disc using byte offsets (rather than relying on physical sector numbers).

A DVD-Video Image file set Shall be contained in a SMPTE Media Package as defined in Section 7 of this specification.

©Copyright 2010 The DVD Forum. All rights reserved. Page 10

Page 12: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

6.1 File Names In order to avoid name collisions when multiple DVD-Video Image file sets are stored in the same directory, and to facilitate identification of content without having to copy and parse files, DVD-Video Image file sets shall have unique names of the form:

DVD.<NID>.<ID>.<Provider ID>.<Provider Version>.<EXT>

DVD – Proposed URI scheme name (see IETF Recommendations RFC2396, RFC2141, RFC2616, RFC3406, etc.)

NID – Namespace Identifier (e.g. “ISAN”)

ID – Identifier within the indicated namespace

Provider ID – A unique registered identifier for the “Provider” who created the file

Provider Version – An identifier that is assigned by the Providers and is unique for each file created by that Provider

EXT – File extension used to differentiate between *.IMG, *.DIF, and *.DDF file types

“.” – A period is used as delimiter between bracketed <components> to maintain compatibility with most file systems

Each component is limited to the following syntax and is case insensitive, and cumulative length shall not exceed 128 characters:

<component> ::= <let-num> [ 1,35<let-num-hyp> ]

<let-num-hyp> ::= <upper> | <lower> | <number> | "-"

<let-num> ::= <upper> | <lower> | <number>

<upper> ::= "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" |"Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" |"Y" | "Z"

<lower> ::= "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |"q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"

<number> := "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"

All three files except a file Ppackge shall use the same filename, except that different extensions shall be used to identify the four file types.

File extensions:

Disc Information File = “*.DIF”

©Copyright 2010 The DVD Forum. All rights reserved. Page 11

Page 13: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Disc Description File = “*.DDF”

Disc Image File = “*.IMG”

Encrypted Disc Image File = “*.IMX ”

DVD-Video File Package = « *.SMPX »

The file name of a DVD-Video File Package Shall not be constrained by this specification. A file Package may contain multiple works and video formats, so it is up to publishers and content management systems to establish naming conventions other than the extension that identifies the file as a SMPTE Media Package.

Examples:

DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.DIF

DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.DDF

DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.SMPX

DVD.UUID.0392ad89-30a2-471c-b289-c210ab8b371e.RKH.01.DIF

DVD.UUID.0392ad89-30a2-471c-b289-c210ab8b371e.RKH.01.IMG

DVD.UUID.0392ad89-30a2-471c-b289-c210ab8b371e.RKH.01.IMX

Gone_with_the_Wind.Turner.01234.SMPX

Note: The example Package “Gone_with_the_Wind.Turner.01234.SMPX” could contain all of the example files listed above it, and other files related to the title or Package in some way determined by the publisher, in a variety of formats. Other files not defined in this specification may use other file name conventions. The DVD-Video File Package name could follow the naming convention of the contained DVD files in a simple case where only one DVD-Video Image is contained; or it may use any other naming convention determined by the publisher (as long as the “SMPX” extension is used).

©Copyright 2010 The DVD Forum. All rights reserved. Page 12

Page 14: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

7 File Storage in a DVD-Video Image File Package (Normative)

DVD-Video Image file sets shall be stored in a SMPTE Media Package container file so that the DVD Disc Image File(s), Disc Description file(s), Disc Information file(s) and other files can be delivered and accessed within a single Media Package Zip file. If DRM encryption is used, it Shall be applied to the Disc Image file(s) as defined in this specification so that the Disc Image file headers, and Disc Description file(s) and Disc Information file(s) remain readable while video is in the DRM encrypted state.

Image files, such as “jacket pictures” and “thumbnails” contained in a Media Package Shall be stored as independent files, referenced where necessary by XML documents using relative URLs that are valid relative to the root of the Package and relative to a folder and its subdirectories to which it may be extracted or from which it was archived. The use of binary embedding of images in XML documents Should not be used in order to reduce XML parser size and speed requirements.

Any type of file or XML Presentation Shall be allowed in a DVD Package File. File readers Shall ignore files and XML in Table of Contents or Presentation files that they do not understand.

See chapter 9 for specification of how a SMPTE Media Package is constructed to contain and describe a DVD-Video File Set for playback or recording.

7.1 File Access in a SMPTE Media Package (Informative)File access in a SMPTE Media Package may use the native directory of the Zip file to either read files based on their path name, or extract them to native directories corresponding to their stored path names, or to other locations by changing their path names. Extraction requires more storage and processing time, and may allow the files to become separated, etc.; so devices Should read files without extraction for playback applications.

File access may also use the XML Table of Contents document file and one or more Presentation documents that are present in SMPTE Media Packages. These XML documents increase functionality by describing the content available and different track and playback options (codecs, languages, resolution, etc.), optionally linking to Web resident files, metadata files, DRM files and license servers, and video presentation applications such as Web pages and interactive programs to enable local playback, streaming, and other applications on a wide range of devices. DVD players (with or without optical disc drives) may play the Disc Image File as though it were a physical disc, but other devices may be able to play the same video files, or other video files in the Package using compatible Presentations they find listed in the Table of Contents. The Table of Contents may also organize multiple videos, such as a full season of separately authored TV episodes, in a single Package. A device may add Presentation Files and corresponding media files to a locally stored Package, for instance, when new TV episodes or movie trailers become available.

©Copyright 2010 The DVD Forum. All rights reserved. Page 13

Page 15: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

7.2 Disc Information File (Optional File)The Disc Information file enables DVD recorders to record a CSS protected DVD Video disc. It includes information such as the number of layers and their size in the Disc Image file, which is necessary for dual layer recording of unprotected discs. It also provides information required for CSS recording, including beginning and ending sectors corresponding to the start and end of all Video Zone files, and extents of Video Title Sets indexed by the Title Key that will be used to encrypt indicated sectors in those Title Sets. The data structure is a fixed length table to enable easy parsing by recorders, and uses ASCII character coding to simplify editing and display. All fields are left justified and padded with ASCII “null” if necessary. If a Disc Image File is encrypted, a recorder Shall integrity check the corresponding Disc Information File against the stored hash value in the Encrypted Disc Image File header before recording, (to prevent a recording made using an altered Disc Information File).

7.2.1 Manufacture on Demand (Informative)Some system area fields are prerecorded or otherwise manufactured on “blank” recordable discs intended for CSS recording by consumers, such as RMA, and CPY_TY. However, these fields are also included in the Disc Image File to enable direct playback, and recording of system areas of the disc by professional “Manufacture on Demand” recorders using discs without pre-recorded CDZ, enabling adjustment of the recorded size so that RMA and Data Area size fields can be recorded to match the Disc Information file and Disc Image size.

7.3 Disc Information File Data StructureByte Length Symbol Description Value0-9 10 VER DVDIF spec

versionASCII characters ‘DVDIF 1.0 ’

10-137 128 NAME File Name File name to be used for this DIF file, also used to identify associated Disc Description and Disc Image files

138-393 256 TITLE Title of work An informative title

394-521 128 NOTICE Copyright Notice Copyright notice

522-537 16 DATETIME Publication date and time

ASCII date and time in the form:“2000.01.30:23:59”

538 1 CSS Protection Flag ASCII “ 0” indicates CSS will not be applied“ 1” indicates CSS will be applied

(other numbers reserved)

539-546 8 L0 Size in sectors of Layer 0

ASCII hexadecimal number of sectors of user data to be recorded to Layer 0 (excludes CDZ, Lead-in, or Lead-out)

©Copyright 2010 The DVD Forum. All rights reserved. Page 14

Page 16: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Byte Length Symbol Description Value547-554 8 L1 Size in sectors of

Layer 1ASCII hexadecimal number of sectorsIf =null filled, this is a Single Layer disc

555 1 DSIZE Replica Disc Size (Diameter)

Intended size in centimeters:ASCII “A”= 8 cmASCII “B”= 12 cm

556-557 2 CPS_TY CPS_TY field Copy Protection Type for the DVD disc. This field corresponds to the CPS_TY byte in the CPR_MAI field in the Lead-in-Control sectors on the DVD disc. This field stores the ASCII equivalent of the binary value stored on the DVD disc, and should be the ASCII characters “01” for CSS discs.

558-565 8 RMA Regional Coding bit field

Eight ASCII characters corresponding to the 8-bit field in the Lead-in control sectors identifying regions where players should prevent playbackValid values are: ASCII “0” or ASCII “1”; “1” indicates the region corresponding to that character position 1-8, should have playback blocked

Note: Consumer Download Discs have RMA value “00000000b” pre-recorded, meaning “all regions enabled”, so Download Video Disc Image files for consumer recording shall be authored with Region Management fields set for “all regions enabled” to record discs compliant with DVD-Video specifications.

566-573 8 VZONE Start of Video Zone

ASCII representation of the hexadecimal PSN number of the first sector of the Video Zone*

574-581 8 VZONESIZE Size of Video Zone

ASCII representation of the hexadecimal number of sectors in Video Zone

(All sectors in the Video Zone have CGMS=11b in CPR_MAI, meaning “copy never”.)

582-589 8 START01 Start Sector Title Key Extent 01

ASCII representation of the hexadecimal PSN number, start of file Extent for Title Key 1**

590-597 8 SIZE01 Size Title Key Extent 01

ASCII representation of the hexadecimal size in number of sectors for Title Key 1 Extent

598-605 8 STARTn* Start Sector Title Key Extent n

ASCII representation of the hexadecimal PSN number, start of file Extent for Title Key n

606-613 8 SIZEn* Size Title Key Extent n

ASCII representation of the hexadecimal size in number of sectors for Title Key n Extent

“ “ “ “ *n: positive integer from 1, maximum 15

(START and SIZE repeated for each Title Key used)

If the next field in this table is filled with blank, null, or doesn’t exist, the rest of the table is ignored. This is a variable size file.

©Copyright 2010 The DVD Forum. All rights reserved. Page 15

Page 17: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

*The “Video Zone” is identified by the start sector LSN and sector count of the Video Zone of the disc and Disc Image file. All sectors in the Video Zone will be recorded with the CGMS field set to “11b” in the CPR_MAI region of sector headers, whether or not the sector is CSS scrambled.

**A “Tile Key Extent” is identified by the start sector and size of groups of Video Manager files, Video Title Set files and Jacket Picture files within a Disc Image file that use a particular Title Key identified by its index number (1 to 15). Sectors to be encrypted by the recorder within that Title Key Extent are identified with the value “01b” in the PES_scrambling_control field (Byte 20, bit 5-4 of V_PCK, A_PCK, and SP_PCK in Packet header of user data).

7.4 Disc Description File (Required)A DVD File Package Shall contain a Disc Description file and related image files that describe the DVD Image File and its contents. The Disc Description File can be used by devices and services to provide consumers a graphical user interface, descriptive information, promotional information and other reliable user experience features that are lacking with most electronic files, but an important part of the DVD experience with physical discs and packages.

A DVD Video Image File is seen as a single file in a SMPTE Media Package, but the Disc Description File can provide the user and device information in advance on the features contained in the image file that will be available during playback.

A Disc Description File contains descriptive metadata in XML format based on the EMA (Electronic Merchants Association) XML schema. It may include description of DVD-Video technical features such as tracks, video angles, bitrates, audio codecs, channels, languages, subpictures, closed captions, commentary, video and menu “extras”, etc. The Package may contain or link to additional content information, such as cast and crew, reviews, filmographies, bios, more pictures, description of “Second Session” files in the Other Zone, etc. Compliant Packages Shall at minimum contain a Disc Description File for each DVD Image File that is compliant with the XML Schema located at: http://www.entmerch.org/ema_metadata_.html and http://www.movielabs.com/md/

7.5 Disc Image File (Required File)A binary file consisting of a byte stream in bit order corresponding to the bitstream generated by reading or writing 2048 bytes of user data in the sectors constituting the Data Area of a DVD-Video disc. The image file begins with data corresponding to PSN (Physical Sector Number) 30000h on the disc, and extends to the end of the Data Area, and excludes the Lead-out area. The last sector shall include the Anchor Volume Descriptor Pointer. If the Disc Image file is intended to be recorded on a Dual Layer disc, the Layer 1 image data shall be concatenated immediately following the Layer 0 data in Opposite Track Path sequence (starting from the

©Copyright 2010 The DVD Forum. All rights reserved. Page 16

Page 18: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Middle Area). A Dual Layer Disc Image shall follow DVD-Video Application Format specifications requiring a Cell boundary at the layer break.

7.6 Disc Image File Layout on DVD Disc (Informative)A recorder may use this Disc Image file and associated Disc Information file to write to a DVD Download Disc and generate a recorded disc compliant with the DVD-Video 1.1 Specification, protected by CSS. The recorder may therefore generate and write the Lead-in and Lead-out, locate the AVDP in the last sector of the Data Area, construct 2064 byte disc sectors, scramble 2048 byte user data with CSS Title Keys where indicated; and in the case of discs with pre-recorded CDZ, the recorder will add any padding necessary to fill the predefined Data Area, as described in Section 3 of this specification.

An optional authoring method may be used by the content provider to reduce the amount of Middle Area padding inserted by the recorder when a Layer 0 image does not fill the Data Area on a Dual Layer disc. The author may instead insert padding in the authored image prior to the start of the first Title Set. This will locate the end of video data close to the Middle Area of the Download Disc to more closely approximate a ROM disc (where Layer 0 video ends at the Middle Area, and Layer 1 video begins there). This may improve layer break performance on some players. However, authors should be careful not to exceed the size of the Data Area of the Download Disc, which would result in an unspecified error such as truncation of the video or termination of recording. See Figure 4.5.17.6.1.

Figure 7.6.1 – Optional Method of Data Area Padding of Authored Disc Image File

End Sector Number – (PSN) Dual Layer L0=22EF5Fh L1=FCC22Fh to FCCD5Fh

©Copyright 2010 The DVD Forum. All rights reserved. Page 17

Page 19: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

8 Disc Image File Encryption (Conditionally Normative)The encryption of Disc Image Files is Optional. However, the encrypted file format defined herein Shall be used when Disc Image Files are protected by encryption and DRM. The method used by copy protection systems to encrypt or otherwise protect entire Media Package files during storage or transmission is out of scope of this specification.

Note: Copy protection systems may apply their own encryption to Media Packages stored on protected media, and do not usually store Disc Image files that are already encrypted and protected by DRM, although it is possible to do so.

The use of a standard encryption method for Disc Image Files and a standard unencrypted file header enables publishers and player manufacturers to select what DRM systems to use independent of how the file was encrypted. The header provides a URL to enable devices to request a DRM license containing a decryption key from a location designated by the publisher, and the license delivered may be different depending on the DRM system supported by different players or recorders.

This section defines the encryption of a DVD Image File, and the option to include and encrypt a Disc Information File. Encryption also provides a protected hash value for integrity checking a Disc Information File that is separately stored so it can be verified that it is the correct file and the CSS encryption parameters have not been modified.

8.1 Encryption MethodThe Disc Image File and a portion of the header Shall be encrypted with the AES-128 algorithm [see FIPS 197], using CTR mode, the initialization vector stored in the header (“IV”), and a single encryption key associated with the Key Identifier (“KID”) stored in the header as defined in Section Table 8.3.

An unencrypted header, specified below, shall be appended to the front of the encrypted file stream to make important information readable without decryption. The extension of the encrypted image file Shall be changed from “*.IMG” to “*.IMX” to identify that the DVD image is encrypted and avoid players and recorders attempting to read an image file prior to decryption.

A license server Shall associate a secret encryption key to the KID contained in the header. Keys and KIDs shall be unique pairs. The License Location URL may be used to help a recorder contact the appropriate license server and identify an encrypted image file by the KID in the header. Once a license has been obtained with the correct Decryption key and recording permission by an authorized device, the protected decryption key and initialization vector stored in the header May be used to decrypt the image file while playing it, or parameters stored in the Disc Information File (DIF) may be used to apply the necessary formatting and encryption to record a CSS disc, if the DRM license provides that permission.

©Copyright 2010 The DVD Forum. All rights reserved. Page 18

Page 20: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

8.2 File header for Encrypted Disc Image FileThis file header Shall be appended to the start of an encrypted Disc Image File to provide file identification and decryption information in readable (unencrypted) form. The first 13941395Up to and including byte position 1394 bytes of the header Shall remain unencrypted, and any additional header bytes indicated by the size of the field “HEADSZ” Shall be encrypted in sequence with the Disc Image file stream. An “INFHASH” field Shall be encrypted starting from byte 1395. The contents of the “INFHASH” field can be used to check separately stored Disc Information Files for identity and validity. A Disc Information File, optionally followed by unspecified private user data (to a maximum size of approximately sixty thousand bytes), may be stored following the “INFHASH” field in an encrypted portion of the header to protect the Disc Information File from tampering, and for storage of unspecified user defined information for general extensibility. All fields Shall be left aligned, terminated with nulls or spaces; and all are fixed size except the last two.

8.3 Data Structure of Header on Encrypted Disc Image FileByte Length Symbol Description Value0-9 10 VER Version of this

specificationASCII characters ‘DVDIMG 1.0 ’

10-137 128 NAME File Name File name of the encrypted IMG file, also used to identify associated Disc Description and Disc Information files

138-393 256 TITLE Title of work An informative title

394-521 128 NOTICE Copyright Notice Copyright notice

522-537 16 DATETIME Publication date and time

ASCII date and time in the form:“2000.01.30:23:59”

538 1 DL Dual Layer Flag ASCII “ 0” indicates Image File is single layer“ 1” indicates Image File is dual layer

(other numbers reserved)

539-554 16 HEADSZ Size in BYTES of this header

Size of this header in bytes expressed as a hexadecimal number in ASCII. Value “Z” in this table.

555-594 40 IMGSZ Size in BYTE of the encrypted Image File

Size of encrypted Disc Image File portion of this file in ASCII hexadecimal number of Bytes, not including this headerIMGSZ – HEADSZ = DVD Image start byte

595-850 256 ALID Asset Logical ID URN identifier for this Work (e.g. ISAN namespace and ID)

851-1106

256 APID Asset Physical ID URN identifier for this File (e.g. DECE namespace and ID)

1107-1362

256 PURL Purchase URL URL location to obtain license to play or record the Disc Image

©Copyright 2010 The DVD Forum. All rights reserved. Page 19

Page 21: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Byte Length Symbol Description Value1363-1378

16 KID Key Identifier ASCII encoded hexadecimal number used to uniquely identify this file and the key necessary to decrypt it

1379-1394

16 IV Initialization Vector

ASCII encoded hexadecimal initial value of Counter required for AES-128 CTR mode decryptionThis is the last unencrypted field in the file

1395-1410

16 INFHASH MD5 Hash of Disc INF File

Validity check for a name-associated Disc Information File. To be verified prior to CSS disc recordingThis field begins the encryption sequence that extends to the end of file.

1411-N Variable DIF Disc Information File

Optional encrypted storage location for Disc Information FileTypical size (one title key) 597 bytes, making N = 2007 bytes

N+1-Z

Variable UDAT User Data Optional encrypted user data field. Size and encoding undefined.

Note: Shaded cells indicate encryption

8.4 Playback and Recording of DVD Media Packages Containing Encrypted DVD Images (Informative)

Identification of an encrypted DVD Video Image File can be done by recognizing the file extension “*.IMX” or by reading the SMPTE Media Package Table of Contents. One or more DRM licenses may be included in the media Package and listed in the “<DRM>” element of a Presentation. Multiple licenses may be included to enable playback on different devices using different DRM systems or device-specific license binding (not domain binding), they may allow different uses, such as streaming, subscription, rental, ownership, recording, etc.

If the correct license is not included in the Package, one or more URLs may be listed to allow “silent license acquisition” for different systems with DRM-specific protocols that communicate the KID and other information to a license server. Reading the header of the Encrypted DVD Image File will also provide one URL determined by the publisher of that file for purpose of purchase and license acquisition. Note that Encrypted Disc Image Files may be distributed freely, and possession has nothing to do with the right or ability to play the file. In the case where the URL points to a Web site, a browser and human interaction may be required to buy and acquire a license, which may then be copied to the Package to enable offline playback. If rights are purchased before download or copy to storage media, licenses may be copied to the Package before delivery so that no additional transactions are required.

Once a DRM license has been acquired, a player can start decrypting and playing the IMX file from byte offset 1395. Decryption is started using the initialization vector “IV” stored at byte offset 1379 and the key protected in a license that corresponds to the KID in the file header. If a recording is authorized by a DRM license, then the Disc Information File must be located

©Copyright 2010 The DVD Forum. All rights reserved. Page 20

Page 22: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

(stored in the Package or embedded in the Encrypted Disc Image header) and validated before CSS recording can begin using the same decryption process.

©Copyright 2010 The DVD Forum. All rights reserved. Page 21

Page 23: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

9 Application of the SMPTE Media Package for storage of an Encrypted DVD-Video File Set (Normative)

A SMPTE Media Package containing an Encrypted Disc Image file Shall conform to the follow requirements:

1. The Package Shall include zero or one Application elements in the TableOfContents document that references a LocalSource indicating a relative local path to an Encrypted Disc Image File, and a RemoteSource with a full resolved URL where it may be downloaded from the Internet.

Note: Media Applications are the list of initialization resources that may be selected and launched by players, and may be a simple media file, a playlist, declarative markup language (such as HTML), source code that may be interpreted (such as Javascript, etc.), intermediate language to be compiled by a virtual machine (such as Java bytecode, .Net IL, etc.), or binary code to be executed on a specific operating system. The menu and navigation system of the DVD-Video format is a one of these media presentation Applications, and a DVD-Video Image File combines the presentation application and media components in a single file. In general, different players may support different application formats, select their preferred Application by Type from the compatible Applications listed, and initiate playback at the Table of Contents/Package level or Presentation level.

Package level Applications are intended to provide a “master menu” to potentially all the Presentations or their media content in the Package. It is only appropriate to assign a DVD Image File at the Package level when the DVD is authored in a form that contains multiple works that need to be individually described as Presentations (e.g. a collection of TV shows, music videos, or movies). Normally a Package level Application Should Not be used in order to allow multiple DVD Image Files to be independently stored and played in a Package.

Other Package level Applications, such as an HTML page, may provide a menu that adapts to added DVD Image files, using their associated metadata to provide menu pictures and information, and initiates playback of individual DVD Image Files by calling the system’s resident DVD Player. HTML controlled playback of DVD Video has been common practice on thousands of commercial DVD-Video discs, and referred to as “Web DVD”.

Note: See the SMPTE Media Package specification for more information, including explanation of the Package update mechanism that allows players to check online, download, and replace the Table of Contents, Presentations, and other files with updated or added versions.

©Copyright 2010 The DVD Forum. All rights reserved. Page 22

Page 24: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

2. The Package Shall include zero or more SMPTE Media Package Presentation documents identifying each Encrypted Disc Image File and its associated Disc Description File. Each Presentation Shall indicate the relative path of the Disc Image File in the LocalSource attribute and may indicate the Web location in the RemoteSource attribute of an Application element. For each DVD Video Image File, there Shall be at least one Application reference with Type = “DVD.IMX” at either the Package level or Presentation level (normally at Presentation level, see #1 above for clarification).

3. A Presentation intended describing playback of an Encrypted Disc Image File, Shall set the FormatCompatibilityCode attribute of the TrackGroup element equal “DVD.IMX” to indicate the format is a DVD Video Image File that is encrypted according to this specification.

A Presentation specifically intended for recording Shall use the FormatCompatibilityCode “DVD.INF”, since the *.INF File is necessary for CSS and dual layer recording, in which case an INF file Shall be included in the Presentation, either as a separately stored file, or embedded in the Disc Image File.

4. Encrypted DVD-Video Image Presentations Shall Include a DRM element indicating one or more DRMLicenseIssuer URLs to license acquisition locations, and links to any DRM license files stored in the SMPTE Media Package.

5. The TableOfContents for a DVD Video Package Shall include the following information, which may be optional in the SMPTE schema:

a. Source (for updates to Table of Contents and other Package components and content)

b. MediaApplications element (Only in the case where there are no Presentations that include the Disc Image File in a media application reference)

c. PresentationRef (Normally required to indicate one or more Presentations that describe Disc Image Files)

d. PresentationRef elements including; ID, VersionRequired, RemoteSource, LocalSource, ProtectionType, ContentID, Title, TitleBrief, TitleSort, Ratings, Copyright, Duration, and a link a local path to a DescriptiveMetadata file.

6. Presentations describing a DVD Video Disc Image file May include a TrackGroup for informational purposes. The audio, video and subtitle tracks available during playback of the DVD Video Disc Image may be described by track attributes as defined in Section 7.2.2 of the SMPTE Media Package specification [SMPTE 2053], however, the LocalSource, RemoteSource, and VersionRequired attributes Shall not be included because these Tracks are not accessible as files in the case of a DVD-Video Image File. Note that if *.IFO, *.VOB, etc. files were stored in the Package as individual files (not hidden in an Image file), then Presentations and TrackGroups could address those

©Copyright 2010 The DVD Forum. All rights reserved. Page 23

Page 25: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

files by path for presentation, indicating their LocalSource path, etc.

Note: It may be useful for applications and users to read the TrackGroup information such as the number of audio, video, and subtitle tracks, their codecs, languages, etc. prior to playback; but it has no operational role in playback of a DVD-Video Image, where the *.IFO file contained in the Image File provides similar information during playback. Similar information may be provided in the DVD Description metadata file. For other Media Applications, TrackGroup information is used during playback to identify tracks, select them based on their attributes, and locate them in files.

10 XML Metadata Files Required for a DVD-Video Disc Image File Package (Normative)

DVD-Video Image File Packages Shall contain an XML metadata file for each Presentation describing a DVD-Video Disc Image File. The XML metadata file Shall comply with the most recent version of the EMA schema referenced below, with additional requirements as to what elements and attributes are required, and what attribute values Shall be used, as stated in this specification.

EMA metadata specifications at http://www.entmerch.org/ema_metadata_.html and http://www.movielabs.com/md/

The following schema representation is derived from Chapter 5 DIGITAL ASSET METADATA, and Chapter 6 CONTAINER METADATA FROM “Common Metadata Reference : TR-META-CM Version : 1.0 Date : Jan.5, 2010” http://www.movielabs.com/md/md/v1.0/Common%20Metadata%20v1.pdf

[Editorial Note: Working Group needs to determine which fields are Required/Optional for the case of a DVD-Video Image File Package, and what vocabulary is allowed (i.e. what attribute descriptors to use specific to DVD-Video, such as subpictures, which are not included in the underlying metadata specifications). Also, what thumbnail and jacket pictures to require.]

10.1 Abbreviated Title (Work) MetadataThe following diagrams describe metadata used to describe an audio video title or “work”, such as a movie or TV show. A metadata file describing a DVD-Video Image Shall be included in each Presentation in a DVD-Video File Package to describe the title described by that Presentation contained in a DVD-Video Image File. Required elements and attributes specified in this specification Shall override the generic schema referenced for application to a DVD-Video File Package.

©Copyright 2010 The DVD Forum. All rights reserved. Page 24

Page 26: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Two levels of detail are shown below: An “abbreviated” metadata set, and a full metadata set. Note that “localizedInfo” allows replication of textual information, such as titles and descriptions, in multiple languages and character sets.

©Copyright 2010 The DVD Forum. All rights reserved. Page 25

Page 27: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

[Editor’s note: The working group should determine required and optional images to be used for thumbnail and jacket pictures; and what encoding format e.g. PNG, JPG, etc]

10.2 Full Title (Work) MetadataThe following diagrams show the full set of metadata that can be used to describe a title or work.

©Copyright 2010 The DVD Forum. All rights reserved. Page 26

Page 28: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

©Copyright 2010 The DVD Forum. All rights reserved. Page 27

Page 29: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

©Copyright 2010 The DVD Forum. All rights reserved. Page 28

Page 30: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

10.3 Track MetadataThe following section describes the logical structure of tracks authored in the DVD-Video Image file. This is a description of “content”, not physical layout, so the same track sets, media, and content types may be stored as a disc image, individual VOB and IFO files, some other A/V file format (e.g. ISO Base Media or MP4 file formats), or individual track files as long as the description applies.

©Copyright 2010 The DVD Forum. All rights reserved. Page 29

Page 31: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

©Copyright 2010 The DVD Forum. All rights reserved. Page 30

Page 32: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

©Copyright 2010 The DVD Forum. All rights reserved. Page 31

Page 33: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Appendix of Examples (Informative)

1. Media Package Example:

a. Case of single DVD

This section describes an informative example of Media Package for an image file of a single DVD, which contains:

• the VMG-space

• one VTS-space with 2 video angles, 3 audio streams and 2 sub-picture streams

(i) Table of Contents XML Instance Document

An informative example of a Table of Contents Part included below.

<?xml version="1.0" encoding="UTF-8"?>

<TableOfContents xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage/

SMPTE-Media-Package_TableOfContents.xsd"

Version="1" Source="http://www.ContosoStudios.com/gwtw/toc.xml">

<MediaApplications>

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

</MediaApplications>

<!-- Presentation for VTS-space #1 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VTS-space #01</Title>

<TitleBrief>GWTW-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

<!-- Presentation for VMG-space -->

<PresentationRef Id="VMG" VersionRequired="1" LocalSource="/GWTW-VMG.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

©Copyright 2010 The DVD Forum. All rights reserved. Page 32

Page 34: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

<Title Language="en-us"> Gone with the Wind – VMG-space</Title>

<TitleBrief>GWTW-VMG</TitleBrief>

</PresentationRef>

</TableOfContents>

(ii) Presentation Instance Documents

An informative example of a Presentation Part included below, which is referred as “GWTW-VTS_01.prs” in Table of Contents Part.

Other examples of Presentation Parts are skipped.

<?xml version="1.0" encoding="UTF-8"?>

<Presentation xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage/

SMPTE-Media-Package_PresentationRef.xsd" Version="1" >

<TrackGroup FormatCompatibilityCode="DVD">

<VideoTrackSelection>

<VideoTrack Id="VT_1" Codec="MPEG-2" ImageWidth="720" ImageHeight="480"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/VIDEO_TS/VTS_01_1.VOB" Default="true" />

<VideoTrack Id="VT_2" Codec="MPEG-2" ImageWidth="720" ImageHeight="480" />

</VideoTrackSelection>

<AudioTrackSelection>

<AudioTrack Id="AT_1" Language="en-US" Codec="LPCM" SampleRate="48" MaxChannels="6"/>

<AudioTrack Id="AT_2" Language="ja-JP" Codec="AC3" SampleRate="48" MaxChannels="2"/>

<AudioTrack Id="AT_3" Language="en-US" Codec="DTS" SampleRate="48" MaxChannels="2"

Type="Directors Commentary"/>

</AudioTrackSelection>

<SubtitleTrackSelection>

<SubtitleTrack Id="ST_1" ContentType="Language Translation" Language="en-US"

Format="DVDSP" SDHCaption="false" />

<SubtitleTrack Id="ST_2" ContentType="Language Translation" Language="ja-JP"

Format="DVDSP" SDHCaption="false" />

©Copyright 2010 The DVD Forum. All rights reserved. Page 33

Page 35: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

</SubtitleTrackSelection>

</TrackGroup>

</Presentation>

(iii) “/[Content_Types].xml”

The following is an informative example of the syntax of the “/[Content_Types].xml” stream.

<?xml version="1.0" encoding="UTF-8"?>

<Types xmlns="http://schemas.smpte-ra.org/2053/2010/MediaPackage/content-types">

<Default Extension="rels"

ContentType="application/vnd.openxmlformats-package.relationships+xml" />

<Default Extension="xml" ContentType="application/xml" />

<Default Extension="prs"

ContentType="application/vnd.smpte-mediapackage.presentation+xml" />

<Default Extension="img" ContentType="application/x-iso9660-image" />

<Default Extension="dif" ContentType="application/vnd.dvd-forum.dif" />

<Default Extension="ddf" ContentType="?????" />

<Override PartName="/TableOfContents.xml"

ContentType="application/vnd.smpte.TOC.main+xml" />

<Override PartName="/properties/core.xml"

ContentType="application/vnd.openxmlformats-package.core-properties+xml" />

</Types>

b. Case of DVD with second session files

This section describes an informative example of Media Package for an image file of a single DVD (same structure as the case of a. Case of Single DVD) with second session files in DVD Other Zone, as below.

• An MP4 file (“gwtw.m4v”) is recorded and the file contains one video track, two audio tracks and DRM information.

• A WMV file (“gwtw.wmv”) is recorded and the file contains one video track, two audio tracks and DRM information.

©Copyright 2010 The DVD Forum. All rights reserved. Page 34

Page 36: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

(i) Table of Contents XML Instance Document

An informative example of a Table of Contents Part included below. “PresentationRef” element for DVD Other Zone is described, which records second session files.

<?xml version="1.0" encoding="UTF-8"?>

<TableOfContents xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage/

SMPTE-Media-Package_TableOfContents.xsd"

Version="1" Source="http://www.ContosoStudios.com/gwtw/toc.xml">

<MediaApplications>

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

</MediaApplications>

<!-- Presentation for VTS-space #1 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VTS-space #01</Title>

<TitleBrief>GWTW-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

<!-- Presentation for VMG-space -->

<PresentationRef Id="VMG" VersionRequired="1" LocalSource="/GWTW-VMG.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VMG-space</Title>

<TitleBrief>GWTW-VMG</TitleBrief>

</PresentationRef>

<!-- Presentation for Other Zone -->

<PresentationRef Id="OTHER" VersionRequired="1" LocalSource="/GWTW-OTHER.prs">

<Title Language="en-us"> Gone with the Wind – Other Zone</Title>

<TitleBrief>GWTW-OTER</TitleBrief>

</PresentationRef>

</TableOfContents>

©Copyright 2010 The DVD Forum. All rights reserved. Page 35

Page 37: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

(ii) Presentation Instance Documents

An informative example of a Presentation Part included below, which is referred as “GWTW-OTHER.prs” in Table of Contents Part. Other examples of Presentation Parts are skipped.

<?xml version="1.0" encoding="UTF-8"?>

<Presentation xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage

SMPTE-Media-Package_PresentationRef.xsd" Version="1" >

<!-- Second Session file in MP4 format -->

<TrackGroup FormatCompatibilityCode="MP4">

<VideoTrackSelection>

<VideoTrack Id="VT_1" Codec="AVC" ImageWidth="720" ImageHeight="480"

RemoteSource="http://www.contosostudios.com/trailers/gwtw.m4v"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/MP4/gwtw.m4v" />

</VideoTrackSelection>

<AudioTrackSelection>

<AudioTrack Id="AT_1" Language="en-US" Codec="mp4a" SampleRate="48"

MaxChannels="2" Default="true"/>

<AudioTrack Id="AT_2" Language="ja-JP" Codec="mp4a" SampleRate="48"

MaxChannels="2"/>

</AudioTrackSelection>

</TrackGroup>

<!-- Second Session file in WMV format -->

<TrackGroup FormatCompatibilityCode="WMV">

<VideoTrackSelection>

<VideoTrack Id="VT_1" Codec="WMV" ImageWidth="720" ImageHeight="480"

RemoteSource="http://www.contosostudios.com/trailers/gwtw.wmv"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/WMV/gwtw.wmv" />

</VideoTrackSelection>

<AudioTrackSelection>

©Copyright 2010 The DVD Forum. All rights reserved. Page 36

Page 38: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

<AudioTrack Id="AT_1" Language="en-US" Codec="WMA" SampleRate="48"

MaxChannels="2" Default="true"/>

<AudioTrack Id="AT_2" Language="ja-JP" Codec="WMA" SampleRate="48"

MaxChannels="2"/>

</AudioTrackSelection>

</TrackGroup>

<!-- DRM information -->

<DRM>

<DRMLicenseIssuer Type="OMA" URL="http://www.openmobilealliance.org/" />

<DRMLicenseIssuer Type="PlaysForSure" URL="http://www.playforsure.com/" />

</DRM>

</Presentation>

(iii) “/[Content_Types].xml”

The same xml file will be contained as described in a. Case of Single DVD.

b. Case of Web DVD (DVD+HTML)

This section describes an informative example of Media Package for an image file of a single DVD (same structure as the case of a. Case of Single DVD) with HTML and related files (e.g. Java Script, JPEG, PNG, WAV, etc), so-called “Web DVD”, and these resources are recorded in DVD Other Zone and in the internet. The entry file for Web DVD is assumed to be the “INDEX.HTM” file in this example.

(i) Table of Contents XML Instance Document

An informative example of a Table of Contents Part included below. Additional “Application” element for Web DVD is described in addition to the standard DVD Navigation.

<?xml version="1.0" encoding="UTF-8"?>

<TableOfContents xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage/

SMPTE-Media-Package_TableOfContents.xsd"

©Copyright 2010 The DVD Forum. All rights reserved. Page 37

Page 39: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

Version="1" Source="http://www.ContosoStudios.com/gwtw/toc.xml">

<MediaApplications>

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

<!-- Additional Application for Web DVD from a website or a disc -->

<Application Type="HTML"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/HTML/INDEX.HTM"

RemoteSource="http://www.ContosoStudios.com/gwtw/HTML/INDEX.HTM"/>

</MediaApplications>

<!-- Presentation for VTS-space #1 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VTS-space #01</Title>

<TitleBrief>GWTW-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

<!-- Presentation for VMG-space -->

<PresentationRef Id="VMG" VersionRequired="1" LocalSource="/GWTW-VMG.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VMG-space</Title>

<TitleBrief>GWTW-VMG</TitleBrief>

</PresentationRef>

<!-- Presentation for Other Zone -->

<PresentationRef Id="OTHER" VersionRequired="1" LocalSource="/GWTW-OTHER.prs">

<Title Language="en-us"> Gone with the Wind – Other Zone</Title>

<TitleBrief>GWTW-OTER</TitleBrief>

</PresentationRef>

</TableOfContents>

©Copyright 2010 The DVD Forum. All rights reserved. Page 38

Page 40: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

(ii) Presentation Instance Documents

An informative example of a Presentation Part included below, which is referred as “GWTW-OTHER.prs” in Table of Contents Part. A WMV file referred by Web DVD, and recorded in DVD Other Zone and in the internet is described in the file.

Other examples of Presentation Parts are skipped.

<?xml version="1.0" encoding="UTF-8"?>

<Presentation xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage

SMPTE-Media-Package_PresentationRef.xsd" Version="1" >

<!-- Additional Trailer for Web DVD -->

<TrackGroup FormatCompatibilityCode="WMV">

<VideoTrackSelection>

<VideoTrack Id="VT_1" Codec="WMV" ImageWidth="720" ImageHeight="480"

RemoteSource="http://www.contosostudios.com/trailers/gwtw2.wmv"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/WMV/gwtw2.wmv" />

</VideoTrackSelection>

<AudioTrackSelection>

<AudioTrack Id="AT_1" Language="en-US" Codec="WMA" SampleRate="48"

MaxChannels="2" Default="true"/>

</AudioTrackSelection>

</TrackGroup>

</Presentation>

(iii) “/[Content_Types].xml”

The same xml file will be contained as described in a. Case of Single DVD.

c. Case of Multiple DVDs

This section describes an informative example of Media Package for 3 image files of DVDs. One DVD contains the VMG-space and one VTS-space (same structure as the case of a. Case of Single DVD), and the others contain only one VTS-space.

©Copyright 2010 The DVD Forum. All rights reserved. Page 39

Page 41: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

(i) Table of Contents XML Instance Document

An informative example of a Table of Contents Part included below. “Application” elements and “PresentationRef” elements for all 3 DVD image files are described.

<?xml version="1.0" encoding="UTF-8"?>

<TableOfContents xmlns="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.smpte-ra.org/schemas/2053/2010/MediaPackage/

SMPTE-Media-Package_TableOfContents.xsd"

Version="1" Source="http://www.ContosoStudios.com/gwtw/toc.xml">

<MediaApplications>

<!-- Application for DVD #1 -->

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2.AMZ.012345789ABCDF.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

<!-- Application for DVD #2 -->

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E5A-0000-O-0000-0000-3.AMZ.01234570000000.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

<!-- Application for DVD #3 -->

<Application Type="DVD"

LocalSource="/DVD.ISAN.0000-0000-9E5B-0000-O-0000-0000-4.AMZ.000000089ABCDF.IMG

/VIDEO_TS/VIDEO_TS.IFO" />

</MediaApplications>

<!-- Presentation for VTS-space #1 in DVD #1 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VTS-space #01</Title>

<TitleBrief>GWTW-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

<!-- Presentation for VMG-space in DVD #1 -->

<PresentationRef Id="VMG" VersionRequired="1" LocalSource="/GWTW-VMG.prs"

©Copyright 2010 The DVD Forum. All rights reserved. Page 40

Page 42: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

ContentId="DVD.ISAN.0000-0000-9E59-0000-O-0000-0000-2">

<Title Language="en-us"> Gone with the Wind – VMG-space</Title>

<TitleBrief>GWTW-VMG</TitleBrief>

</PresentationRef>

<!-- Presentation for DVD #2 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW2-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E5A-0000-O-0000-0000-3">

<Title Language="en-us"> Gone with the Wind Part2 – VTS-space #01</Title>

<TitleBrief>GWTW2-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

<!-- Presentation for DVD #3 -->

<PresentationRef Id="VTS_01" VersionRequired="1" LocalSource="/GWTW3-VTS_01.prs"

ContentId="DVD.ISAN.0000-0000-9E5B-0000-O-0000-0000-4">

<Title Language="en-us"> Gone with the Wind Part3 – VTS-space #01</Title>

<TitleBrief>GWTW3-VTS_01</TitleBrief>

<Rating System="MPAA" Value="PG13" Region="US" />

</PresentationRef>

</TableOfContents>

(ii) Presentation Instance Documents

Refer to a. Case of Single DVD.

(iii) “/[Content_Types].xml”

The same xml file will be contained as described in a. Case of Single DVD.

©Copyright 2010 The DVD Forum. All rights reserved. Page 41

Page 43: DVD-Video Image File Package for Electronic Distribution ... Image File Draft V2... · Package for Electronic Distribution (DRAFT) ... DVD-Video Image File Package for Electronic

DVD-Video Image File Package for Electronic Distribution

2. Encrypted Disc Image File Example:

3. Metadata File Example:

©Copyright 2010 The DVD Forum. All rights reserved. Page 42