DVD VOB System Clock Reference Frequency
In a DVD Video Object (VOB) stream, precise timing mechanisms are vital for maintaining synchronization between audio, video, and subtitle tracks. The System Clock Reference (SCR) serves as the master timing baseline for the entire stream, governing decoder buffers and playback rates. This article explains the exact operating frequency of the SCR within DVD VOB files, how it is structured, and why it is essential to the DVD playback specification.
The Operating Frequency of the SCR
Within a DVD VOB stream, the System Clock Reference operates at a base frequency of 27 MHz (27,000,000 Hz). Because DVD VOB files are strictly formatted MPEG-2 Program Streams (MPEG-2 PS), they adhere to the timing architectures established by the ISO/IEC 13818-1 standard.
The 27 MHz clock provides the high-resolution reference needed to manage data arrival, decoder buffers, and synchronous media presentation without jitter or drift.
Clock Structure: Base and Extension
The 27 MHz SCR value is encoded in the pack header of each 2048-byte sector in a VOB stream. To optimize data storage while preserving accuracy, the SCR is divided into two distinct parts:
- SCR Base (90 kHz): A 33-bit field running at 90 kHz (derived by dividing 27 MHz by 300). This aligns directly with the 90 kHz Presentation Time Stamps (PTS) and Decoding Time Stamps (DTS) used by individual audio and video streams.
- SCR Extension (27 MHz): A 9-bit field cycling from 0 to 299 that measures the remaining clock ticks between 90 kHz intervals, restoring full 27 MHz precision.
The complete value is calculated using the formula:
\[\text{SCR} = \text{SCR\_base} \times 300 + \text{SCR\_extension}\]
Function Within DVD Playback
DVD drives read VOB data in fixed-size blocks called packs. Each pack begins with a pack header containing an SCR timestamp. The decoder reads this timestamp to determine the exact moment the byte containing the SCR should enter the system target decoder.
By comparing the 27 MHz SCR against its internal clock, the playback hardware manages buffer capacity to prevent underflows (which cause stuttering) and overflows (which cause dropped frames), while ensuring video frames and audio samples align precisely during rendering.