---
title: Sample-to-chunk table
framework: quicktime-file-format
role: symbol
role_heading: Data field
path: quicktime-file-format/sample-to-chunk_atom/sample-to-chunk_table
---

# Sample-to-chunk table

A table that maps samples to chunks.

## Overview

Overview The following table shows the structure of an entry in a sample-to-chunk table. Each sample-to-chunk atom contains such a table, which identifies the chunk for each sample in a media. Each entry in the table contains a first chunk field, a samples per chunk field, and a sample description ID field. From this information, you can ascertain where samples reside in the media data. The layout of a sample-to-chunk table entry is as follows.  |   |   |   |  You define a sample-to-chunk table entry by specifying the following data elements. An example of a sample-to-chunk table is as follows.  |  |   |  |   |  |   |  |  Each table entry corresponds to a set of consecutive chunks, each of which contains the same number of samples. Furthermore, each of the samples in these chunks must use the same sample description. Whenever the number of samples per chunk or the sample description changes, you must create a new table entry. If all the chunks have the same number of samples per chunk and use the same sample description, this table has one entry.

## See Also

### Data fields

- [Size](quicktime-file-format/sample-to-chunk_atom/size.md)
- [Type](quicktime-file-format/sample-to-chunk_atom/type.md)
- [Version](quicktime-file-format/sample-to-chunk_atom/version.md)
- [Flags](quicktime-file-format/sample-to-chunk_atom/flags.md)
- [Number of entries](quicktime-file-format/sample-to-chunk_atom/number_of_entries.md)
