<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickTime File Format",
  "identifier" : "/documentation/quicktime-file-format/Closed_captioning_sample_data",
  "metadataVersion" : "0.1.0",
  "role" : "Atom",
  "symbol" : {
    "kind" : "Atom",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Closed_captioning_sample_data"
  },
  "title" : "Closed captioning sample data ('cdat')"
}
-->

# Closed captioning sample data ('cdat')

A sequence of one or more atoms that store closed captioning sample data.

## Overview

The format of the closed captioning sample data is a sequence of one or more atoms, one of which must be a `'cdat'` atom. Unrecognized atoms should be ignored.

## Topics

### Data fields

[`Size`](/documentation/quicktime-file-format/Closed_captioning_sample_data/Size)

A 32-bit integer that specifies the number of bytes in this closed captioning media data atom.

[`Type`](/documentation/quicktime-file-format/Closed_captioning_sample_data/Type)

A 32-bit integer that identifies the atom type.

[`Sample data`](/documentation/quicktime-file-format/Closed_captioning_sample_data/Sample_data)

An array of one or more byte pairs for data channel 1/field 1 (“CC1”) of a CEA-608 data stream, each byte pair corresponding to a video frame.



---

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)