View Source ExMP4.Box.Movie (MP4 Reader and Writer v0.2.0)

A module providing a function assembling an MPEG-4 movie box.

The movie box (moov) is a top-level box that contains information about a presentation as a whole. It consists of:

  • exactly one movie header (mvhd atom)

    The movie header contains media-independent data, such as the number of tracks, volume, duration or timescale (presentation-wide).

  • one or more track box (trak atom)

  • zero or one movie extends box (mvex atom)

Summary

Functions

Link to this function

adjust_chunk_offsets(movie_box)

View Source
@spec adjust_chunk_offsets(ExMP4.Container.t()) :: ExMP4.Container.t()
Link to this function

assemble(tracks, extensions \\ [])

View Source
@spec assemble([ExMP4.Track.t()], ExMP4.Container.t()) :: ExMP4.Container.t()