Safe Haskell | None |
---|---|
Language | Haskell2010 |
- metaDataSampleEntry :: MetaDataCoding c -> U16 "data_reference_index" -> SampleEntry TimedMetaDataTrack (MetaDataCoding c) -> Box (SampleEntry TimedMetaDataTrack (MetaDataCoding c))
- data family MetaDataCoding (c :: Symbol)
- type Uri = FullBox UriField 0
- newtype UriField = UriField (Tagged "theURI" Text)
- uriBox :: Text -> Box Uri
- newtype UriInitField = UriInitField (Tagged "uri_initialization_data" ByteString)
- type UriInit = FullBox UriInitField 0
- uriInitBox :: ByteString -> Box UriInit
- bitRateBox :: BitRate -> Box BitRate
- newtype BitRate = BitRate (U32 "bufferSizeDB" :+ (U32 "maxBitrate" :+ U32 "avgBitrate"))
Generat meta data sample entry
metaDataSampleEntry :: MetaDataCoding c -> U16 "data_reference_index" -> SampleEntry TimedMetaDataTrack (MetaDataCoding c) -> Box (SampleEntry TimedMetaDataTrack (MetaDataCoding c)) Source #
Construct a meta data sample entry box. For every MetaDataCoding
a SampleEntry
instances must be provided.
data family MetaDataCoding (c :: Symbol) Source #
A coproduct of meta data codings (XML, Text, ...)
Default (MetaDataCoding "mett") Source # | |
Default (MetaDataCoding "metx") Source # | |
Default (MetaDataCoding "urim") Source # | |
IsBoxContent (MetaDataCoding "mett") Source # | |
IsBoxContent (MetaDataCoding "metx") Source # | |
IsBoxContent (MetaDataCoding "urim") Source # | |
data MetaDataCoding "mett" Source # | The plain text meta data samples declaration |
data MetaDataCoding "metx" Source # | The xml meta data samples declaration |
data MetaDataCoding "urim" Source # | The URI meta data samples declaration |
type BoxTypeSymbol * (MetaDataCoding c) Source # | |
XML Meta Data
Text Meta Data
URI based meta data
Uri Box
The URI that's inside the box
Uri-Init Box
newtype UriInitField Source #
Opaque data for the applications processing Uri
meta data.
UriInitField (Tagged "uri_initialization_data" ByteString) |
uriInitBox :: ByteString -> Box UriInit Source #
Make box an UriInitField
Bit Rate Box
bitRateBox :: BitRate -> Box BitRate Source #
Create a box for bit rates. Every SampleEntry
instance for meta data
may contain this box at the end.