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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Brands.Dash

Description

Predefined Box composition matching the dash brand. TODO this is an incomplete, special-purpose variant of this brand, serving my personal, educational, current need. This is a convenient way of building documents of that kind.

Synopsis

Documentation

data Dash version Source #

A phantom type to indicate this branding. Version can be 0 or 1 it is used in some boxes to switch between 32/64 bits.

Instances

IsMediaFileFormat * (Dash v) Source #

A BoxLayout which contains the stuff needed for the dash brand. TODO incomplete

Associated Types

type BoxLayout (Dash v) (brand :: Dash v) :: * Source #

Methods

mediaBuilder :: (IsBoxContent t, (Bool ~ IsRuleConform * * t (BoxLayout (Dash v) brand)) True) => proxy brand -> t -> Builder Source #

type BoxLayout * (Dash v) Source # 
type BoxLayout * (Dash v)

data SingleAudioTrackInit Source #

A record which contains the stuff needed for a single track initialization document according to the Dash brand. TODO incomplete TODO take this out into its own module, make a new package for specific file formats

mkSingleTrackInit :: SingleAudioTrackInit -> Builder Source #

Convert a SingleAudioTrackInit record to a generic Boxes collection.