How VOB Relates to MPEG-2 Program Streams

A VOB (Video Object) file is a specialized container format used on DVD-Video media that is fundamentally based on the MPEG-2 Program Stream (PS) standard (ISO/IEC 13818-1). While standard MPEG-2 Program Streams define a generic method for multiplexing synchronized video, audio, and system data, the DVD-Video specification heavily restricts and extends this format to meet the demands of optical disc playback. This article examines the exact relationship between the standard MPEG-2 Program Stream and the VOB container, highlighting their shared architecture, unique extensions, and structural constraints.

The Underlying Architecture

At its core, a VOB file is an MPEG-2 Program Stream. The MPEG-2 Program Stream standard divides multiplexed data into units known as "packs," which contain a pack header followed by one or more Packetized Elementary Stream (PES) packets carrying compressed elementary streams such as video and audio.

VOB files inherit this base architecture directly. Any standard VOB file consists of a continuous sequence of MPEG-2 packs. However, while the generic MPEG-2 PS specification allows variable pack sizes and flexible stream allocations, the DVD specification imposes rigid rules to guarantee real-time playback from physical optical drives.

Sector Alignment and Pack Size

Standard MPEG-2 Program Streams do not mandate a fixed pack size; packs can vary in length depending on the multiplexer's implementation. In contrast, the DVD-Video specification requires that every pack within a VOB file be exactly 2,048 bytes long.

This 2 KB limitation directly matches the logical sector size of a DVD disc. By enforcing a fixed pack size aligned with the physical disc sectors, DVD players can read, buffer, and process packets without having to assemble fragmented data across sector boundaries, drastically reducing processing overhead and latency during playback.

Audio and Sub-Picture Extensions via Private Streams

Standard MPEG-2 Program Streams natively support MPEG-1 and MPEG-2 audio layers. However, the commercial DVD format required support for formats such as Dolby Digital (AC-3), DTS, Linear PCM, and sub-picture overlays (run-length encoded graphics used for subtitles and menu highlights).

To incorporate these non-MPEG formats without violating the standard, DVD authors utilized the standard MPEG-2 "Private Stream 1" identifier (stream ID 0xBD). Within a VOB file, non-MPEG audio codecs and DVD sub-pictures are packed inside Private Stream 1 PES packets, preceded by DVD-specific sub-stream headers that identify whether the payload is AC-3, DTS, LPCM, or subtitle data.

DVD-Specific Navigation Packs (NV_PCK)

The most significant structural departure of a VOB file from a standard MPEG-2 Program Stream is the introduction of the Video Object Unit (VOBU). A VOBU represents a presentation unit typically lasting between 0.4 and 1.0 seconds, corresponding to a Group of Pictures (GOP).

Every VOBU must begin with a specialized Navigation Pack (NV_PCK), carrying the MPEG-2 "Private Stream 2" identifier (0xBF). This pack contains two distinct payloads:

Generic MPEG-2 Program Streams have no knowledge of VOBUs or Navigation Packs. While standard players can ignore these packs because they utilize legal MPEG-2 stream IDs, the navigation features remain inert without a dedicated DVD playback engine.

Multiplexing and Encryption Constraints

Standard MPEG-2 allows multiple video streams and largely unrestricted bitrates. A VOB file, by contrast, restricts content to a single MPEG-2 (or MPEG-1) video stream with a strict combined total bitrate ceiling of 10.08 Mbps (including video, audio, and sub-pictures).

Furthermore, VOB files on commercial DVDs frequently employ Content Scramble System (CSS) encryption. While the MPEG-2 PS header specifies bits for copyright and scrambling flags, the actual CSS algorithm and key structures are exclusive to DVD implementations and outside the standard MPEG-2 specification.

Compatibility

Because a VOB file adheres to the core syntactical rules of ISO/IEC 13818-1, renaming a .vob file to .mpg often allows basic software media players to demux and decode the primary video and MPEG audio tracks. However, full DVD functionality—including interactive menu navigation, alternate audio track selection (such as AC-3 or DTS), and subtitle display—requires a player that understands the DVD-specific extensions layered onto the base MPEG-2 Program Stream framework.