<!--
{
  "documentType" : "article",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/QuickTime-File-Format/Video_sample_description_extensions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Video sample description extensions"
}
-->

# Video sample description extensions

Extend video sample descriptions by appending other atoms.

## Overview

These atoms are placed after the color table, if one is present. These extensions to the sample description may contain display hints for the decompressor or may simply carry additional information associated with the images. The following table lists the currently defined extensions to video sample descriptions.

|Extension type|Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|`'gama'`      |A 32-bit fixed-point number indicating the gamma level at which the image was captured. The decompressor can use this value to gamma-correct at display time.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|`'fiel'`      |Two 8-bit integers that define field handling. This information is used by applications to modify decompressed image data or by decompressor components to determine field display order. This extension is mandatory for all uncompressed Y´CbCr data formats. The first byte specifies the field count, and may be set to `1` or `2`. A value of `1` is used for progressive-scan images; a value of `2` indicates interlaced images. When the field count is `2`, the second byte specifies the field ordering: which field contains the topmost scan-line, which field should be displayed earliest, and which is stored first in each sample. Each sample consists of two distinct compressed images, each coding one field: the field with the topmost scan-line, T, and the other field, B. The following defines the permitted variants: `0` – There is only one field. `1` – T is displayed earliest, T is stored first in the file. `6` – B is displayed earliest, B is stored first in the file. `9` – B is displayed earliest, T is stored first in the file. `14` – T is displayed earliest, B is stored first in the file.|
|`'mjqt'`      |The default quantization table for a Motion-JPEG data stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|`'mjht'`      |The default Huffman table for a Motion-JPEG data stream.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|`'esds'`      |An MPEG-4 elementary stream descriptor atom. This extension is required for MPEG-4 video. For details, see ``doc://com.apple.qtff/documentation/quicktime-file-format/MPEG-4_elementary_stream_descriptor_atom``.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|`'avcC'`      |An H.264 AVCConfigurationBox. This extension is required for H.264 video as defined in ISO/IEC 14496-15. For details, see ``doc://com.apple.qtff/documentation/quicktime-file-format/AVC_decoder_configuration_atom``.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|`'pasp'`      |Pixel aspect ratio. This extension is mandatory for video formats that use non-square pixels. For details, see ``doc://com.apple.qtff/documentation/quicktime-file-format/Pixel_aspect_ratio``.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|`'colr'`      |Color parameters—an image description extension required for all uncompressed Y´CbCr video types. For details, see ``doc://com.apple.qtff/documentation/quicktime-file-format/Color_parameter_atom``.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|`'clap'`      |Clean aperture—spatial relationship of Y´CbCr components relative to a canonical image center. This allows accurate alignment for compositing of video images captured using different systems. This is a mandatory extension for all uncompressed Y´CbCr data formats. For details, see ``doc://com.apple.qtff/documentation/quicktime-file-format/Clean_aperture``.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |

## Topics

### Extending video sample descriptions

[`Pixel aspect ratio ('pasp')`](/documentation/quicktime-file-format/Pixel_aspect_ratio)

An extension that specifies the height-to-width ratio of pixels found in the video sample.

[`MPEG-4 elementary stream descriptor atom ('esds')`](/documentation/quicktime-file-format/MPEG-4_elementary_stream_descriptor_atom)

A required extension to the video sample description for MPEG-4 video.

[`AVC decoder configuration atom ('avcC')`](/documentation/quicktime-file-format/AVC_decoder_configuration_atom)

A required extension to the video sample description for H.264 video.

[`Color parameter atom ('colr')`](/documentation/quicktime-file-format/Color_parameter_atom)

A required extension for uncompressed Y´CbCr data formats.

[`Clean aperture ('clap')`](/documentation/quicktime-file-format/Clean_aperture)

An extension that defines the relationship between the pixels in a stored image and a canonical rectangular region of a video system from which it was captured or to which it will be displayed.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)