DVD Subpicture Color Limitations in VOB Files

This article provides an overview of the strict color and palette limitations imposed on subpicture graphics within DVD Video Object (VOB) files. Subpictures—used primarily for subtitles, DVD menu overlays, and button highlights—rely on a tightly constrained graphics system designed to minimize processing overhead and bandwidth. Understanding these restrictions is essential for authoring compliant DVD assets and designing legible subtitle and menu streams.

The 4-Color Simultaneous Limit

Every individual subpicture graphic inside a VOB stream is strictly limited to displaying a maximum of four distinct colors at any single time. Although a DVD can store a broader range of colors across an entire video title, any single rendered subpicture unit (SPU) can only assign pixels to one of four predetermined color slots.

The 16-Color Master Palette

The four colors used in an individual subpicture are not arbitrary RGB values defined inside the subpicture stream itself. Instead, they must be selected from a global 16-color master palette.

Pixel Roles and Categorization

To manage text, outlines, and transparency, DVD-Video specifications categorize the four available colors into specific functional roles:

  1. Background (b): Typically transparent, filling the unused canvas area of the graphic frame.
  2. Pattern (p): The primary color, usually assigned to the body of text or menu button icons.
  3. Emphasis 1 (e1): Used for anti-aliasing edges, drop shadows, or inner borders.
  4. Emphasis 2 (e2): Used for outer borders, secondary anti-aliasing shades, or distinct structural outlines.

Alpha and Transparency Limitations

Alongside the four-color limit, DVD subpictures impose a 4-bit transparency limit. Each of the four assigned colors is given an independent contrast (alpha) value ranging from 0 to 15:

Because there are only 16 levels of opacity, smooth gradient blending with the underlying video stream is heavily restricted. When authoring subpictures, anti-aliased graphics must rely on careful coordination between the two Emphasis colors and intermediate alpha values to avoid harsh, jagged pixelation over moving video.