isobmff-builder-0.11.2.0: A (bytestring-) builder for the ISO-14496-12 base media file format

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Boxes.TrackRun

Description

A list of sample offsets and sizes of a track. This tells the decoder where stuff inside an mdat box is, and also where the mdat box starts, which is the reason why currently there are several TODOs concercning the offset calculation.

Synopsis

Documentation

trackRunIso5 :: Int32 -> [(Word32, ByteString)] -> Box TrackRun Source #

Create a track run box. First parameter is the accumulated offset to the moof box. This is needed for data offset calculation. Then follows a list of sample-duration and sample-sizes. All samples are flagged independent.