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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Boxes.DataReference

Description

A table of data references (URL/URNs). This tables is referred to by the SampleDescription this supports splitting a file over several files. When a media file is split for transportation, this still counts as being in the same file as the.

Synopsis

Documentation

localMediaDataReference :: Box (ContainerBox (FullBox DataReference 0) '[Box (FullBox DataEntryUrl 0)]) Source #

Create a DataReference box with a single local media entry.

localMediaDataEntryUrl :: Box (FullBox DataEntryUrl 0) Source #

Create a DataEntryUrl box for local media entry with the flag set and empty content.

dataEntryUrl :: Bool -> Maybe Text -> Box (FullBox DataEntryUrl 0) Source #

Create a DataEntryUrl box. The flag determines if the url is local, i.e. the media data is in the same file.

dataEntryUrn :: Bool -> Text -> Text -> Box (FullBox DataEntryUrn 0) Source #

Create a DataEntryUrn box. The flag determines if the url is local, i.e. the media data is in the same file.