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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.MediaFile

Description

Brand/Box-validation

Synopsis

Documentation

class IsMediaFileFormat brand where Source #

A class that describes (on the type level) how a box can be nested into other boxes (see 'Boxes).

Associated Types

type BoxLayout brand Source #

The layout that an IsBoxContent instance has to have, before packMedia accepts it

Methods

mediaBuilder :: forall t proxy. (IsBoxContent t, IsRuleConform t (BoxLayout brand) ~ True) => proxy brand -> t -> Builder Source #

Instances

IsMediaFileFormat * (Dash v) Source #

A BoxLayout which contains the stuff needed for the dash brand. TODO add iso1 iso2 iso3 iso5 isom formats

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 #