@svta/cml-iso-bmff 1.0.0-alpha.1 → 1.0.0-alpha.3
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 +2 -2
- package/dist/index.d.ts +253 -140
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1061 -928
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
type AdditionalMetadataContainerBoxChild = any;
|
|
8
8
|
/**
|
|
9
|
-
* Additional Metadata Container Box - '
|
|
9
|
+
* Additional Metadata Container Box - 'meco' - Container - 8.11.7.1
|
|
10
10
|
*
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
type AdditionalMetadataContainerBox = {
|
|
14
|
-
type: "
|
|
14
|
+
type: "meco";
|
|
15
15
|
boxes: AdditionalMetadataContainerBoxChild[];
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
@@ -37,6 +37,14 @@ type AudioRenderingIndicationBox = FullBox & {
|
|
|
37
37
|
audioRenderingIndication: number;
|
|
38
38
|
};
|
|
39
39
|
//#endregion
|
|
40
|
+
//#region src/boxes/AudioSampleEntryType.d.ts
|
|
41
|
+
/**
|
|
42
|
+
* The type of audio sample entry box.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
type AudioSampleEntryType = "mp4a" | "enca";
|
|
47
|
+
//#endregion
|
|
40
48
|
//#region src/boxes/SampleEntryBox.d.ts
|
|
41
49
|
/**
|
|
42
50
|
* ISO/IEC 14496-12:2015 - 8.5.2.2 Sample Entry
|
|
@@ -50,11 +58,17 @@ type SampleEntryBox = {
|
|
|
50
58
|
//#endregion
|
|
51
59
|
//#region src/boxes/AudioSampleEntryBox.d.ts
|
|
52
60
|
/**
|
|
61
|
+
* Child boxes of AudioSampleEntryBox
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
type AudioSampleEntryBoxChild = any;
|
|
66
|
+
/**
|
|
53
67
|
* ISO/IEC 14496-12:2012 - 8.5.2.2 mp4a box (use AudioSampleEntry definition and naming)
|
|
54
68
|
*
|
|
55
69
|
* @public
|
|
56
70
|
*/
|
|
57
|
-
type AudioSampleEntryBox<T$1 extends
|
|
71
|
+
type AudioSampleEntryBox<T$1 extends AudioSampleEntryType = AudioSampleEntryType> = SampleEntryBox & {
|
|
58
72
|
type: T$1;
|
|
59
73
|
reserved2: number[];
|
|
60
74
|
channelcount: number;
|
|
@@ -62,7 +76,7 @@ type AudioSampleEntryBox<T$1 extends "mp4a" | "enca" = "mp4a" | "enca"> = Sample
|
|
|
62
76
|
preDefined: number;
|
|
63
77
|
reserved3: number;
|
|
64
78
|
samplerate: number;
|
|
65
|
-
|
|
79
|
+
boxes: AudioSampleEntryBoxChild[];
|
|
66
80
|
};
|
|
67
81
|
//#endregion
|
|
68
82
|
//#region src/boxes/ChunkLargeOffsetBox.d.ts
|
|
@@ -654,13 +668,50 @@ type SampleDependencyTypeBox = FullBox & {
|
|
|
654
668
|
sampleDependencyTable: number[];
|
|
655
669
|
};
|
|
656
670
|
//#endregion
|
|
671
|
+
//#region src/boxes/VisualSampleEntryType.d.ts
|
|
672
|
+
/**
|
|
673
|
+
* The type of visual sample entry box.
|
|
674
|
+
*
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
type VisualSampleEntryType = "avc1" | "avc2" | "avc3" | "avc4" | "hev1" | "hvc1" | "encv";
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/boxes/VisualSampleEntryBox.d.ts
|
|
680
|
+
/**
|
|
681
|
+
* Child boxes of VisualSampleEntryBox
|
|
682
|
+
*
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
type VisualSampleEntryBoxChild = any;
|
|
686
|
+
/**
|
|
687
|
+
* ISO/IEC 14496-15:2014 - 12.1.3.1 avc1/2/3/4, hev1, hvc1, encv
|
|
688
|
+
*
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
type VisualSampleEntryBox<T$1 extends VisualSampleEntryType = VisualSampleEntryType> = SampleEntryBox & {
|
|
692
|
+
type: T$1;
|
|
693
|
+
preDefined1: number;
|
|
694
|
+
reserved2: number;
|
|
695
|
+
preDefined2: number[];
|
|
696
|
+
width: number;
|
|
697
|
+
height: number;
|
|
698
|
+
horizresolution: number;
|
|
699
|
+
vertresolution: number;
|
|
700
|
+
reserved3: number;
|
|
701
|
+
frameCount: number;
|
|
702
|
+
compressorName: number[];
|
|
703
|
+
depth: number;
|
|
704
|
+
preDefined3: number;
|
|
705
|
+
boxes: VisualSampleEntryBoxChild[];
|
|
706
|
+
};
|
|
707
|
+
//#endregion
|
|
657
708
|
//#region src/boxes/SampleDescriptionBox.d.ts
|
|
658
709
|
/**
|
|
659
710
|
* ISO/IEC 14496-12:2012 - 8.5.2 Sample Description Box
|
|
660
711
|
*
|
|
661
712
|
* @public
|
|
662
713
|
*/
|
|
663
|
-
type SampleDescriptionBox<E extends SampleEntryBox =
|
|
714
|
+
type SampleDescriptionBox<E extends SampleEntryBox = AudioSampleEntryBox | VisualSampleEntryBox> = FullBox & {
|
|
664
715
|
type: "stsd";
|
|
665
716
|
entryCount: number;
|
|
666
717
|
entries: E[];
|
|
@@ -1351,6 +1402,12 @@ type Entity = {
|
|
|
1351
1402
|
//#endregion
|
|
1352
1403
|
//#region src/boxes/PreselectionGroupBox.d.ts
|
|
1353
1404
|
/**
|
|
1405
|
+
* Child boxes of Preselection Group Box
|
|
1406
|
+
*
|
|
1407
|
+
* @public
|
|
1408
|
+
*/
|
|
1409
|
+
type PreselectionGroupBoxChild = any;
|
|
1410
|
+
/**
|
|
1354
1411
|
* ISO/IEC 14496-12:202x - 8.18.4.1 Preselection group box
|
|
1355
1412
|
*
|
|
1356
1413
|
* @public
|
|
@@ -1366,6 +1423,7 @@ type PreselectionGroupBox = FullBox & {
|
|
|
1366
1423
|
preselectionTag?: string;
|
|
1367
1424
|
selectionPriority?: number;
|
|
1368
1425
|
interleavingTag?: string;
|
|
1426
|
+
boxes: PreselectionGroupBoxChild[];
|
|
1369
1427
|
};
|
|
1370
1428
|
//#endregion
|
|
1371
1429
|
//#region src/boxes/ProducerReferenceTimeBox.d.ts
|
|
@@ -1501,37 +1559,6 @@ type TrackKindBox = FullBox & {
|
|
|
1501
1559
|
value: string;
|
|
1502
1560
|
};
|
|
1503
1561
|
//#endregion
|
|
1504
|
-
//#region src/boxes/VisualSampleEntryType.d.ts
|
|
1505
|
-
/**
|
|
1506
|
-
* The type of visual sample entry box.
|
|
1507
|
-
*
|
|
1508
|
-
* @public
|
|
1509
|
-
*/
|
|
1510
|
-
type VisualSampleEntryType = "avc1" | "avc2" | "avc3" | "avc4" | "hev1" | "hvc1" | "encv";
|
|
1511
|
-
//#endregion
|
|
1512
|
-
//#region src/boxes/VisualSampleEntryBox.d.ts
|
|
1513
|
-
/**
|
|
1514
|
-
* ISO/IEC 14496-15:2014 - 12.1.3.1 avc1/2/3/4, hev1, hvc1, encv
|
|
1515
|
-
*
|
|
1516
|
-
* @public
|
|
1517
|
-
*/
|
|
1518
|
-
type VisualSampleEntryBox<T$1 extends VisualSampleEntryType> = SampleEntryBox & {
|
|
1519
|
-
type: T$1;
|
|
1520
|
-
preDefined1: number;
|
|
1521
|
-
reserved2: number;
|
|
1522
|
-
preDefined2: number[];
|
|
1523
|
-
width: number;
|
|
1524
|
-
height: number;
|
|
1525
|
-
horizresolution: number;
|
|
1526
|
-
vertresolution: number;
|
|
1527
|
-
reserved3: number;
|
|
1528
|
-
frameCount: number;
|
|
1529
|
-
compressorName: number[];
|
|
1530
|
-
depth: number;
|
|
1531
|
-
preDefined3: number;
|
|
1532
|
-
config: Uint8Array;
|
|
1533
|
-
};
|
|
1534
|
-
//#endregion
|
|
1535
1562
|
//#region src/boxes/WebVttConfigurationBox.d.ts
|
|
1536
1563
|
/**
|
|
1537
1564
|
* ISO/IEC 14496-30:2014 - WebVTT Configuration Box
|
|
@@ -1731,6 +1758,14 @@ type IsoBoxMap = {
|
|
|
1731
1758
|
*/
|
|
1732
1759
|
type IsoBox = IsoBoxMap[keyof IsoBoxMap];
|
|
1733
1760
|
//#endregion
|
|
1761
|
+
//#region src/IsoBoxData.d.ts
|
|
1762
|
+
/**
|
|
1763
|
+
* ISO data
|
|
1764
|
+
*
|
|
1765
|
+
* @public
|
|
1766
|
+
*/
|
|
1767
|
+
type IsoBoxData = ArrayBuffer | ArrayBufferView<ArrayBuffer>;
|
|
1768
|
+
//#endregion
|
|
1734
1769
|
//#region src/IsoBoxReader.d.ts
|
|
1735
1770
|
/**
|
|
1736
1771
|
* ISO BMFF box reader
|
|
@@ -1812,7 +1847,7 @@ declare class IsoBoxReadView<R extends IsoBoxReaderMap = IsoBoxReaderMap> {
|
|
|
1812
1847
|
* @param raw - The raw data to view.
|
|
1813
1848
|
* @param config - The configuration for the IsoView.
|
|
1814
1849
|
*/
|
|
1815
|
-
constructor(raw:
|
|
1850
|
+
constructor(raw: IsoBoxData, config?: IsoBoxReadViewConfig<R>);
|
|
1816
1851
|
/**
|
|
1817
1852
|
* The buffer of the data view.
|
|
1818
1853
|
*/
|
|
@@ -2011,7 +2046,6 @@ type IsoBoxContainerMap = {
|
|
|
2011
2046
|
grpl: GroupsListBox;
|
|
2012
2047
|
mdia: MediaBox;
|
|
2013
2048
|
meco: AdditionalMetadataContainerBox;
|
|
2014
|
-
meta: MetaBox;
|
|
2015
2049
|
mfra: MovieFragmentRandomAccessBox;
|
|
2016
2050
|
minf: MediaInformationBox;
|
|
2017
2051
|
moof: MovieFragmentBox;
|
|
@@ -2036,21 +2070,33 @@ type IsoBoxContainerMap = {
|
|
|
2036
2070
|
*/
|
|
2037
2071
|
type IsoBoxContainer = IsoBoxContainerMap[keyof IsoBoxContainerMap];
|
|
2038
2072
|
//#endregion
|
|
2039
|
-
//#region src/
|
|
2073
|
+
//#region src/IsoBoxReaderReturn.d.ts
|
|
2040
2074
|
/**
|
|
2041
|
-
*
|
|
2075
|
+
* Return type for a box reader.
|
|
2076
|
+
*
|
|
2077
|
+
* @public
|
|
2078
|
+
*/
|
|
2079
|
+
type BoxReturn<T$1 extends IsoBoxReaderMap> = IsoParsedBox<{ [K in keyof T$1]: T$1[K] extends IsoBoxReader<infer B> ? B : never }[keyof T$1]>;
|
|
2080
|
+
/**
|
|
2081
|
+
* Return type for a container reader
|
|
2082
|
+
*
|
|
2083
|
+
* @public
|
|
2084
|
+
*/
|
|
2085
|
+
type ContainerReturn = IsoParsedBox<IsoBoxContainer>;
|
|
2086
|
+
/**
|
|
2087
|
+
* Return type for the ISO box reader
|
|
2042
2088
|
*
|
|
2043
2089
|
* @public
|
|
2044
2090
|
*/
|
|
2045
|
-
type
|
|
2091
|
+
type IsoBoxReaderReturn<T$1 extends IsoBoxReaderMap> = BoxReturn<T$1> | ContainerReturn | ParsedBox;
|
|
2046
2092
|
//#endregion
|
|
2047
|
-
//#region src/
|
|
2093
|
+
//#region src/IsoBoxStreamable.d.ts
|
|
2048
2094
|
/**
|
|
2049
|
-
* ISO box
|
|
2095
|
+
* A type that represents a streamable ISO BMFF box or array buffer view.
|
|
2050
2096
|
*
|
|
2051
2097
|
* @public
|
|
2052
2098
|
*/
|
|
2053
|
-
type
|
|
2099
|
+
type IsoBoxStreamable = IsoBox | Box | ArrayBufferView;
|
|
2054
2100
|
//#endregion
|
|
2055
2101
|
//#region src/IsoBoxWriterMap.d.ts
|
|
2056
2102
|
/**
|
|
@@ -2060,46 +2106,26 @@ type IsoBoxWriter<B$1> = (box: B$1) => ArrayBufferView;
|
|
|
2060
2106
|
*/
|
|
2061
2107
|
type IsoBoxWriterMap = Partial<{ [P in IsoBox["type"]]: IsoBoxWriter<Extract<IsoBox, Record<"type", P>>> }>;
|
|
2062
2108
|
//#endregion
|
|
2063
|
-
//#region src/
|
|
2109
|
+
//#region src/IsoBoxWriteViewConfig.d.ts
|
|
2064
2110
|
/**
|
|
2065
2111
|
* Configuration for the IsoBoxReadableStream.
|
|
2066
2112
|
*
|
|
2067
2113
|
* @public
|
|
2068
2114
|
*/
|
|
2069
|
-
type
|
|
2115
|
+
type IsoBoxWriteViewConfig = {
|
|
2070
2116
|
/**
|
|
2071
2117
|
* A map of box writers to their box types
|
|
2072
2118
|
*/
|
|
2073
2119
|
writers?: IsoBoxWriterMap;
|
|
2074
2120
|
};
|
|
2075
2121
|
//#endregion
|
|
2076
|
-
//#region src/
|
|
2077
|
-
/**
|
|
2078
|
-
* Return type for a box reader.
|
|
2079
|
-
*
|
|
2080
|
-
* @public
|
|
2081
|
-
*/
|
|
2082
|
-
type BoxReturn<T$1 extends IsoBoxReaderMap> = IsoParsedBox<{ [K in keyof T$1]: T$1[K] extends IsoBoxReader<infer B> ? B : never }[keyof T$1]>;
|
|
2083
|
-
/**
|
|
2084
|
-
* Return type for a container reader
|
|
2085
|
-
*
|
|
2086
|
-
* @public
|
|
2087
|
-
*/
|
|
2088
|
-
type ContainerReturn = IsoParsedBox<IsoBoxContainer>;
|
|
2089
|
-
/**
|
|
2090
|
-
* Return type for the ISO box reader
|
|
2091
|
-
*
|
|
2092
|
-
* @public
|
|
2093
|
-
*/
|
|
2094
|
-
type IsoBoxReaderReturn<T$1 extends IsoBoxReaderMap> = BoxReturn<T$1> | ContainerReturn | ParsedBox;
|
|
2095
|
-
//#endregion
|
|
2096
|
-
//#region src/IsoBoxStreamable.d.ts
|
|
2122
|
+
//#region src/IsoBoxWriter.d.ts
|
|
2097
2123
|
/**
|
|
2098
|
-
*
|
|
2124
|
+
* ISO box writer.
|
|
2099
2125
|
*
|
|
2100
2126
|
* @public
|
|
2101
2127
|
*/
|
|
2102
|
-
type
|
|
2128
|
+
type IsoBoxWriter<B$1> = (box: B$1, config: IsoBoxWriteViewConfig) => ArrayBufferView;
|
|
2103
2129
|
//#endregion
|
|
2104
2130
|
//#region src/IsoBoxWriteView.d.ts
|
|
2105
2131
|
/**
|
|
@@ -2171,15 +2197,16 @@ declare class IsoBoxWriteView {
|
|
|
2171
2197
|
*
|
|
2172
2198
|
* @param data - The data to write.
|
|
2173
2199
|
*/
|
|
2174
|
-
writeBytes: (data: Uint8Array) => void;
|
|
2200
|
+
writeBytes: (data: Uint8Array | Uint8Array[]) => void;
|
|
2175
2201
|
/**
|
|
2176
2202
|
* Writes an array of numbers to the data view.
|
|
2177
2203
|
*
|
|
2178
2204
|
* @param data - The data to write.
|
|
2179
2205
|
* @param type - The type of the data.
|
|
2180
2206
|
* @param size - The size, in bytes, of each data value.
|
|
2207
|
+
* @param length - The number of values to write. (optional)
|
|
2181
2208
|
*/
|
|
2182
|
-
writeArray: <T extends keyof IsoFieldTypeMap>(data: number[], type: T, size: number) => void;
|
|
2209
|
+
writeArray: <T extends keyof IsoFieldTypeMap>(data: number[], type: T, size: number, length: number) => void;
|
|
2183
2210
|
/**
|
|
2184
2211
|
* Writes a template to the data view.
|
|
2185
2212
|
*
|
|
@@ -2225,7 +2252,7 @@ type IsoTypedParsedBox<T$1 extends keyof IsoBoxMap> = IsoBoxMap[T$1] & Omit<Box,
|
|
|
2225
2252
|
*
|
|
2226
2253
|
* @public
|
|
2227
2254
|
*/
|
|
2228
|
-
declare function createIsoBoxReadableStream(boxes: Iterable<IsoBoxStreamable>, config?:
|
|
2255
|
+
declare function createIsoBoxReadableStream(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig): ReadableStream<Uint8Array>;
|
|
2229
2256
|
//#endregion
|
|
2230
2257
|
//#region src/IsoBoxReadableStream.d.ts
|
|
2231
2258
|
/**
|
|
@@ -2240,9 +2267,71 @@ declare class IsoBoxReadableStream extends ReadableStream<Uint8Array> {
|
|
|
2240
2267
|
* @param boxes - The boxes to stream.
|
|
2241
2268
|
* @param config - The configuration for the stream.
|
|
2242
2269
|
*/
|
|
2243
|
-
constructor(boxes: Iterable<IsoBoxStreamable>, config?:
|
|
2270
|
+
constructor(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig);
|
|
2244
2271
|
}
|
|
2245
2272
|
//#endregion
|
|
2273
|
+
//#region src/readIsoBoxes.d.ts
|
|
2274
|
+
/**
|
|
2275
|
+
* Reads ISO boxes from a data source.
|
|
2276
|
+
*
|
|
2277
|
+
* @param raw - The raw ISO data
|
|
2278
|
+
* @param config - The configuration for the IsoView
|
|
2279
|
+
*
|
|
2280
|
+
* @returns The parsed boxes
|
|
2281
|
+
*
|
|
2282
|
+
* @example
|
|
2283
|
+
* {@includeCode ../test/readIsoBoxes.test.ts#example}
|
|
2284
|
+
*
|
|
2285
|
+
* @public
|
|
2286
|
+
*/
|
|
2287
|
+
declare function readIsoBoxes<R extends IsoBoxReaderMap>(raw: IsoBoxData, config?: IsoBoxReadViewConfig<R>): IsoBoxReaderReturn<R>[];
|
|
2288
|
+
//#endregion
|
|
2289
|
+
//#region src/traverseIsoBoxes.d.ts
|
|
2290
|
+
/**
|
|
2291
|
+
* Traverse ISO boxes
|
|
2292
|
+
*
|
|
2293
|
+
* @param boxes - The boxes to traverse
|
|
2294
|
+
* @param depthFirst - Whether to traverse the boxes depth-first or breadth-first
|
|
2295
|
+
* @param maxDepth - The maximum depth to traverse. A value of 0 will only traverse the root boxes.
|
|
2296
|
+
*
|
|
2297
|
+
* @returns A generator of boxes
|
|
2298
|
+
*
|
|
2299
|
+
* @example
|
|
2300
|
+
* {@includeCode ../test/traverseIsoBoxes.test.ts#example}
|
|
2301
|
+
*
|
|
2302
|
+
* @public
|
|
2303
|
+
*/
|
|
2304
|
+
declare function traverseIsoBoxes(boxes: Iterable<ParsedBox>, depthFirst?: boolean, maxDepth?: number): Generator<ParsedBox>;
|
|
2305
|
+
//#endregion
|
|
2306
|
+
//#region src/writeIsoBox.d.ts
|
|
2307
|
+
/**
|
|
2308
|
+
* Write an ISO box to a Uint8Array.
|
|
2309
|
+
*
|
|
2310
|
+
* @param box - The box to write
|
|
2311
|
+
* @param config - The configuration for the writer
|
|
2312
|
+
*
|
|
2313
|
+
* @returns The written box
|
|
2314
|
+
*
|
|
2315
|
+
* @public
|
|
2316
|
+
*/
|
|
2317
|
+
declare function writeIsoBox(box: IsoBoxStreamable, config?: IsoBoxWriteViewConfig): Uint8Array;
|
|
2318
|
+
//#endregion
|
|
2319
|
+
//#region src/writeIsoBoxes.d.ts
|
|
2320
|
+
/**
|
|
2321
|
+
* Writes ISO boxes to a readable stream.
|
|
2322
|
+
*
|
|
2323
|
+
* @param boxes - The boxes to write
|
|
2324
|
+
* @param config - The configuration for the readable stream
|
|
2325
|
+
*
|
|
2326
|
+
* @returns A readable stream of the written boxes
|
|
2327
|
+
*
|
|
2328
|
+
* @example
|
|
2329
|
+
* {@includeCode ../test/writeIsoBoxes.test.ts#example}
|
|
2330
|
+
*
|
|
2331
|
+
* @public
|
|
2332
|
+
*/
|
|
2333
|
+
declare function writeIsoBoxes(boxes: Iterable<IsoBoxStreamable>, config?: IsoBoxWriteViewConfig): Uint8Array[];
|
|
2334
|
+
//#endregion
|
|
2246
2335
|
//#region src/readers/readArdi.d.ts
|
|
2247
2336
|
/**
|
|
2248
2337
|
* Parse a AudioRenderingIndicationBox from an IsoView
|
|
@@ -2255,6 +2344,19 @@ declare class IsoBoxReadableStream extends ReadableStream<Uint8Array> {
|
|
|
2255
2344
|
*/
|
|
2256
2345
|
declare function readArdi(view: IsoBoxReadView): AudioRenderingIndicationBox;
|
|
2257
2346
|
//#endregion
|
|
2347
|
+
//#region src/readers/readAudioSampleEntryBox.d.ts
|
|
2348
|
+
/**
|
|
2349
|
+
* Parse a AudioSampleEntryBox from an IsoView
|
|
2350
|
+
*
|
|
2351
|
+
* @param type - The type of AudioSampleEntryBox to read
|
|
2352
|
+
* @param view - The IsoView to read data from
|
|
2353
|
+
*
|
|
2354
|
+
* @returns A parsed AudioSampleEntryBox
|
|
2355
|
+
*
|
|
2356
|
+
* @public
|
|
2357
|
+
*/
|
|
2358
|
+
declare function readAudioSampleEntryBox<T$1 extends AudioSampleEntryType>(type: T$1, view: IsoBoxReadView): AudioSampleEntryBox<T$1>;
|
|
2359
|
+
//#endregion
|
|
2258
2360
|
//#region src/readers/readAvc1.d.ts
|
|
2259
2361
|
/**
|
|
2260
2362
|
* Parse a VisualSampleEntryBox from an IsoView
|
|
@@ -2915,6 +3017,19 @@ declare function readUrl(view: IsoBoxReadView): DataEntryUrlBox;
|
|
|
2915
3017
|
*/
|
|
2916
3018
|
declare function readUrn(view: IsoBoxReadView): DataEntryUrnBox;
|
|
2917
3019
|
//#endregion
|
|
3020
|
+
//#region src/readers/readVisualSampleEntryBox.d.ts
|
|
3021
|
+
/**
|
|
3022
|
+
* Parse a VisualSampleEntryBox from an IsoView
|
|
3023
|
+
*
|
|
3024
|
+
* @param type - The type of VisualSampleEntryBox to read
|
|
3025
|
+
* @param view - The IsoView to read data from
|
|
3026
|
+
*
|
|
3027
|
+
* @returns A parsed VisualSampleEntryBox
|
|
3028
|
+
*
|
|
3029
|
+
* @public
|
|
3030
|
+
*/
|
|
3031
|
+
declare function readVisualSampleEntryBox<T$1 extends VisualSampleEntryType>(type: T$1, view: IsoBoxReadView): VisualSampleEntryBox<T$1>;
|
|
3032
|
+
//#endregion
|
|
2918
3033
|
//#region src/readers/readVlab.d.ts
|
|
2919
3034
|
/**
|
|
2920
3035
|
* Parse a WebVTTSourceLabelBox from an IsoView
|
|
@@ -2961,38 +3076,13 @@ declare function readVttC(view: IsoBoxReadView): WebVttConfigurationBox;
|
|
|
2961
3076
|
*/
|
|
2962
3077
|
declare function readVtte(_: IsoBoxReadView): WebVttEmptySampleBox;
|
|
2963
3078
|
//#endregion
|
|
2964
|
-
//#region src/
|
|
3079
|
+
//#region src/utils/CONTAINERS.d.ts
|
|
2965
3080
|
/**
|
|
2966
|
-
*
|
|
2967
|
-
*
|
|
2968
|
-
* @param raw - The raw ISO data
|
|
2969
|
-
* @param config - The configuration for the IsoView
|
|
2970
|
-
*
|
|
2971
|
-
* @returns The parsed boxes
|
|
2972
|
-
*
|
|
2973
|
-
* @example
|
|
2974
|
-
* {@includeCode ../test/readIsoBoxes.test.ts#example}
|
|
3081
|
+
* List of container box types
|
|
2975
3082
|
*
|
|
2976
3083
|
* @public
|
|
2977
3084
|
*/
|
|
2978
|
-
declare
|
|
2979
|
-
//#endregion
|
|
2980
|
-
//#region src/traverseIsoBoxes.d.ts
|
|
2981
|
-
/**
|
|
2982
|
-
* Traverse ISO boxes
|
|
2983
|
-
*
|
|
2984
|
-
* @param boxes - The boxes to traverse
|
|
2985
|
-
* @param depthFirst - Whether to traverse the boxes depth-first or breadth-first
|
|
2986
|
-
* @param maxDepth - The maximum depth to traverse. A value of 0 will only traverse the root boxes.
|
|
2987
|
-
*
|
|
2988
|
-
* @returns A generator of boxes
|
|
2989
|
-
*
|
|
2990
|
-
* @example
|
|
2991
|
-
* {@includeCode ../test/traverseIsoBoxes.test.ts#example}
|
|
2992
|
-
*
|
|
2993
|
-
* @public
|
|
2994
|
-
*/
|
|
2995
|
-
declare function traverseIsoBoxes(boxes: Iterable<ParsedBox>, depthFirst?: boolean, maxDepth?: number): Generator<ParsedBox>;
|
|
3085
|
+
declare const CONTAINERS: string[];
|
|
2996
3086
|
//#endregion
|
|
2997
3087
|
//#region src/utils/isContainer.d.ts
|
|
2998
3088
|
/**
|
|
@@ -3018,45 +3108,32 @@ declare function isContainer(box: IsoBox | Box): box is IsoBoxContainer;
|
|
|
3018
3108
|
*/
|
|
3019
3109
|
declare function isFullBox(box: any): box is FullBox;
|
|
3020
3110
|
//#endregion
|
|
3021
|
-
//#region src/
|
|
3022
|
-
/**
|
|
3023
|
-
* Write an ISO box to a Uint8Array.
|
|
3024
|
-
*
|
|
3025
|
-
* @param box - The box to write
|
|
3026
|
-
* @param writers - The writers to use
|
|
3027
|
-
* @returns The written box
|
|
3028
|
-
*
|
|
3029
|
-
* @public
|
|
3030
|
-
*/
|
|
3031
|
-
declare function writeIsoBox(box: IsoBoxStreamable, writers: IsoBoxWriterMap): Uint8Array;
|
|
3032
|
-
//#endregion
|
|
3033
|
-
//#region src/writeIsoBoxes.d.ts
|
|
3111
|
+
//#region src/writers/writeArdi.d.ts
|
|
3034
3112
|
/**
|
|
3035
|
-
*
|
|
3036
|
-
*
|
|
3037
|
-
* @param boxes - The boxes to write
|
|
3038
|
-
* @param config - The configuration for the readable stream
|
|
3113
|
+
* Write an AudioRenderingIndicationBox to an IsoDataWriter.
|
|
3039
3114
|
*
|
|
3040
|
-
* @
|
|
3115
|
+
* @param box - The AudioRenderingIndicationBox fields to write
|
|
3041
3116
|
*
|
|
3042
|
-
* @
|
|
3043
|
-
* {@includeCode ../test/writeIsoBoxes.test.ts#example}
|
|
3117
|
+
* @returns An IsoDataWriter containing the encoded box
|
|
3044
3118
|
*
|
|
3045
3119
|
* @public
|
|
3046
3120
|
*/
|
|
3047
|
-
declare function
|
|
3121
|
+
declare function writeArdi(box: AudioRenderingIndicationBox): IsoBoxWriteView;
|
|
3048
3122
|
//#endregion
|
|
3049
|
-
//#region src/writers/
|
|
3123
|
+
//#region src/writers/writeAudioSampleEntryBox.d.ts
|
|
3050
3124
|
/**
|
|
3051
|
-
* Write an
|
|
3125
|
+
* Write an AudioSampleEntryBox to an IsoDataWriter.
|
|
3052
3126
|
*
|
|
3053
|
-
*
|
|
3127
|
+
* ISO/IEC 14496-12:2012 - 12.2.3 Audio Sample Entry
|
|
3128
|
+
*
|
|
3129
|
+
* @param box - The AudioSampleEntryBox fields to write
|
|
3130
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3054
3131
|
*
|
|
3055
3132
|
* @returns An IsoDataWriter containing the encoded box
|
|
3056
3133
|
*
|
|
3057
3134
|
* @public
|
|
3058
3135
|
*/
|
|
3059
|
-
declare function
|
|
3136
|
+
declare function writeAudioSampleEntryBox<T$1 extends AudioSampleEntryType = AudioSampleEntryType>(box: AudioSampleEntryBox<T$1>, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3060
3137
|
//#endregion
|
|
3061
3138
|
//#region src/writers/writeAvc1.d.ts
|
|
3062
3139
|
/**
|
|
@@ -3065,48 +3142,52 @@ declare function writeArdi(box: AudioRenderingIndicationBox): IsoBoxWriteView;
|
|
|
3065
3142
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
3066
3143
|
*
|
|
3067
3144
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3145
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3068
3146
|
*
|
|
3069
3147
|
* @returns An IsoDataWriter containing the encoded box
|
|
3070
3148
|
*
|
|
3071
3149
|
* @public
|
|
3072
3150
|
*/
|
|
3073
|
-
declare function writeAvc1(box: VisualSampleEntryBox<"avc1"
|
|
3151
|
+
declare function writeAvc1(box: VisualSampleEntryBox<"avc1">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3074
3152
|
//#endregion
|
|
3075
3153
|
//#region src/writers/writeAvc2.d.ts
|
|
3076
3154
|
/**
|
|
3077
3155
|
* Write a VisualSampleEntryBox (avc2) to an IsoDataWriter.
|
|
3078
3156
|
*
|
|
3079
3157
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3158
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3080
3159
|
*
|
|
3081
3160
|
* @returns An IsoDataWriter containing the encoded box
|
|
3082
3161
|
*
|
|
3083
3162
|
* @public
|
|
3084
3163
|
*/
|
|
3085
|
-
declare function writeAvc2(box: VisualSampleEntryBox<"avc2"
|
|
3164
|
+
declare function writeAvc2(box: VisualSampleEntryBox<"avc2">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3086
3165
|
//#endregion
|
|
3087
3166
|
//#region src/writers/writeAvc3.d.ts
|
|
3088
3167
|
/**
|
|
3089
3168
|
* Write a VisualSampleEntryBox (avc3) to an IsoDataWriter.
|
|
3090
3169
|
*
|
|
3091
3170
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3171
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3092
3172
|
*
|
|
3093
3173
|
* @returns An IsoDataWriter containing the encoded box
|
|
3094
3174
|
*
|
|
3095
3175
|
* @public
|
|
3096
3176
|
*/
|
|
3097
|
-
declare function writeAvc3(box: VisualSampleEntryBox<"avc3"
|
|
3177
|
+
declare function writeAvc3(box: VisualSampleEntryBox<"avc3">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3098
3178
|
//#endregion
|
|
3099
3179
|
//#region src/writers/writeAvc4.d.ts
|
|
3100
3180
|
/**
|
|
3101
3181
|
* Write a VisualSampleEntryBox (avc4) to an IsoDataWriter.
|
|
3102
3182
|
*
|
|
3103
3183
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3184
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3104
3185
|
*
|
|
3105
3186
|
* @returns An IsoDataWriter containing the encoded box
|
|
3106
3187
|
*
|
|
3107
3188
|
* @public
|
|
3108
3189
|
*/
|
|
3109
|
-
declare function writeAvc4(box: VisualSampleEntryBox<"avc4"
|
|
3190
|
+
declare function writeAvc4(box: VisualSampleEntryBox<"avc4">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3110
3191
|
//#endregion
|
|
3111
3192
|
//#region src/writers/writeCtts.d.ts
|
|
3112
3193
|
/**
|
|
@@ -3122,6 +3203,19 @@ declare function writeAvc4(box: VisualSampleEntryBox<"avc4">): IsoBoxWriteView;
|
|
|
3122
3203
|
*/
|
|
3123
3204
|
declare function writeCtts(box: CompositionTimeToSampleBox): IsoBoxWriteView;
|
|
3124
3205
|
//#endregion
|
|
3206
|
+
//#region src/writers/writeDref.d.ts
|
|
3207
|
+
/**
|
|
3208
|
+
* Write a DataReferenceBox to an IsoDataWriter.
|
|
3209
|
+
*
|
|
3210
|
+
* @param box - The DataReferenceBox fields to write
|
|
3211
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3212
|
+
*
|
|
3213
|
+
* @returns An IsoDataWriter containing the encoded box
|
|
3214
|
+
*
|
|
3215
|
+
* @public
|
|
3216
|
+
*/
|
|
3217
|
+
declare function writeDref(box: DataReferenceBox, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3218
|
+
//#endregion
|
|
3125
3219
|
//#region src/writers/writeElng.d.ts
|
|
3126
3220
|
/**
|
|
3127
3221
|
* Write an ExtendedLanguageBox to an IsoDataWriter.
|
|
@@ -3169,24 +3263,26 @@ declare function writeEmsg(box: EventMessageBox): IsoBoxWriteView;
|
|
|
3169
3263
|
* Write an AudioSampleEntryBox (enca) to an IsoDataWriter.
|
|
3170
3264
|
*
|
|
3171
3265
|
* @param box - The AudioSampleEntryBox fields to write
|
|
3266
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3172
3267
|
*
|
|
3173
3268
|
* @returns An IsoDataWriter containing the encoded box
|
|
3174
3269
|
*
|
|
3175
3270
|
* @public
|
|
3176
3271
|
*/
|
|
3177
|
-
declare function writeEnca(box: AudioSampleEntryBox<"enca"
|
|
3272
|
+
declare function writeEnca(box: AudioSampleEntryBox<"enca">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3178
3273
|
//#endregion
|
|
3179
3274
|
//#region src/writers/writeEncv.d.ts
|
|
3180
3275
|
/**
|
|
3181
3276
|
* Write a VisualSampleEntryBox (encv) to an IsoDataWriter.
|
|
3182
3277
|
*
|
|
3183
3278
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3279
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3184
3280
|
*
|
|
3185
3281
|
* @returns An IsoDataWriter containing the encoded box
|
|
3186
3282
|
*
|
|
3187
3283
|
* @public
|
|
3188
3284
|
*/
|
|
3189
|
-
declare function writeEncv(box: VisualSampleEntryBox<"encv"
|
|
3285
|
+
declare function writeEncv(box: VisualSampleEntryBox<"encv">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3190
3286
|
//#endregion
|
|
3191
3287
|
//#region src/writers/writeFree.d.ts
|
|
3192
3288
|
/**
|
|
@@ -3249,24 +3345,26 @@ declare function writeHdlr(box: HandlerReferenceBox): IsoBoxWriteView;
|
|
|
3249
3345
|
* Write a VisualSampleEntryBox (hev1) to an IsoDataWriter.
|
|
3250
3346
|
*
|
|
3251
3347
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3348
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3252
3349
|
*
|
|
3253
3350
|
* @returns An IsoDataWriter containing the encoded box
|
|
3254
3351
|
*
|
|
3255
3352
|
* @public
|
|
3256
3353
|
*/
|
|
3257
|
-
declare function writeHev1(box: VisualSampleEntryBox<"hev1"
|
|
3354
|
+
declare function writeHev1(box: VisualSampleEntryBox<"hev1">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3258
3355
|
//#endregion
|
|
3259
3356
|
//#region src/writers/writeHvc1.d.ts
|
|
3260
3357
|
/**
|
|
3261
3358
|
* Write a VisualSampleEntryBox (hvc1) to an IsoDataWriter.
|
|
3262
3359
|
*
|
|
3263
3360
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3361
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3264
3362
|
*
|
|
3265
3363
|
* @returns An IsoDataWriter containing the encoded box
|
|
3266
3364
|
*
|
|
3267
3365
|
* @public
|
|
3268
3366
|
*/
|
|
3269
|
-
declare function writeHvc1(box: VisualSampleEntryBox<"hvc1"
|
|
3367
|
+
declare function writeHvc1(box: VisualSampleEntryBox<"hvc1">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3270
3368
|
//#endregion
|
|
3271
3369
|
//#region src/writers/writeIden.d.ts
|
|
3272
3370
|
/**
|
|
@@ -3365,12 +3463,13 @@ declare function writeMehd(box: MovieExtendsHeaderBox): IsoBoxWriteView;
|
|
|
3365
3463
|
* ISO/IEC 14496-12:2012 - 8.11.1 Meta Box
|
|
3366
3464
|
*
|
|
3367
3465
|
* @param box - The MetaBox fields to write
|
|
3466
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3368
3467
|
*
|
|
3369
3468
|
* @returns An IsoDataWriter containing the encoded box
|
|
3370
3469
|
*
|
|
3371
3470
|
* @public
|
|
3372
3471
|
*/
|
|
3373
|
-
declare function writeMeta(box: MetaBox): IsoBoxWriteView;
|
|
3472
|
+
declare function writeMeta(box: MetaBox, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3374
3473
|
//#endregion
|
|
3375
3474
|
//#region src/writers/writeMfhd.d.ts
|
|
3376
3475
|
/**
|
|
@@ -3412,7 +3511,7 @@ declare function writeMfro(box: MovieFragmentRandomAccessOffsetBox): IsoBoxWrite
|
|
|
3412
3511
|
*
|
|
3413
3512
|
* @public
|
|
3414
3513
|
*/
|
|
3415
|
-
declare function writeMp4a(box: AudioSampleEntryBox<"mp4a"
|
|
3514
|
+
declare function writeMp4a(box: AudioSampleEntryBox<"mp4a">, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3416
3515
|
//#endregion
|
|
3417
3516
|
//#region src/writers/writeMvhd.d.ts
|
|
3418
3517
|
/**
|
|
@@ -3459,12 +3558,13 @@ declare function writePrft(box: ProducerReferenceTimeBox): IsoBoxWriteView;
|
|
|
3459
3558
|
* Write a PreselectionGroupBox to an IsoDataWriter.
|
|
3460
3559
|
*
|
|
3461
3560
|
* @param box - The PreselectionGroupBox fields to write
|
|
3561
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3462
3562
|
*
|
|
3463
3563
|
* @returns An IsoDataWriter containing the encoded box
|
|
3464
3564
|
*
|
|
3465
3565
|
* @public
|
|
3466
3566
|
*/
|
|
3467
|
-
declare function writePrsl(box: PreselectionGroupBox): IsoBoxWriteView;
|
|
3567
|
+
declare function writePrsl(box: PreselectionGroupBox, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3468
3568
|
//#endregion
|
|
3469
3569
|
//#region src/writers/writePssh.d.ts
|
|
3470
3570
|
/**
|
|
@@ -3578,6 +3678,19 @@ declare function writeSsix(box: SubsegmentIndexBox): IsoBoxWriteView;
|
|
|
3578
3678
|
*/
|
|
3579
3679
|
declare function writeSthd(box: SubtitleMediaHeaderBox): IsoBoxWriteView;
|
|
3580
3680
|
//#endregion
|
|
3681
|
+
//#region src/writers/writeStsd.d.ts
|
|
3682
|
+
/**
|
|
3683
|
+
* Write a SampleDescriptionBox to an IsoDataWriter.
|
|
3684
|
+
*
|
|
3685
|
+
* @param box - The SampleDescriptionBox fields to write
|
|
3686
|
+
* @param config - The IsoBoxWriteViewConfig to use
|
|
3687
|
+
*
|
|
3688
|
+
* @returns An IsoDataWriter containing the encoded box
|
|
3689
|
+
*
|
|
3690
|
+
* @public
|
|
3691
|
+
*/
|
|
3692
|
+
declare function writeStsd(box: SampleDescriptionBox, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3693
|
+
//#endregion
|
|
3581
3694
|
//#region src/writers/writeStss.d.ts
|
|
3582
3695
|
/**
|
|
3583
3696
|
* Write a SyncSampleBox to an IsoDataWriter.
|
|
@@ -3779,13 +3892,13 @@ declare function writeUrn(box: DataEntryUrnBox): IsoBoxWriteView;
|
|
|
3779
3892
|
* ISO/IEC 14496-12:2012 - 12.1.3 Visual Sample Entry
|
|
3780
3893
|
*
|
|
3781
3894
|
* @param box - The VisualSampleEntryBox fields to write
|
|
3782
|
-
* @param
|
|
3895
|
+
* @param config - The configuration for the writer
|
|
3783
3896
|
*
|
|
3784
3897
|
* @returns An IsoDataWriter containing the encoded box
|
|
3785
3898
|
*
|
|
3786
3899
|
* @public
|
|
3787
3900
|
*/
|
|
3788
|
-
declare function writeVisualSampleEntryBox<T$1 extends VisualSampleEntryType>(box: VisualSampleEntryBox<T$1>,
|
|
3901
|
+
declare function writeVisualSampleEntryBox<T$1 extends VisualSampleEntryType = VisualSampleEntryType>(box: VisualSampleEntryBox<T$1>, config: IsoBoxWriteViewConfig): IsoBoxWriteView;
|
|
3789
3902
|
//#endregion
|
|
3790
3903
|
//#region src/writers/writeVlab.d.ts
|
|
3791
3904
|
/**
|
|
@@ -3835,5 +3948,5 @@ declare function writeVttC(box: WebVttConfigurationBox): IsoBoxWriteView;
|
|
|
3835
3948
|
*/
|
|
3836
3949
|
declare function writeVtte(_: WebVttEmptySampleBox): IsoBoxWriteView;
|
|
3837
3950
|
//#endregion
|
|
3838
|
-
export { AdditionalMetadataContainerBox, AdditionalMetadataContainerBoxChild, AudioRenderingIndicationBox, AudioSampleEntryBox, Box, BoxReturn, ChunkLargeOffsetBox, ChunkOffsetBox, CompactSampleSizeBox, CompositionTimeToSampleBox, CompositionTimeToSampleEntry, ContainerReturn, DATA, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataInformationBoxChild, DataReferenceBox, DecodingTimeSample, DecodingTimeToSampleBox, DegradationPriorityBox, EditBox, EditBoxChild, EditListBox, EditListEntry, EncryptedSample, Entity, EventMessageBox, ExtendedLanguageBox, FileTypeBox, FreeSpaceBox, FullBox, GroupsListBox, GroupsListBoxChild, HandlerReferenceBox, HintMediaHeaderBox, INT, IdentifiedMediaDataBox, IpmpInfoBox, IsoBox, IsoBoxContainer, IsoBoxContainerMap, IsoBoxData, IsoBoxMap, IsoBoxReadView, IsoBoxReadViewConfig, IsoBoxReadableStream,
|
|
3951
|
+
export { AdditionalMetadataContainerBox, AdditionalMetadataContainerBoxChild, AudioRenderingIndicationBox, AudioSampleEntryBox, AudioSampleEntryBoxChild, AudioSampleEntryType, Box, BoxReturn, CONTAINERS, ChunkLargeOffsetBox, ChunkOffsetBox, CompactSampleSizeBox, CompositionTimeToSampleBox, CompositionTimeToSampleEntry, ContainerReturn, DATA, DataEntryUrlBox, DataEntryUrnBox, DataInformationBox, DataInformationBoxChild, DataReferenceBox, DecodingTimeSample, DecodingTimeToSampleBox, DegradationPriorityBox, EditBox, EditBoxChild, EditListBox, EditListEntry, EncryptedSample, Entity, EventMessageBox, ExtendedLanguageBox, FileTypeBox, FreeSpaceBox, FullBox, GroupsListBox, GroupsListBoxChild, HandlerReferenceBox, HintMediaHeaderBox, INT, IdentifiedMediaDataBox, IpmpInfoBox, IsoBox, IsoBoxContainer, IsoBoxContainerMap, IsoBoxData, IsoBoxMap, IsoBoxReadView, IsoBoxReadViewConfig, IsoBoxReadableStream, IsoBoxReader, IsoBoxReaderMap, IsoBoxReaderReturn, IsoBoxStreamable, IsoBoxWriteView, IsoBoxWriteViewConfig, IsoBoxWriter, IsoBoxWriterMap, IsoFieldTypeMap, IsoParsedBox, IsoTypedParsedBox, ItemExtent, ItemInfoBox, ItemInfoBoxChild, ItemInfoEntry, ItemLocation, ItemLocationBox, ItemProtectionBox, ItemProtectionBoxChild, ItemReferenceBox, ItemReferenceBoxChild, LabelBox, MediaBox, MediaBoxChild, MediaDataBox, MediaHeaderBox, MediaInformationBox, MediaInformationBoxChild, MetaBox, MetaBoxChild, MovieBox, MovieBoxChild, MovieExtendsBox, MovieExtendsBoxChild, MovieExtendsHeaderBox, MovieFragmentBox, MovieFragmentBoxChild, MovieFragmentHeaderBox, MovieFragmentRandomAccessBox, MovieFragmentRandomAccessBoxChild, MovieFragmentRandomAccessOffsetBox, MovieHeaderBox, NullMediaHeaderBox, OriginalFormatBox, ParsedBox, PreselectionGroupBox, PreselectionGroupBoxChild, PrimaryItemBox, ProducerReferenceTimeBox, ProtectionSchemeInformationBox, ProtectionSchemeInformationBoxChild, ProtectionSystemSpecificHeaderBox, STRING, SampleAuxiliaryInformationOffsetsBox, SampleAuxiliaryInformationSizesBox, SampleDependencyTypeBox, SampleDescriptionBox, SampleEncryptionBox, SampleEntryBox, SampleGroupDescriptionBox, SampleSizeBox, SampleTableBox, SampleTableBoxChild, SampleToChunkBox, SampleToChunkEntry, SampleToGroupBox, SampleToGroupEntry, SchemeInformationBox, SchemeInformationBoxChild, SchemeTypeBox, SegmentIndexBox, SegmentIndexReference, SegmentTypeBox, ShadowSyncEntry, ShadowSyncSampleBox, SingleItemTypeReferenceBox, SoundMediaHeaderBox, SubTrackBox, SubTrackBoxChild, Subsample, SubsampleEncryption, SubsampleEntry, SubsampleInformationBox, Subsegment, SubsegmentIndexBox, SubsegmentRange, SubtitleMediaHeaderBox, SyncSample, SyncSampleBox, TEMPLATE, TrackBox, TrackBoxChild, TrackEncryptionBox, TrackExtendsBox, TrackFragmentBaseMediaDecodeTimeBox, TrackFragmentBox, TrackFragmentBoxChild, TrackFragmentHeaderBox, TrackFragmentRandomAccessBox, TrackFragmentRandomAccessEntry, TrackHeaderBox, TrackKindBox, TrackReferenceBox, TrackReferenceBoxChild, TrackReferenceTypeBox, TrackRunBox, TrackRunSample, TypeBox, UINT, UTF8, UserDataBox, UserDataBoxChild, VideoMediaHeaderBox, VisualSampleEntryBox, VisualSampleEntryBoxChild, VisualSampleEntryType, WebVttConfigurationBox, WebVttCueBox, WebVttCueChild, WebVttCueIdBox, WebVttCuePayloadBox, WebVttEmptySampleBox, WebVttSettingsBox, WebVttSourceLabelBox, co64, createIsoBoxReadableStream, isContainer, isFullBox, readArdi, readAudioSampleEntryBox, readAvc1, readAvc2, readAvc3, readAvc4, readCtts, readDref, readElng, readElst, readEmsg, readEnca, readEncv, readFree, readFrma, readFtyp, readHdlr, readHev1, readHvc1, readIden, readImda, readIsoBoxes, readKind, readLabl, readMdat, readMdhd, readMehd, readMeta, readMfhd, readMfro, readMp4a, readMvhd, readPayl, readPrft, readPrsl, readPssh, readSchm, readSdtp, readSidx, readSkip, readSmhd, readSsix, readSthd, readStsd, readStss, readSttg, readStts, readStyp, readSubs, readTenc, readTfdt, readTfhd, readTfra, readTkhd, readTrex, readTrun, readUrl, readUrn, readVisualSampleEntryBox, readVlab, readVmhd, readVttC, readVtte, stz2, traverseIsoBoxes, url, urn, writeArdi, writeAudioSampleEntryBox, writeAvc1, writeAvc2, writeAvc3, writeAvc4, writeCtts, writeDref, writeElng, writeElst, writeEmsg, writeEnca, writeEncv, writeFree, writeFrma, writeFtyp, writeHdlr, writeHev1, writeHvc1, writeIden, writeImda, writeIsoBox, writeIsoBoxes, writeKind, writeLabl, writeMdat, writeMdhd, writeMehd, writeMeta, writeMfhd, writeMfro, writeMp4a, writeMvhd, writePayl, writePrft, writePrsl, writePssh, writeSchm, writeSdtp, writeSidx, writeSkip, writeSmhd, writeSsix, writeSthd, writeStsd, writeStss, writeSttg, writeStts, writeStyp, writeSubs, writeTenc, writeTfdt, writeTfhd, writeTfra, writeTkhd, writeTrex, writeTrun, writeUrl, writeUrn, writeVisualSampleEntryBox, writeVlab, writeVmhd, writeVttC, writeVtte };
|
|
3839
3952
|
//# sourceMappingURL=index.d.ts.map
|