Contents

Sample size atom ('stsz')

An atom you use to specify the size of each sample in the media.

Overview

Sample size atoms have an atom type of 'stsz'.

The sample size atom contains the sample count and a table giving the size of each sample. This allows the media data itself to be unframed. The total number of samples in the media is always indicated in the sample count. If the default size is indicated, then no table follows.

The layout of a sample size atom is as follows.

Sample size atom data field

Bytes

Size

4

Type = 'stsz'

4

Version

1

Flags

3

Sample_size

4

Number_of_entries

4

Sample_size_table

Variable

Topics

Data fields

See Also

Describing samples