Safe Haskell | None |
---|---|
Language | Haskell2010 |
A table assigns each video frame or audio sample block, this is useful for seeking in complex media files.
- type TimeToSample = FullBox TimeToSampleTable 0
- type SttsEntry = U32 "sample_count" :+ U32 "sample_delta"
- newtype TimeToSampleTable = TimeToSampleTable (ListContent (U32 "entry_count") SttsEntry)
- timeToSample :: [SttsEntry] -> Box TimeToSample
Documentation
type TimeToSample = FullBox TimeToSampleTable 0 Source #
An alias for the box content type.
type SttsEntry = U32 "sample_count" :+ U32 "sample_delta" Source #
Define an entry of the compact table, that specifes the namber of samples with the same time delta. (All this to help random seeking in media).
newtype TimeToSampleTable Source #
A compact table to map decoding time to sample number.
TimeToSampleTable (ListContent (U32 "entry_count") SttsEntry) |
timeToSample :: [SttsEntry] -> Box TimeToSample Source #
Create a hint media header data box.