View Source ExMP4.Box.MovieFragment (MP4 Reader and Writer v0.4.0)
A module containing a function for assembling an MPEG-4 movie fragment (moof) box.
Summary
Functions
Creates a new moof
box from the ExMP4.Track.Fragment
fragments.
Unpacks a moof
box into a list of ExMP4.Track.Fragment
fragments.
Functions
@spec assemble([ExMP4.Track.Fragment.t()], integer()) :: ExMP4.Container.t()
Creates a new moof
box from the ExMP4.Track.Fragment
fragments.
@spec unpack(ExMP4.Container.t()) :: [ExMP4.Track.Fragment.t()]
Unpacks a moof
box into a list of ExMP4.Track.Fragment
fragments.
@spec update_base_data_offsets(ExMP4.Container.t(), %{ required(track_id :: integer()) => offset :: integer() }) :: ExMP4.Container.t()