SampleToChunk
SampleToChunk, in the context of the ISO base media file format (used by MP4 and QuickTime), refers to the sample-to-chunk mapping data for a track. It is typically stored in the Sample To Chunk box (stsc) within the Track’s Sample Table Box (stbl). The stsc box provides a compact description of how consecutive samples are grouped into chunks, enabling efficient indexing and access during playback, seeking, and editing.
The stsc box contains one or more entries. Each entry specifies three fields: firstChunk, samplesPerChunk, and
A typical use of SampleToChunk is to determine which samples reside in a given chunk when combined
SampleToChunk is part of the broader sample table framework in MP4/QuickTime, interacting with related boxes such