isobmff-0.13.0.0: A parser and generator for the ISO-14496-12/14 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).

Minimal complete definition

Nothing

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 :: Type) Source #

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

Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Brands.Dash

Associated Types

type BoxLayout (Dash v) :: Type Source #

Methods

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