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 |
|---|---|
4 | |
Type = | 4 |
1 | |
3 | |
4 | |
4 | |
Variable |
Topics
Data fields
See Also
Describing samples
Sample table atom ('stbl')Seeking with a QuickTime fileSample description atom ('stsd')Time-to-sample atom ('stts')Creating video tracks at 30 frames per secondCreating video tracks at 29.97 frames per secondCreating sound tracks at 44.1 kHzComposition offset atom ('ctts')Composition shift least greatest atom ('cslg')Using composition offset and composition shift least greatest atomsSync sample atom ('stss')Partial sync sample atom ('stps')Sample-to-chunk atom ('stsc')Referencing two data files with a single trackChunk offset atom ('stco')