View Source ExMP4.Box.Stsc (MP4 Reader and Writer v0.6.0)

A module representing an stsc box.

Samples within the media data are grouped into chunks. Chunks can be of different sizes, and the samples within a chunk can have different sizes. This table can be used to find the chunk that contains a sample, its position, and the associated sample description.

Summary

Types

@type t() :: %ExMP4.Box.Stsc{
  entries: [
    %{
      first_chunk: integer(),
      samples_per_chunk: integer(),
      sample_description_index: integer(),
      first_sample: integer() | nil
    }
  ],
  flags: integer(),
  version: integer()
}