Why VOB Subtitles Lose Sync Without IFO Parsing

Transcoding DVD VOB (Video Object) files directly without referencing their corresponding IFO (Information) files frequently causes subtitle tracks to fall severely out of sync. This issue occurs because VOB files do not contain a single, linear timeline; instead, they contain raw multiplexed streams that rely on the metadata within the IFO file to determine cell ordering, presentation timestamps (PTS), and global timing delays. Without the IFO file serving as a master navigational map, transcoders miscalculate when subtitle packets should appear relative to the audio and video.

The Role of the IFO File

On a standard DVD-Video disc, multimedia content is split between VOB containers and IFO files. While the VOB contains the multiplexed MPEG-2 video, AC-3 or DTS audio, and subpicture (subtitle) streams, the IFO file holds the control structure. It dictates the Program Chain (PGC), which defines the logical playback sequence of video segments known as "cells."

A transcoder processing a raw VOB treats it as a single, continuous MPEG program stream. In reality, a VOB file is often just a physical container holding fragmented pieces of content that are not necessarily arranged in chronological order.

Presentation Time Stamp (PTS) Discontinuities

Subtitles on DVDs are stored as bitmap streams called subpictures, timed using Presentation Time Stamps (PTS). In a continuous media file, PTS values increment predictably from the start of the file to the end. On a DVD, however, timestamps frequently reset, jump, or wrap around at cell boundaries, layer transitions, and chapter breaks.

The IFO file contains the time map table that reconciles these PTS discontinuities, translating individual cell timestamps into a unified playback clock. When an encoder demuxes a VOB without this map, it cannot determine whether a sudden shift in PTS represents an actual time gap or an arbitrary reset. Consequently, the transcoder may place subtitle events according to their raw, unadjusted PTS values, causing subtitles to appear minutes too early, too late, or to progressively drift over time.

Non-Linear Data and Interleaved Cells

VOB files frequently contain data that was never intended to be played in sequential order:

Reading a VOB linearly forces the transcoder to process packets from every interleaved branch. This injects extraneous video frames, audio blocks, and subpicture packets into the decoding pipeline, completely corrupting the runtime calculation and desynchronizing the subtitles from the main feature.

Missing Global Subtitle Delays

DVD subtitle streams commonly rely on an initial global delay parameter embedded within the IFO's PGC metadata rather than inside the Packetized Elementary Stream (PES) headers of the VOB. This value tells the playback hardware to offset the entire subtitle track by a specific number of milliseconds.

When converting raw VOBs, this offset is completely lost. Even if the video and audio remain synchronized due to shared packet interleaved timing, the subtitles will consistently lead or lag by the exact duration of the missing initial offset from the very beginning of playback.