View Source ExMP4.Box.Track (MP4 Reader and Writer v0.3.0)

A module containing a set of utilities for assembling an MPEG-4 track box.

The track box (trak atom) describes a single track of a presentation. This description includes information like its timescale, duration, volume, media-specific data (media handlers, sample descriptions) as well as a sample table, which allows media players to find and interpret track's data in the media data box.

For more information about the track box, refer to ISO/IEC 14496-12.

Summary

Functions

@spec assemble(ExMP4.Track.t()) :: ExMP4.Container.t()
@spec unpack(%{children: ExMP4.Container.t(), fields: map()}) :: ExMP4.Track.t()