5.0
VOBTBL.DAT/VOB Location Table
A
VOB Location Table is a binary file used as a kind of file directory
to specify the start and end sector addresses of files within
a DVD Image Stream (D0 Data Stream) that are to have some sort
of copy protection system applied. The file pointed to by a
D5 DDVMS packet contains a header record of 16 bytes followed
by one or more VOB Location records of 16 bytes each. In case
of Dual Layer configuration, the VOB Location Table is recorded
to the DVD CMF media which is prepared for each layer. That
is the entries in the VOB Location Table file only point to
the files or part of files that are on the same layer that the
VOB Location Table file is with. Only the following files in
the DVD Image Stream should be listed in the VOB Location Table
file.
- All
files that are to have CSS applied
- When
the DVD Image stream is stored in 2048 byte sector format,
then all files that are to have the CGMS bits in the CPR-MAI
set without CP_SEC set.
- When
the DVD Image stream is stored in 2048 byte sector format,
then all files that are to have CPPM applied.
Note:
The entries in the VOB Location Table file point only to the
part of the file that is present on the same layer that is with
the VOB file. That is when the VOB Location Table file describes
files on layer 0, it includes only the sector in the layer 0.
Header Record
The contents of the header record are listed in Table 5-1.
Table
5-1. The Header Record Contents
Byte
|
0-4
|
5-7
|
8-15
|
Name
|
VOB
Header
Record
Signature
|
VOB
Location
Table
Version
|
PAD(8)
|
VOB Header Record Signature
This
field is used to identify a VOB Location Table file.
Usage:
‘VOBLT’ (56h 4Fh 42h 4Ch 54h)
VOB Location Table Version
This
field identifies the version of the VOB Location Table file.
Usage:
‘1.0’ (31h 2Eh 30h)
PAD
This
field is pad and should be filled with 00h.
VOB Location Record
The
contents of each VOB Location record are listed Table 5-2.
This
table is variable length.
Table
5-2. The VOB Location Record Contents
Byte
|
0
|
1
|
2
|
3-7
|
8-11
|
12-15
|
Name
|
Valid
|
VTS
Number
|
VCPR_MAI
|
PAD(5)
|
Start
Addr(4)
|
End
Addr (4)
|
Valid
This
field specifies if the VOB Location Table file is valid or not.
All valid VOB records must be stored contiguously within the
VOB Location Table file.
Valid
=1 (01h) indicates that the record is valid for CSS processing.
=
2 (02h) indicates that the record is valid CGMS to be set
but not CP_SEC.
=
3 (03h) indicates that the record is valid for the CPPM processing
Invalid
records are only allowed at the end of the VOB location table.
All valid records must be stored contiguously, starting from
the first record.
VTS Number
If
Valid = 01h, then this field a number from 0 (00h) to
100 (64h) that is used to identify the Video Manager, Video
Title Set and Jacket Picture that contains the files that this
record applies. Each number is specified as follows.
VTS
# = 0 (00h) identifies Video Manager files
VTS
# = 1 (01h) … 99 (63h) identifies Video Title Set files
VTS
# = 100 (64h) identifies Jacket Picture files
If
Valid = 02h, then this field shall contain 00h.
If
Valid = 03h, then this field shall contain 00h.
VCPR_MAI
This
field specifies the value for the first byte of the CPR_MAI
field in the sectors of the VOB/AOB being described.
PAD
This
field is pad and should be filled with 00h.
Start Addr
This
field contains the DVD Sector Number for the first sector of
the file. The value in this field is right justified. Sector
numbers in Layer 1 of opposite path have the bit-inverted number.
When a file is recorded continuously from the end of Layer 0
to the beginning of Layer 1 in case of Dual Layer configuration,
Start Address of the file of Layer 1 shall be physical start
address of the Layer 1. The value stored in this field shall
be base 16.
Usage:
The
sector address stored with msb in byte 8 and lsb in byte 11.
Example
1: the DVD Sector Number 030241 hex would be stored in the following
table.
8
|
9
|
10
|
11
|
00h
|
03h
|
02h
|
41h
|
Example
2: On Layer 1 Opposite Track path, the DVD Sector Number FCEFF0
hex would be stored in the following table.
8
|
9
|
10
|
11
|
00h
|
FCh
|
EFh
|
F0h
|
End Addr
This
field contains the DVD Sector Number for the end sector of the
file. The value in this field is right justified Sector numbers
in Layer 1 of opposite path have the bit-inverted number. When
a file is recorded continuously from the end of Layer 0 to the
beginning of Layer 1 in case of Dual Layer configuration, End
Address of the file of Layer 0 shall be physical end address
of the Layer 0. The value stored in this field shall be base
16.
Usage:
The
sector address stored with msb in byte 8 and lsb in byte 11.
Example
1: the DVD Sector Number 035467 hex would be stored in the following
table.
12
|
13
|
14
|
15
|
00h
|
03h
|
54h
|
67h
|
Example
2: On Layer 1 Opposite Track path, the DVD Sector Number FCEFF0
hex would be stored in the following table.
8
|
9
|
10
|
11
|
00h
|
FCh
|
Efh
|
F0h
|
____________________________________________________ Copyright©
2004, the DVD Forum | All Rights Reserved
|