How DVD Players Locate Chapters Across VOB Files
DVD players navigate seamless chapter transitions across multiple chained VOB files by decoupling navigation logic from the actual media stream. Instead of inspecting video data inside the VOB files to find chapter markers, the player relies on accompanying IFO files that treat sequential 1 GB VOB files as a single contiguous logical data stream. By cross-referencing Program Chains, Cells, and Logical Block Addresses stored in these metadata files, the player can jump directly to any chapter regardless of which physical file contains it.
The Role of VOB Splitting
Under the DVD-Video standard, media files are divided into fragments
known as Video Object files (VOB), labeled sequentially (e.g.,
VTS_01_1.VOB, VTS_01_2.VOB). This division was
implemented to ensure compatibility with older file systems, such as ISO
9660 and UDF 1.02, which cannot handle files larger than 1 GB. Despite
this physical fragmentation on the disc, a feature film is meant to play
as an uninterrupted stream.
The IFO File: The DVD's Roadmap
The intelligence behind DVD navigation resides in the Video Title Set
Information file (VTS_xx_0.IFO). VOB files contain the
multiplexed audio, video, subtitle streams, and basic navigation
packets, but they do not contain the overall chapter index. The IFO file
holds the master tables that define how the media is structured and
played.
Logical Units: Titles, PGCs, and Cells
To manage playback, the DVD specification organizes video into a hierarchy:
- Title: The primary presentation, such as a feature movie.
- Program Chain (PGC): A sequence of video segments that dictates the playback order.
- Programs: The logical divisions within a PGC that correspond directly to Chapters.
- Cells: The smallest addressable chunks of video/audio content. A chapter typically begins at the start of a designated Cell.
Mapping Chapters to Physical Sectors
When a user requests a specific chapter via a remote control or menu, the player performs the following steps:
- Chapter Lookup: The player consults the Title's PGC table within the IFO file to determine which Program (Chapter) was requested.
- Cell Identification: The IFO maps that Program to a specific entry-point Cell.
- Sector Address Resolution: Inside the Cell Playback
Information Table (
C_PBI), every Cell has a recorded start address expressed as a Logical Block Address (LBA). The DVD file system treats all chained VOB files in a Title Set as one continuous sequence of sectors. - Physical File Calculation: Because DVD sectors are a fixed 2,048 bytes (2 KB) each, the player uses simple math to translate the global sector address into the exact physical VOB file on the disc, as well as the exact byte offset within that file.
- Direct Seek and Playback: The optical drive head
moves directly to the target disc sector. Upon arrival, the player reads
the Video Object Unit (VOBU) Navigation Pack (
NV_PCK) located at that address to synchronize audio and video timestamps, then begins immediate playback.
Because the addressing mechanism relies on global disc sector numbers
defined in the IFO rather than intra-file timestamps, traversing across
file boundaries (such as jumping from VTS_01_1.VOB to
VTS_01_3.VOB) occurs instantaneously and transparently to
the viewer.