Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- trackRunIso5 :: Int32 -> [(Word32, ByteString)] -> Box TrackRun
- data TrackRun
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.