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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Boxes.TimeToSample

Description

A table assigns each video frame or audio sample block, this is useful for seeking in complex media files.

Synopsis

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).

timeToSample :: [SttsEntry] -> Box TimeToSample Source #

Create a hint media header data box.