@svta/cml-iso-bmff 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/index.d.ts +2825 -204
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1896 -67
- package/dist/index.js.map +1 -1
- package/package.json +4 -23
- package/NOTICE +0 -33
- package/dist/BoxFilter.d.ts +0 -9
- package/dist/BoxFilter.d.ts.map +0 -1
- package/dist/BoxFilter.js +0 -2
- package/dist/BoxFilter.js.map +0 -1
- package/dist/BoxParser.d.ts +0 -12
- package/dist/BoxParser.d.ts.map +0 -1
- package/dist/BoxParser.js +0 -2
- package/dist/BoxParser.js.map +0 -1
- package/dist/BoxParserMap.d.ts +0 -9
- package/dist/BoxParserMap.d.ts.map +0 -1
- package/dist/BoxParserMap.js +0 -2
- package/dist/BoxParserMap.js.map +0 -1
- package/dist/CONTAINERS.d.ts +0 -2
- package/dist/CONTAINERS.d.ts.map +0 -1
- package/dist/CONTAINERS.js +0 -26
- package/dist/CONTAINERS.js.map +0 -1
- package/dist/IsoData.d.ts +0 -8
- package/dist/IsoData.d.ts.map +0 -1
- package/dist/IsoData.js +0 -2
- package/dist/IsoData.js.map +0 -1
- package/dist/IsoView.d.ts +0 -145
- package/dist/IsoView.d.ts.map +0 -1
- package/dist/IsoView.js +0 -285
- package/dist/IsoView.js.map +0 -1
- package/dist/IsoViewConfig.d.ts +0 -18
- package/dist/IsoViewConfig.d.ts.map +0 -1
- package/dist/IsoViewConfig.js +0 -2
- package/dist/IsoViewConfig.js.map +0 -1
- package/dist/boxes/AudioRenderingIndicationBox.d.ts +0 -12
- package/dist/boxes/AudioRenderingIndicationBox.d.ts.map +0 -1
- package/dist/boxes/AudioRenderingIndicationBox.js +0 -2
- package/dist/boxes/AudioRenderingIndicationBox.js.map +0 -1
- package/dist/boxes/AudioSampleEntryBox.d.ts +0 -18
- package/dist/boxes/AudioSampleEntryBox.d.ts.map +0 -1
- package/dist/boxes/AudioSampleEntryBox.js +0 -2
- package/dist/boxes/AudioSampleEntryBox.js.map +0 -1
- package/dist/boxes/Box.d.ts +0 -15
- package/dist/boxes/Box.d.ts.map +0 -1
- package/dist/boxes/Box.js +0 -2
- package/dist/boxes/Box.js.map +0 -1
- package/dist/boxes/ChunkLargeOffsetBox.d.ts +0 -13
- package/dist/boxes/ChunkLargeOffsetBox.d.ts.map +0 -1
- package/dist/boxes/ChunkLargeOffsetBox.js +0 -2
- package/dist/boxes/ChunkLargeOffsetBox.js.map +0 -1
- package/dist/boxes/ChunkOffsetBox.d.ts +0 -13
- package/dist/boxes/ChunkOffsetBox.d.ts.map +0 -1
- package/dist/boxes/ChunkOffsetBox.js +0 -2
- package/dist/boxes/ChunkOffsetBox.js.map +0 -1
- package/dist/boxes/CompTimeToSampleEntry.d.ts +0 -11
- package/dist/boxes/CompTimeToSampleEntry.d.ts.map +0 -1
- package/dist/boxes/CompTimeToSampleEntry.js +0 -2
- package/dist/boxes/CompTimeToSampleEntry.js.map +0 -1
- package/dist/boxes/CompactSampleSizeBox.d.ts +0 -14
- package/dist/boxes/CompactSampleSizeBox.d.ts.map +0 -1
- package/dist/boxes/CompactSampleSizeBox.js +0 -2
- package/dist/boxes/CompactSampleSizeBox.js.map +0 -1
- package/dist/boxes/CompositionTimeToSampleBox.d.ts +0 -14
- package/dist/boxes/CompositionTimeToSampleBox.d.ts.map +0 -1
- package/dist/boxes/CompositionTimeToSampleBox.js +0 -2
- package/dist/boxes/CompositionTimeToSampleBox.js.map +0 -1
- package/dist/boxes/CompositionTimeToSampleEntry.d.ts +0 -11
- package/dist/boxes/CompositionTimeToSampleEntry.d.ts.map +0 -1
- package/dist/boxes/CompositionTimeToSampleEntry.js +0 -2
- package/dist/boxes/CompositionTimeToSampleEntry.js.map +0 -1
- package/dist/boxes/ContainerBox.d.ts +0 -11
- package/dist/boxes/ContainerBox.d.ts.map +0 -1
- package/dist/boxes/ContainerBox.js +0 -2
- package/dist/boxes/ContainerBox.js.map +0 -1
- package/dist/boxes/DataEntryUrlBox.d.ts +0 -12
- package/dist/boxes/DataEntryUrlBox.d.ts.map +0 -1
- package/dist/boxes/DataEntryUrlBox.js +0 -2
- package/dist/boxes/DataEntryUrlBox.js.map +0 -1
- package/dist/boxes/DataEntryUrnBox.d.ts +0 -13
- package/dist/boxes/DataEntryUrnBox.d.ts.map +0 -1
- package/dist/boxes/DataEntryUrnBox.js +0 -2
- package/dist/boxes/DataEntryUrnBox.js.map +0 -1
- package/dist/boxes/DataInformationBox.d.ts +0 -12
- package/dist/boxes/DataInformationBox.d.ts.map +0 -1
- package/dist/boxes/DataInformationBox.js +0 -2
- package/dist/boxes/DataInformationBox.js.map +0 -1
- package/dist/boxes/DataReferenceBox.d.ts +0 -15
- package/dist/boxes/DataReferenceBox.d.ts.map +0 -1
- package/dist/boxes/DataReferenceBox.js +0 -2
- package/dist/boxes/DataReferenceBox.js.map +0 -1
- package/dist/boxes/DecodingTimeSample.d.ts +0 -13
- package/dist/boxes/DecodingTimeSample.d.ts.map +0 -1
- package/dist/boxes/DecodingTimeSample.js +0 -2
- package/dist/boxes/DecodingTimeSample.js.map +0 -1
- package/dist/boxes/DecodingTimeToSampleBox.d.ts +0 -16
- package/dist/boxes/DecodingTimeToSampleBox.d.ts.map +0 -1
- package/dist/boxes/DecodingTimeToSampleBox.js +0 -2
- package/dist/boxes/DecodingTimeToSampleBox.js.map +0 -1
- package/dist/boxes/DegradationPriorityBox.d.ts +0 -12
- package/dist/boxes/DegradationPriorityBox.d.ts.map +0 -1
- package/dist/boxes/DegradationPriorityBox.js +0 -2
- package/dist/boxes/DegradationPriorityBox.js.map +0 -1
- package/dist/boxes/EditBox.d.ts +0 -12
- package/dist/boxes/EditBox.d.ts.map +0 -1
- package/dist/boxes/EditBox.js +0 -2
- package/dist/boxes/EditBox.js.map +0 -1
- package/dist/boxes/EditListBox.d.ts +0 -14
- package/dist/boxes/EditListBox.d.ts.map +0 -1
- package/dist/boxes/EditListBox.js +0 -2
- package/dist/boxes/EditListBox.js.map +0 -1
- package/dist/boxes/EditListEntry.d.ts +0 -13
- package/dist/boxes/EditListEntry.d.ts.map +0 -1
- package/dist/boxes/EditListEntry.js +0 -2
- package/dist/boxes/EditListEntry.js.map +0 -1
- package/dist/boxes/EncryptedSample.d.ts +0 -12
- package/dist/boxes/EncryptedSample.d.ts.map +0 -1
- package/dist/boxes/EncryptedSample.js +0 -2
- package/dist/boxes/EncryptedSample.js.map +0 -1
- package/dist/boxes/Entity.d.ts +0 -11
- package/dist/boxes/Entity.d.ts.map +0 -1
- package/dist/boxes/Entity.js +0 -2
- package/dist/boxes/Entity.js.map +0 -1
- package/dist/boxes/EventMessageBox.d.ts +0 -19
- package/dist/boxes/EventMessageBox.d.ts.map +0 -1
- package/dist/boxes/EventMessageBox.js +0 -2
- package/dist/boxes/EventMessageBox.js.map +0 -1
- package/dist/boxes/ExtendedLanguageBox.d.ts +0 -12
- package/dist/boxes/ExtendedLanguageBox.d.ts.map +0 -1
- package/dist/boxes/ExtendedLanguageBox.js +0 -2
- package/dist/boxes/ExtendedLanguageBox.js.map +0 -1
- package/dist/boxes/Fields.d.ts +0 -9
- package/dist/boxes/Fields.d.ts.map +0 -1
- package/dist/boxes/Fields.js +0 -2
- package/dist/boxes/Fields.js.map +0 -1
- package/dist/boxes/FileTypeBox.d.ts +0 -9
- package/dist/boxes/FileTypeBox.d.ts.map +0 -1
- package/dist/boxes/FileTypeBox.js +0 -2
- package/dist/boxes/FileTypeBox.js.map +0 -1
- package/dist/boxes/FreeSpaceBox.d.ts +0 -12
- package/dist/boxes/FreeSpaceBox.d.ts.map +0 -1
- package/dist/boxes/FreeSpaceBox.js +0 -2
- package/dist/boxes/FreeSpaceBox.js.map +0 -1
- package/dist/boxes/FullBox.d.ts +0 -12
- package/dist/boxes/FullBox.d.ts.map +0 -1
- package/dist/boxes/FullBox.js +0 -2
- package/dist/boxes/FullBox.js.map +0 -1
- package/dist/boxes/HandlerReferenceBox.d.ts +0 -15
- package/dist/boxes/HandlerReferenceBox.d.ts.map +0 -1
- package/dist/boxes/HandlerReferenceBox.js +0 -2
- package/dist/boxes/HandlerReferenceBox.js.map +0 -1
- package/dist/boxes/HintMediaHeaderBox.d.ts +0 -15
- package/dist/boxes/HintMediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/HintMediaHeaderBox.js +0 -2
- package/dist/boxes/HintMediaHeaderBox.js.map +0 -1
- package/dist/boxes/IdentifiedMediaDataBox.d.ts +0 -13
- package/dist/boxes/IdentifiedMediaDataBox.d.ts.map +0 -1
- package/dist/boxes/IdentifiedMediaDataBox.js +0 -2
- package/dist/boxes/IdentifiedMediaDataBox.js.map +0 -1
- package/dist/boxes/IpmpInfoBox.d.ts +0 -12
- package/dist/boxes/IpmpInfoBox.d.ts.map +0 -1
- package/dist/boxes/IpmpInfoBox.js +0 -2
- package/dist/boxes/IpmpInfoBox.js.map +0 -1
- package/dist/boxes/IsoBmffBox.d.ts +0 -10
- package/dist/boxes/IsoBmffBox.d.ts.map +0 -1
- package/dist/boxes/IsoBmffBox.js +0 -2
- package/dist/boxes/IsoBmffBox.js.map +0 -1
- package/dist/boxes/IsoBmffBoxMap.d.ts +0 -193
- package/dist/boxes/IsoBmffBoxMap.d.ts.map +0 -1
- package/dist/boxes/IsoBmffBoxMap.js +0 -2
- package/dist/boxes/IsoBmffBoxMap.js.map +0 -1
- package/dist/boxes/IsoBox.d.ts +0 -80
- package/dist/boxes/IsoBox.d.ts.map +0 -1
- package/dist/boxes/IsoBox.js +0 -2
- package/dist/boxes/IsoBox.js.map +0 -1
- package/dist/boxes/IsoContainerBox.d.ts +0 -27
- package/dist/boxes/IsoContainerBox.d.ts.map +0 -1
- package/dist/boxes/IsoContainerBox.js +0 -2
- package/dist/boxes/IsoContainerBox.js.map +0 -1
- package/dist/boxes/ItemExtent.d.ts +0 -12
- package/dist/boxes/ItemExtent.d.ts.map +0 -1
- package/dist/boxes/ItemExtent.js +0 -2
- package/dist/boxes/ItemExtent.js.map +0 -1
- package/dist/boxes/ItemInfoBox.d.ts +0 -13
- package/dist/boxes/ItemInfoBox.d.ts.map +0 -1
- package/dist/boxes/ItemInfoBox.js +0 -2
- package/dist/boxes/ItemInfoBox.js.map +0 -1
- package/dist/boxes/ItemInfoEntry.d.ts +0 -17
- package/dist/boxes/ItemInfoEntry.d.ts.map +0 -1
- package/dist/boxes/ItemInfoEntry.js +0 -2
- package/dist/boxes/ItemInfoEntry.js.map +0 -1
- package/dist/boxes/ItemLocation.d.ts +0 -15
- package/dist/boxes/ItemLocation.d.ts.map +0 -1
- package/dist/boxes/ItemLocation.js +0 -2
- package/dist/boxes/ItemLocation.js.map +0 -1
- package/dist/boxes/ItemLocationBox.d.ts +0 -18
- package/dist/boxes/ItemLocationBox.d.ts.map +0 -1
- package/dist/boxes/ItemLocationBox.js +0 -2
- package/dist/boxes/ItemLocationBox.js.map +0 -1
- package/dist/boxes/ItemProtectionBox.d.ts +0 -13
- package/dist/boxes/ItemProtectionBox.d.ts.map +0 -1
- package/dist/boxes/ItemProtectionBox.js +0 -2
- package/dist/boxes/ItemProtectionBox.js.map +0 -1
- package/dist/boxes/ItemReferenceBox.d.ts +0 -12
- package/dist/boxes/ItemReferenceBox.d.ts.map +0 -1
- package/dist/boxes/ItemReferenceBox.js +0 -2
- package/dist/boxes/ItemReferenceBox.js.map +0 -1
- package/dist/boxes/LabelBox.d.ts +0 -15
- package/dist/boxes/LabelBox.d.ts.map +0 -1
- package/dist/boxes/LabelBox.js +0 -2
- package/dist/boxes/LabelBox.js.map +0 -1
- package/dist/boxes/MediaBox.d.ts +0 -14
- package/dist/boxes/MediaBox.d.ts.map +0 -1
- package/dist/boxes/MediaBox.js +0 -2
- package/dist/boxes/MediaBox.js.map +0 -1
- package/dist/boxes/MediaDataBox.d.ts +0 -12
- package/dist/boxes/MediaDataBox.d.ts.map +0 -1
- package/dist/boxes/MediaDataBox.js +0 -2
- package/dist/boxes/MediaDataBox.js.map +0 -1
- package/dist/boxes/MediaHeaderBox.d.ts +0 -23
- package/dist/boxes/MediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/MediaHeaderBox.js +0 -2
- package/dist/boxes/MediaHeaderBox.js.map +0 -1
- package/dist/boxes/MediaInformationBox.d.ts +0 -17
- package/dist/boxes/MediaInformationBox.d.ts.map +0 -1
- package/dist/boxes/MediaInformationBox.js +0 -2
- package/dist/boxes/MediaInformationBox.js.map +0 -1
- package/dist/boxes/MetaBox.d.ts +0 -19
- package/dist/boxes/MetaBox.d.ts.map +0 -1
- package/dist/boxes/MetaBox.js +0 -2
- package/dist/boxes/MetaBox.js.map +0 -1
- package/dist/boxes/MovieBox.d.ts +0 -15
- package/dist/boxes/MovieBox.d.ts.map +0 -1
- package/dist/boxes/MovieBox.js +0 -2
- package/dist/boxes/MovieBox.js.map +0 -1
- package/dist/boxes/MovieExtendsBox.d.ts +0 -13
- package/dist/boxes/MovieExtendsBox.d.ts.map +0 -1
- package/dist/boxes/MovieExtendsBox.js +0 -2
- package/dist/boxes/MovieExtendsBox.js.map +0 -1
- package/dist/boxes/MovieExtendsHeaderBox.d.ts +0 -12
- package/dist/boxes/MovieExtendsHeaderBox.d.ts.map +0 -1
- package/dist/boxes/MovieExtendsHeaderBox.js +0 -2
- package/dist/boxes/MovieExtendsHeaderBox.js.map +0 -1
- package/dist/boxes/MovieFragmentBox.d.ts +0 -13
- package/dist/boxes/MovieFragmentBox.d.ts.map +0 -1
- package/dist/boxes/MovieFragmentBox.js +0 -2
- package/dist/boxes/MovieFragmentBox.js.map +0 -1
- package/dist/boxes/MovieFragmentHeaderBox.d.ts +0 -12
- package/dist/boxes/MovieFragmentHeaderBox.d.ts.map +0 -1
- package/dist/boxes/MovieFragmentHeaderBox.js +0 -2
- package/dist/boxes/MovieFragmentHeaderBox.js.map +0 -1
- package/dist/boxes/MovieFragmentRandomAccessBox.d.ts +0 -13
- package/dist/boxes/MovieFragmentRandomAccessBox.d.ts.map +0 -1
- package/dist/boxes/MovieFragmentRandomAccessBox.js +0 -2
- package/dist/boxes/MovieFragmentRandomAccessBox.js.map +0 -1
- package/dist/boxes/MovieFragmentRandomAccessOffsetBox.d.ts +0 -12
- package/dist/boxes/MovieFragmentRandomAccessOffsetBox.d.ts.map +0 -1
- package/dist/boxes/MovieFragmentRandomAccessOffsetBox.js +0 -2
- package/dist/boxes/MovieFragmentRandomAccessOffsetBox.js.map +0 -1
- package/dist/boxes/MovieHeaderBox.d.ts +0 -22
- package/dist/boxes/MovieHeaderBox.d.ts.map +0 -1
- package/dist/boxes/MovieHeaderBox.js +0 -2
- package/dist/boxes/MovieHeaderBox.js.map +0 -1
- package/dist/boxes/NullMediaHeaderBox.d.ts +0 -11
- package/dist/boxes/NullMediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/NullMediaHeaderBox.js +0 -2
- package/dist/boxes/NullMediaHeaderBox.js.map +0 -1
- package/dist/boxes/OriginalFormatBox.d.ts +0 -12
- package/dist/boxes/OriginalFormatBox.d.ts.map +0 -1
- package/dist/boxes/OriginalFormatBox.js +0 -2
- package/dist/boxes/OriginalFormatBox.js.map +0 -1
- package/dist/boxes/PreselectionGroupBox.d.ts +0 -21
- package/dist/boxes/PreselectionGroupBox.d.ts.map +0 -1
- package/dist/boxes/PreselectionGroupBox.js +0 -2
- package/dist/boxes/PreselectionGroupBox.js.map +0 -1
- package/dist/boxes/PrimaryItemBox.d.ts +0 -12
- package/dist/boxes/PrimaryItemBox.d.ts.map +0 -1
- package/dist/boxes/PrimaryItemBox.js +0 -2
- package/dist/boxes/PrimaryItemBox.js.map +0 -1
- package/dist/boxes/ProducerReferenceTimeBox.d.ts +0 -15
- package/dist/boxes/ProducerReferenceTimeBox.d.ts.map +0 -1
- package/dist/boxes/ProducerReferenceTimeBox.js +0 -2
- package/dist/boxes/ProducerReferenceTimeBox.js.map +0 -1
- package/dist/boxes/ProtectionSchemeInformationBox.d.ts +0 -15
- package/dist/boxes/ProtectionSchemeInformationBox.d.ts.map +0 -1
- package/dist/boxes/ProtectionSchemeInformationBox.js +0 -2
- package/dist/boxes/ProtectionSchemeInformationBox.js.map +0 -1
- package/dist/boxes/ProtectionSystemSpecificHeaderBox.d.ts +0 -16
- package/dist/boxes/ProtectionSystemSpecificHeaderBox.d.ts.map +0 -1
- package/dist/boxes/ProtectionSystemSpecificHeaderBox.js +0 -2
- package/dist/boxes/ProtectionSystemSpecificHeaderBox.js.map +0 -1
- package/dist/boxes/SampleAuxiliaryInformationOffsetsBox.d.ts +0 -15
- package/dist/boxes/SampleAuxiliaryInformationOffsetsBox.d.ts.map +0 -1
- package/dist/boxes/SampleAuxiliaryInformationOffsetsBox.js +0 -2
- package/dist/boxes/SampleAuxiliaryInformationOffsetsBox.js.map +0 -1
- package/dist/boxes/SampleAuxiliaryInformationSizesBox.d.ts +0 -16
- package/dist/boxes/SampleAuxiliaryInformationSizesBox.d.ts.map +0 -1
- package/dist/boxes/SampleAuxiliaryInformationSizesBox.js +0 -2
- package/dist/boxes/SampleAuxiliaryInformationSizesBox.js.map +0 -1
- package/dist/boxes/SampleDependencyTypeBox.d.ts +0 -12
- package/dist/boxes/SampleDependencyTypeBox.d.ts.map +0 -1
- package/dist/boxes/SampleDependencyTypeBox.js +0 -2
- package/dist/boxes/SampleDependencyTypeBox.js.map +0 -1
- package/dist/boxes/SampleDescriptionBox.d.ts +0 -14
- package/dist/boxes/SampleDescriptionBox.d.ts.map +0 -1
- package/dist/boxes/SampleDescriptionBox.js +0 -2
- package/dist/boxes/SampleDescriptionBox.js.map +0 -1
- package/dist/boxes/SampleEncryptionBox.d.ts +0 -14
- package/dist/boxes/SampleEncryptionBox.d.ts.map +0 -1
- package/dist/boxes/SampleEncryptionBox.js +0 -2
- package/dist/boxes/SampleEncryptionBox.js.map +0 -1
- package/dist/boxes/SampleEntryBox.d.ts +0 -12
- package/dist/boxes/SampleEntryBox.d.ts.map +0 -1
- package/dist/boxes/SampleEntryBox.js +0 -2
- package/dist/boxes/SampleEntryBox.js.map +0 -1
- package/dist/boxes/SampleGroupDescriptionBox.d.ts +0 -15
- package/dist/boxes/SampleGroupDescriptionBox.d.ts.map +0 -1
- package/dist/boxes/SampleGroupDescriptionBox.js +0 -2
- package/dist/boxes/SampleGroupDescriptionBox.js.map +0 -1
- package/dist/boxes/SampleSizeBox.d.ts +0 -14
- package/dist/boxes/SampleSizeBox.d.ts.map +0 -1
- package/dist/boxes/SampleSizeBox.js +0 -2
- package/dist/boxes/SampleSizeBox.js.map +0 -1
- package/dist/boxes/SampleTableBox.d.ts +0 -23
- package/dist/boxes/SampleTableBox.d.ts.map +0 -1
- package/dist/boxes/SampleTableBox.js +0 -2
- package/dist/boxes/SampleTableBox.js.map +0 -1
- package/dist/boxes/SampleToChunkBox.d.ts +0 -14
- package/dist/boxes/SampleToChunkBox.d.ts.map +0 -1
- package/dist/boxes/SampleToChunkBox.js +0 -2
- package/dist/boxes/SampleToChunkBox.js.map +0 -1
- package/dist/boxes/SampleToChunkEntry.d.ts +0 -12
- package/dist/boxes/SampleToChunkEntry.d.ts.map +0 -1
- package/dist/boxes/SampleToChunkEntry.js +0 -2
- package/dist/boxes/SampleToChunkEntry.js.map +0 -1
- package/dist/boxes/SampleToGroupBox.d.ts +0 -16
- package/dist/boxes/SampleToGroupBox.d.ts.map +0 -1
- package/dist/boxes/SampleToGroupBox.js +0 -2
- package/dist/boxes/SampleToGroupBox.js.map +0 -1
- package/dist/boxes/SampleToGroupEntry.d.ts +0 -11
- package/dist/boxes/SampleToGroupEntry.d.ts.map +0 -1
- package/dist/boxes/SampleToGroupEntry.js +0 -2
- package/dist/boxes/SampleToGroupEntry.js.map +0 -1
- package/dist/boxes/SchemeInformationBox.d.ts +0 -13
- package/dist/boxes/SchemeInformationBox.d.ts.map +0 -1
- package/dist/boxes/SchemeInformationBox.js +0 -2
- package/dist/boxes/SchemeInformationBox.js.map +0 -1
- package/dist/boxes/SchemeTypeBox.d.ts +0 -14
- package/dist/boxes/SchemeTypeBox.d.ts.map +0 -1
- package/dist/boxes/SchemeTypeBox.js +0 -2
- package/dist/boxes/SchemeTypeBox.js.map +0 -1
- package/dist/boxes/SegmentIndexBox.d.ts +0 -18
- package/dist/boxes/SegmentIndexBox.d.ts.map +0 -1
- package/dist/boxes/SegmentIndexBox.js +0 -2
- package/dist/boxes/SegmentIndexBox.js.map +0 -1
- package/dist/boxes/SegmentIndexReference.d.ts +0 -17
- package/dist/boxes/SegmentIndexReference.d.ts.map +0 -1
- package/dist/boxes/SegmentIndexReference.js +0 -2
- package/dist/boxes/SegmentIndexReference.js.map +0 -1
- package/dist/boxes/SegmentTypeBox.d.ts +0 -9
- package/dist/boxes/SegmentTypeBox.d.ts.map +0 -1
- package/dist/boxes/SegmentTypeBox.js +0 -2
- package/dist/boxes/SegmentTypeBox.js.map +0 -1
- package/dist/boxes/ShadowSyncEntry.d.ts +0 -11
- package/dist/boxes/ShadowSyncEntry.d.ts.map +0 -1
- package/dist/boxes/ShadowSyncEntry.js +0 -2
- package/dist/boxes/ShadowSyncEntry.js.map +0 -1
- package/dist/boxes/ShadowSyncSampleBox.d.ts +0 -14
- package/dist/boxes/ShadowSyncSampleBox.d.ts.map +0 -1
- package/dist/boxes/ShadowSyncSampleBox.js +0 -2
- package/dist/boxes/ShadowSyncSampleBox.js.map +0 -1
- package/dist/boxes/SingleItemTypeReferenceBox.d.ts +0 -13
- package/dist/boxes/SingleItemTypeReferenceBox.d.ts.map +0 -1
- package/dist/boxes/SingleItemTypeReferenceBox.js +0 -2
- package/dist/boxes/SingleItemTypeReferenceBox.js.map +0 -1
- package/dist/boxes/SoundMediaHeaderBox.d.ts +0 -13
- package/dist/boxes/SoundMediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/SoundMediaHeaderBox.js +0 -2
- package/dist/boxes/SoundMediaHeaderBox.js.map +0 -1
- package/dist/boxes/Subsample.d.ts +0 -13
- package/dist/boxes/Subsample.d.ts.map +0 -1
- package/dist/boxes/Subsample.js +0 -2
- package/dist/boxes/Subsample.js.map +0 -1
- package/dist/boxes/SubsampleEncryption.d.ts +0 -11
- package/dist/boxes/SubsampleEncryption.d.ts.map +0 -1
- package/dist/boxes/SubsampleEncryption.js +0 -2
- package/dist/boxes/SubsampleEncryption.js.map +0 -1
- package/dist/boxes/SubsampleEntry.d.ts +0 -13
- package/dist/boxes/SubsampleEntry.d.ts.map +0 -1
- package/dist/boxes/SubsampleEntry.js +0 -2
- package/dist/boxes/SubsampleEntry.js.map +0 -1
- package/dist/boxes/SubsampleInformationBox.d.ts +0 -14
- package/dist/boxes/SubsampleInformationBox.d.ts.map +0 -1
- package/dist/boxes/SubsampleInformationBox.js +0 -2
- package/dist/boxes/SubsampleInformationBox.js.map +0 -1
- package/dist/boxes/Subsegment.d.ts +0 -12
- package/dist/boxes/Subsegment.d.ts.map +0 -1
- package/dist/boxes/Subsegment.js +0 -2
- package/dist/boxes/Subsegment.js.map +0 -1
- package/dist/boxes/SubsegmentIndexBox.d.ts +0 -14
- package/dist/boxes/SubsegmentIndexBox.d.ts.map +0 -1
- package/dist/boxes/SubsegmentIndexBox.js +0 -2
- package/dist/boxes/SubsegmentIndexBox.js.map +0 -1
- package/dist/boxes/SubsegmentRange.d.ts +0 -11
- package/dist/boxes/SubsegmentRange.d.ts.map +0 -1
- package/dist/boxes/SubsegmentRange.js +0 -2
- package/dist/boxes/SubsegmentRange.js.map +0 -1
- package/dist/boxes/SubtitleMediaHeaderBox.d.ts +0 -11
- package/dist/boxes/SubtitleMediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/SubtitleMediaHeaderBox.js +0 -2
- package/dist/boxes/SubtitleMediaHeaderBox.js.map +0 -1
- package/dist/boxes/SyncSample.d.ts +0 -10
- package/dist/boxes/SyncSample.d.ts.map +0 -1
- package/dist/boxes/SyncSample.js +0 -2
- package/dist/boxes/SyncSample.js.map +0 -1
- package/dist/boxes/SyncSampleBox.d.ts +0 -14
- package/dist/boxes/SyncSampleBox.d.ts.map +0 -1
- package/dist/boxes/SyncSampleBox.js +0 -2
- package/dist/boxes/SyncSampleBox.js.map +0 -1
- package/dist/boxes/TrackBox.d.ts +0 -16
- package/dist/boxes/TrackBox.d.ts.map +0 -1
- package/dist/boxes/TrackBox.js +0 -2
- package/dist/boxes/TrackBox.js.map +0 -1
- package/dist/boxes/TrackEncryptionBox.d.ts +0 -14
- package/dist/boxes/TrackEncryptionBox.d.ts.map +0 -1
- package/dist/boxes/TrackEncryptionBox.js +0 -2
- package/dist/boxes/TrackEncryptionBox.js.map +0 -1
- package/dist/boxes/TrackExtendsBox.d.ts +0 -16
- package/dist/boxes/TrackExtendsBox.d.ts.map +0 -1
- package/dist/boxes/TrackExtendsBox.js +0 -2
- package/dist/boxes/TrackExtendsBox.js.map +0 -1
- package/dist/boxes/TrackFragmentBaseMediaDecodeTimeBox.d.ts +0 -12
- package/dist/boxes/TrackFragmentBaseMediaDecodeTimeBox.d.ts.map +0 -1
- package/dist/boxes/TrackFragmentBaseMediaDecodeTimeBox.js +0 -2
- package/dist/boxes/TrackFragmentBaseMediaDecodeTimeBox.js.map +0 -1
- package/dist/boxes/TrackFragmentBox.d.ts +0 -17
- package/dist/boxes/TrackFragmentBox.d.ts.map +0 -1
- package/dist/boxes/TrackFragmentBox.js +0 -2
- package/dist/boxes/TrackFragmentBox.js.map +0 -1
- package/dist/boxes/TrackFragmentHeaderBox.d.ts +0 -17
- package/dist/boxes/TrackFragmentHeaderBox.d.ts.map +0 -1
- package/dist/boxes/TrackFragmentHeaderBox.js +0 -2
- package/dist/boxes/TrackFragmentHeaderBox.js.map +0 -1
- package/dist/boxes/TrackFragmentRandomAccessBox.d.ts +0 -19
- package/dist/boxes/TrackFragmentRandomAccessBox.d.ts.map +0 -1
- package/dist/boxes/TrackFragmentRandomAccessBox.js +0 -2
- package/dist/boxes/TrackFragmentRandomAccessBox.js.map +0 -1
- package/dist/boxes/TrackFragmentRandomAccessEntry.d.ts +0 -14
- package/dist/boxes/TrackFragmentRandomAccessEntry.d.ts.map +0 -1
- package/dist/boxes/TrackFragmentRandomAccessEntry.js +0 -2
- package/dist/boxes/TrackFragmentRandomAccessEntry.js.map +0 -1
- package/dist/boxes/TrackHeaderBox.d.ts +0 -24
- package/dist/boxes/TrackHeaderBox.d.ts.map +0 -1
- package/dist/boxes/TrackHeaderBox.js +0 -2
- package/dist/boxes/TrackHeaderBox.js.map +0 -1
- package/dist/boxes/TrackKindBox.d.ts +0 -13
- package/dist/boxes/TrackKindBox.d.ts.map +0 -1
- package/dist/boxes/TrackKindBox.js +0 -2
- package/dist/boxes/TrackKindBox.js.map +0 -1
- package/dist/boxes/TrackReferenceBox.d.ts +0 -12
- package/dist/boxes/TrackReferenceBox.d.ts.map +0 -1
- package/dist/boxes/TrackReferenceBox.js +0 -2
- package/dist/boxes/TrackReferenceBox.js.map +0 -1
- package/dist/boxes/TrackReferenceTypeBox.d.ts +0 -12
- package/dist/boxes/TrackReferenceTypeBox.d.ts.map +0 -1
- package/dist/boxes/TrackReferenceTypeBox.js +0 -2
- package/dist/boxes/TrackReferenceTypeBox.js.map +0 -1
- package/dist/boxes/TrackRunBox.d.ts +0 -19
- package/dist/boxes/TrackRunBox.d.ts.map +0 -1
- package/dist/boxes/TrackRunBox.js +0 -2
- package/dist/boxes/TrackRunBox.js.map +0 -1
- package/dist/boxes/TrackRunSample.d.ts +0 -13
- package/dist/boxes/TrackRunSample.d.ts.map +0 -1
- package/dist/boxes/TrackRunSample.js +0 -2
- package/dist/boxes/TrackRunSample.js.map +0 -1
- package/dist/boxes/TypeBox.d.ts +0 -14
- package/dist/boxes/TypeBox.d.ts.map +0 -1
- package/dist/boxes/TypeBox.js +0 -2
- package/dist/boxes/TypeBox.js.map +0 -1
- package/dist/boxes/UrlBox.d.ts +0 -12
- package/dist/boxes/UrlBox.d.ts.map +0 -1
- package/dist/boxes/UrlBox.js +0 -2
- package/dist/boxes/UrlBox.js.map +0 -1
- package/dist/boxes/UrnBox.d.ts +0 -13
- package/dist/boxes/UrnBox.d.ts.map +0 -1
- package/dist/boxes/UrnBox.js +0 -2
- package/dist/boxes/UrnBox.js.map +0 -1
- package/dist/boxes/UserDataBox.d.ts +0 -12
- package/dist/boxes/UserDataBox.d.ts.map +0 -1
- package/dist/boxes/UserDataBox.js +0 -2
- package/dist/boxes/UserDataBox.js.map +0 -1
- package/dist/boxes/VideoMediaHeaderBox.d.ts +0 -13
- package/dist/boxes/VideoMediaHeaderBox.d.ts.map +0 -1
- package/dist/boxes/VideoMediaHeaderBox.js +0 -2
- package/dist/boxes/VideoMediaHeaderBox.js.map +0 -1
- package/dist/boxes/VisualSampleEntryBox.d.ts +0 -24
- package/dist/boxes/VisualSampleEntryBox.d.ts.map +0 -1
- package/dist/boxes/VisualSampleEntryBox.js +0 -2
- package/dist/boxes/VisualSampleEntryBox.js.map +0 -1
- package/dist/boxes/WebVttConfigurationBox.d.ts +0 -12
- package/dist/boxes/WebVttConfigurationBox.d.ts.map +0 -1
- package/dist/boxes/WebVttConfigurationBox.js +0 -2
- package/dist/boxes/WebVttConfigurationBox.js.map +0 -1
- package/dist/boxes/WebVttCueIdBox.d.ts +0 -12
- package/dist/boxes/WebVttCueIdBox.d.ts.map +0 -1
- package/dist/boxes/WebVttCueIdBox.js +0 -2
- package/dist/boxes/WebVttCueIdBox.js.map +0 -1
- package/dist/boxes/WebVttCuePayloadBox.d.ts +0 -12
- package/dist/boxes/WebVttCuePayloadBox.d.ts.map +0 -1
- package/dist/boxes/WebVttCuePayloadBox.js +0 -2
- package/dist/boxes/WebVttCuePayloadBox.js.map +0 -1
- package/dist/boxes/WebVttEmptySampleBox.d.ts +0 -11
- package/dist/boxes/WebVttEmptySampleBox.d.ts.map +0 -1
- package/dist/boxes/WebVttEmptySampleBox.js +0 -2
- package/dist/boxes/WebVttEmptySampleBox.js.map +0 -1
- package/dist/boxes/WebVttSettingsBox.d.ts +0 -12
- package/dist/boxes/WebVttSettingsBox.d.ts.map +0 -1
- package/dist/boxes/WebVttSettingsBox.js +0 -2
- package/dist/boxes/WebVttSettingsBox.js.map +0 -1
- package/dist/boxes/WebVttSourceLabelBox.d.ts +0 -12
- package/dist/boxes/WebVttSourceLabelBox.d.ts.map +0 -1
- package/dist/boxes/WebVttSourceLabelBox.js +0 -2
- package/dist/boxes/WebVttSourceLabelBox.js.map +0 -1
- package/dist/createIsoView.d.ts +0 -16
- package/dist/createIsoView.d.ts.map +0 -1
- package/dist/createIsoView.js +0 -16
- package/dist/createIsoView.js.map +0 -1
- package/dist/fields/DATA.d.ts +0 -8
- package/dist/fields/DATA.d.ts.map +0 -1
- package/dist/fields/DATA.js +0 -8
- package/dist/fields/DATA.js.map +0 -1
- package/dist/fields/INT.d.ts +0 -8
- package/dist/fields/INT.d.ts.map +0 -1
- package/dist/fields/INT.js +0 -8
- package/dist/fields/INT.js.map +0 -1
- package/dist/fields/STRING.d.ts +0 -8
- package/dist/fields/STRING.d.ts.map +0 -1
- package/dist/fields/STRING.js +0 -8
- package/dist/fields/STRING.js.map +0 -1
- package/dist/fields/TEMPLATE.d.ts +0 -8
- package/dist/fields/TEMPLATE.d.ts.map +0 -1
- package/dist/fields/TEMPLATE.js +0 -8
- package/dist/fields/TEMPLATE.js.map +0 -1
- package/dist/fields/UINT.d.ts +0 -8
- package/dist/fields/UINT.d.ts.map +0 -1
- package/dist/fields/UINT.js +0 -8
- package/dist/fields/UINT.js.map +0 -1
- package/dist/fields/UTF8.d.ts +0 -8
- package/dist/fields/UTF8.d.ts.map +0 -1
- package/dist/fields/UTF8.js +0 -8
- package/dist/fields/UTF8.js.map +0 -1
- package/dist/filterBoxes.d.ts +0 -16
- package/dist/filterBoxes.d.ts.map +0 -1
- package/dist/filterBoxes.js +0 -32
- package/dist/filterBoxes.js.map +0 -1
- package/dist/filterBoxesByType.d.ts +0 -17
- package/dist/filterBoxesByType.d.ts.map +0 -1
- package/dist/filterBoxesByType.js +0 -20
- package/dist/filterBoxesByType.js.map +0 -1
- package/dist/findBox.d.ts +0 -18
- package/dist/findBox.d.ts.map +0 -1
- package/dist/findBox.js +0 -37
- package/dist/findBox.js.map +0 -1
- package/dist/findBoxByType.d.ts +0 -17
- package/dist/findBoxByType.d.ts.map +0 -1
- package/dist/findBoxByType.js +0 -17
- package/dist/findBoxByType.js.map +0 -1
- package/dist/parseBoxes.d.ts +0 -16
- package/dist/parseBoxes.d.ts.map +0 -1
- package/dist/parseBoxes.js +0 -20
- package/dist/parseBoxes.js.map +0 -1
- package/dist/parsers/ardi.d.ts +0 -15
- package/dist/parsers/ardi.d.ts.map +0 -1
- package/dist/parsers/ardi.js +0 -18
- package/dist/parsers/ardi.js.map +0 -1
- package/dist/parsers/avc1.d.ts +0 -15
- package/dist/parsers/avc1.d.ts.map +0 -1
- package/dist/parsers/avc1.js +0 -33
- package/dist/parsers/avc1.js.map +0 -1
- package/dist/parsers/avc2.d.ts +0 -15
- package/dist/parsers/avc2.d.ts.map +0 -1
- package/dist/parsers/avc2.js +0 -15
- package/dist/parsers/avc2.js.map +0 -1
- package/dist/parsers/avc3.d.ts +0 -15
- package/dist/parsers/avc3.d.ts.map +0 -1
- package/dist/parsers/avc3.js +0 -15
- package/dist/parsers/avc3.js.map +0 -1
- package/dist/parsers/avc4.d.ts +0 -15
- package/dist/parsers/avc4.d.ts.map +0 -1
- package/dist/parsers/avc4.js +0 -15
- package/dist/parsers/avc4.js.map +0 -1
- package/dist/parsers/ctts.d.ts +0 -15
- package/dist/parsers/ctts.d.ts.map +0 -1
- package/dist/parsers/ctts.js +0 -27
- package/dist/parsers/ctts.js.map +0 -1
- package/dist/parsers/dref.d.ts +0 -15
- package/dist/parsers/dref.d.ts.map +0 -1
- package/dist/parsers/dref.js +0 -23
- package/dist/parsers/dref.js.map +0 -1
- package/dist/parsers/elng.d.ts +0 -15
- package/dist/parsers/elng.d.ts.map +0 -1
- package/dist/parsers/elng.js +0 -18
- package/dist/parsers/elng.js.map +0 -1
- package/dist/parsers/elst.d.ts +0 -15
- package/dist/parsers/elst.d.ts.map +0 -1
- package/dist/parsers/elst.js +0 -30
- package/dist/parsers/elst.js.map +0 -1
- package/dist/parsers/emsg.d.ts +0 -15
- package/dist/parsers/emsg.d.ts.map +0 -1
- package/dist/parsers/emsg.js +0 -33
- package/dist/parsers/emsg.js.map +0 -1
- package/dist/parsers/enca.d.ts +0 -15
- package/dist/parsers/enca.d.ts.map +0 -1
- package/dist/parsers/enca.js +0 -15
- package/dist/parsers/enca.js.map +0 -1
- package/dist/parsers/encv.d.ts +0 -15
- package/dist/parsers/encv.d.ts.map +0 -1
- package/dist/parsers/encv.js +0 -15
- package/dist/parsers/encv.js.map +0 -1
- package/dist/parsers/free.d.ts +0 -15
- package/dist/parsers/free.d.ts.map +0 -1
- package/dist/parsers/free.js +0 -17
- package/dist/parsers/free.js.map +0 -1
- package/dist/parsers/frma.d.ts +0 -15
- package/dist/parsers/frma.d.ts.map +0 -1
- package/dist/parsers/frma.js +0 -17
- package/dist/parsers/frma.js.map +0 -1
- package/dist/parsers/ftyp.d.ts +0 -15
- package/dist/parsers/ftyp.d.ts.map +0 -1
- package/dist/parsers/ftyp.js +0 -24
- package/dist/parsers/ftyp.js.map +0 -1
- package/dist/parsers/hdlr.d.ts +0 -15
- package/dist/parsers/hdlr.d.ts.map +0 -1
- package/dist/parsers/hdlr.js +0 -22
- package/dist/parsers/hdlr.js.map +0 -1
- package/dist/parsers/hev1.d.ts +0 -15
- package/dist/parsers/hev1.d.ts.map +0 -1
- package/dist/parsers/hev1.js +0 -15
- package/dist/parsers/hev1.js.map +0 -1
- package/dist/parsers/hvc1.d.ts +0 -15
- package/dist/parsers/hvc1.d.ts.map +0 -1
- package/dist/parsers/hvc1.js +0 -15
- package/dist/parsers/hvc1.js.map +0 -1
- package/dist/parsers/iden.d.ts +0 -15
- package/dist/parsers/iden.d.ts.map +0 -1
- package/dist/parsers/iden.js +0 -17
- package/dist/parsers/iden.js.map +0 -1
- package/dist/parsers/imda.d.ts +0 -15
- package/dist/parsers/imda.d.ts.map +0 -1
- package/dist/parsers/imda.js +0 -18
- package/dist/parsers/imda.js.map +0 -1
- package/dist/parsers/kind.d.ts +0 -15
- package/dist/parsers/kind.d.ts.map +0 -1
- package/dist/parsers/kind.js +0 -19
- package/dist/parsers/kind.js.map +0 -1
- package/dist/parsers/labl.d.ts +0 -15
- package/dist/parsers/labl.d.ts.map +0 -1
- package/dist/parsers/labl.js +0 -22
- package/dist/parsers/labl.js.map +0 -1
- package/dist/parsers/mdat.d.ts +0 -15
- package/dist/parsers/mdat.d.ts.map +0 -1
- package/dist/parsers/mdat.js +0 -17
- package/dist/parsers/mdat.js.map +0 -1
- package/dist/parsers/mdhd.d.ts +0 -15
- package/dist/parsers/mdhd.d.ts.map +0 -1
- package/dist/parsers/mdhd.js +0 -31
- package/dist/parsers/mdhd.js.map +0 -1
- package/dist/parsers/mehd.d.ts +0 -15
- package/dist/parsers/mehd.d.ts.map +0 -1
- package/dist/parsers/mehd.js +0 -20
- package/dist/parsers/mehd.js.map +0 -1
- package/dist/parsers/meta.d.ts +0 -15
- package/dist/parsers/meta.d.ts.map +0 -1
- package/dist/parsers/meta.js +0 -15
- package/dist/parsers/meta.js.map +0 -1
- package/dist/parsers/mfhd.d.ts +0 -15
- package/dist/parsers/mfhd.d.ts.map +0 -1
- package/dist/parsers/mfhd.js +0 -18
- package/dist/parsers/mfhd.js.map +0 -1
- package/dist/parsers/mfro.d.ts +0 -15
- package/dist/parsers/mfro.d.ts.map +0 -1
- package/dist/parsers/mfro.js +0 -18
- package/dist/parsers/mfro.js.map +0 -1
- package/dist/parsers/mp4a.d.ts +0 -15
- package/dist/parsers/mp4a.d.ts.map +0 -1
- package/dist/parsers/mp4a.js +0 -27
- package/dist/parsers/mp4a.js.map +0 -1
- package/dist/parsers/mvhd.d.ts +0 -15
- package/dist/parsers/mvhd.d.ts.map +0 -1
- package/dist/parsers/mvhd.js +0 -33
- package/dist/parsers/mvhd.js.map +0 -1
- package/dist/parsers/payl.d.ts +0 -15
- package/dist/parsers/payl.d.ts.map +0 -1
- package/dist/parsers/payl.js +0 -17
- package/dist/parsers/payl.js.map +0 -1
- package/dist/parsers/prft.d.ts +0 -15
- package/dist/parsers/prft.d.ts.map +0 -1
- package/dist/parsers/prft.js +0 -23
- package/dist/parsers/prft.js.map +0 -1
- package/dist/parsers/prsl.d.ts +0 -15
- package/dist/parsers/prsl.d.ts.map +0 -1
- package/dist/parsers/prsl.js +0 -32
- package/dist/parsers/prsl.js.map +0 -1
- package/dist/parsers/pssh.d.ts +0 -15
- package/dist/parsers/pssh.d.ts.map +0 -1
- package/dist/parsers/pssh.js +0 -35
- package/dist/parsers/pssh.js.map +0 -1
- package/dist/parsers/schm.d.ts +0 -15
- package/dist/parsers/schm.d.ts.map +0 -1
- package/dist/parsers/schm.js +0 -22
- package/dist/parsers/schm.js.map +0 -1
- package/dist/parsers/sdtp.d.ts +0 -15
- package/dist/parsers/sdtp.d.ts.map +0 -1
- package/dist/parsers/sdtp.js +0 -19
- package/dist/parsers/sdtp.js.map +0 -1
- package/dist/parsers/sidx.d.ts +0 -15
- package/dist/parsers/sidx.d.ts.map +0 -1
- package/dist/parsers/sidx.js +0 -46
- package/dist/parsers/sidx.js.map +0 -1
- package/dist/parsers/skip.d.ts +0 -15
- package/dist/parsers/skip.d.ts.map +0 -1
- package/dist/parsers/skip.js +0 -16
- package/dist/parsers/skip.js.map +0 -1
- package/dist/parsers/smhd.d.ts +0 -15
- package/dist/parsers/smhd.d.ts.map +0 -1
- package/dist/parsers/smhd.js +0 -19
- package/dist/parsers/smhd.js.map +0 -1
- package/dist/parsers/ssix.d.ts +0 -15
- package/dist/parsers/ssix.d.ts.map +0 -1
- package/dist/parsers/ssix.js +0 -30
- package/dist/parsers/ssix.js.map +0 -1
- package/dist/parsers/sthd.d.ts +0 -15
- package/dist/parsers/sthd.d.ts.map +0 -1
- package/dist/parsers/sthd.js +0 -15
- package/dist/parsers/sthd.js.map +0 -1
- package/dist/parsers/stsd.d.ts +0 -16
- package/dist/parsers/stsd.d.ts.map +0 -1
- package/dist/parsers/stsd.js +0 -22
- package/dist/parsers/stsd.js.map +0 -1
- package/dist/parsers/stss.d.ts +0 -15
- package/dist/parsers/stss.d.ts.map +0 -1
- package/dist/parsers/stss.js +0 -24
- package/dist/parsers/stss.js.map +0 -1
- package/dist/parsers/sttg.d.ts +0 -15
- package/dist/parsers/sttg.d.ts.map +0 -1
- package/dist/parsers/sttg.js +0 -17
- package/dist/parsers/sttg.js.map +0 -1
- package/dist/parsers/stts.d.ts +0 -15
- package/dist/parsers/stts.d.ts.map +0 -1
- package/dist/parsers/stts.js +0 -26
- package/dist/parsers/stts.js.map +0 -1
- package/dist/parsers/styp.d.ts +0 -15
- package/dist/parsers/styp.d.ts.map +0 -1
- package/dist/parsers/styp.js +0 -15
- package/dist/parsers/styp.js.map +0 -1
- package/dist/parsers/subs.d.ts +0 -15
- package/dist/parsers/subs.d.ts.map +0 -1
- package/dist/parsers/subs.js +0 -37
- package/dist/parsers/subs.js.map +0 -1
- package/dist/parsers/tenc.d.ts +0 -15
- package/dist/parsers/tenc.d.ts.map +0 -1
- package/dist/parsers/tenc.js +0 -21
- package/dist/parsers/tenc.js.map +0 -1
- package/dist/parsers/tfdt.d.ts +0 -15
- package/dist/parsers/tfdt.d.ts.map +0 -1
- package/dist/parsers/tfdt.js +0 -20
- package/dist/parsers/tfdt.js.map +0 -1
- package/dist/parsers/tfhd.d.ts +0 -15
- package/dist/parsers/tfhd.d.ts.map +0 -1
- package/dist/parsers/tfhd.js +0 -25
- package/dist/parsers/tfhd.js.map +0 -1
- package/dist/parsers/tfra.d.ts +0 -15
- package/dist/parsers/tfra.d.ts.map +0 -1
- package/dist/parsers/tfra.js +0 -39
- package/dist/parsers/tfra.js.map +0 -1
- package/dist/parsers/tkhd.d.ts +0 -15
- package/dist/parsers/tkhd.d.ts.map +0 -1
- package/dist/parsers/tkhd.js +0 -35
- package/dist/parsers/tkhd.js.map +0 -1
- package/dist/parsers/trex.d.ts +0 -15
- package/dist/parsers/trex.d.ts.map +0 -1
- package/dist/parsers/trex.js +0 -22
- package/dist/parsers/trex.js.map +0 -1
- package/dist/parsers/trun.d.ts +0 -15
- package/dist/parsers/trun.d.ts.map +0 -1
- package/dist/parsers/trun.js +0 -48
- package/dist/parsers/trun.js.map +0 -1
- package/dist/parsers/url.d.ts +0 -15
- package/dist/parsers/url.d.ts.map +0 -1
- package/dist/parsers/url.js +0 -18
- package/dist/parsers/url.js.map +0 -1
- package/dist/parsers/urn.d.ts +0 -15
- package/dist/parsers/urn.d.ts.map +0 -1
- package/dist/parsers/urn.js +0 -19
- package/dist/parsers/urn.js.map +0 -1
- package/dist/parsers/vlab.d.ts +0 -15
- package/dist/parsers/vlab.d.ts.map +0 -1
- package/dist/parsers/vlab.js +0 -17
- package/dist/parsers/vlab.js.map +0 -1
- package/dist/parsers/vmhd.d.ts +0 -15
- package/dist/parsers/vmhd.d.ts.map +0 -1
- package/dist/parsers/vmhd.js +0 -20
- package/dist/parsers/vmhd.js.map +0 -1
- package/dist/parsers/vttC.d.ts +0 -15
- package/dist/parsers/vttC.d.ts.map +0 -1
- package/dist/parsers/vttC.js +0 -17
- package/dist/parsers/vttC.js.map +0 -1
- package/dist/parsers/vtte.d.ts +0 -12
- package/dist/parsers/vtte.d.ts.map +0 -1
- package/dist/parsers/vtte.js +0 -14
- package/dist/parsers/vtte.js.map +0 -1
- package/dist/readers/IsoFieldTypeMap.d.ts +0 -16
- package/dist/readers/IsoFieldTypeMap.d.ts.map +0 -1
- package/dist/readers/IsoFieldTypeMap.js +0 -2
- package/dist/readers/IsoFieldTypeMap.js.map +0 -1
- package/dist/readers/readData.d.ts +0 -2
- package/dist/readers/readData.d.ts.map +0 -1
- package/dist/readers/readData.js +0 -6
- package/dist/readers/readData.js.map +0 -1
- package/dist/readers/readInt.d.ts +0 -2
- package/dist/readers/readInt.d.ts.map +0 -1
- package/dist/readers/readInt.js +0 -25
- package/dist/readers/readInt.js.map +0 -1
- package/dist/readers/readString.d.ts +0 -2
- package/dist/readers/readString.d.ts.map +0 -1
- package/dist/readers/readString.js +0 -11
- package/dist/readers/readString.js.map +0 -1
- package/dist/readers/readTemplate.d.ts +0 -2
- package/dist/readers/readTemplate.d.ts.map +0 -1
- package/dist/readers/readTemplate.js +0 -9
- package/dist/readers/readTemplate.js.map +0 -1
- package/dist/readers/readTerminatedString.d.ts +0 -2
- package/dist/readers/readTerminatedString.d.ts.map +0 -1
- package/dist/readers/readTerminatedString.js +0 -16
- package/dist/readers/readTerminatedString.js.map +0 -1
- package/dist/readers/readUint.d.ts +0 -2
- package/dist/readers/readUint.d.ts.map +0 -1
- package/dist/readers/readUint.js +0 -32
- package/dist/readers/readUint.js.map +0 -1
- package/dist/readers/readUtf8String.d.ts +0 -11
- package/dist/readers/readUtf8String.d.ts.map +0 -1
- package/dist/readers/readUtf8String.js +0 -17
- package/dist/readers/readUtf8String.js.map +0 -1
- package/dist/readers/readUtf8TerminatedString.d.ts +0 -11
- package/dist/readers/readUtf8TerminatedString.d.ts.map +0 -1
- package/dist/readers/readUtf8TerminatedString.js +0 -29
- package/dist/readers/readUtf8TerminatedString.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,206 +1,2827 @@
|
|
|
1
|
+
//#region src/boxes/Fields.d.ts
|
|
1
2
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
3
|
+
* Utility type to get just the fields of a box
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* @beta
|
|
7
|
+
*/
|
|
8
|
+
type Fields<T$1> = Omit<T$1, Exclude<keyof Box, "data"> | "boxes">;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/boxes/FullBox.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* Full Box Type (has version and flags)
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* @beta
|
|
16
|
+
*/
|
|
17
|
+
type FullBox = Box & {
|
|
18
|
+
version: number;
|
|
19
|
+
flags: number;
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/boxes/AudioRenderingIndicationBox.d.ts
|
|
23
|
+
/**
|
|
24
|
+
* ISO/IEC 14496-12:202x - 12.2.8 Audio rendering indication box
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* @beta
|
|
28
|
+
*/
|
|
29
|
+
type AudioRenderingIndicationBox = FullBox & {
|
|
30
|
+
type: "ardi";
|
|
31
|
+
audioRenderingIndication: number;
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/boxes/SampleEntryBox.d.ts
|
|
35
|
+
/**
|
|
36
|
+
* ISO/IEC 14496-12:2015 - 8.5.2.2 Sample Entry
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @beta
|
|
40
|
+
*/
|
|
41
|
+
type SampleEntryBox = Box & {
|
|
42
|
+
reserved1: number[];
|
|
43
|
+
dataReferenceIndex: number;
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/boxes/AudioSampleEntryBox.d.ts
|
|
47
|
+
/**
|
|
48
|
+
* ISO/IEC 14496-12:2012 - 8.5.2.2 mp4a box (use AudioSampleEntry definition and naming)
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* @beta
|
|
52
|
+
*/
|
|
53
|
+
type AudioSampleEntryBox<T$1 extends "mp4a" | "enca" = "mp4a" | "enca"> = SampleEntryBox & {
|
|
54
|
+
type: T$1;
|
|
55
|
+
reserved2: number[];
|
|
56
|
+
channelcount: number;
|
|
57
|
+
samplesize: number;
|
|
58
|
+
preDefined: number;
|
|
59
|
+
reserved3: number;
|
|
60
|
+
samplerate: number;
|
|
61
|
+
esds: Uint8Array;
|
|
62
|
+
};
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/boxes/ChunkLargeOffsetBox.d.ts
|
|
65
|
+
/**
|
|
66
|
+
* Chunk Large Offset Box - 'co64'
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @beta
|
|
70
|
+
*/
|
|
71
|
+
type ChunkLargeOffsetBox = FullBox & {
|
|
72
|
+
type: "co64";
|
|
73
|
+
entryCount: number;
|
|
74
|
+
chunkOffset: number[];
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/boxes/ChunkOffsetBox.d.ts
|
|
78
|
+
/**
|
|
79
|
+
* Chunk Offset Box - 'stco'
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @beta
|
|
83
|
+
*/
|
|
84
|
+
type ChunkOffsetBox = FullBox & {
|
|
85
|
+
type: "stco";
|
|
86
|
+
entryCount: number;
|
|
87
|
+
chunkOffset: number[];
|
|
88
|
+
};
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/boxes/CompactSampleSizeBox.d.ts
|
|
91
|
+
/**
|
|
92
|
+
* Compact Sample Size Box - 'stz2'
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @beta
|
|
96
|
+
*/
|
|
97
|
+
type CompactSampleSizeBox = FullBox & {
|
|
98
|
+
type: "stz2";
|
|
99
|
+
fieldSize: number;
|
|
100
|
+
sampleCount: number;
|
|
101
|
+
entrySize: number[];
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/boxes/CompositionTimeToSampleEntry.d.ts
|
|
105
|
+
/**
|
|
106
|
+
* A Composition Time To Sample Entry
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @beta
|
|
110
|
+
*/
|
|
111
|
+
type CompositionTimeToSampleEntry = {
|
|
112
|
+
sampleCount: number;
|
|
113
|
+
sampleOffset: number;
|
|
114
|
+
};
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/boxes/CompositionTimeToSampleBox.d.ts
|
|
117
|
+
/**
|
|
118
|
+
* ISO/IEC 14496-12:2012 - 8.6.1.3 Composition Time To Sample Box
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @beta
|
|
122
|
+
*/
|
|
123
|
+
type CompositionTimeToSampleBox = FullBox & {
|
|
124
|
+
type: "ctts";
|
|
125
|
+
entryCount: number;
|
|
126
|
+
entries: CompositionTimeToSampleEntry[];
|
|
127
|
+
};
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/boxes/DataEntryUrlBox.d.ts
|
|
130
|
+
/**
|
|
131
|
+
* Data Entry Url Box - 'url '
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
* @beta
|
|
135
|
+
*/
|
|
136
|
+
type DataEntryUrlBox = FullBox & {
|
|
137
|
+
type: "url ";
|
|
138
|
+
location?: string;
|
|
139
|
+
};
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/boxes/DataEntryUrnBox.d.ts
|
|
142
|
+
/**
|
|
143
|
+
* Data Entry Urn Box - 'urn '
|
|
144
|
+
*
|
|
145
|
+
*
|
|
146
|
+
* @beta
|
|
147
|
+
*/
|
|
148
|
+
type DataEntryUrnBox = FullBox & {
|
|
149
|
+
type: "urn ";
|
|
150
|
+
name?: string;
|
|
151
|
+
location?: string;
|
|
152
|
+
};
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/boxes/DataReferenceBox.d.ts
|
|
155
|
+
/**
|
|
156
|
+
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
157
|
+
*
|
|
158
|
+
*
|
|
159
|
+
* @beta
|
|
160
|
+
*/
|
|
161
|
+
type DataReferenceBox = FullBox & {
|
|
162
|
+
type: "dref";
|
|
163
|
+
entryCount: number;
|
|
164
|
+
entries: (DataEntryUrlBox | DataEntryUrnBox)[];
|
|
165
|
+
};
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/boxes/DecodingTimeSample.d.ts
|
|
168
|
+
/**
|
|
169
|
+
* Decoding time sample
|
|
170
|
+
*
|
|
171
|
+
*
|
|
172
|
+
* @beta
|
|
173
|
+
*/
|
|
174
|
+
type DecodingTimeSample = {
|
|
175
|
+
/** A 32-bit integer that specifies the number of consecutive samples that have the same decoding time delta. */
|
|
176
|
+
sampleCount: number;
|
|
177
|
+
/** A 32-bit integer that specifies the delta of the decoding time of each sample in the table. */
|
|
178
|
+
sampleDelta: number;
|
|
179
|
+
};
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/boxes/DecodingTimeToSampleBox.d.ts
|
|
182
|
+
/**
|
|
183
|
+
* ISO/IEC 14496-12:2012 - 8.6.1.2 Decoding Time To Sample Box
|
|
184
|
+
*
|
|
185
|
+
*
|
|
186
|
+
* @beta
|
|
187
|
+
*/
|
|
188
|
+
type DecodingTimeToSampleBox = FullBox & {
|
|
189
|
+
type: "stts";
|
|
190
|
+
/** A 32-bit integer that specifies the number of entries in the decoding time-to-sample table. */
|
|
191
|
+
entryCount: number;
|
|
192
|
+
/** An array of decoding time-to-sample entries. */
|
|
193
|
+
entries: DecodingTimeSample[];
|
|
194
|
+
};
|
|
195
|
+
//#endregion
|
|
196
|
+
//#region src/boxes/DegradationPriorityBox.d.ts
|
|
197
|
+
/**
|
|
198
|
+
* Degradation Priority Box - 'stdp'
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* @beta
|
|
202
|
+
*/
|
|
203
|
+
type DegradationPriorityBox = FullBox & {
|
|
204
|
+
type: "stdp";
|
|
205
|
+
priority: number[];
|
|
206
|
+
};
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region src/boxes/EditListEntry.d.ts
|
|
209
|
+
/**
|
|
210
|
+
* An edit list entry.
|
|
211
|
+
*
|
|
212
|
+
*
|
|
213
|
+
* @beta
|
|
214
|
+
*/
|
|
215
|
+
type EditListEntry = {
|
|
216
|
+
segmentDuration: number;
|
|
217
|
+
mediaTime: number;
|
|
218
|
+
mediaRateInteger: number;
|
|
219
|
+
mediaRateFraction: number;
|
|
220
|
+
};
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/boxes/EditListBox.d.ts
|
|
223
|
+
/**
|
|
224
|
+
* ISO/IEC 14496-12:2012 - 8.6.6 Edit List Box
|
|
225
|
+
*
|
|
226
|
+
*
|
|
227
|
+
* @beta
|
|
228
|
+
*/
|
|
229
|
+
type EditListBox = FullBox & {
|
|
230
|
+
type: "elst";
|
|
231
|
+
entryCount: number;
|
|
232
|
+
entries: EditListEntry[];
|
|
233
|
+
};
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/boxes/EventMessageBox.d.ts
|
|
236
|
+
/**
|
|
237
|
+
* ISO/IEC 23009-1:2014 - 5.10.3.3 Event Message Box
|
|
238
|
+
*
|
|
239
|
+
*
|
|
240
|
+
* @beta
|
|
241
|
+
*/
|
|
242
|
+
type EventMessageBox = FullBox & {
|
|
243
|
+
type: "emsg";
|
|
244
|
+
schemeIdUri: string;
|
|
245
|
+
value: string;
|
|
246
|
+
timescale: number;
|
|
247
|
+
presentationTime: number;
|
|
248
|
+
presentationTimeDelta: number;
|
|
249
|
+
eventDuration: number;
|
|
250
|
+
id: number;
|
|
251
|
+
messageData: Uint8Array;
|
|
252
|
+
};
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/boxes/ExtendedLanguageBox.d.ts
|
|
255
|
+
/**
|
|
256
|
+
* ISO/IEC 14496-12:202x - 8.4.6 Extended language tag
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
* @beta
|
|
260
|
+
*/
|
|
261
|
+
type ExtendedLanguageBox = FullBox & {
|
|
262
|
+
type: "elng";
|
|
263
|
+
extendedLanguage: string;
|
|
264
|
+
};
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region src/boxes/FileTypeBox.d.ts
|
|
267
|
+
/**
|
|
268
|
+
* ISO/IEC 14496-12:2012 - 4.3 File Type Box
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* @beta
|
|
272
|
+
*/
|
|
273
|
+
type FileTypeBox = TypeBox<"ftyp">;
|
|
274
|
+
//#endregion
|
|
275
|
+
//#region src/boxes/FreeSpaceBox.d.ts
|
|
276
|
+
/**
|
|
277
|
+
* ISO/IEC 14496-12:2012 - 8.1.2 Free Space Box
|
|
278
|
+
*
|
|
279
|
+
*
|
|
280
|
+
* @beta
|
|
281
|
+
*/
|
|
282
|
+
type FreeSpaceBox<T$1 extends "free" | "skip" = "free"> = Box & {
|
|
283
|
+
type: T$1;
|
|
284
|
+
data: Uint8Array;
|
|
285
|
+
};
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/boxes/HandlerReferenceBox.d.ts
|
|
288
|
+
/**
|
|
289
|
+
* ISO/IEC 14496-12:2012 - 8.4.3 Handler Reference Box
|
|
290
|
+
*
|
|
291
|
+
*
|
|
292
|
+
* @beta
|
|
293
|
+
*/
|
|
294
|
+
type HandlerReferenceBox = FullBox & {
|
|
295
|
+
type: "hdlr";
|
|
296
|
+
preDefined: number;
|
|
297
|
+
handlerType: string;
|
|
298
|
+
reserved: number[];
|
|
299
|
+
name: string;
|
|
300
|
+
};
|
|
301
|
+
//#endregion
|
|
302
|
+
//#region src/boxes/HintMediaHeaderBox.d.ts
|
|
303
|
+
/**
|
|
304
|
+
* Hint Media Header Box - 'hmhd'
|
|
305
|
+
*
|
|
306
|
+
*
|
|
307
|
+
* @beta
|
|
308
|
+
*/
|
|
309
|
+
type HintMediaHeaderBox = FullBox & {
|
|
310
|
+
type: "hmhd";
|
|
311
|
+
maxPDUsize: number;
|
|
312
|
+
avgPDUsize: number;
|
|
313
|
+
maxbitrate: number;
|
|
314
|
+
avgbitrate: number;
|
|
315
|
+
};
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/boxes/IdentifiedMediaDataBox.d.ts
|
|
318
|
+
/**
|
|
319
|
+
* ISO/IEC 14496-12:2012 - 9.1.4.1 Identified media data box
|
|
320
|
+
*
|
|
321
|
+
*
|
|
322
|
+
* @beta
|
|
323
|
+
*/
|
|
324
|
+
type IdentifiedMediaDataBox = Box & {
|
|
325
|
+
type: "imda";
|
|
326
|
+
imdaIdentifier: number;
|
|
327
|
+
data: Uint8Array;
|
|
328
|
+
};
|
|
329
|
+
//#endregion
|
|
330
|
+
//#region src/boxes/IpmpInfoBox.d.ts
|
|
331
|
+
/**
|
|
332
|
+
* IPMP Info Box - 'imif'
|
|
333
|
+
*
|
|
334
|
+
*
|
|
335
|
+
* @beta
|
|
336
|
+
*/
|
|
337
|
+
type IpmpInfoBox = FullBox & {
|
|
338
|
+
type: "imif";
|
|
339
|
+
ipmpDescr: any[];
|
|
340
|
+
};
|
|
341
|
+
//#endregion
|
|
342
|
+
//#region src/boxes/ItemInfoEntry.d.ts
|
|
343
|
+
/**
|
|
344
|
+
* Item Info Entry - 'infe'
|
|
345
|
+
*
|
|
346
|
+
*
|
|
347
|
+
* @beta
|
|
348
|
+
*/
|
|
349
|
+
type ItemInfoEntry = FullBox & {
|
|
350
|
+
type: "infe";
|
|
351
|
+
itemId: number;
|
|
352
|
+
itemProtectionIndex: number;
|
|
353
|
+
itemName: string;
|
|
354
|
+
contentType: string;
|
|
355
|
+
contentEncoding?: string;
|
|
356
|
+
extensionType?: string;
|
|
357
|
+
};
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region src/boxes/ItemExtent.d.ts
|
|
360
|
+
/**
|
|
361
|
+
* Item Extent
|
|
362
|
+
*
|
|
363
|
+
*
|
|
364
|
+
* @beta
|
|
365
|
+
*/
|
|
366
|
+
type ItemExtent = {
|
|
367
|
+
extentIndex?: number;
|
|
368
|
+
extentOffset: number;
|
|
369
|
+
extentLength: number;
|
|
370
|
+
};
|
|
371
|
+
//#endregion
|
|
372
|
+
//#region src/boxes/ItemLocation.d.ts
|
|
373
|
+
/**
|
|
374
|
+
* Item Location
|
|
375
|
+
*
|
|
376
|
+
*
|
|
377
|
+
* @beta
|
|
378
|
+
*/
|
|
379
|
+
type ItemLocation = {
|
|
380
|
+
itemId: number;
|
|
381
|
+
constructionMethod?: number;
|
|
382
|
+
dataReferenceIndex: number;
|
|
383
|
+
baseOffset: number;
|
|
384
|
+
extents: ItemExtent[];
|
|
385
|
+
};
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region src/boxes/ItemLocationBox.d.ts
|
|
388
|
+
/**
|
|
389
|
+
* Item Location Box - 'iloc'
|
|
390
|
+
*
|
|
391
|
+
*
|
|
392
|
+
* @beta
|
|
393
|
+
*/
|
|
394
|
+
type ItemLocationBox = FullBox & {
|
|
395
|
+
type: "iloc";
|
|
396
|
+
offsetSize: number;
|
|
397
|
+
lengthSize: number;
|
|
398
|
+
baseOffsetSize: number;
|
|
399
|
+
indexSize?: number;
|
|
400
|
+
itemCount: number;
|
|
401
|
+
items: ItemLocation[];
|
|
402
|
+
};
|
|
403
|
+
//#endregion
|
|
404
|
+
//#region src/boxes/LabelBox.d.ts
|
|
405
|
+
/**
|
|
406
|
+
* ISO/IEC 14496-12:202x - 8.10.5 Label box
|
|
407
|
+
*
|
|
408
|
+
*
|
|
409
|
+
* @beta
|
|
410
|
+
*/
|
|
411
|
+
type LabelBox = FullBox & {
|
|
412
|
+
type: "labl";
|
|
413
|
+
isGroupLabel: boolean;
|
|
414
|
+
labelId: number;
|
|
415
|
+
language: string;
|
|
416
|
+
label: string;
|
|
417
|
+
};
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region src/boxes/MediaDataBox.d.ts
|
|
420
|
+
/**
|
|
421
|
+
* ISO/IEC 14496-12:2012 - 8.1.1 Media Data Box
|
|
422
|
+
*
|
|
423
|
+
*
|
|
424
|
+
* @beta
|
|
425
|
+
*/
|
|
426
|
+
type MediaDataBox = Box & {
|
|
427
|
+
type: "mdat";
|
|
428
|
+
data: Uint8Array<ArrayBuffer>;
|
|
429
|
+
};
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region src/boxes/MediaHeaderBox.d.ts
|
|
432
|
+
/**
|
|
433
|
+
* ISO/IEC 14496-12:2012 - 8.4.2 Media Header Box
|
|
434
|
+
*
|
|
435
|
+
*
|
|
436
|
+
* @beta
|
|
437
|
+
*/
|
|
438
|
+
type MediaHeaderBox = FullBox & {
|
|
439
|
+
type: "mdhd";
|
|
440
|
+
/** A 32-bit integer that specifies the creation time of the media in this track. */
|
|
441
|
+
creationTime: number;
|
|
442
|
+
/** A 32-bit integer that specifies the most recent time the media in this track was modified. */
|
|
443
|
+
modificationTime: number;
|
|
444
|
+
/** A time value that indicates the time-scale for this media; this is the number of time units that pass in one second. */
|
|
445
|
+
timescale: number;
|
|
446
|
+
/** A time value that indicates the duration of this media. */
|
|
447
|
+
duration: number;
|
|
448
|
+
/** A 16-bit integer that specifies the language code for this media. */
|
|
449
|
+
language: string;
|
|
450
|
+
/** A 16-bit value that is reserved for use in other specifications. */
|
|
451
|
+
preDefined: number;
|
|
452
|
+
};
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region src/boxes/MovieExtendsHeaderBox.d.ts
|
|
455
|
+
/**
|
|
456
|
+
* ISO/IEC 14496-12:2012 - 8.8.2 Movie Extends Header Box
|
|
457
|
+
*
|
|
458
|
+
*
|
|
459
|
+
* @beta
|
|
460
|
+
*/
|
|
461
|
+
type MovieExtendsHeaderBox = FullBox & {
|
|
462
|
+
type: "mehd";
|
|
463
|
+
fragmentDuration: number;
|
|
464
|
+
};
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/boxes/MovieFragmentHeaderBox.d.ts
|
|
467
|
+
/**
|
|
468
|
+
* ISO/IEC 14496-12:2012 - 8.8.5 Movie Fragment Header Box
|
|
469
|
+
*
|
|
470
|
+
*
|
|
471
|
+
* @beta
|
|
472
|
+
*/
|
|
473
|
+
type MovieFragmentHeaderBox = FullBox & {
|
|
474
|
+
type: "mfhd";
|
|
475
|
+
sequenceNumber: number;
|
|
476
|
+
};
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region src/boxes/MovieFragmentRandomAccessOffsetBox.d.ts
|
|
479
|
+
/**
|
|
480
|
+
* ISO/IEC 14496-12:2012 - 8.8.11 Movie Fragment Random Access Box
|
|
481
|
+
*
|
|
482
|
+
*
|
|
483
|
+
* @beta
|
|
484
|
+
*/
|
|
485
|
+
type MovieFragmentRandomAccessOffsetBox = FullBox & {
|
|
486
|
+
type: "mfro";
|
|
487
|
+
mfraSize: number;
|
|
488
|
+
};
|
|
489
|
+
//#endregion
|
|
490
|
+
//#region src/boxes/MovieHeaderBox.d.ts
|
|
491
|
+
/**
|
|
492
|
+
* ISO/IEC 14496-12:2012 - 8.2.2 Movie Header Box
|
|
493
|
+
*
|
|
494
|
+
*
|
|
495
|
+
* @beta
|
|
496
|
+
*/
|
|
497
|
+
type MovieHeaderBox = FullBox & {
|
|
498
|
+
type: "mvhd";
|
|
499
|
+
creationTime: number;
|
|
500
|
+
modificationTime: number;
|
|
501
|
+
timescale: number;
|
|
502
|
+
duration: number;
|
|
503
|
+
rate: number;
|
|
504
|
+
volume: number;
|
|
505
|
+
reserved1: number;
|
|
506
|
+
reserved2: number[];
|
|
507
|
+
matrix: number[];
|
|
508
|
+
preDefined: number[];
|
|
509
|
+
nextTrackId: number;
|
|
510
|
+
};
|
|
511
|
+
//#endregion
|
|
512
|
+
//#region src/boxes/NullMediaHeaderBox.d.ts
|
|
513
|
+
/**
|
|
514
|
+
* Null Media Header Box - 'nmhd'
|
|
515
|
+
*
|
|
516
|
+
*
|
|
517
|
+
* @beta
|
|
518
|
+
*/
|
|
519
|
+
type NullMediaHeaderBox = FullBox & {
|
|
520
|
+
type: "nmhd";
|
|
521
|
+
};
|
|
522
|
+
//#endregion
|
|
523
|
+
//#region src/boxes/OriginalFormatBox.d.ts
|
|
524
|
+
/**
|
|
525
|
+
* ISO/IEC 14496-12:2012 - 8.12.2 Original Format Box
|
|
526
|
+
*
|
|
527
|
+
*
|
|
528
|
+
* @beta
|
|
529
|
+
*/
|
|
530
|
+
type OriginalFormatBox = Box & {
|
|
531
|
+
type: "frma";
|
|
532
|
+
dataFormat: number;
|
|
533
|
+
};
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region src/boxes/Entity.d.ts
|
|
536
|
+
/**
|
|
537
|
+
* Entity
|
|
538
|
+
*
|
|
539
|
+
*
|
|
540
|
+
* @beta
|
|
541
|
+
*/
|
|
542
|
+
type Entity = {
|
|
543
|
+
/** Entity ID */
|
|
544
|
+
entityId: number;
|
|
545
|
+
};
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region src/boxes/PreselectionGroupBox.d.ts
|
|
548
|
+
/**
|
|
549
|
+
* ISO/IEC 14496-12:202x - 8.18.4.1 Preselection group box
|
|
550
|
+
*
|
|
551
|
+
*
|
|
552
|
+
* @beta
|
|
553
|
+
*/
|
|
554
|
+
type PreselectionGroupBox = FullBox & {
|
|
555
|
+
type: "prsl";
|
|
556
|
+
/** Group ID */
|
|
557
|
+
groupId: number;
|
|
558
|
+
/** Number of entities in group */
|
|
559
|
+
numEntitiesInGroup: number;
|
|
560
|
+
/** Entities */
|
|
561
|
+
entities: Entity[];
|
|
562
|
+
preselectionTag?: string;
|
|
563
|
+
selectionPriority?: number;
|
|
564
|
+
interleavingTag?: string;
|
|
565
|
+
};
|
|
566
|
+
//#endregion
|
|
567
|
+
//#region src/boxes/PrimaryItemBox.d.ts
|
|
568
|
+
/**
|
|
569
|
+
* Primary Item Box - 'pitm'
|
|
570
|
+
*
|
|
571
|
+
*
|
|
572
|
+
* @beta
|
|
573
|
+
*/
|
|
574
|
+
type PrimaryItemBox = FullBox & {
|
|
575
|
+
type: "pitm";
|
|
576
|
+
itemId: number;
|
|
577
|
+
};
|
|
578
|
+
//#endregion
|
|
579
|
+
//#region src/boxes/ProducerReferenceTimeBox.d.ts
|
|
580
|
+
/**
|
|
581
|
+
* ISO/IEC 14496-12:2012 - 8.16.5 Producer Reference Time
|
|
582
|
+
*
|
|
583
|
+
*
|
|
584
|
+
* @beta
|
|
585
|
+
*/
|
|
586
|
+
type ProducerReferenceTimeBox = FullBox & {
|
|
587
|
+
type: "prft";
|
|
588
|
+
referenceTrackId: number;
|
|
589
|
+
ntpTimestampSec: number;
|
|
590
|
+
ntpTimestampFrac: number;
|
|
591
|
+
mediaTime: number;
|
|
592
|
+
};
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region src/boxes/ProtectionSystemSpecificHeaderBox.d.ts
|
|
595
|
+
/**
|
|
596
|
+
* ISO/IEC 23001-7:2011 - 8.1 Protection System Specific Header Box
|
|
597
|
+
*
|
|
598
|
+
*
|
|
599
|
+
* @beta
|
|
600
|
+
*/
|
|
601
|
+
type ProtectionSystemSpecificHeaderBox = FullBox & {
|
|
602
|
+
type: "pssh";
|
|
603
|
+
systemId: number[];
|
|
604
|
+
kidCount: number;
|
|
605
|
+
kid: number[];
|
|
606
|
+
dataSize: number;
|
|
607
|
+
data: number[];
|
|
608
|
+
};
|
|
609
|
+
//#endregion
|
|
610
|
+
//#region src/boxes/SampleAuxiliaryInformationOffsetsBox.d.ts
|
|
611
|
+
/**
|
|
612
|
+
* Sample Auxiliary Information Offsets Box - 'saio'
|
|
613
|
+
*
|
|
614
|
+
*
|
|
615
|
+
* @beta
|
|
616
|
+
*/
|
|
617
|
+
type SampleAuxiliaryInformationOffsetsBox = FullBox & {
|
|
618
|
+
type: "saio";
|
|
619
|
+
auxInfoType?: number;
|
|
620
|
+
auxInfoTypeParameter?: number;
|
|
621
|
+
entryCount: number;
|
|
622
|
+
offset: number[];
|
|
623
|
+
};
|
|
624
|
+
//#endregion
|
|
625
|
+
//#region src/boxes/SampleAuxiliaryInformationSizesBox.d.ts
|
|
626
|
+
/**
|
|
627
|
+
* Sample Auxiliary Information Sizes Box - 'saiz'
|
|
628
|
+
*
|
|
629
|
+
*
|
|
630
|
+
* @beta
|
|
631
|
+
*/
|
|
632
|
+
type SampleAuxiliaryInformationSizesBox = FullBox & {
|
|
633
|
+
type: "saiz";
|
|
634
|
+
auxInfoType?: number;
|
|
635
|
+
auxInfoTypeParameter?: number;
|
|
636
|
+
defaultSampleInfoSize: number;
|
|
637
|
+
sampleCount: number;
|
|
638
|
+
sampleInfoSize?: number[];
|
|
639
|
+
};
|
|
640
|
+
//#endregion
|
|
641
|
+
//#region src/boxes/SampleDependencyTypeBox.d.ts
|
|
642
|
+
/**
|
|
643
|
+
* ISO/IEC 14496-12:2012 - 8.6.4.1 Sample Dependency Type box
|
|
644
|
+
*
|
|
645
|
+
*
|
|
646
|
+
* @beta
|
|
647
|
+
*/
|
|
648
|
+
type SampleDependencyTypeBox = FullBox & {
|
|
649
|
+
type: "sdtp";
|
|
650
|
+
sampleDependencyTable: number[];
|
|
651
|
+
};
|
|
652
|
+
//#endregion
|
|
653
|
+
//#region src/boxes/SampleDescriptionBox.d.ts
|
|
654
|
+
/**
|
|
655
|
+
* ISO/IEC 14496-12:2012 - 8.5.2 Sample Description Box
|
|
656
|
+
*
|
|
657
|
+
*
|
|
658
|
+
* @beta
|
|
659
|
+
*/
|
|
660
|
+
type SampleDescriptionBox<E extends SampleEntryBox = SampleEntryBox> = FullBox & {
|
|
661
|
+
type: "stsd";
|
|
662
|
+
entryCount: number;
|
|
663
|
+
entries: E[];
|
|
664
|
+
};
|
|
665
|
+
//#endregion
|
|
666
|
+
//#region src/boxes/SubsampleEncryption.d.ts
|
|
667
|
+
/**
|
|
668
|
+
* Subsample Encryption
|
|
669
|
+
*
|
|
670
|
+
*
|
|
671
|
+
* @beta
|
|
672
|
+
*/
|
|
673
|
+
type SubsampleEncryption = {
|
|
674
|
+
bytesOfClearData: number;
|
|
675
|
+
bytesOfProtectedData: number;
|
|
676
|
+
};
|
|
677
|
+
//#endregion
|
|
678
|
+
//#region src/boxes/EncryptedSample.d.ts
|
|
679
|
+
/**
|
|
680
|
+
* Encrypted Sample
|
|
681
|
+
*
|
|
682
|
+
*
|
|
683
|
+
* @beta
|
|
684
|
+
*/
|
|
685
|
+
type EncryptedSample = {
|
|
686
|
+
initializationVector?: Uint8Array;
|
|
687
|
+
subsampleEncryption?: SubsampleEncryption[];
|
|
688
|
+
};
|
|
689
|
+
//#endregion
|
|
690
|
+
//#region src/boxes/SampleEncryptionBox.d.ts
|
|
691
|
+
/**
|
|
692
|
+
* Sample Encryption Box - 'senc'
|
|
693
|
+
*
|
|
694
|
+
*
|
|
695
|
+
* @beta
|
|
696
|
+
*/
|
|
697
|
+
type SampleEncryptionBox = FullBox & {
|
|
698
|
+
type: "senc";
|
|
699
|
+
sampleCount: number;
|
|
700
|
+
samples: EncryptedSample[];
|
|
701
|
+
};
|
|
702
|
+
//#endregion
|
|
703
|
+
//#region src/boxes/SampleGroupDescriptionBox.d.ts
|
|
704
|
+
/**
|
|
705
|
+
* Sample Group Description Box - 'sgpd'
|
|
706
|
+
*
|
|
707
|
+
*
|
|
708
|
+
* @beta
|
|
709
|
+
*/
|
|
710
|
+
type SampleGroupDescriptionBox = FullBox & {
|
|
711
|
+
type: "sgpd";
|
|
712
|
+
groupingType: number;
|
|
713
|
+
defaultLength?: number;
|
|
714
|
+
entryCount: number;
|
|
715
|
+
entries: any[];
|
|
716
|
+
};
|
|
717
|
+
//#endregion
|
|
718
|
+
//#region src/boxes/SampleSizeBox.d.ts
|
|
719
|
+
/**
|
|
720
|
+
* Sample Size Box - 'stsz'
|
|
721
|
+
*
|
|
722
|
+
*
|
|
723
|
+
* @beta
|
|
724
|
+
*/
|
|
725
|
+
type SampleSizeBox = FullBox & {
|
|
726
|
+
type: "stsz";
|
|
727
|
+
sampleSize: number;
|
|
728
|
+
sampleCount: number;
|
|
729
|
+
entrySize?: number[];
|
|
730
|
+
};
|
|
731
|
+
//#endregion
|
|
732
|
+
//#region src/boxes/SampleToChunkEntry.d.ts
|
|
733
|
+
/**
|
|
734
|
+
* Sample to Chunk Entry
|
|
735
|
+
*
|
|
736
|
+
*
|
|
737
|
+
* @beta
|
|
738
|
+
*/
|
|
739
|
+
type SampleToChunkEntry = {
|
|
740
|
+
firstChunk: number;
|
|
741
|
+
samplesPerChunk: number;
|
|
742
|
+
sampleDescriptionIndex: number;
|
|
743
|
+
};
|
|
744
|
+
//#endregion
|
|
745
|
+
//#region src/boxes/SampleToChunkBox.d.ts
|
|
746
|
+
/**
|
|
747
|
+
* Sample to Chunk Box - 'stsc'
|
|
748
|
+
*
|
|
749
|
+
*
|
|
750
|
+
* @beta
|
|
751
|
+
*/
|
|
752
|
+
type SampleToChunkBox = FullBox & {
|
|
753
|
+
type: "stsc";
|
|
754
|
+
entryCount: number;
|
|
755
|
+
entries: SampleToChunkEntry[];
|
|
756
|
+
};
|
|
757
|
+
//#endregion
|
|
758
|
+
//#region src/boxes/SampleToGroupEntry.d.ts
|
|
759
|
+
/**
|
|
760
|
+
* Sample to Group Entry
|
|
761
|
+
*
|
|
762
|
+
*
|
|
763
|
+
* @beta
|
|
764
|
+
*/
|
|
765
|
+
type SampleToGroupEntry = {
|
|
766
|
+
sampleCount: number;
|
|
767
|
+
groupDescriptionIndex: number;
|
|
768
|
+
};
|
|
769
|
+
//#endregion
|
|
770
|
+
//#region src/boxes/SampleToGroupBox.d.ts
|
|
771
|
+
/**
|
|
772
|
+
* Sample to Group Box - 'sbgp'
|
|
773
|
+
*
|
|
774
|
+
*
|
|
775
|
+
* @beta
|
|
776
|
+
*/
|
|
777
|
+
type SampleToGroupBox = FullBox & {
|
|
778
|
+
type: "sbgp";
|
|
779
|
+
groupingType: number;
|
|
780
|
+
groupingTypeParameter?: number;
|
|
781
|
+
entryCount: number;
|
|
782
|
+
entries: SampleToGroupEntry[];
|
|
783
|
+
};
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region src/boxes/SchemeTypeBox.d.ts
|
|
786
|
+
/**
|
|
787
|
+
* ISO/IEC 14496-12:2012 - 8.12.5 Scheme Type Box
|
|
788
|
+
*
|
|
789
|
+
*
|
|
790
|
+
* @beta
|
|
791
|
+
*/
|
|
792
|
+
type SchemeTypeBox = FullBox & {
|
|
793
|
+
type: "schm";
|
|
794
|
+
schemeType: number;
|
|
795
|
+
schemeVersion: number;
|
|
796
|
+
schemeUri?: string;
|
|
797
|
+
};
|
|
798
|
+
//#endregion
|
|
799
|
+
//#region src/boxes/SegmentIndexReference.d.ts
|
|
800
|
+
/**
|
|
801
|
+
* Segment index reference
|
|
802
|
+
*
|
|
803
|
+
*
|
|
804
|
+
* @beta
|
|
805
|
+
*/
|
|
806
|
+
type SegmentIndexReference = {
|
|
807
|
+
reference: number;
|
|
808
|
+
subsegmentDuration: number;
|
|
809
|
+
sap: number;
|
|
810
|
+
referenceType: number;
|
|
811
|
+
referencedSize: number;
|
|
812
|
+
startsWithSap: number;
|
|
813
|
+
sapType: number;
|
|
814
|
+
sapDeltaTime: number;
|
|
815
|
+
};
|
|
816
|
+
//#endregion
|
|
817
|
+
//#region src/boxes/SegmentIndexBox.d.ts
|
|
818
|
+
/**
|
|
819
|
+
* ISO/IEC 14496-12:2012 - 8.16.3 Segment Index Box
|
|
820
|
+
*
|
|
821
|
+
*
|
|
822
|
+
* @beta
|
|
823
|
+
*/
|
|
824
|
+
type SegmentIndexBox = FullBox & {
|
|
825
|
+
type: "sidx";
|
|
826
|
+
referenceId: number;
|
|
827
|
+
timescale: number;
|
|
828
|
+
earliestPresentationTime: number;
|
|
829
|
+
firstOffset: number;
|
|
830
|
+
reserved: number;
|
|
831
|
+
references: SegmentIndexReference[];
|
|
832
|
+
};
|
|
833
|
+
//#endregion
|
|
834
|
+
//#region src/boxes/SegmentTypeBox.d.ts
|
|
835
|
+
/**
|
|
836
|
+
* ISO/IEC 14496-12:2012 - 8.16.2 Segment Type Box
|
|
837
|
+
*
|
|
838
|
+
*
|
|
839
|
+
* @beta
|
|
840
|
+
*/
|
|
841
|
+
type SegmentTypeBox = TypeBox<"styp">;
|
|
842
|
+
//#endregion
|
|
843
|
+
//#region src/boxes/ShadowSyncEntry.d.ts
|
|
844
|
+
/**
|
|
845
|
+
* Shadow Sync Entry
|
|
846
|
+
*
|
|
847
|
+
*
|
|
848
|
+
* @beta
|
|
849
|
+
*/
|
|
850
|
+
type ShadowSyncEntry = {
|
|
851
|
+
shadowedSampleNumber: number;
|
|
852
|
+
syncSampleNumber: number;
|
|
853
|
+
};
|
|
854
|
+
//#endregion
|
|
855
|
+
//#region src/boxes/ShadowSyncSampleBox.d.ts
|
|
856
|
+
/**
|
|
857
|
+
* Shadow Sync Sample Box - 'stsh'
|
|
858
|
+
*
|
|
859
|
+
*
|
|
860
|
+
* @beta
|
|
861
|
+
*/
|
|
862
|
+
type ShadowSyncSampleBox = FullBox & {
|
|
863
|
+
type: "stsh";
|
|
864
|
+
entryCount: number;
|
|
865
|
+
entries: ShadowSyncEntry[];
|
|
866
|
+
};
|
|
867
|
+
//#endregion
|
|
868
|
+
//#region src/boxes/SingleItemTypeReferenceBox.d.ts
|
|
869
|
+
/**
|
|
870
|
+
* Single Item Type Reference Box
|
|
871
|
+
*
|
|
872
|
+
*
|
|
873
|
+
* @beta
|
|
874
|
+
*/
|
|
875
|
+
type SingleItemTypeReferenceBox = Box & {
|
|
876
|
+
fromItemId: number;
|
|
877
|
+
referenceCount: number;
|
|
878
|
+
toItemId: number[];
|
|
879
|
+
};
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region src/boxes/SoundMediaHeaderBox.d.ts
|
|
882
|
+
/**
|
|
883
|
+
* ISO/IEC 14496-12:2012 - 8.4.5.3 Sound Media Header Box
|
|
884
|
+
*
|
|
885
|
+
*
|
|
886
|
+
* @beta
|
|
887
|
+
*/
|
|
888
|
+
type SoundMediaHeaderBox = FullBox & {
|
|
889
|
+
type: "smhd";
|
|
890
|
+
balance: number;
|
|
891
|
+
reserved: number;
|
|
892
|
+
};
|
|
893
|
+
//#endregion
|
|
894
|
+
//#region src/boxes/Subsample.d.ts
|
|
895
|
+
/**
|
|
896
|
+
* Sub sample
|
|
897
|
+
*
|
|
898
|
+
*
|
|
899
|
+
* @beta
|
|
900
|
+
*/
|
|
901
|
+
type Subsample = {
|
|
902
|
+
subsampleSize: number;
|
|
903
|
+
subsamplePriority: number;
|
|
904
|
+
discardable: number;
|
|
905
|
+
codecSpecificParameters: number;
|
|
906
|
+
};
|
|
907
|
+
//#endregion
|
|
908
|
+
//#region src/boxes/SubsampleEntry.d.ts
|
|
909
|
+
/**
|
|
910
|
+
* Sub sample entry
|
|
911
|
+
*
|
|
912
|
+
*
|
|
913
|
+
* @beta
|
|
914
|
+
*/
|
|
915
|
+
type SubsampleEntry = {
|
|
916
|
+
sampleDelta: number;
|
|
917
|
+
subsampleCount: number;
|
|
918
|
+
subsamples: Subsample[];
|
|
919
|
+
};
|
|
920
|
+
//#endregion
|
|
921
|
+
//#region src/boxes/SubsampleInformationBox.d.ts
|
|
922
|
+
/**
|
|
923
|
+
* ISO/IEC 14496-12:2015 - 8.7.7 Sub-Sample Information Box
|
|
924
|
+
*
|
|
925
|
+
*
|
|
926
|
+
* @beta
|
|
927
|
+
*/
|
|
928
|
+
type SubsampleInformationBox = FullBox & {
|
|
929
|
+
type: "subs";
|
|
930
|
+
entryCount: number;
|
|
931
|
+
entries: SubsampleEntry[];
|
|
932
|
+
};
|
|
933
|
+
//#endregion
|
|
934
|
+
//#region src/boxes/SubsegmentRange.d.ts
|
|
935
|
+
/**
|
|
936
|
+
* Subsegment range
|
|
937
|
+
*
|
|
938
|
+
*
|
|
939
|
+
* @beta
|
|
940
|
+
*/
|
|
941
|
+
type SubsegmentRange = {
|
|
942
|
+
level: number;
|
|
943
|
+
rangeSize: number;
|
|
944
|
+
};
|
|
945
|
+
//#endregion
|
|
946
|
+
//#region src/boxes/Subsegment.d.ts
|
|
947
|
+
/**
|
|
948
|
+
* Subsegment
|
|
949
|
+
*
|
|
950
|
+
*
|
|
951
|
+
* @beta
|
|
952
|
+
*/
|
|
953
|
+
type Subsegment = {
|
|
954
|
+
rangesCount: number;
|
|
955
|
+
ranges: SubsegmentRange[];
|
|
956
|
+
};
|
|
957
|
+
//#endregion
|
|
958
|
+
//#region src/boxes/SubsegmentIndexBox.d.ts
|
|
959
|
+
/**
|
|
960
|
+
* ISO/IEC 14496-12:2012 - 8.16.4 Subsegment Index Box
|
|
961
|
+
*
|
|
962
|
+
*
|
|
963
|
+
* @beta
|
|
964
|
+
*/
|
|
965
|
+
type SubsegmentIndexBox = FullBox & {
|
|
966
|
+
type: "ssix";
|
|
967
|
+
subsegmentCount: number;
|
|
968
|
+
subsegments: Subsegment[];
|
|
969
|
+
};
|
|
970
|
+
//#endregion
|
|
971
|
+
//#region src/boxes/SubtitleMediaHeaderBox.d.ts
|
|
972
|
+
/**
|
|
973
|
+
* ISO/IEC 14496-12:2015 - 12.6.2 Subtitle media header Box
|
|
974
|
+
*
|
|
975
|
+
*
|
|
976
|
+
* @beta
|
|
977
|
+
*/
|
|
978
|
+
type SubtitleMediaHeaderBox = FullBox & {
|
|
979
|
+
type: "sthd";
|
|
980
|
+
};
|
|
981
|
+
//#endregion
|
|
982
|
+
//#region src/boxes/SyncSample.d.ts
|
|
983
|
+
/**
|
|
984
|
+
* Sync sample
|
|
985
|
+
*
|
|
986
|
+
*
|
|
987
|
+
* @beta
|
|
988
|
+
*/
|
|
989
|
+
type SyncSample = {
|
|
990
|
+
sampleNumber: number;
|
|
991
|
+
};
|
|
992
|
+
//#endregion
|
|
993
|
+
//#region src/boxes/SyncSampleBox.d.ts
|
|
994
|
+
/**
|
|
995
|
+
* ISO/IEC 14496-12:2015 - 8.6.2 Sync Sample Box
|
|
996
|
+
*
|
|
997
|
+
*
|
|
998
|
+
* @beta
|
|
999
|
+
*/
|
|
1000
|
+
type SyncSampleBox = FullBox & {
|
|
1001
|
+
type: "stss";
|
|
1002
|
+
entryCount: number;
|
|
1003
|
+
entries: SyncSample[];
|
|
1004
|
+
};
|
|
1005
|
+
//#endregion
|
|
1006
|
+
//#region src/boxes/TrackEncryptionBox.d.ts
|
|
1007
|
+
/**
|
|
1008
|
+
* ISO/IEC 23001-7:2011 - 8.2 Track Encryption Box
|
|
1009
|
+
*
|
|
1010
|
+
*
|
|
1011
|
+
* @beta
|
|
1012
|
+
*/
|
|
1013
|
+
type TrackEncryptionBox = FullBox & {
|
|
1014
|
+
type: "tenc";
|
|
1015
|
+
defaultIsEncrypted: number;
|
|
1016
|
+
defaultIvSize: number;
|
|
1017
|
+
defaultKid: number[];
|
|
1018
|
+
};
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region src/boxes/TrackExtendsBox.d.ts
|
|
1021
|
+
/**
|
|
1022
|
+
* ISO/IEC 14496-12:2012 - 8.8.3 Track Extends Box
|
|
1023
|
+
*
|
|
1024
|
+
*
|
|
1025
|
+
* @beta
|
|
1026
|
+
*/
|
|
1027
|
+
type TrackExtendsBox = FullBox & {
|
|
1028
|
+
type: "trex";
|
|
1029
|
+
trackId: number;
|
|
1030
|
+
defaultSampleDescriptionIndex: number;
|
|
1031
|
+
defaultSampleDuration: number;
|
|
1032
|
+
defaultSampleSize: number;
|
|
1033
|
+
defaultSampleFlags: number;
|
|
1034
|
+
};
|
|
1035
|
+
//#endregion
|
|
1036
|
+
//#region src/boxes/TrackFragmentBaseMediaDecodeTimeBox.d.ts
|
|
1037
|
+
/**
|
|
1038
|
+
* ISO/IEC 14496-12:2012 - 8.8.12 Track Fragment Decode Time
|
|
1039
|
+
*
|
|
1040
|
+
*
|
|
1041
|
+
* @beta
|
|
1042
|
+
*/
|
|
1043
|
+
type TrackFragmentBaseMediaDecodeTimeBox = FullBox & {
|
|
1044
|
+
type: "tfdt";
|
|
1045
|
+
baseMediaDecodeTime: number;
|
|
1046
|
+
};
|
|
1047
|
+
//#endregion
|
|
1048
|
+
//#region src/boxes/TrackFragmentHeaderBox.d.ts
|
|
1049
|
+
/**
|
|
1050
|
+
* ISO/IEC 14496-12:2012 - 8.8.7 Track Fragment Header Box
|
|
1051
|
+
*
|
|
1052
|
+
*
|
|
1053
|
+
* @beta
|
|
1054
|
+
*/
|
|
1055
|
+
type TrackFragmentHeaderBox = FullBox & {
|
|
1056
|
+
type: "tfhd";
|
|
1057
|
+
trackId: number;
|
|
1058
|
+
baseDataOffset?: number;
|
|
1059
|
+
sampleDescriptionIndex?: number;
|
|
1060
|
+
defaultSampleDuration?: number;
|
|
1061
|
+
defaultSampleSize?: number;
|
|
1062
|
+
defaultSampleFlags?: number;
|
|
1063
|
+
};
|
|
1064
|
+
//#endregion
|
|
1065
|
+
//#region src/boxes/TrackFragmentRandomAccessEntry.d.ts
|
|
1066
|
+
/**
|
|
1067
|
+
* Track fragment random access entry
|
|
1068
|
+
*
|
|
1069
|
+
*
|
|
1070
|
+
* @beta
|
|
1071
|
+
*/
|
|
1072
|
+
type TrackFragmentRandomAccessEntry = {
|
|
1073
|
+
time: number;
|
|
1074
|
+
moofOffset: number;
|
|
1075
|
+
trafNumber: number;
|
|
1076
|
+
trunNumber: number;
|
|
1077
|
+
sampleNumber: number;
|
|
1078
|
+
};
|
|
1079
|
+
//#endregion
|
|
1080
|
+
//#region src/boxes/TrackFragmentRandomAccessBox.d.ts
|
|
1081
|
+
/**
|
|
1082
|
+
* ISO/IEC 14496-12:2012 - 8.8.10 Track Fragment Random Access Box
|
|
1083
|
+
*
|
|
1084
|
+
*
|
|
1085
|
+
* @beta
|
|
1086
|
+
*/
|
|
1087
|
+
type TrackFragmentRandomAccessBox = FullBox & {
|
|
1088
|
+
type: "tfra";
|
|
1089
|
+
trackId: number;
|
|
1090
|
+
reserved: number;
|
|
1091
|
+
numberOfEntry: number;
|
|
1092
|
+
lengthSizeOfTrafNum: number;
|
|
1093
|
+
lengthSizeOfTrunNum: number;
|
|
1094
|
+
lengthSizeOfSampleNum: number;
|
|
1095
|
+
entries: TrackFragmentRandomAccessEntry[];
|
|
1096
|
+
};
|
|
1097
|
+
//#endregion
|
|
1098
|
+
//#region src/boxes/TrackHeaderBox.d.ts
|
|
1099
|
+
/**
|
|
1100
|
+
* ISO/IEC 14496-12:2012 - 8.3.2 Track Header Box
|
|
1101
|
+
*
|
|
1102
|
+
*
|
|
1103
|
+
* @beta
|
|
1104
|
+
*/
|
|
1105
|
+
type TrackHeaderBox = FullBox & {
|
|
1106
|
+
type: "tkhd";
|
|
1107
|
+
creationTime: number;
|
|
1108
|
+
modificationTime: number;
|
|
1109
|
+
trackId: number;
|
|
1110
|
+
reserved1: number;
|
|
1111
|
+
duration: number;
|
|
1112
|
+
reserved2: number[];
|
|
1113
|
+
layer: number;
|
|
1114
|
+
alternateGroup: number;
|
|
1115
|
+
volume: number;
|
|
1116
|
+
reserved3: number;
|
|
1117
|
+
matrix: number[];
|
|
1118
|
+
width: number;
|
|
1119
|
+
height: number;
|
|
1120
|
+
};
|
|
1121
|
+
//#endregion
|
|
1122
|
+
//#region src/boxes/TrackKindBox.d.ts
|
|
1123
|
+
/**
|
|
1124
|
+
* ISO/IEC 14496-12:202x - 8.10.4 Track kind box
|
|
1125
|
+
*
|
|
1126
|
+
*
|
|
1127
|
+
* @beta
|
|
1128
|
+
*/
|
|
1129
|
+
type TrackKindBox = FullBox & {
|
|
1130
|
+
type: "kind";
|
|
1131
|
+
schemeUri: string;
|
|
1132
|
+
value: string;
|
|
1133
|
+
};
|
|
1134
|
+
//#endregion
|
|
1135
|
+
//#region src/boxes/TrackRunSample.d.ts
|
|
1136
|
+
/**
|
|
1137
|
+
* Track run sample
|
|
1138
|
+
*
|
|
1139
|
+
*
|
|
1140
|
+
* @beta
|
|
1141
|
+
*/
|
|
1142
|
+
type TrackRunSample = {
|
|
1143
|
+
sampleDuration?: number;
|
|
1144
|
+
sampleSize?: number;
|
|
1145
|
+
sampleFlags?: number;
|
|
1146
|
+
sampleCompositionTimeOffset?: number;
|
|
1147
|
+
};
|
|
1148
|
+
//#endregion
|
|
1149
|
+
//#region src/boxes/TrackRunBox.d.ts
|
|
1150
|
+
/**
|
|
1151
|
+
* ISO/IEC 14496-12:2012 - 8.8.8 Track Run Box
|
|
1152
|
+
*
|
|
1153
|
+
* Note: the 'trun' box has a direct relation to the 'tfhd' box for defaults.
|
|
1154
|
+
* These defaults are not set explicitly here, but are left to resolve for the user.
|
|
1155
|
+
*
|
|
1156
|
+
*
|
|
1157
|
+
* @beta
|
|
1158
|
+
*/
|
|
1159
|
+
type TrackRunBox = FullBox & {
|
|
1160
|
+
type: "trun";
|
|
1161
|
+
sampleCount: number;
|
|
1162
|
+
dataOffset?: number;
|
|
1163
|
+
firstSampleFlags?: number;
|
|
1164
|
+
samples: TrackRunSample[];
|
|
1165
|
+
};
|
|
1166
|
+
//#endregion
|
|
1167
|
+
//#region src/boxes/UrlBox.d.ts
|
|
1168
|
+
/**
|
|
1169
|
+
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
1170
|
+
*
|
|
1171
|
+
*
|
|
1172
|
+
* @beta
|
|
1173
|
+
*/
|
|
1174
|
+
type UrlBox = FullBox & {
|
|
1175
|
+
type: "url";
|
|
1176
|
+
location: string;
|
|
1177
|
+
};
|
|
1178
|
+
//#endregion
|
|
1179
|
+
//#region src/boxes/UrnBox.d.ts
|
|
1180
|
+
/**
|
|
1181
|
+
* ISO/IEC 14496-12:2012 - 8.7.2 Data Reference Box
|
|
1182
|
+
*
|
|
1183
|
+
*
|
|
1184
|
+
* @beta
|
|
1185
|
+
*/
|
|
1186
|
+
type UrnBox = FullBox & {
|
|
1187
|
+
type: "urn";
|
|
1188
|
+
name: string;
|
|
1189
|
+
location: string;
|
|
1190
|
+
};
|
|
1191
|
+
//#endregion
|
|
1192
|
+
//#region src/boxes/VideoMediaHeaderBox.d.ts
|
|
1193
|
+
/**
|
|
1194
|
+
* ISO/IEC 14496-12:2012 - 8.4.5.2 Video Media Header Box
|
|
1195
|
+
*
|
|
1196
|
+
*
|
|
1197
|
+
* @beta
|
|
1198
|
+
*/
|
|
1199
|
+
type VideoMediaHeaderBox = FullBox & {
|
|
1200
|
+
type: "vmhd";
|
|
1201
|
+
graphicsmode: number;
|
|
1202
|
+
opcolor: number[];
|
|
1203
|
+
};
|
|
1204
|
+
//#endregion
|
|
1205
|
+
//#region src/boxes/VisualSampleEntryBox.d.ts
|
|
1206
|
+
/**
|
|
1207
|
+
* ISO/IEC 14496-15:2014 - 12.1.3.1 avc1/2/3/4, hev1, hvc1, encv
|
|
1208
|
+
*
|
|
1209
|
+
*
|
|
1210
|
+
* @beta
|
|
1211
|
+
*/
|
|
1212
|
+
type VisualSampleEntryBox<T$1 extends "avc1" | "avc2" | "avc3" | "avc4" | "hev1" | "hvc1" | "encv" = "avc1" | "avc2" | "avc3" | "avc4" | "hev1" | "hvc1" | "encv"> = SampleEntryBox & {
|
|
1213
|
+
type: T$1;
|
|
1214
|
+
preDefined1: number;
|
|
1215
|
+
reserved2: number;
|
|
1216
|
+
preDefined2: number[];
|
|
1217
|
+
width: number;
|
|
1218
|
+
height: number;
|
|
1219
|
+
horizresolution: number;
|
|
1220
|
+
vertresolution: number;
|
|
1221
|
+
reserved3: number;
|
|
1222
|
+
frameCount: number;
|
|
1223
|
+
compressorName: number[];
|
|
1224
|
+
depth: number;
|
|
1225
|
+
preDefined3: number;
|
|
1226
|
+
config: Uint8Array;
|
|
1227
|
+
};
|
|
1228
|
+
//#endregion
|
|
1229
|
+
//#region src/boxes/WebVttConfigurationBox.d.ts
|
|
1230
|
+
/**
|
|
1231
|
+
* ISO/IEC 14496-30:2014 - WebVTT Configuration Box
|
|
1232
|
+
*
|
|
1233
|
+
*
|
|
1234
|
+
* @beta
|
|
1235
|
+
*/
|
|
1236
|
+
type WebVttConfigurationBox = Box & {
|
|
1237
|
+
type: "vttC";
|
|
1238
|
+
config: string;
|
|
1239
|
+
};
|
|
1240
|
+
//#endregion
|
|
1241
|
+
//#region src/boxes/WebVttCueIdBox.d.ts
|
|
1242
|
+
/**
|
|
1243
|
+
* ISO/IEC 14496-30:2014 - WebVTT Cue Id Box.
|
|
1244
|
+
*
|
|
1245
|
+
*
|
|
1246
|
+
* @beta
|
|
1247
|
+
*/
|
|
1248
|
+
type WebVttCueIdBox = Box & {
|
|
1249
|
+
type: "iden";
|
|
1250
|
+
cueId: string;
|
|
1251
|
+
};
|
|
1252
|
+
//#endregion
|
|
1253
|
+
//#region src/boxes/WebVttCuePayloadBox.d.ts
|
|
1254
|
+
/**
|
|
1255
|
+
* ISO/IEC 14496-30:2014 - WebVTT Cue Payload Box.
|
|
1256
|
+
*
|
|
1257
|
+
*
|
|
1258
|
+
* @beta
|
|
1259
|
+
*/
|
|
1260
|
+
type WebVttCuePayloadBox = Box & {
|
|
1261
|
+
type: "payl";
|
|
1262
|
+
cueText: string;
|
|
1263
|
+
};
|
|
1264
|
+
//#endregion
|
|
1265
|
+
//#region src/boxes/WebVttEmptySampleBox.d.ts
|
|
1266
|
+
/**
|
|
1267
|
+
* ISO/IEC 14496-30:2014 - WebVTT Empty Sample Box
|
|
1268
|
+
*
|
|
1269
|
+
*
|
|
1270
|
+
* @beta
|
|
1271
|
+
*/
|
|
1272
|
+
type WebVttEmptySampleBox = Box & {
|
|
1273
|
+
type: "vtte";
|
|
1274
|
+
};
|
|
1275
|
+
//#endregion
|
|
1276
|
+
//#region src/boxes/WebVttSettingsBox.d.ts
|
|
1277
|
+
/**
|
|
1278
|
+
* ISO/IEC 14496-30:2014 - WebVTT Cue Settings Box.
|
|
1279
|
+
*
|
|
1280
|
+
*
|
|
1281
|
+
* @beta
|
|
1282
|
+
*/
|
|
1283
|
+
type WebVttSettingsBox = Box & {
|
|
1284
|
+
type: "sttg";
|
|
1285
|
+
settings: string;
|
|
1286
|
+
};
|
|
1287
|
+
//#endregion
|
|
1288
|
+
//#region src/boxes/WebVttSourceLabelBox.d.ts
|
|
1289
|
+
/**
|
|
1290
|
+
* ISO/IEC 14496-30:2014 - WebVTT Source Label Box
|
|
1291
|
+
*
|
|
1292
|
+
*
|
|
1293
|
+
* @beta
|
|
1294
|
+
*/
|
|
1295
|
+
type WebVttSourceLabelBox = Box & {
|
|
1296
|
+
type: "vlab";
|
|
1297
|
+
sourceLabel: string;
|
|
1298
|
+
};
|
|
1299
|
+
//#endregion
|
|
1300
|
+
//#region src/boxes/IsoBox.d.ts
|
|
1301
|
+
/**
|
|
1302
|
+
* Non-container Box types
|
|
1303
|
+
*
|
|
1304
|
+
*
|
|
1305
|
+
* @beta
|
|
1306
|
+
*/
|
|
1307
|
+
type IsoBox = AudioRenderingIndicationBox | AudioSampleEntryBox<"enca"> | AudioSampleEntryBox<"mp4a"> | ChunkLargeOffsetBox | ChunkOffsetBox | CompactSampleSizeBox | CompositionTimeToSampleBox | DataEntryUrlBox | DataEntryUrnBox | DataReferenceBox | DecodingTimeToSampleBox | DegradationPriorityBox | EditListBox | EventMessageBox | ExtendedLanguageBox | FileTypeBox | FreeSpaceBox<"free"> | FreeSpaceBox<"skip"> | HandlerReferenceBox | HintMediaHeaderBox | IdentifiedMediaDataBox | IpmpInfoBox | ItemInfoEntry | ItemLocationBox | LabelBox | MediaDataBox | MediaHeaderBox | MovieExtendsHeaderBox | MovieFragmentHeaderBox | MovieFragmentRandomAccessOffsetBox | MovieHeaderBox | NullMediaHeaderBox | OriginalFormatBox | PrimaryItemBox | PreselectionGroupBox | ProducerReferenceTimeBox | ProtectionSystemSpecificHeaderBox | SampleAuxiliaryInformationOffsetsBox | SampleAuxiliaryInformationSizesBox | SampleDependencyTypeBox | SampleDescriptionBox | SampleEncryptionBox | SampleGroupDescriptionBox | SampleSizeBox | SampleToChunkBox | SampleToGroupBox | SchemeTypeBox | SegmentIndexBox | SegmentTypeBox | ShadowSyncSampleBox | SingleItemTypeReferenceBox | SoundMediaHeaderBox | SubsampleInformationBox | SubsegmentIndexBox | SubtitleMediaHeaderBox | SyncSampleBox | TrackEncryptionBox | TrackExtendsBox | TrackFragmentBaseMediaDecodeTimeBox | TrackFragmentHeaderBox | TrackFragmentRandomAccessBox | TrackHeaderBox | TrackKindBox | TrackRunBox | UrlBox | UrnBox | VideoMediaHeaderBox | VisualSampleEntryBox<"avc1"> | VisualSampleEntryBox<"avc2"> | VisualSampleEntryBox<"avc3"> | VisualSampleEntryBox<"avc4"> | VisualSampleEntryBox<"encv"> | VisualSampleEntryBox<"hev1"> | VisualSampleEntryBox<"hvc1"> | WebVttConfigurationBox | WebVttCueIdBox | WebVttCuePayloadBox | WebVttEmptySampleBox | WebVttSettingsBox | WebVttSourceLabelBox;
|
|
1308
|
+
//#endregion
|
|
1309
|
+
//#region src/boxes/ContainerBox.d.ts
|
|
1310
|
+
/**
|
|
1311
|
+
* Container Box
|
|
1312
|
+
*
|
|
1313
|
+
*
|
|
1314
|
+
* @beta
|
|
1315
|
+
*/
|
|
1316
|
+
type ContainerBox<T$1> = Box & {
|
|
1317
|
+
boxes: T$1[];
|
|
1318
|
+
};
|
|
1319
|
+
//#endregion
|
|
1320
|
+
//#region src/boxes/DataInformationBox.d.ts
|
|
1321
|
+
/**
|
|
1322
|
+
* Data Information Box - 'dinf' - Container
|
|
1323
|
+
*
|
|
1324
|
+
*
|
|
1325
|
+
* @beta
|
|
1326
|
+
*/
|
|
1327
|
+
type DataInformationBox = ContainerBox<DataReferenceBox> & {
|
|
1328
|
+
type: "dinf";
|
|
1329
|
+
};
|
|
1330
|
+
//#endregion
|
|
1331
|
+
//#region src/boxes/EditBox.d.ts
|
|
1332
|
+
/**
|
|
1333
|
+
* Edit Box - 'edts' - Container
|
|
1334
|
+
*
|
|
1335
|
+
*
|
|
1336
|
+
* @beta
|
|
1337
|
+
*/
|
|
1338
|
+
type EditBox = ContainerBox<EditListBox> & {
|
|
1339
|
+
type: "edts";
|
|
1340
|
+
};
|
|
1341
|
+
//#endregion
|
|
1342
|
+
//#region src/boxes/ItemInfoBox.d.ts
|
|
1343
|
+
/**
|
|
1344
|
+
* Item Info Box - 'iinf' - Container
|
|
1345
|
+
*
|
|
1346
|
+
*
|
|
1347
|
+
* @beta
|
|
1348
|
+
*/
|
|
1349
|
+
type ItemInfoBox = ContainerBox<ItemInfoEntry> & {
|
|
1350
|
+
type: "iinf";
|
|
1351
|
+
entryCount: number;
|
|
1352
|
+
};
|
|
1353
|
+
//#endregion
|
|
1354
|
+
//#region src/boxes/SchemeInformationBox.d.ts
|
|
1355
|
+
/**
|
|
1356
|
+
* Scheme Information Box - 'schi' - Container
|
|
1357
|
+
*
|
|
1358
|
+
*
|
|
1359
|
+
* @beta
|
|
1360
|
+
*/
|
|
1361
|
+
type SchemeInformationBox = ContainerBox<TrackEncryptionBox | Box> & {
|
|
1362
|
+
type: "schi";
|
|
1363
|
+
};
|
|
1364
|
+
//#endregion
|
|
1365
|
+
//#region src/boxes/ProtectionSchemeInformationBox.d.ts
|
|
1366
|
+
/**
|
|
1367
|
+
* Protection Scheme Information Box - 'sinf' - Container
|
|
1368
|
+
*
|
|
1369
|
+
*
|
|
1370
|
+
* @beta
|
|
1371
|
+
*/
|
|
1372
|
+
type ProtectionSchemeInformationBox = ContainerBox<OriginalFormatBox | IpmpInfoBox | SchemeTypeBox | SchemeInformationBox> & {
|
|
1373
|
+
type: "sinf";
|
|
1374
|
+
};
|
|
1375
|
+
//#endregion
|
|
1376
|
+
//#region src/boxes/ItemProtectionBox.d.ts
|
|
1377
|
+
/**
|
|
1378
|
+
* Item Protection Box - 'ipro' - Container
|
|
1379
|
+
*
|
|
1380
|
+
*
|
|
1381
|
+
* @beta
|
|
1382
|
+
*/
|
|
1383
|
+
type ItemProtectionBox = ContainerBox<ProtectionSchemeInformationBox> & {
|
|
1384
|
+
type: "ipro";
|
|
1385
|
+
protectionCount: number;
|
|
1386
|
+
};
|
|
1387
|
+
//#endregion
|
|
1388
|
+
//#region src/boxes/ItemReferenceBox.d.ts
|
|
1389
|
+
/**
|
|
1390
|
+
* Item Reference Box - 'iref' - Container
|
|
1391
|
+
*
|
|
1392
|
+
*
|
|
1393
|
+
* @beta
|
|
1394
|
+
*/
|
|
1395
|
+
type ItemReferenceBox = ContainerBox<SingleItemTypeReferenceBox> & {
|
|
1396
|
+
type: "iref";
|
|
1397
|
+
};
|
|
1398
|
+
//#endregion
|
|
1399
|
+
//#region src/boxes/SampleTableBox.d.ts
|
|
1400
|
+
/**
|
|
1401
|
+
* Sample Table Box - 'stbl' - Container
|
|
1402
|
+
*
|
|
1403
|
+
*
|
|
1404
|
+
* @beta
|
|
1405
|
+
*/
|
|
1406
|
+
type SampleTableBox = ContainerBox<SampleDescriptionBox | DecodingTimeToSampleBox | CompositionTimeToSampleBox | SampleToChunkBox | SampleSizeBox | ChunkOffsetBox | SyncSampleBox | ShadowSyncSampleBox | DegradationPriorityBox | SampleDependencyTypeBox | SampleToGroupBox | SampleGroupDescriptionBox> & {
|
|
1407
|
+
type: "stbl";
|
|
1408
|
+
};
|
|
1409
|
+
//#endregion
|
|
1410
|
+
//#region src/boxes/MediaInformationBox.d.ts
|
|
1411
|
+
/**
|
|
1412
|
+
* Media Information Box - 'minf' - Container
|
|
1413
|
+
*
|
|
1414
|
+
*
|
|
1415
|
+
* @beta
|
|
1416
|
+
*/
|
|
1417
|
+
type MediaInformationBox = ContainerBox<VideoMediaHeaderBox | SoundMediaHeaderBox | HintMediaHeaderBox | NullMediaHeaderBox | DataInformationBox | SampleTableBox> & {
|
|
1418
|
+
type: "minf";
|
|
1419
|
+
};
|
|
1420
|
+
//#endregion
|
|
1421
|
+
//#region src/boxes/MediaBox.d.ts
|
|
1422
|
+
/**
|
|
1423
|
+
* Media Box - 'mdia' - Container
|
|
1424
|
+
*
|
|
1425
|
+
*
|
|
1426
|
+
* @beta
|
|
1427
|
+
*/
|
|
1428
|
+
type MediaBox = ContainerBox<MediaHeaderBox | HandlerReferenceBox | MediaInformationBox> & {
|
|
1429
|
+
type: "mdia";
|
|
1430
|
+
};
|
|
1431
|
+
//#endregion
|
|
1432
|
+
//#region src/boxes/MetaBox.d.ts
|
|
1433
|
+
/**
|
|
1434
|
+
* ISO/IEC 14496-12:202x - 8.11.1 Meta box
|
|
1435
|
+
*
|
|
1436
|
+
*
|
|
1437
|
+
* @beta
|
|
1438
|
+
*/
|
|
1439
|
+
type MetaBox = FullBox & ContainerBox<HandlerReferenceBox | PrimaryItemBox | DataInformationBox | ItemLocationBox | ItemProtectionBox | ItemInfoBox | ItemReferenceBox> & {
|
|
1440
|
+
type: "meta";
|
|
1441
|
+
};
|
|
1442
|
+
//#endregion
|
|
1443
|
+
//#region src/boxes/MovieExtendsBox.d.ts
|
|
1444
|
+
/**
|
|
1445
|
+
* Movie Extends Box - 'mvex' - Container
|
|
1446
|
+
*
|
|
1447
|
+
*
|
|
1448
|
+
* @beta
|
|
1449
|
+
*/
|
|
1450
|
+
type MovieExtendsBox = ContainerBox<MovieExtendsHeaderBox | TrackExtendsBox> & {
|
|
1451
|
+
type: "mvex";
|
|
1452
|
+
};
|
|
1453
|
+
//#endregion
|
|
1454
|
+
//#region src/boxes/TrackReferenceTypeBox.d.ts
|
|
1455
|
+
/**
|
|
1456
|
+
* Track Reference Type Box
|
|
1457
|
+
*
|
|
1458
|
+
*
|
|
1459
|
+
* @beta
|
|
1460
|
+
*/
|
|
1461
|
+
type TrackReferenceTypeBox = Box & {
|
|
1462
|
+
type: "tref";
|
|
1463
|
+
trackIds: number[];
|
|
1464
|
+
};
|
|
1465
|
+
//#endregion
|
|
1466
|
+
//#region src/boxes/TrackReferenceBox.d.ts
|
|
1467
|
+
/**
|
|
1468
|
+
* Track Reference Box - 'tref' - Container
|
|
1469
|
+
*
|
|
1470
|
+
*
|
|
1471
|
+
* @beta
|
|
1472
|
+
*/
|
|
1473
|
+
type TrackReferenceBox = ContainerBox<TrackReferenceTypeBox> & {
|
|
1474
|
+
type: "tref";
|
|
1475
|
+
};
|
|
1476
|
+
//#endregion
|
|
1477
|
+
//#region src/boxes/UserDataBox.d.ts
|
|
1478
|
+
/**
|
|
1479
|
+
* User Data Box - 'udta' - Container
|
|
1480
|
+
*
|
|
1481
|
+
*
|
|
1482
|
+
* @beta
|
|
1483
|
+
*/
|
|
1484
|
+
type UserDataBox = ContainerBox<Box> & {
|
|
1485
|
+
type: "udta";
|
|
1486
|
+
};
|
|
1487
|
+
//#endregion
|
|
1488
|
+
//#region src/boxes/TrackBox.d.ts
|
|
1489
|
+
/**
|
|
1490
|
+
* Track Box - 'trak' - Container
|
|
1491
|
+
*
|
|
1492
|
+
*
|
|
1493
|
+
* @beta
|
|
1494
|
+
*/
|
|
1495
|
+
type TrackBox = ContainerBox<TrackHeaderBox | TrackReferenceBox | EditBox | MediaBox | UserDataBox> & {
|
|
1496
|
+
type: "trak";
|
|
1497
|
+
};
|
|
1498
|
+
//#endregion
|
|
1499
|
+
//#region src/boxes/MovieBox.d.ts
|
|
1500
|
+
/**
|
|
1501
|
+
* Movie Box - 'moov' - Container
|
|
1502
|
+
*
|
|
1503
|
+
*
|
|
1504
|
+
* @beta
|
|
1505
|
+
*/
|
|
1506
|
+
type MovieBox = ContainerBox<MovieHeaderBox | TrackBox | MovieExtendsBox | UserDataBox> & {
|
|
1507
|
+
type: "moov";
|
|
1508
|
+
};
|
|
1509
|
+
//#endregion
|
|
1510
|
+
//#region src/boxes/TrackFragmentBox.d.ts
|
|
1511
|
+
/**
|
|
1512
|
+
* Track Fragment Box - 'traf' - Container
|
|
1513
|
+
*
|
|
1514
|
+
*
|
|
1515
|
+
* @beta
|
|
1516
|
+
*/
|
|
1517
|
+
type TrackFragmentBox = ContainerBox<TrackFragmentHeaderBox | TrackFragmentBaseMediaDecodeTimeBox | TrackRunBox | SampleAuxiliaryInformationSizesBox | SampleAuxiliaryInformationOffsetsBox | SampleEncryptionBox> & {
|
|
1518
|
+
type: "traf";
|
|
1519
|
+
};
|
|
1520
|
+
//#endregion
|
|
1521
|
+
//#region src/boxes/MovieFragmentBox.d.ts
|
|
1522
|
+
/**
|
|
1523
|
+
* Movie Fragment Box - 'moof' - Container
|
|
1524
|
+
*
|
|
1525
|
+
*
|
|
1526
|
+
* @beta
|
|
1527
|
+
*/
|
|
1528
|
+
type MovieFragmentBox = ContainerBox<MovieFragmentHeaderBox | TrackFragmentBox> & {
|
|
1529
|
+
type: "moof";
|
|
1530
|
+
};
|
|
1531
|
+
//#endregion
|
|
1532
|
+
//#region src/boxes/MovieFragmentRandomAccessBox.d.ts
|
|
1533
|
+
/**
|
|
1534
|
+
* Movie Fragment Random Access Box - 'mfra' - Container
|
|
1535
|
+
*
|
|
1536
|
+
*
|
|
1537
|
+
* @beta
|
|
1538
|
+
*/
|
|
1539
|
+
type MovieFragmentRandomAccessBox = ContainerBox<TrackFragmentRandomAccessBox | MovieFragmentRandomAccessOffsetBox> & {
|
|
1540
|
+
type: "mfra";
|
|
1541
|
+
};
|
|
1542
|
+
//#endregion
|
|
1543
|
+
//#region src/boxes/IsoContainerBox.d.ts
|
|
1544
|
+
/**
|
|
1545
|
+
* Container boxes that can contain other boxes
|
|
1546
|
+
*
|
|
1547
|
+
*
|
|
1548
|
+
* @beta
|
|
1549
|
+
*/
|
|
1550
|
+
type IsoContainerBox = DataInformationBox | EditBox | ItemInfoBox | ItemProtectionBox | ItemReferenceBox | MediaBox | MediaInformationBox | MetaBox | MovieBox | MovieExtendsBox | MovieFragmentBox | MovieFragmentRandomAccessBox | ProtectionSchemeInformationBox | SampleTableBox | SchemeInformationBox | TrackBox | TrackFragmentBox | TrackReferenceBox | UserDataBox;
|
|
1551
|
+
//#endregion
|
|
1552
|
+
//#region src/boxes/IsoBmffBox.d.ts
|
|
1553
|
+
/**
|
|
1554
|
+
* Utility type for all ISO BMFF boxes
|
|
1555
|
+
*
|
|
1556
|
+
*
|
|
1557
|
+
* @beta
|
|
1558
|
+
*/
|
|
1559
|
+
type IsoBmffBox = IsoBox | IsoContainerBox;
|
|
1560
|
+
//#endregion
|
|
1561
|
+
//#region src/BoxParser.d.ts
|
|
1562
|
+
/**
|
|
1563
|
+
* Box parser
|
|
1564
|
+
*
|
|
1565
|
+
*
|
|
1566
|
+
* @beta
|
|
1567
|
+
*/
|
|
1568
|
+
type BoxParser<V = IsoBox> = (view: IsoView, config?: IsoViewConfig) => Fields<V>;
|
|
1569
|
+
//#endregion
|
|
1570
|
+
//#region src/BoxParserMap.d.ts
|
|
1571
|
+
/**
|
|
1572
|
+
* A map of box parsers to their box types
|
|
1573
|
+
*
|
|
1574
|
+
*
|
|
1575
|
+
* @beta
|
|
1576
|
+
*/
|
|
1577
|
+
type BoxParserMap = Record<string, BoxParser>;
|
|
1578
|
+
//#endregion
|
|
1579
|
+
//#region src/IsoViewConfig.d.ts
|
|
1580
|
+
/**
|
|
1581
|
+
* ISO View configuration
|
|
1582
|
+
*
|
|
1583
|
+
*
|
|
1584
|
+
* @beta
|
|
1585
|
+
*/
|
|
1586
|
+
type IsoViewConfig = {
|
|
1587
|
+
/**
|
|
1588
|
+
* A map of box parsers to their box types
|
|
1589
|
+
*/
|
|
1590
|
+
parsers?: BoxParserMap;
|
|
1591
|
+
/**
|
|
1592
|
+
* Whether to parse boxes recursively
|
|
1593
|
+
*/
|
|
1594
|
+
recursive?: boolean;
|
|
1595
|
+
};
|
|
1596
|
+
//#endregion
|
|
1597
|
+
//#region src/readers/IsoFieldTypeMap.d.ts
|
|
1598
|
+
/**
|
|
1599
|
+
* IsoFieldTypeMap is a map of ISO BMFF field types to their corresponding JavaScript types.
|
|
1600
|
+
*
|
|
1601
|
+
*
|
|
1602
|
+
* @beta
|
|
1603
|
+
*/
|
|
1604
|
+
type IsoFieldTypeMap = {
|
|
1605
|
+
uint: number;
|
|
1606
|
+
int: number;
|
|
1607
|
+
template: number;
|
|
1608
|
+
string: string;
|
|
1609
|
+
data: Uint8Array<ArrayBuffer>;
|
|
1610
|
+
utf8: string;
|
|
1611
|
+
utf8string: string;
|
|
1612
|
+
};
|
|
1613
|
+
//#endregion
|
|
1614
|
+
//#region src/IsoView.d.ts
|
|
1615
|
+
/**
|
|
1616
|
+
* Raw ISO BMFF data box.
|
|
1617
|
+
*
|
|
1618
|
+
*
|
|
1619
|
+
* @beta
|
|
1620
|
+
*/
|
|
1621
|
+
type RawBox = {
|
|
1622
|
+
type: string;
|
|
1623
|
+
size: number;
|
|
1624
|
+
largesize?: number;
|
|
1625
|
+
usertype?: number[];
|
|
1626
|
+
data: IsoView;
|
|
1627
|
+
};
|
|
1628
|
+
/**
|
|
1629
|
+
* ISO BMFF data view. Similar to DataView, but with additional methods for reading ISO BMFF data.
|
|
1630
|
+
* It implements the iterator protocol, so it can be used in a for...of loop.
|
|
1631
|
+
*
|
|
1632
|
+
*
|
|
1633
|
+
* @beta
|
|
1634
|
+
*/
|
|
1635
|
+
declare class IsoView {
|
|
1636
|
+
private dataView;
|
|
1637
|
+
private offset;
|
|
1638
|
+
private config;
|
|
1639
|
+
private truncated;
|
|
1640
|
+
/**
|
|
1641
|
+
* Creates a new IsoView instance. Similar to DataView, but with additional
|
|
1642
|
+
* methods for reading ISO BMFF data. It implements the iterator protocol,
|
|
1643
|
+
* so it can be used in a for...of loop.
|
|
1644
|
+
*
|
|
1645
|
+
* @param raw - The raw data to view.
|
|
1646
|
+
* @param config - The configuration for the IsoView.
|
|
1647
|
+
*/
|
|
1648
|
+
constructor(raw: ArrayBuffer | DataView<ArrayBuffer> | Uint8Array<ArrayBuffer>, config?: IsoViewConfig);
|
|
1649
|
+
/**
|
|
1650
|
+
* The current byteoffset in the data view.
|
|
1651
|
+
*/
|
|
1652
|
+
get cursor(): number;
|
|
1653
|
+
/**
|
|
1654
|
+
* Whether the end of the data view has been reached.
|
|
1655
|
+
*/
|
|
1656
|
+
get done(): boolean;
|
|
1657
|
+
/**
|
|
1658
|
+
* The number of bytes remaining in the data view.
|
|
1659
|
+
*/
|
|
1660
|
+
get bytesRemaining(): number;
|
|
1661
|
+
/**
|
|
1662
|
+
* Creates a new IsoView instance with a slice of the current data view.
|
|
1663
|
+
*
|
|
1664
|
+
* @param size - The size of the slice.
|
|
1665
|
+
* @returns A new IsoView instance.
|
|
1666
|
+
*/
|
|
1667
|
+
slice: (size: number) => IsoView;
|
|
1668
|
+
private read;
|
|
1669
|
+
/**
|
|
1670
|
+
* Reads a unsigned integer from the data view.
|
|
1671
|
+
*
|
|
1672
|
+
* @param size - The size of the integer in bytes.
|
|
1673
|
+
* @returns The unsigned integer.
|
|
1674
|
+
*/
|
|
1675
|
+
readUint: (size: number) => number;
|
|
1676
|
+
/**
|
|
1677
|
+
* Reads a signed integer from the data view.
|
|
1678
|
+
*
|
|
1679
|
+
* @param size - The size of the integer in bytes.
|
|
1680
|
+
* @returns The signed integer.
|
|
1681
|
+
*/
|
|
1682
|
+
readInt: (size: number) => number;
|
|
1683
|
+
/**
|
|
1684
|
+
* Reads a string from the data view.
|
|
1685
|
+
*
|
|
1686
|
+
* @param size - The size of the string in bytes.
|
|
1687
|
+
* @returns The string.
|
|
1688
|
+
*/
|
|
1689
|
+
readString: (size: number) => string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Reads a template from the data view.
|
|
1692
|
+
*
|
|
1693
|
+
* @param size - The size of the template in bytes.
|
|
1694
|
+
* @returns The template.
|
|
1695
|
+
*/
|
|
1696
|
+
readTemplate: (size: number) => number;
|
|
1697
|
+
/**
|
|
1698
|
+
* Reads a byte array from the data view.
|
|
1699
|
+
*
|
|
1700
|
+
* @param size - The size of the data in bytes.
|
|
1701
|
+
* @returns The data.
|
|
1702
|
+
*/
|
|
1703
|
+
readData: (size: number) => Uint8Array<ArrayBuffer>;
|
|
1704
|
+
/**
|
|
1705
|
+
* Reads a UTF-8 string from the data view.
|
|
1706
|
+
*
|
|
1707
|
+
* @param size - The size of the string in bytes.
|
|
1708
|
+
* @returns The UTF-8 string.
|
|
1709
|
+
*/
|
|
1710
|
+
readUtf8: (size?: number) => string;
|
|
1711
|
+
/**
|
|
1712
|
+
* Reads a full box from the data view.
|
|
1713
|
+
*
|
|
1714
|
+
* @returns The full box.
|
|
1715
|
+
*/
|
|
1716
|
+
readFullBox: () => Fields<FullBox>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Reads an array of values from the data view.
|
|
1719
|
+
*
|
|
1720
|
+
* @param type - The type of the values.
|
|
1721
|
+
* @param size - The size of the values in bytes.
|
|
1722
|
+
* @param length - The number of values to read.
|
|
1723
|
+
* @returns The array of values.
|
|
1724
|
+
*/
|
|
1725
|
+
readArray: <T extends keyof IsoFieldTypeMap>(type: T, size: number, length: number) => IsoFieldTypeMap[T][];
|
|
1726
|
+
/**
|
|
1727
|
+
* Reads a raw box from the data view.
|
|
1728
|
+
*
|
|
1729
|
+
* @returns The box.
|
|
1730
|
+
*/
|
|
1731
|
+
readBox: () => RawBox;
|
|
1732
|
+
/**
|
|
1733
|
+
* Reads a number of boxes from the data view.
|
|
1734
|
+
*
|
|
1735
|
+
* @param length - The number of boxes to read.
|
|
1736
|
+
* @returns The boxes.
|
|
1737
|
+
*/
|
|
1738
|
+
readBoxes: <T = IsoBmffBox>(length: number) => T[];
|
|
1739
|
+
/**
|
|
1740
|
+
* Reads a number of entries from the data view.
|
|
1741
|
+
*
|
|
1742
|
+
* @param length - The number of entries to read.
|
|
1743
|
+
* @param map - The function to map the entries.
|
|
1744
|
+
* @returns The entries.
|
|
1745
|
+
*/
|
|
1746
|
+
readEntries: <T>(length: number, map: () => T) => T[];
|
|
1747
|
+
/**
|
|
1748
|
+
* Iterates over the boxes in the data view.
|
|
1749
|
+
*
|
|
1750
|
+
* @returns A generator of boxes.
|
|
1751
|
+
*/
|
|
1752
|
+
[Symbol.iterator](): Generator<IsoBmffBox>;
|
|
1753
|
+
}
|
|
1754
|
+
//#endregion
|
|
1755
|
+
//#region src/boxes/Box.d.ts
|
|
1756
|
+
/**
|
|
1757
|
+
* Base Box Type
|
|
1758
|
+
*
|
|
1759
|
+
*
|
|
1760
|
+
* @beta
|
|
1761
|
+
*/
|
|
1762
|
+
type Box = {
|
|
1763
|
+
type: string;
|
|
1764
|
+
size: number;
|
|
1765
|
+
view: IsoView;
|
|
1766
|
+
largesize?: number;
|
|
1767
|
+
usertype?: number[];
|
|
1768
|
+
};
|
|
1769
|
+
//#endregion
|
|
1770
|
+
//#region src/boxes/TypeBox.d.ts
|
|
1771
|
+
/**
|
|
1772
|
+
* Utility TypeBox
|
|
1773
|
+
*
|
|
1774
|
+
*
|
|
1775
|
+
* @beta
|
|
1776
|
+
*/
|
|
1777
|
+
type TypeBox<T$1> = Box & {
|
|
1778
|
+
type: T$1;
|
|
1779
|
+
majorBrand: string;
|
|
1780
|
+
minorVersion: number;
|
|
1781
|
+
compatibleBrands: string[];
|
|
1782
|
+
};
|
|
1783
|
+
//#endregion
|
|
1784
|
+
//#region src/BoxFilter.d.ts
|
|
1785
|
+
/**
|
|
1786
|
+
* Box filter function
|
|
1787
|
+
*
|
|
1788
|
+
*
|
|
1789
|
+
* @beta
|
|
1790
|
+
*/
|
|
1791
|
+
type BoxFilter<T$1 extends IsoBmffBox> = ((box: IsoBmffBox) => boolean) | ((box: IsoBmffBox) => box is T$1);
|
|
1792
|
+
//#endregion
|
|
1793
|
+
//#region src/IsoData.d.ts
|
|
1794
|
+
/**
|
|
1795
|
+
* ISO data
|
|
1796
|
+
*
|
|
1797
|
+
*
|
|
1798
|
+
* @beta
|
|
1799
|
+
*/
|
|
1800
|
+
type IsoData = ArrayBuffer | DataView<ArrayBuffer> | Uint8Array<ArrayBuffer>;
|
|
1801
|
+
//#endregion
|
|
1802
|
+
//#region src/createIsoView.d.ts
|
|
1803
|
+
/**
|
|
1804
|
+
* Create an IsoView from a raw ISO data.
|
|
1805
|
+
*
|
|
1806
|
+
* @param raw - The raw ISO data
|
|
1807
|
+
* @param config - The configuration for the IsoView
|
|
1808
|
+
*
|
|
1809
|
+
* @returns The created IsoView
|
|
1810
|
+
*
|
|
1811
|
+
*
|
|
1812
|
+
* @beta
|
|
1813
|
+
*/
|
|
1814
|
+
declare function createIsoView(raw: IsoData, config?: IsoViewConfig): IsoView;
|
|
1815
|
+
//#endregion
|
|
1816
|
+
//#region src/fields/DATA.d.ts
|
|
1817
|
+
/**
|
|
1818
|
+
* The data field type
|
|
1819
|
+
*
|
|
1820
|
+
*
|
|
1821
|
+
* @beta
|
|
1822
|
+
*/
|
|
1823
|
+
declare const DATA = "data";
|
|
1824
|
+
//#endregion
|
|
1825
|
+
//#region src/fields/INT.d.ts
|
|
1826
|
+
/**
|
|
1827
|
+
* The integer field type
|
|
1828
|
+
*
|
|
1829
|
+
*
|
|
1830
|
+
* @beta
|
|
1831
|
+
*/
|
|
1832
|
+
declare const INT = "int";
|
|
1833
|
+
//#endregion
|
|
1834
|
+
//#region src/fields/STRING.d.ts
|
|
1835
|
+
/**
|
|
1836
|
+
* The string field type
|
|
1837
|
+
*
|
|
1838
|
+
*
|
|
1839
|
+
* @beta
|
|
1840
|
+
*/
|
|
1841
|
+
declare const STRING = "string";
|
|
1842
|
+
//#endregion
|
|
1843
|
+
//#region src/fields/TEMPLATE.d.ts
|
|
1844
|
+
/**
|
|
1845
|
+
* The template field type
|
|
1846
|
+
*
|
|
1847
|
+
*
|
|
1848
|
+
* @beta
|
|
1849
|
+
*/
|
|
1850
|
+
declare const TEMPLATE = "template";
|
|
1851
|
+
//#endregion
|
|
1852
|
+
//#region src/fields/UINT.d.ts
|
|
1853
|
+
/**
|
|
1854
|
+
* The unsigned integer field type
|
|
1855
|
+
*
|
|
1856
|
+
*
|
|
1857
|
+
* @beta
|
|
1858
|
+
*/
|
|
1859
|
+
declare const UINT = "uint";
|
|
1860
|
+
//#endregion
|
|
1861
|
+
//#region src/fields/UTF8.d.ts
|
|
1862
|
+
/**
|
|
1863
|
+
* The UTF8 field type
|
|
1864
|
+
*
|
|
1865
|
+
*
|
|
1866
|
+
* @beta
|
|
1867
|
+
*/
|
|
1868
|
+
declare const UTF8 = "utf8";
|
|
1869
|
+
//#endregion
|
|
1870
|
+
//#region src/filterBoxes.d.ts
|
|
1871
|
+
/**
|
|
1872
|
+
* Filters boxes based on the given filter function.
|
|
1873
|
+
*
|
|
1874
|
+
* @param raw - The raw boxes to filter.
|
|
1875
|
+
* @param config - The box parser configuration.
|
|
1876
|
+
* @param fn - The filter function.
|
|
1877
|
+
* @returns The filtered boxes.
|
|
1878
|
+
*
|
|
1879
|
+
* @beta
|
|
1880
|
+
*/
|
|
1881
|
+
declare function filterBoxes<T$1 extends IsoBmffBox = IsoBmffBox>(raw: IsoData | Iterable<IsoBmffBox>, fn: BoxFilter<T$1>, config?: IsoViewConfig): T$1[];
|
|
1882
|
+
//#endregion
|
|
1883
|
+
//#region src/boxes/IsoBmffBoxMap.d.ts
|
|
1884
|
+
/**
|
|
1885
|
+
* Comprehensive mapping from box type strings to their corresponding TypeScript interfaces
|
|
1886
|
+
*
|
|
1887
|
+
*
|
|
1888
|
+
* @beta
|
|
1889
|
+
*/
|
|
1890
|
+
type IsoBmffBoxMap = {
|
|
1891
|
+
ardi: AudioRenderingIndicationBox;
|
|
1892
|
+
avc1: VisualSampleEntryBox<"avc1">;
|
|
1893
|
+
avc2: VisualSampleEntryBox<"avc2">;
|
|
1894
|
+
avc3: VisualSampleEntryBox<"avc3">;
|
|
1895
|
+
avc4: VisualSampleEntryBox<"avc4">;
|
|
1896
|
+
co64: ChunkLargeOffsetBox;
|
|
1897
|
+
ctts: CompositionTimeToSampleBox;
|
|
1898
|
+
dinf: DataInformationBox;
|
|
1899
|
+
dref: DataReferenceBox;
|
|
1900
|
+
edts: EditBox;
|
|
1901
|
+
elng: ExtendedLanguageBox;
|
|
1902
|
+
elst: EditListBox;
|
|
1903
|
+
emsg: EventMessageBox;
|
|
1904
|
+
enca: AudioSampleEntryBox<"enca">;
|
|
1905
|
+
encv: VisualSampleEntryBox<"encv">;
|
|
1906
|
+
free: FreeSpaceBox<"free">;
|
|
1907
|
+
frma: OriginalFormatBox;
|
|
1908
|
+
ftyp: FileTypeBox;
|
|
1909
|
+
hdlr: HandlerReferenceBox;
|
|
1910
|
+
hev1: VisualSampleEntryBox<"hev1">;
|
|
1911
|
+
hmhd: HintMediaHeaderBox;
|
|
1912
|
+
hvc1: VisualSampleEntryBox<"hvc1">;
|
|
1913
|
+
iden: WebVttCueIdBox;
|
|
1914
|
+
iinf: ItemInfoBox;
|
|
1915
|
+
iloc: ItemLocationBox;
|
|
1916
|
+
imda: IdentifiedMediaDataBox;
|
|
1917
|
+
imif: IpmpInfoBox;
|
|
1918
|
+
infe: ItemInfoEntry;
|
|
1919
|
+
ipro: ItemProtectionBox;
|
|
1920
|
+
iref: ItemReferenceBox;
|
|
1921
|
+
kind: TrackKindBox;
|
|
1922
|
+
labl: LabelBox;
|
|
1923
|
+
mdat: MediaDataBox;
|
|
1924
|
+
mdhd: MediaHeaderBox;
|
|
1925
|
+
mdia: MediaBox;
|
|
1926
|
+
mehd: MovieExtendsHeaderBox;
|
|
1927
|
+
meta: MetaBox;
|
|
1928
|
+
mfhd: MovieFragmentHeaderBox;
|
|
1929
|
+
mfra: MovieFragmentRandomAccessBox;
|
|
1930
|
+
mfro: MovieFragmentRandomAccessOffsetBox;
|
|
1931
|
+
minf: MediaInformationBox;
|
|
1932
|
+
moof: MovieFragmentBox;
|
|
1933
|
+
moov: MovieBox;
|
|
1934
|
+
mp4a: AudioSampleEntryBox<"mp4a">;
|
|
1935
|
+
mvex: MovieExtendsBox;
|
|
1936
|
+
mvhd: MovieHeaderBox;
|
|
1937
|
+
nmhd: NullMediaHeaderBox;
|
|
1938
|
+
payl: WebVttCuePayloadBox;
|
|
1939
|
+
pitm: PrimaryItemBox;
|
|
1940
|
+
prft: ProducerReferenceTimeBox;
|
|
1941
|
+
prsl: PreselectionGroupBox;
|
|
1942
|
+
pssh: ProtectionSystemSpecificHeaderBox;
|
|
1943
|
+
saio: SampleAuxiliaryInformationOffsetsBox;
|
|
1944
|
+
saiz: SampleAuxiliaryInformationSizesBox;
|
|
1945
|
+
sbgp: SampleToGroupBox;
|
|
1946
|
+
schi: SchemeInformationBox;
|
|
1947
|
+
schm: SchemeTypeBox;
|
|
1948
|
+
sdtp: SampleDependencyTypeBox;
|
|
1949
|
+
senc: SampleEncryptionBox;
|
|
1950
|
+
sgpd: SampleGroupDescriptionBox;
|
|
1951
|
+
sidx: SegmentIndexBox;
|
|
1952
|
+
sinf: ProtectionSchemeInformationBox;
|
|
1953
|
+
skip: FreeSpaceBox<"skip">;
|
|
1954
|
+
smhd: SoundMediaHeaderBox;
|
|
1955
|
+
ssix: SubsegmentIndexBox;
|
|
1956
|
+
stbl: SampleTableBox;
|
|
1957
|
+
stco: ChunkOffsetBox;
|
|
1958
|
+
stdp: DegradationPriorityBox;
|
|
1959
|
+
sthd: SubtitleMediaHeaderBox;
|
|
1960
|
+
stsc: SampleToChunkBox;
|
|
1961
|
+
stsd: SampleDescriptionBox;
|
|
1962
|
+
stsh: ShadowSyncSampleBox;
|
|
1963
|
+
stss: SyncSampleBox;
|
|
1964
|
+
stsz: SampleSizeBox;
|
|
1965
|
+
sttg: WebVttSettingsBox;
|
|
1966
|
+
stts: DecodingTimeToSampleBox;
|
|
1967
|
+
styp: SegmentTypeBox;
|
|
1968
|
+
subs: SubsampleInformationBox;
|
|
1969
|
+
stz2: CompactSampleSizeBox;
|
|
1970
|
+
tenc: TrackEncryptionBox;
|
|
1971
|
+
tfdt: TrackFragmentBaseMediaDecodeTimeBox;
|
|
1972
|
+
tfhd: TrackFragmentHeaderBox;
|
|
1973
|
+
tfra: TrackFragmentRandomAccessBox;
|
|
1974
|
+
tkhd: TrackHeaderBox;
|
|
1975
|
+
traf: TrackFragmentBox;
|
|
1976
|
+
trak: TrackBox;
|
|
1977
|
+
tref: TrackReferenceBox;
|
|
1978
|
+
trex: TrackExtendsBox;
|
|
1979
|
+
trun: TrackRunBox;
|
|
1980
|
+
udta: UserDataBox;
|
|
1981
|
+
url: DataEntryUrlBox;
|
|
1982
|
+
urn: DataEntryUrnBox;
|
|
1983
|
+
vlab: WebVttSourceLabelBox;
|
|
1984
|
+
vmhd: VideoMediaHeaderBox;
|
|
1985
|
+
vttC: WebVttConfigurationBox;
|
|
1986
|
+
vtte: WebVttEmptySampleBox;
|
|
1987
|
+
};
|
|
1988
|
+
//#endregion
|
|
1989
|
+
//#region src/filterBoxesByType.d.ts
|
|
1990
|
+
/**
|
|
1991
|
+
* Filter boxes by type from an IsoView
|
|
1992
|
+
*
|
|
1993
|
+
* @param type - The type(s) of boxes to filter
|
|
1994
|
+
* @param raw - The raw ISO data
|
|
1995
|
+
* @param config - The configuration for the IsoView
|
|
1996
|
+
*
|
|
1997
|
+
* @returns The filtered boxes
|
|
1998
|
+
*
|
|
1999
|
+
*
|
|
2000
|
+
* @beta
|
|
2001
|
+
*/
|
|
2002
|
+
declare function filterBoxesByType<T$1 extends keyof IsoBmffBoxMap>(raw: IsoData, type: T$1 | T$1[], config?: IsoViewConfig): IsoBmffBoxMap[T$1][];
|
|
2003
|
+
//#endregion
|
|
2004
|
+
//#region src/findBox.d.ts
|
|
2005
|
+
/**
|
|
2006
|
+
* Find a box from an IsoView that matches a filter function
|
|
2007
|
+
*
|
|
2008
|
+
* @param raw - The raw ISO data
|
|
2009
|
+
* @param config - The configuration for the IsoView
|
|
2010
|
+
* @param fn - The filter function
|
|
2011
|
+
*
|
|
2012
|
+
* @returns The first box that matches the filter function
|
|
2013
|
+
*
|
|
2014
|
+
*
|
|
2015
|
+
* @beta
|
|
2016
|
+
*/
|
|
2017
|
+
declare function findBox<T$1 extends IsoBmffBox = IsoBmffBox>(raw: IsoData | Iterable<IsoBmffBox>, fn: BoxFilter<T$1>, config?: IsoViewConfig): T$1 | null;
|
|
2018
|
+
//#endregion
|
|
2019
|
+
//#region src/findBoxByType.d.ts
|
|
2020
|
+
/**
|
|
2021
|
+
* Find a box from an IsoView that matches a given type
|
|
2022
|
+
*
|
|
2023
|
+
* @param type - The type of box to find
|
|
2024
|
+
* @param raw - The raw ISO data
|
|
2025
|
+
* @param config - The configuration for the IsoView
|
|
2026
|
+
*
|
|
2027
|
+
* @returns The first box that matches the type
|
|
2028
|
+
*
|
|
2029
|
+
*
|
|
2030
|
+
* @beta
|
|
2031
|
+
*/
|
|
2032
|
+
declare function findBoxByType<T$1 extends keyof IsoBmffBoxMap>(raw: IsoData, type: T$1, config?: IsoViewConfig): IsoBmffBoxMap[T$1] | null;
|
|
2033
|
+
//#endregion
|
|
2034
|
+
//#region src/parseBoxes.d.ts
|
|
2035
|
+
/**
|
|
2036
|
+
* Parse boxes from an IsoView
|
|
2037
|
+
*
|
|
2038
|
+
* @param raw - The raw ISO data
|
|
2039
|
+
* @param config - The configuration for the IsoView
|
|
2040
|
+
*
|
|
2041
|
+
* @returns The parsed boxes
|
|
2042
|
+
*
|
|
2043
|
+
*
|
|
2044
|
+
* @beta
|
|
2045
|
+
*/
|
|
2046
|
+
declare function parseBoxes(raw: IsoData, config?: IsoViewConfig): IsoBmffBox[];
|
|
2047
|
+
//#endregion
|
|
2048
|
+
//#region src/parsers/ardi.d.ts
|
|
2049
|
+
/**
|
|
2050
|
+
* Parse a AudioRenderingIndicationBox from an IsoView
|
|
2051
|
+
*
|
|
2052
|
+
* @param view - The IsoView to read data from
|
|
2053
|
+
*
|
|
2054
|
+
* @returns A parsed AudioRenderingIndicationBox
|
|
2055
|
+
*
|
|
2056
|
+
*
|
|
2057
|
+
* @beta
|
|
2058
|
+
*/
|
|
2059
|
+
declare function ardi(view: IsoView): Fields<AudioRenderingIndicationBox>;
|
|
2060
|
+
//#endregion
|
|
2061
|
+
//#region src/parsers/avc1.d.ts
|
|
2062
|
+
/**
|
|
2063
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2064
|
+
*
|
|
2065
|
+
* @param view - The IsoView to read data from
|
|
2066
|
+
*
|
|
2067
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2068
|
+
*
|
|
2069
|
+
*
|
|
2070
|
+
* @beta
|
|
2071
|
+
*/
|
|
2072
|
+
declare function avc1(view: IsoView): Fields<VisualSampleEntryBox<"avc1">>;
|
|
2073
|
+
//#endregion
|
|
2074
|
+
//#region src/parsers/avc2.d.ts
|
|
2075
|
+
/**
|
|
2076
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2077
|
+
*
|
|
2078
|
+
* @param view - The IsoView to read data from
|
|
2079
|
+
*
|
|
2080
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2081
|
+
*
|
|
2082
|
+
*
|
|
2083
|
+
* @beta
|
|
2084
|
+
*/
|
|
2085
|
+
declare function avc2(view: IsoView): Fields<VisualSampleEntryBox<"avc2">>;
|
|
2086
|
+
//#endregion
|
|
2087
|
+
//#region src/parsers/avc3.d.ts
|
|
2088
|
+
/**
|
|
2089
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2090
|
+
*
|
|
2091
|
+
* @param view - The IsoView to read data from
|
|
2092
|
+
*
|
|
2093
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2094
|
+
*
|
|
2095
|
+
*
|
|
2096
|
+
* @beta
|
|
2097
|
+
*/
|
|
2098
|
+
declare function avc3(view: IsoView): Fields<VisualSampleEntryBox<"avc3">>;
|
|
2099
|
+
//#endregion
|
|
2100
|
+
//#region src/parsers/avc4.d.ts
|
|
2101
|
+
/**
|
|
2102
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2103
|
+
*
|
|
2104
|
+
* @param view - The IsoView to read data from
|
|
2105
|
+
*
|
|
2106
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2107
|
+
*
|
|
2108
|
+
*
|
|
2109
|
+
* @beta
|
|
2110
|
+
*/
|
|
2111
|
+
declare function avc4(view: IsoView): Fields<VisualSampleEntryBox<"avc4">>;
|
|
2112
|
+
//#endregion
|
|
2113
|
+
//#region src/parsers/ctts.d.ts
|
|
2114
|
+
/**
|
|
2115
|
+
* Parse a CompositionTimeToSampleBox from an IsoView
|
|
2116
|
+
*
|
|
2117
|
+
* @param view - The IsoView to read data from
|
|
2118
|
+
*
|
|
2119
|
+
* @returns A parsed CompositionTimeToSampleBox
|
|
2120
|
+
*
|
|
2121
|
+
*
|
|
2122
|
+
* @beta
|
|
2123
|
+
*/
|
|
2124
|
+
declare function ctts(view: IsoView): Fields<CompositionTimeToSampleBox>;
|
|
2125
|
+
//#endregion
|
|
2126
|
+
//#region src/parsers/dref.d.ts
|
|
2127
|
+
/**
|
|
2128
|
+
* Parse a DataReferenceBox from an IsoView
|
|
2129
|
+
*
|
|
2130
|
+
* @param view - The IsoView to read data from
|
|
2131
|
+
*
|
|
2132
|
+
* @returns A parsed DataReferenceBox
|
|
2133
|
+
*
|
|
2134
|
+
*
|
|
2135
|
+
* @beta
|
|
2136
|
+
*/
|
|
2137
|
+
declare function dref(view: IsoView): Fields<DataReferenceBox>;
|
|
2138
|
+
//#endregion
|
|
2139
|
+
//#region src/parsers/elng.d.ts
|
|
2140
|
+
/**
|
|
2141
|
+
* Parse a ExtendedLanguageBox from an IsoView
|
|
2142
|
+
*
|
|
2143
|
+
* @param view - The IsoView to read data from
|
|
2144
|
+
*
|
|
2145
|
+
* @returns A parsed ExtendedLanguageBox
|
|
2146
|
+
*
|
|
2147
|
+
*
|
|
2148
|
+
* @beta
|
|
2149
|
+
*/
|
|
2150
|
+
declare function elng(view: IsoView): Fields<ExtendedLanguageBox>;
|
|
2151
|
+
//#endregion
|
|
2152
|
+
//#region src/parsers/elst.d.ts
|
|
2153
|
+
/**
|
|
2154
|
+
* Parse a Box from an IsoView
|
|
2155
|
+
*
|
|
2156
|
+
* @param view - The IsoView to read data from
|
|
2157
|
+
*
|
|
2158
|
+
* @returns A parsed Box
|
|
2159
|
+
*
|
|
2160
|
+
*
|
|
2161
|
+
* @beta
|
|
2162
|
+
*/
|
|
2163
|
+
declare function elst(view: IsoView): Fields<EditListBox>;
|
|
2164
|
+
//#endregion
|
|
2165
|
+
//#region src/parsers/emsg.d.ts
|
|
2166
|
+
/**
|
|
2167
|
+
* Parse an EventMessageBox from an IsoView
|
|
2168
|
+
*
|
|
2169
|
+
* @param view - The IsoView to read data from
|
|
2170
|
+
*
|
|
2171
|
+
* @returns A parsed EventMessageBox
|
|
2172
|
+
*
|
|
2173
|
+
*
|
|
2174
|
+
* @beta
|
|
2175
|
+
*/
|
|
2176
|
+
declare function emsg(view: IsoView): Fields<EventMessageBox>;
|
|
2177
|
+
//#endregion
|
|
2178
|
+
//#region src/parsers/enca.d.ts
|
|
2179
|
+
/**
|
|
2180
|
+
* Parse an AudioSampleEntry from an IsoView
|
|
2181
|
+
*
|
|
2182
|
+
* @param view - The IsoView to read data from
|
|
2183
|
+
*
|
|
2184
|
+
* @returns A parsed AudioSampleEntry
|
|
2185
|
+
*
|
|
2186
|
+
*
|
|
2187
|
+
* @beta
|
|
2188
|
+
*/
|
|
2189
|
+
declare function enca(view: IsoView): Fields<AudioSampleEntryBox<"enca">>;
|
|
2190
|
+
//#endregion
|
|
2191
|
+
//#region src/parsers/encv.d.ts
|
|
2192
|
+
/**
|
|
2193
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2194
|
+
*
|
|
2195
|
+
* @param view - The IsoView to read data from
|
|
2196
|
+
*
|
|
2197
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2198
|
+
*
|
|
2199
|
+
*
|
|
2200
|
+
* @beta
|
|
2201
|
+
*/
|
|
2202
|
+
declare function encv(view: IsoView): Fields<VisualSampleEntryBox<"encv">>;
|
|
2203
|
+
//#endregion
|
|
2204
|
+
//#region src/parsers/free.d.ts
|
|
2205
|
+
/**
|
|
2206
|
+
* Parse a Box from an IsoView
|
|
2207
|
+
*
|
|
2208
|
+
* @param view - The IsoView to read data from
|
|
2209
|
+
*
|
|
2210
|
+
* @returns A parsed Box
|
|
2211
|
+
*
|
|
2212
|
+
*
|
|
2213
|
+
* @beta
|
|
2214
|
+
*/
|
|
2215
|
+
declare function free(view: IsoView): Fields<FreeSpaceBox>;
|
|
2216
|
+
//#endregion
|
|
2217
|
+
//#region src/parsers/frma.d.ts
|
|
2218
|
+
/**
|
|
2219
|
+
* Parse an OriginalFormatBox from an IsoView
|
|
2220
|
+
*
|
|
2221
|
+
* @param view - The IsoView to read data from
|
|
2222
|
+
*
|
|
2223
|
+
* @returns A parsed OriginalFormatBox
|
|
2224
|
+
*
|
|
2225
|
+
*
|
|
2226
|
+
* @beta
|
|
2227
|
+
*/
|
|
2228
|
+
declare function frma(view: IsoView): Fields<OriginalFormatBox>;
|
|
2229
|
+
//#endregion
|
|
2230
|
+
//#region src/parsers/ftyp.d.ts
|
|
2231
|
+
/**
|
|
2232
|
+
* Parse a FileTypeBox from an IsoView
|
|
2233
|
+
*
|
|
2234
|
+
* @param view - The IsoView to read data from
|
|
2235
|
+
*
|
|
2236
|
+
* @returns A parsed FileTypeBox
|
|
2237
|
+
*
|
|
2238
|
+
*
|
|
2239
|
+
* @beta
|
|
2240
|
+
*/
|
|
2241
|
+
declare function ftyp(view: IsoView): Fields<FileTypeBox>;
|
|
2242
|
+
//#endregion
|
|
2243
|
+
//#region src/parsers/hdlr.d.ts
|
|
2244
|
+
/**
|
|
2245
|
+
* Parse a HandlerReferenceBox from an IsoView
|
|
2246
|
+
*
|
|
2247
|
+
* @param view - The IsoView to read data from
|
|
2248
|
+
*
|
|
2249
|
+
* @returns A parsed HandlerReferenceBox
|
|
2250
|
+
*
|
|
2251
|
+
*
|
|
2252
|
+
* @beta
|
|
2253
|
+
*/
|
|
2254
|
+
declare function hdlr(view: IsoView): Fields<HandlerReferenceBox>;
|
|
2255
|
+
//#endregion
|
|
2256
|
+
//#region src/parsers/hev1.d.ts
|
|
2257
|
+
/**
|
|
2258
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2259
|
+
*
|
|
2260
|
+
* @param view - The IsoView to read data from
|
|
2261
|
+
*
|
|
2262
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2263
|
+
*
|
|
2264
|
+
*
|
|
2265
|
+
* @beta
|
|
2266
|
+
*/
|
|
2267
|
+
declare function hev1(view: IsoView): Fields<VisualSampleEntryBox<"hev1">>;
|
|
2268
|
+
//#endregion
|
|
2269
|
+
//#region src/parsers/hvc1.d.ts
|
|
2270
|
+
/**
|
|
2271
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
2272
|
+
*
|
|
2273
|
+
* @param view - The IsoView to read data from
|
|
2274
|
+
*
|
|
2275
|
+
* @returns A parsed VisualSampleEntryBox
|
|
2276
|
+
*
|
|
2277
|
+
*
|
|
2278
|
+
* @beta
|
|
2279
|
+
*/
|
|
2280
|
+
declare function hvc1(view: IsoView): Fields<VisualSampleEntryBox<"avc1">>;
|
|
2281
|
+
//#endregion
|
|
2282
|
+
//#region src/parsers/iden.d.ts
|
|
2283
|
+
/**
|
|
2284
|
+
* Parse a WebVTTCueIdBox from an IsoView
|
|
2285
|
+
*
|
|
2286
|
+
* @param view - The IsoView to read data from
|
|
2287
|
+
*
|
|
2288
|
+
* @returns A parsed WebVTTCueIdBox
|
|
2289
|
+
*
|
|
2290
|
+
*
|
|
2291
|
+
* @beta
|
|
2292
|
+
*/
|
|
2293
|
+
declare function iden(view: IsoView): Fields<WebVttCueIdBox>;
|
|
2294
|
+
//#endregion
|
|
2295
|
+
//#region src/parsers/imda.d.ts
|
|
2296
|
+
/**
|
|
2297
|
+
* Parse a IdentifiedMediaDataBox from an IsoView
|
|
2298
|
+
*
|
|
2299
|
+
* @param view - The IsoView to read data from
|
|
2300
|
+
*
|
|
2301
|
+
* @returns A parsed IdentifiedMediaDataBox
|
|
2302
|
+
*
|
|
2303
|
+
*
|
|
2304
|
+
* @beta
|
|
2305
|
+
*/
|
|
2306
|
+
declare function imda(view: IsoView): Fields<IdentifiedMediaDataBox>;
|
|
2307
|
+
//#endregion
|
|
2308
|
+
//#region src/parsers/kind.d.ts
|
|
2309
|
+
/**
|
|
2310
|
+
* Parse a TrackKinBox from an IsoView
|
|
2311
|
+
*
|
|
2312
|
+
* @param view - The IsoView to read data from
|
|
2313
|
+
*
|
|
2314
|
+
* @returns A parsed TrackKindBox
|
|
2315
|
+
*
|
|
2316
|
+
*
|
|
2317
|
+
* @beta
|
|
2318
|
+
*/
|
|
2319
|
+
declare function kind(view: IsoView): Fields<TrackKindBox>;
|
|
2320
|
+
//#endregion
|
|
2321
|
+
//#region src/parsers/labl.d.ts
|
|
2322
|
+
/**
|
|
2323
|
+
* Parse a LabelBox from an IsoView
|
|
2324
|
+
*
|
|
2325
|
+
* @param view - The IsoView to read data from
|
|
2326
|
+
*
|
|
2327
|
+
* @returns A parsed LabelBox
|
|
2328
|
+
*
|
|
2329
|
+
*
|
|
2330
|
+
* @beta
|
|
2331
|
+
*/
|
|
2332
|
+
declare function labl(view: IsoView): Fields<LabelBox>;
|
|
2333
|
+
//#endregion
|
|
2334
|
+
//#region src/parsers/mdat.d.ts
|
|
2335
|
+
/**
|
|
2336
|
+
* Parse a MediaDataBox from an IsoView
|
|
2337
|
+
*
|
|
2338
|
+
* @param view - The IsoView to read data from
|
|
2339
|
+
*
|
|
2340
|
+
* @returns A parsed MediaDataBox
|
|
2341
|
+
*
|
|
2342
|
+
*
|
|
2343
|
+
* @beta
|
|
2344
|
+
*/
|
|
2345
|
+
declare function mdat(view: IsoView): Fields<MediaDataBox>;
|
|
2346
|
+
//#endregion
|
|
2347
|
+
//#region src/parsers/mdhd.d.ts
|
|
2348
|
+
/**
|
|
2349
|
+
* Parse a MediaHeaderBox from an IsoView
|
|
2350
|
+
*
|
|
2351
|
+
* @param view - The IsoView to read data from
|
|
2352
|
+
*
|
|
2353
|
+
* @returns A parsed MediaHeaderBox
|
|
2354
|
+
*
|
|
2355
|
+
*
|
|
2356
|
+
* @beta
|
|
2357
|
+
*/
|
|
2358
|
+
declare function mdhd(view: IsoView): Fields<MediaHeaderBox>;
|
|
2359
|
+
//#endregion
|
|
2360
|
+
//#region src/parsers/mehd.d.ts
|
|
2361
|
+
/**
|
|
2362
|
+
* Parse a MovieExtendsHeaderBox from an IsoView
|
|
2363
|
+
*
|
|
2364
|
+
* @param view - The IsoView to read data from
|
|
2365
|
+
*
|
|
2366
|
+
* @returns A parsed MovieExtendsHeaderBox
|
|
2367
|
+
*
|
|
2368
|
+
*
|
|
2369
|
+
* @beta
|
|
2370
|
+
*/
|
|
2371
|
+
declare function mehd(view: IsoView): Fields<MovieExtendsHeaderBox>;
|
|
2372
|
+
//#endregion
|
|
2373
|
+
//#region src/parsers/meta.d.ts
|
|
2374
|
+
/**
|
|
2375
|
+
* Parse a MetaBox from an IsoView
|
|
2376
|
+
*
|
|
2377
|
+
* @param view - The IsoView to read data from
|
|
2378
|
+
*
|
|
2379
|
+
* @returns A parsed MetaBox
|
|
2380
|
+
*
|
|
2381
|
+
*
|
|
2382
|
+
* @beta
|
|
2383
|
+
*/
|
|
2384
|
+
declare function meta(view: IsoView): Fields<MetaBox>;
|
|
2385
|
+
//#endregion
|
|
2386
|
+
//#region src/parsers/mfhd.d.ts
|
|
2387
|
+
/**
|
|
2388
|
+
* Parse a MovieFragmentHeaderBox from an IsoView
|
|
2389
|
+
*
|
|
2390
|
+
* @param view - The IsoView to read data from
|
|
2391
|
+
*
|
|
2392
|
+
* @returns A parsed MovieFragmentHeaderBox
|
|
2393
|
+
*
|
|
2394
|
+
*
|
|
2395
|
+
* @beta
|
|
2396
|
+
*/
|
|
2397
|
+
declare function mfhd(view: IsoView): Fields<MovieFragmentHeaderBox>;
|
|
2398
|
+
//#endregion
|
|
2399
|
+
//#region src/parsers/mfro.d.ts
|
|
2400
|
+
/**
|
|
2401
|
+
* Parse a MovieFragmentRandomAccessBox from an IsoView
|
|
2402
|
+
*
|
|
2403
|
+
* @param view - The IsoView to read data from
|
|
2404
|
+
*
|
|
2405
|
+
* @returns A parsed MovieFragmentRandomAccessBox
|
|
2406
|
+
*
|
|
2407
|
+
*
|
|
2408
|
+
* @beta
|
|
2409
|
+
*/
|
|
2410
|
+
declare function mfro(view: IsoView): Fields<MovieFragmentRandomAccessOffsetBox>;
|
|
2411
|
+
//#endregion
|
|
2412
|
+
//#region src/parsers/mp4a.d.ts
|
|
2413
|
+
/**
|
|
2414
|
+
* Parse an AudioSampleEntry from an IsoView
|
|
2415
|
+
*
|
|
2416
|
+
* @param view - The IsoView to read data from
|
|
2417
|
+
*
|
|
2418
|
+
* @returns A parsed AudioSampleEntry
|
|
2419
|
+
*
|
|
2420
|
+
*
|
|
2421
|
+
* @beta
|
|
2422
|
+
*/
|
|
2423
|
+
declare function mp4a(view: IsoView): Fields<AudioSampleEntryBox<"mp4a">>;
|
|
2424
|
+
//#endregion
|
|
2425
|
+
//#region src/parsers/mvhd.d.ts
|
|
2426
|
+
/**
|
|
2427
|
+
* Parse a Box from an IsoView
|
|
2428
|
+
*
|
|
2429
|
+
* @param view - The IsoView to read data from
|
|
2430
|
+
*
|
|
2431
|
+
* @returns A parsed Box
|
|
2432
|
+
*
|
|
2433
|
+
*
|
|
2434
|
+
* @beta
|
|
2435
|
+
*/
|
|
2436
|
+
declare function mvhd(view: IsoView): Fields<MovieHeaderBox>;
|
|
2437
|
+
//#endregion
|
|
2438
|
+
//#region src/parsers/payl.d.ts
|
|
2439
|
+
/**
|
|
2440
|
+
* Parse a WebVTTCuePayloadBox from an IsoView
|
|
2441
|
+
*
|
|
2442
|
+
* @param view - The IsoView to read data from
|
|
2443
|
+
*
|
|
2444
|
+
* @returns A parsed WebVTTCuePayloadBox
|
|
2445
|
+
*
|
|
2446
|
+
*
|
|
2447
|
+
* @beta
|
|
2448
|
+
*/
|
|
2449
|
+
declare function payl(view: IsoView): Fields<WebVttCuePayloadBox>;
|
|
2450
|
+
//#endregion
|
|
2451
|
+
//#region src/parsers/prft.d.ts
|
|
2452
|
+
/**
|
|
2453
|
+
* Parse a ProducerReferenceTimeBox from an IsoView
|
|
2454
|
+
*
|
|
2455
|
+
* @param view - The IsoView to read data from
|
|
2456
|
+
*
|
|
2457
|
+
* @returns A parsed ProducerReferenceTimeBox
|
|
2458
|
+
*
|
|
2459
|
+
*
|
|
2460
|
+
* @beta
|
|
2461
|
+
*/
|
|
2462
|
+
declare function prft(view: IsoView): Fields<ProducerReferenceTimeBox>;
|
|
2463
|
+
//#endregion
|
|
2464
|
+
//#region src/parsers/prsl.d.ts
|
|
2465
|
+
/**
|
|
2466
|
+
* Parse a PreselectionGroupBox from an IsoView
|
|
2467
|
+
*
|
|
2468
|
+
* @param view - The IsoView to read data from
|
|
2469
|
+
*
|
|
2470
|
+
* @returns A parsed PreselectionGroupBox
|
|
2471
|
+
*
|
|
2472
|
+
*
|
|
2473
|
+
* @beta
|
|
2474
|
+
*/
|
|
2475
|
+
declare function prsl(view: IsoView): Fields<PreselectionGroupBox>;
|
|
2476
|
+
//#endregion
|
|
2477
|
+
//#region src/parsers/pssh.d.ts
|
|
2478
|
+
/**
|
|
2479
|
+
* Parse a ProtectionSystemSpecificHeaderBox from an IsoView
|
|
2480
|
+
*
|
|
2481
|
+
* @param view - The IsoView to read data from
|
|
2482
|
+
*
|
|
2483
|
+
* @returns A parsed ProtectionSystemSpecificHeaderBox
|
|
2484
|
+
*
|
|
2485
|
+
*
|
|
2486
|
+
* @beta
|
|
2487
|
+
*/
|
|
2488
|
+
declare function pssh(view: IsoView): Fields<ProtectionSystemSpecificHeaderBox>;
|
|
2489
|
+
//#endregion
|
|
2490
|
+
//#region src/parsers/schm.d.ts
|
|
2491
|
+
/**
|
|
2492
|
+
* Parse a SchemeTypeBox from an IsoView
|
|
2493
|
+
*
|
|
2494
|
+
* @param view - The IsoView to read data from
|
|
2495
|
+
*
|
|
2496
|
+
* @returns A parsed SchemeTypeBox
|
|
2497
|
+
*
|
|
2498
|
+
*
|
|
2499
|
+
* @beta
|
|
2500
|
+
*/
|
|
2501
|
+
declare function schm(view: IsoView): Fields<SchemeTypeBox>;
|
|
2502
|
+
//#endregion
|
|
2503
|
+
//#region src/parsers/sdtp.d.ts
|
|
2504
|
+
/**
|
|
2505
|
+
* Parse a SampleDependencyTypeBox from an IsoView
|
|
2506
|
+
*
|
|
2507
|
+
* @param view - The IsoView to read data from
|
|
2508
|
+
*
|
|
2509
|
+
* @returns A parsed SampleDependencyTypeBox
|
|
2510
|
+
*
|
|
2511
|
+
*
|
|
2512
|
+
* @beta
|
|
2513
|
+
*/
|
|
2514
|
+
declare function sdtp(view: IsoView): Fields<SampleDependencyTypeBox>;
|
|
2515
|
+
//#endregion
|
|
2516
|
+
//#region src/parsers/sidx.d.ts
|
|
2517
|
+
/**
|
|
2518
|
+
* Parse a SegmentIndexBox from an IsoView
|
|
2519
|
+
*
|
|
2520
|
+
* @param view - The IsoView to read data from
|
|
2521
|
+
*
|
|
2522
|
+
* @returns A parsed SegmentIndexBox
|
|
2523
|
+
*
|
|
2524
|
+
*
|
|
2525
|
+
* @beta
|
|
2526
|
+
*/
|
|
2527
|
+
declare function sidx(view: IsoView): Fields<SegmentIndexBox>;
|
|
2528
|
+
//#endregion
|
|
2529
|
+
//#region src/parsers/skip.d.ts
|
|
2530
|
+
/**
|
|
2531
|
+
* Parse a FreeSpaceBox from an IsoView
|
|
2532
|
+
*
|
|
2533
|
+
* @param view - The IsoView to read data from
|
|
2534
|
+
*
|
|
2535
|
+
* @returns A parsed FreeSpaceBox
|
|
2536
|
+
*
|
|
2537
|
+
*
|
|
2538
|
+
* @beta
|
|
2539
|
+
*/
|
|
2540
|
+
declare function skip(view: IsoView): Fields<FreeSpaceBox<"skip">>;
|
|
2541
|
+
//#endregion
|
|
2542
|
+
//#region src/parsers/smhd.d.ts
|
|
2543
|
+
/**
|
|
2544
|
+
* Parse a SoundMediaHeaderBox from an IsoView
|
|
2545
|
+
*
|
|
2546
|
+
* @param view - The IsoView to read data from
|
|
2547
|
+
*
|
|
2548
|
+
* @returns A parsed SoundMediaHeaderBox
|
|
2549
|
+
*
|
|
2550
|
+
*
|
|
2551
|
+
* @beta
|
|
2552
|
+
*/
|
|
2553
|
+
declare function smhd(view: IsoView): Fields<SoundMediaHeaderBox>;
|
|
2554
|
+
//#endregion
|
|
2555
|
+
//#region src/parsers/ssix.d.ts
|
|
2556
|
+
/**
|
|
2557
|
+
* Parse a SubsegmentIndexBox from an IsoView
|
|
2558
|
+
*
|
|
2559
|
+
* @param view - The IsoView to read data from
|
|
2560
|
+
*
|
|
2561
|
+
* @returns A parsed SubsegmentIndexBox
|
|
2562
|
+
*
|
|
2563
|
+
*
|
|
2564
|
+
* @beta
|
|
2565
|
+
*/
|
|
2566
|
+
declare function ssix(view: IsoView): Fields<SubsegmentIndexBox>;
|
|
2567
|
+
//#endregion
|
|
2568
|
+
//#region src/parsers/sthd.d.ts
|
|
2569
|
+
/**
|
|
2570
|
+
* Parse a SubtitleMediaHeaderBox from an IsoView
|
|
2571
|
+
*
|
|
2572
|
+
* @param view - The IsoView to read data from
|
|
2573
|
+
*
|
|
2574
|
+
* @returns A parsed SubtitleMediaHeaderBox
|
|
2575
|
+
*
|
|
2576
|
+
*
|
|
2577
|
+
* @beta
|
|
2578
|
+
*/
|
|
2579
|
+
declare function sthd(view: IsoView): Fields<SubtitleMediaHeaderBox>;
|
|
2580
|
+
//#endregion
|
|
2581
|
+
//#region src/parsers/stsd.d.ts
|
|
2582
|
+
/**
|
|
2583
|
+
* Parse a SampleDescriptionBox from an IsoView
|
|
2584
|
+
*
|
|
2585
|
+
* @param view - The IsoView to read data from
|
|
2586
|
+
*
|
|
2587
|
+
* @returns A parsed SampleDescriptionBox
|
|
2588
|
+
*
|
|
2589
|
+
*
|
|
2590
|
+
* @beta
|
|
2591
|
+
*/
|
|
2592
|
+
declare function stsd<E extends SampleEntryBox = SampleEntryBox>(view: IsoView): Fields<SampleDescriptionBox<E>>;
|
|
2593
|
+
//#endregion
|
|
2594
|
+
//#region src/parsers/stss.d.ts
|
|
2595
|
+
/**
|
|
2596
|
+
* Parse a SyncSampleBox from an IsoView
|
|
2597
|
+
*
|
|
2598
|
+
* @param view - The IsoView to read data from
|
|
2599
|
+
*
|
|
2600
|
+
* @returns A parsed SyncSampleBox
|
|
2601
|
+
*
|
|
2602
|
+
*
|
|
2603
|
+
* @beta
|
|
2604
|
+
*/
|
|
2605
|
+
declare function stss(view: IsoView): Fields<SyncSampleBox>;
|
|
2606
|
+
//#endregion
|
|
2607
|
+
//#region src/parsers/sttg.d.ts
|
|
2608
|
+
/**
|
|
2609
|
+
* Parse a WebVTTSettingsBox from an IsoView
|
|
2610
|
+
*
|
|
2611
|
+
* @param view - The IsoView to read data from
|
|
2612
|
+
*
|
|
2613
|
+
* @returns A parsed WebVTTSettingsBox
|
|
2614
|
+
*
|
|
2615
|
+
*
|
|
2616
|
+
* @beta
|
|
2617
|
+
*/
|
|
2618
|
+
declare function sttg(view: IsoView): Fields<WebVttSettingsBox>;
|
|
2619
|
+
//#endregion
|
|
2620
|
+
//#region src/parsers/stts.d.ts
|
|
2621
|
+
/**
|
|
2622
|
+
* Parse a DecodingTimeToSampleBox from an IsoView
|
|
2623
|
+
*
|
|
2624
|
+
* @param view - The IsoView to read data from
|
|
2625
|
+
*
|
|
2626
|
+
* @returns A parsed DecodingTimeToSampleBox
|
|
2627
|
+
*
|
|
2628
|
+
*
|
|
2629
|
+
* @beta
|
|
2630
|
+
*/
|
|
2631
|
+
declare function stts(view: IsoView): Fields<DecodingTimeToSampleBox>;
|
|
2632
|
+
//#endregion
|
|
2633
|
+
//#region src/parsers/styp.d.ts
|
|
2634
|
+
/**
|
|
2635
|
+
* Parse a SegmentTypeBox from an IsoView
|
|
2636
|
+
*
|
|
2637
|
+
* @param view - The IsoView to read data from
|
|
2638
|
+
*
|
|
2639
|
+
* @returns A parsed SegmentTypeBox
|
|
2640
|
+
*
|
|
2641
|
+
*
|
|
2642
|
+
* @beta
|
|
2643
|
+
*/
|
|
2644
|
+
declare function styp(view: IsoView): Fields<SegmentTypeBox>;
|
|
2645
|
+
//#endregion
|
|
2646
|
+
//#region src/parsers/subs.d.ts
|
|
2647
|
+
/**
|
|
2648
|
+
* Parse a SubSampleInformationBox from an IsoView
|
|
2649
|
+
*
|
|
2650
|
+
* @param view - The IsoView to read data from
|
|
2651
|
+
*
|
|
2652
|
+
* @returns A parsed SubSampleInformationBox
|
|
2653
|
+
*
|
|
2654
|
+
*
|
|
2655
|
+
* @beta
|
|
2656
|
+
*/
|
|
2657
|
+
declare function subs(view: IsoView): Fields<SubsampleInformationBox>;
|
|
2658
|
+
//#endregion
|
|
2659
|
+
//#region src/parsers/tenc.d.ts
|
|
2660
|
+
/**
|
|
2661
|
+
* Parse a TrackEncryptionBox from an IsoView
|
|
2662
|
+
*
|
|
2663
|
+
* @param view - The IsoView to read data from
|
|
2664
|
+
*
|
|
2665
|
+
* @returns A parsed TrackEncryptionBox
|
|
2666
|
+
*
|
|
2667
|
+
*
|
|
2668
|
+
* @beta
|
|
2669
|
+
*/
|
|
2670
|
+
declare function tenc(view: IsoView): Fields<TrackEncryptionBox>;
|
|
2671
|
+
//#endregion
|
|
2672
|
+
//#region src/parsers/tfdt.d.ts
|
|
2673
|
+
/**
|
|
2674
|
+
* Parse a TrackFragmentDecodeTimeBox from an IsoView
|
|
2675
|
+
*
|
|
2676
|
+
* @param view - The IsoView to read data from
|
|
2677
|
+
*
|
|
2678
|
+
* @returns A parsed TrackFragmentDecodeTimeBox
|
|
2679
|
+
*
|
|
2680
|
+
*
|
|
2681
|
+
* @beta
|
|
2682
|
+
*/
|
|
2683
|
+
declare function tfdt(view: IsoView): Fields<TrackFragmentBaseMediaDecodeTimeBox>;
|
|
2684
|
+
//#endregion
|
|
2685
|
+
//#region src/parsers/tfhd.d.ts
|
|
2686
|
+
/**
|
|
2687
|
+
* Parse a TrackFragmentHeaderBox from an IsoView
|
|
2688
|
+
*
|
|
2689
|
+
* @param view - The IsoView to read data from
|
|
2690
|
+
*
|
|
2691
|
+
* @returns A parsed TrackFragmentHeaderBox
|
|
2692
|
+
*
|
|
2693
|
+
*
|
|
2694
|
+
* @beta
|
|
2695
|
+
*/
|
|
2696
|
+
declare function tfhd(view: IsoView): Fields<TrackFragmentHeaderBox>;
|
|
2697
|
+
//#endregion
|
|
2698
|
+
//#region src/parsers/tfra.d.ts
|
|
2699
|
+
/**
|
|
2700
|
+
* Parse a TrackFragmentRandomAccessBox from an IsoView
|
|
2701
|
+
*
|
|
2702
|
+
* @param view - The IsoView to read data from
|
|
2703
|
+
*
|
|
2704
|
+
* @returns A parsed TrackFragmentRandomAccessBox
|
|
2705
|
+
*
|
|
2706
|
+
*
|
|
2707
|
+
* @beta
|
|
2708
|
+
*/
|
|
2709
|
+
declare function tfra(view: IsoView): Fields<TrackFragmentRandomAccessBox>;
|
|
2710
|
+
//#endregion
|
|
2711
|
+
//#region src/parsers/tkhd.d.ts
|
|
2712
|
+
/**
|
|
2713
|
+
* Parse a TrackHeaderBox from an IsoView
|
|
2714
|
+
*
|
|
2715
|
+
* @param view - The IsoView to read data from
|
|
2716
|
+
*
|
|
2717
|
+
* @returns A parsed TrackHeaderBox
|
|
2718
|
+
*
|
|
2719
|
+
*
|
|
2720
|
+
* @beta
|
|
2721
|
+
*/
|
|
2722
|
+
declare function tkhd(view: IsoView): Fields<TrackHeaderBox>;
|
|
2723
|
+
//#endregion
|
|
2724
|
+
//#region src/parsers/trex.d.ts
|
|
2725
|
+
/**
|
|
2726
|
+
* Parse a TrackExtendsBox from an IsoView
|
|
2727
|
+
*
|
|
2728
|
+
* @param view - The IsoView to read data from
|
|
2729
|
+
*
|
|
2730
|
+
* @returns A parsed TrackExtendsBox
|
|
2731
|
+
*
|
|
2732
|
+
*
|
|
2733
|
+
* @beta
|
|
2734
|
+
*/
|
|
2735
|
+
declare function trex(view: IsoView): Fields<TrackExtendsBox>;
|
|
2736
|
+
//#endregion
|
|
2737
|
+
//#region src/parsers/trun.d.ts
|
|
2738
|
+
/**
|
|
2739
|
+
* Parse a TrackRunBox from an IsoView
|
|
2740
|
+
*
|
|
2741
|
+
* @param view - The IsoView to read data from
|
|
2742
|
+
*
|
|
2743
|
+
* @returns A parsed TrackRunBox
|
|
2744
|
+
*
|
|
2745
|
+
*
|
|
2746
|
+
* @beta
|
|
2747
|
+
*/
|
|
2748
|
+
declare function trun(view: IsoView): Fields<TrackRunBox>;
|
|
2749
|
+
//#endregion
|
|
2750
|
+
//#region src/parsers/url.d.ts
|
|
2751
|
+
/**
|
|
2752
|
+
* Parse a UrlBox from an IsoView
|
|
2753
|
+
*
|
|
2754
|
+
* @param view - The IsoView to read data from
|
|
2755
|
+
*
|
|
2756
|
+
* @returns A parsed UrlBox
|
|
2757
|
+
*
|
|
2758
|
+
*
|
|
2759
|
+
* @beta
|
|
2760
|
+
*/
|
|
2761
|
+
declare function url(view: IsoView): Fields<UrlBox>;
|
|
2762
|
+
//#endregion
|
|
2763
|
+
//#region src/parsers/urn.d.ts
|
|
2764
|
+
/**
|
|
2765
|
+
* Parse a UrnBox from an IsoView
|
|
2766
|
+
*
|
|
2767
|
+
* @param view - The IsoView to read data from
|
|
2768
|
+
*
|
|
2769
|
+
* @returns A parsed UrnBox
|
|
2770
|
+
*
|
|
2771
|
+
*
|
|
2772
|
+
* @beta
|
|
2773
|
+
*/
|
|
2774
|
+
declare function urn(view: IsoView): Fields<UrnBox>;
|
|
2775
|
+
//#endregion
|
|
2776
|
+
//#region src/parsers/vlab.d.ts
|
|
2777
|
+
/**
|
|
2778
|
+
* Parse a WebVTTSourceLabelBox from an IsoView
|
|
2779
|
+
*
|
|
2780
|
+
* @param view - The IsoView to read data from
|
|
2781
|
+
*
|
|
2782
|
+
* @returns A parsed WebVTTSourceLabelBox
|
|
2783
|
+
*
|
|
2784
|
+
*
|
|
2785
|
+
* @beta
|
|
2786
|
+
*/
|
|
2787
|
+
declare function vlab(view: IsoView): Fields<WebVttSourceLabelBox>;
|
|
2788
|
+
//#endregion
|
|
2789
|
+
//#region src/parsers/vmhd.d.ts
|
|
2790
|
+
/**
|
|
2791
|
+
* Parse a VideoMediaHeaderBox from an IsoView
|
|
2792
|
+
*
|
|
2793
|
+
* @param view - The IsoView to read data from
|
|
2794
|
+
*
|
|
2795
|
+
* @returns A parsed VideoMediaHeaderBox
|
|
2796
|
+
*
|
|
2797
|
+
*
|
|
2798
|
+
* @beta
|
|
2799
|
+
*/
|
|
2800
|
+
declare function vmhd(view: IsoView): Fields<VideoMediaHeaderBox>;
|
|
2801
|
+
//#endregion
|
|
2802
|
+
//#region src/parsers/vttC.d.ts
|
|
2803
|
+
/**
|
|
2804
|
+
* Parse a WebVTTConfigurationBox from an IsoView
|
|
2805
|
+
*
|
|
2806
|
+
* @param view - The IsoView to read data from
|
|
2807
|
+
*
|
|
2808
|
+
* @returns A parsed WebVttConfigurationBox
|
|
2809
|
+
*
|
|
2810
|
+
*
|
|
2811
|
+
* @beta
|
|
2812
|
+
*/
|
|
2813
|
+
declare function vttC(view: IsoView): Fields<WebVttConfigurationBox>;
|
|
2814
|
+
//#endregion
|
|
2815
|
+
//#region src/parsers/vtte.d.ts
|
|
2816
|
+
/**
|
|
2817
|
+
* Parse a WebVTT Empty Sample Box from an IsoView
|
|
2818
|
+
*
|
|
2819
|
+
* @returns A parsed WebVTT Empty Sample Box
|
|
2820
|
+
*
|
|
2821
|
+
*
|
|
2822
|
+
* @beta
|
|
2823
|
+
*/
|
|
2824
|
+
declare function vtte(): Fields<WebVttEmptySampleBox>;
|
|
2825
|
+
//#endregion
|
|
2826
|
+
export { AudioRenderingIndicationBox, AudioSampleEntryBox, Box, BoxFilter, BoxParser, BoxParserMap, ChunkLargeOffsetBox, ChunkOffsetBox, CompactSampleSizeBox, CompositionTimeToSampleBox, CompositionTimeToSampleEntry, ContainerBox, DATA, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataReferenceBox, DecodingTimeSample, DecodingTimeToSampleBox, DegradationPriorityBox, EditBox, EditListBox, EditListEntry, EncryptedSample, Entity, EventMessageBox, ExtendedLanguageBox, Fields, FileTypeBox, FreeSpaceBox, FullBox, HandlerReferenceBox, HintMediaHeaderBox, INT, IdentifiedMediaDataBox, IpmpInfoBox, IsoBmffBox, IsoBmffBoxMap, IsoBox, IsoContainerBox, IsoData, IsoFieldTypeMap, IsoView, IsoViewConfig, ItemExtent, ItemInfoBox, ItemInfoEntry, ItemLocation, ItemLocationBox, ItemProtectionBox, ItemReferenceBox, LabelBox, MediaBox, MediaDataBox, MediaHeaderBox, MediaInformationBox, MetaBox, MovieBox, MovieExtendsBox, MovieExtendsHeaderBox, MovieFragmentBox, MovieFragmentHeaderBox, MovieFragmentRandomAccessBox, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, NullMediaHeaderBox, OriginalFormatBox, PreselectionGroupBox, PrimaryItemBox, ProducerReferenceTimeBox, ProtectionSchemeInformationBox, ProtectionSystemSpecificHeaderBox, RawBox, STRING, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleDescriptionBox, SampleEncryptionBox, SampleEntryBox, SampleGroupDescriptionBox, SampleSizeBox, SampleTableBox, SampleToChunkBox, SampleToChunkEntry, SampleToGroupBox, SampleToGroupEntry, SchemeInformationBox, SchemeTypeBox, SegmentIndexBox, SegmentIndexReference, SegmentTypeBox, ShadowSyncEntry, ShadowSyncSampleBox, SingleItemTypeReferenceBox, SoundMediaHeaderBox, Subsample, SubsampleEncryption, SubsampleEntry, SubsampleInformationBox, Subsegment, SubsegmentIndexBox, SubsegmentRange, SubtitleMediaHeaderBox, SyncSample, SyncSampleBox, TEMPLATE, TrackBox, TrackEncryptionBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentBox, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackFragmentRandomAccessEntry, TrackHeaderBox, TrackKindBox, TrackReferenceBox, TrackReferenceTypeBox, TrackRunBox, TrackRunSample, TypeBox, UINT, UTF8, UrlBox, UrnBox, UserDataBox, VideoMediaHeaderBox, VisualSampleEntryBox, WebVttConfigurationBox, WebVttCueIdBox, WebVttCuePayloadBox, WebVttEmptySampleBox, WebVttSettingsBox, WebVttSourceLabelBox, ardi, avc1, avc2, avc3, avc4, createIsoView, ctts, dref, elng, elst, emsg, enca, encv, filterBoxes, filterBoxesByType, findBox, findBoxByType, free, frma, ftyp, hdlr, hev1, hvc1, iden, imda, kind, labl, mdat, mdhd, mehd, meta, mfhd, mfro, mp4a, mvhd, parseBoxes, payl, prft, prsl, pssh, schm, sdtp, sidx, skip, smhd, ssix, sthd, stsd, stss, sttg, stts, styp, subs, tenc, tfdt, tfhd, tfra, tkhd, trex, trun, url, urn, vlab, vmhd, vttC, vtte };
|
|
206
2827
|
//# sourceMappingURL=index.d.ts.map
|