View Source ExMP4.SampleMetadata (MP4 Reader and Writer v0.7.0)
A struct describing the metadata of a sample.
Summary
Types
@type t() :: %ExMP4.SampleMetadata{ dts: integer(), duration: integer(), offset: integer(), pts: integer(), size: integer(), sync?: boolean(), track_id: integer() | nil }
Sample metadata struct.
track_id- The track id of the sample.dts- The decoding time of the sample in tracktimescaleunits.pts- The presentation (compoistion) time of the sample in tracktimescaleunits.sync?- Indicates wether the sample is a sync or rap (random access point).duration- The duration of the sample in tracktimescaleunits.size- The size of the sample.offset- The offset of the sample in the container.