Contents

Sync sample atom ('stss')

An atom that identifies the key frames in the media.

Overview

In a media that contains compressed data, key frames define starting points for portions of a temporally compressed sequence. The key frame is self-contained — that is, it is independent of preceding frames. Subsequent frames may depend on the key frame.

The sync sample atom provides a compact marking of the random access points within a stream. The table is arranged in strictly increasing order of sample number. If this table is not present, every sample is implicitly a random access point.

Sync sample atoms have an atom type of 'stss'. The sync sample atom contains a table of sample numbers. Each entry in the table identifies a sample that is a key frame for the media. If no sync sample atom exists, then all the samples are key frames.

The layout of a sync sample atom is as follows.

Sync sample atom data field

Bytes

Size

4

Type = 'stss'

4

Version

1

Flags

3

Number_of_entries

4

Sync_sample_table

Variable

Topics

Data fields

See Also

Describing samples