Stsz
Stsz is a four-character code used in the MP4 and ISO base media file format to denote the Sample Size Box. It is part of the Sample Table Box (stbl) and plays a central role in describing the byte size of each media sample within a track. The stsz box is essential for determining where one sample ends and the next begins, which supports decoding, streaming, and seeking.
The box begins with a version field and flags, followed by a field called sample_size and a
In practical use, the stsz box works in concert with other metadata boxes in the MP4 container,
Etymology and scope: stsz stands for “Sample Size Box.” It is defined in the ISO/IEC 14496-12 specification