View Source ExMP4.Track.Fragment.Run (MP4 Reader and Writer v0.4.0)

A struct representing a run (trun box) in a fragment.

Summary

Types

@type t() :: %ExMP4.Track.Fragment.Run{
  first_sample?: boolean(),
  first_sample_flags: bitstring() | nil,
  last_dts: integer() | nil,
  sample_composition_offsets: [integer()] | nil,
  sample_count: integer(),
  sample_durations: [integer()] | nil,
  sample_sizes: [integer()] | nil,
  sync_samples: bitstring() | nil
}

Functions

@spec sample_metadata(t()) :: {t(), tuple()}
Link to this function

store_sample(run, sample)

View Source
@spec store_sample(t(), ExMP4.Sample.t()) :: t()