How DVD-9 Layer Break Affects VOB Sector Allocation

A DVD-9 uses a dual-layer disc structure that requires a physical transition from the first layer (Layer 0) to the second layer (Layer 1), commonly known as the layer break. This article examines how positioning this transition directly dictates the logical and physical sector allocation of DVD Video Object (VOB) files, detailing the constraints on cell boundaries, block padding, and optical disc balancing required for standards-compliant playback.

The Physical Structure: Opposite Track Path and Capacity Rules

A standard commercial DVD-9 employs an Opposite Track Path (OTP) orientation. On an OTP disc, the optical pickup reads Layer 0 (L0) starting from the inner hub outward to the edge, then refocuses its laser on Layer 1 (L1) and reads back toward the inner hub.

Because of this physical geometry, the sector allocation of video files must comply with a strict hardware rule: the capacity of Layer 0 must be greater than or equal to the capacity of Layer 1 (L0 ≥ L1). The authoring software cannot simply divide a 7.5 GB set of VOB files in half. It must place the layer break at a sector address high enough on L0 so that all remaining data fits within the inner physical radius allocated for L1.

Alignment to 16-Sector ECC Blocks

Optical DVDs store data in 2,048-byte (2 KB) sectors, which are grouped into 16-sector blocks forming a 32 KB Error Correction Code (ECC) block.

A DVD-9 layer break must occur on an exact ECC boundary. Consequently, the final sector allocated to L0 must be an integer multiple of 16 (often ending in a sector address ending in 15 when using 0-based indexing). If a VOB file's relevant video data does not terminate naturally on this 16-sector boundary, the authoring system must force sector padding. The software inserts dummy or empty sectors directly into the file allocation table or VOB structure to ensure the sector allocation at the end of L0 aligns with the disc's physical ECC architecture.

Cell Boundary Placement within VOB Files

VOB files contain multiplexed MPEG-2 video, audio, and subtitle streams divided into Video Object Units (VOBUs), which are further organized into Cells and Chapters.

A layer break cannot bisect an active VOBU or an open Group of Pictures (GOP). The transition requires the optical pickup to refocus its lens to the second reflective layer, causing an unavoidable physical delay (typically 200 to 500 milliseconds). Therefore, the sector allocation for the layer break must strictly coincide with the start of a new Cell:

If a designated chapter or cell point does not fall within the legal range where L0 ≥ L1, authoring tools must split an existing cell into two distinct cells at a GOP boundary. This redistributes the sector allocation within the VTS_xx_x.VOB files to create an artificial break point that satisfies both navigation and physical disc rules.

Impact on Logical Block Addressing (LBA)

Inside the DVD-Video file structure, individual VOB files are capped at 1 GB (1,048,576 KB) to maintain compatibility with the UDF 1.02 file system. A large feature film typically spans several linked files (VTS_01_1.VOB, VTS_01_2.VOB, VTS_01_3.VOB, etc.).

The layer break disrupts linear addressing at the hardware level:

  1. L0 Addressing: Follows standard ascending Logical Block Addressing (LBA) from the disc lead-in outward.
  2. The Inversion Point: At the layer transition, the disc hardware translates the physical sector numbers (PSN) using bit inversion to reflect the inverted spiral on L1.
  3. IFO Table Updates: The Video Title Set information file (VTS_xx_0.IFO) must map every VOBU start sector relative to both the title set and the physical LBA. When the layer break is positioned, the authoring software updates the sector tables (such as the C_PBT or Cell Position Table and VTS_VOBU_ADMAP) to match the new physical offsets created by the layer division and any inserted padding sectors.