DDVMS packets ties together with the DDVID packet to make complete
DDVID.DAT file. DDVMS packet also ties together the various files
required to complete the DVD image. These packets constitute both
the data to be placed on the DVD disc and other data such as ordering
information. The contents of the DDVMS packet are listed in Table
STREAM PACKET CONTENTS
Byte Length Symbol Name
0-3 4 MPV Map
4-5 2 DST Data
6-13 8 ----- Reserved
14-21 8 DSL Data
22-29 8 DSS Data
30-37 8 ----- Reserved
38-39 2 CDM DVD
40 1 SSM Source
41 1 SCR Source
42-70 29 ----- Reserved
71-73 3 SIZ Size
of data stream identifier
74-90 17 DSI Data
91-127 37 ----- Reserved
3-1. DDVMS Stream Packet Contents
DDVMS packet consists of 128-byte data stream. Each packet contains
pointers and other information about data file which follows.
Any unused data space in the DDVMS packet that is not used by
a packet is padded with 00h. Packets are stored in the order in
which the data is to be stored on the DVD Disc. The first map
in any DDVMS packet begins on unit byte 0. When sequential access
media is used, a packet named DDVMS is the second stream in the
DDVID.DAT sequence. In order to identify this DDVMS packet, the
first parameter, the Map packet valid /MPV, of first 4 bytes of
DDVMS packet is used after identifying of DDVID.DAT file.
Map Packet Valid
MPV has the ASCII value of VVVM and identifies valid 128-byte
map packets from invalid unused space in the map stream.
VVVM = a valid 128-byte map packet
Data Stream Type
DST contains an identification for the type of data described
by this map packet. DM (Main) data is placed in the main channel
of the DVD Disc. TS (Text) data is text data for comments and
customer information and is not placed on the DVD Disc today.
See section 4.0 Text Stream.
D0 = DM (Main) Data stream
D2 = DM (Main) Lead-in data*
D5 = DM (Main) VOB location table**
T5 = TS (Text) Field oriented customer information*** (Strongly
All others reserved
D2 describes streams that contain 16 sectors of control data
to be placed in the lead-in of the DVD Disc. The stream does
not contain the entire contents of lead-in. DVD Disc formatters
must insert the contents of the stream into the lead-in being
generated during mastering.
D5 describes streams that contain a table that identifies
the location of DVD VOB files on the final DVD disc. A stream
pointed to by a D5 DDVMS packet is described in the section
5.0, titled VOB Location Table.
T5 describes streams that contain customer information in
a specific field oriented manner.
nnnnnnnn = 8 ASCII spaces
Data Stream Length
DSL contains the amount of data in the stream described by the
map packet. In the case of DM (Main) data, DSL contains the
number of DVD sectors. In the case of TS (Text) data, DSL contains
the exact number of valid bytes in the input data.
11111111 = the decimal number of sectors for D0 or D2 (Main)
data or the decimal number of bytes for D5 and T5 (Text) data.
Data Stream Start
DSS contains the address of the physical DVD Disc sector where
DM (Main) data are placed on the DVD Disc. The address is stored
in this field in base 10 format.
This field is required for all surfaces.
For Layer 1 Opposite Track Path DVD discs, the value for the
address shall be the 1's complement of the actual address on
the disc that the data will be placed.
address of the first sector of the data area on the disc is
030000 (base 16), the value stored in this field will be 196608.
Layer 1 Opposite Track Path, the surface will be cut from outer
radius to inner radius. Therefore the first sector of data area
is towards the outer radius of layer. If the address of the
first sector of the data area on layer 1 is to be FCEFF0 (base
16), then the value for this field is computed as follows:
complement of FCEFF0 is 3100F(base 16)
(base 16) is converted to 200719 (base 10)
value stored in this field should then be 200719 (32 30 30 37
31 39 hex).
ssssssss = The decimal address of physical sector expressed
in ASCII characters.
nnnnnnnn = 8 ASCII spaces.
DVD Disc Mode
CDM describes what mode of data is to be recorded on the DVD
Disc for this particular map packet. This is independent of
how data is stored on the input media. CDM is filled with ASCII
spaces when map packet is used for TS (Text) data.
DV = DVD Disc
Source Storage Mode
SSM contains a description of how the input data is stored on
the input media and is used in conjunction with CDM. SSM is
filled with an ASCII space when a map packet is used for TS
(Text) data or D5 data.
0 = (30 hex) User data only, Record size 2048 bytes
= (31 hex) Complete, Record size 2054 bytes
= (36 hex) Incomplete, Record size 2064 bytes
7 = (37 hex) Complete, Record size 2064 bytes
DVD discs contain 2064 bytes of information per sector, divided
as follows: ID (4 bytes), IEC (2 bytes), CPR_MAI(6 bytes), user
data (2048 bytes) and error detection code (EDC) (4 bytes).
When SSM = 0, ID, IEC, and EDC is generated, CPR_MAI is set
to zero, and the user data is sent without modification. When
SSM = 1, ID, IEC, and EDC is generated, and CPR_MAI and user
data are sent without modification. When SSM = 6, ID, IEC, and
EDC are ignored and regenerated, and CPR_MAI and user data are
sent without modification. When SSM=7, the entire sector is
sent without modification.
When VOB Location Table /VOBTBL.DAT file is located in the sequence,
the contents of CPR_MAI should follow the contents of VOBTBL.DAT
Source material sCRambled
SCR contains information whether the data on input media has
already been scrambled. An SCR of 1 is used only when SSM =
6 or 7. SCR is filled with an ASCII space when the map packet
is used for TS (Text) data.
0 = (hex 30) indicates data on input media is not scrambled
1 = (hex 31) indicates data on input media is scrambled
..nnn = 28 ASCII spaces
SIZe of DSI
SIZ contains the size, in decimal, of the data stream identifier
(DSI) entry immediately following SIZ. For DDVID level 1.00,
DSI is 17 characters. SIZ is filled with ASCII spaces when no
DSI is present.
nnn = a decimal number expressed in ASCII form (017 for
DDVID level 1.00)
Data Stream Identifier
DSI contains the name of the TS (Text) file when used with logically
accessed input media such as labeled tape. DSI also contains
the name of DM (Main) files when used with logically accessed
direct access media such as DOS files. Since DM (Main) type
files must be mastered in the order in which they are stored
on sequential logically accessed input media, DSI is not required
for DM (Main) files, but is included anyway for operator convenience,
although it is ignored by mastering. DSI is filled with ASCII
spaces when not used.
nnnnnnnnnnnnnnnnn = 17 ASCII characters
.nnn = 37 ASCII spaces
2004, the DVD Forum | All Rights Reserved