generated from qq15725/starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mp4box.d.ts
1832 lines (1371 loc) Β· 42.7 KB
/
mp4box.d.ts
1
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// https://github.com/gpac/mp4box.js/issues/233
declare module 'mp4box' {
export interface MP4MediaTrack {
id: number
created: Date
modified: Date
movie_duration: number
layer: number
alternate_group: number
volume: number
track_width: number
track_height: number
timescale: number
duration: number
bitrate: number
codec: string
language: string
nb_samples: number
}
export interface MP4VideoData {
width: number
height: number
}
export interface MP4VideoTrack extends MP4MediaTrack {
video: MP4VideoData
}
export interface MP4AudioData {
sample_rate: number
channel_count: number
sample_size: number
}
export interface MP4AudioTrack extends MP4MediaTrack {
audio: MP4AudioData
}
export type MP4Track = MP4VideoTrack | MP4AudioTrack
export interface MP4Info {
duration: number
timescale: number
fragment_duration: number
isFragmented: boolean
isProgressive: boolean
hasIOD: boolean
brands: string[]
created: Date
modified: Date
tracks: MP4Track[]
mime: string
audioTracks: MP4AudioTrack[]
videoTracks: MP4VideoTrack[]
}
export type MP4ArrayBuffer = ArrayBuffer & { fileStart: number }
export interface MP4File extends ISOFile {
onMoovStart?: () => void
onReady?: (info: MP4Info) => void
onError?: (e: string) => void
onSamples?: (id: number, user: any, samples: Sample[]) => void
appendBuffer(data: MP4ArrayBuffer): number
start(): void
stop(): void
flush(): void
setExtractionOptions(id: number, user: any, options: ExtractionOptions): void
}
export function createFile(): MP4File
export interface Sample {
number: number
track_id: number
timescale: number
description_index: number
description: {
avcC?: BoxParser.avcCBox // h.264
hvcC?: BoxParser.hvcCBox // hevc
vpcC?: BoxParser.vpcCBox // vp9
av1C?: BoxParser.av1CBox // av1
}
data: ArrayBuffer
size: number
alreadyRead?: number
duration: number
cts: number
dts: number
is_sync: boolean
is_leading?: number
depends_on?: number
is_depended_on?: number
has_redundancy?: number
degradation_priority?: number
offset?: number
subsamples?: any
}
export interface ExtractionOptions {
nbSamples: number
}
export class DataStream {
// WARNING, the default is little endian, which is not what MP4 uses.
constructor(buffer?: ArrayBuffer, byteOffset?: number, endianness?: boolean)
getPosition(): number
get byteLength(): number
get buffer(): ArrayBuffer
set buffer(v: ArrayBuffer)
get byteOffset(): number
set byteOffset(v: number)
get dataView(): DataView
set dataView(v: DataView)
seek(pos: number): void
isEof(): boolean
mapFloat32Array(length: number, e?: boolean): any
mapFloat64Array(length: number, e?: boolean): any
mapInt16Array(length: number, e?: boolean): any
mapInt32Array(length: number, e?: boolean): any
mapInt8Array(length: number): any
mapUint16Array(length: number, e?: boolean): any
mapUint32Array(length: number, e?: boolean): any
mapUint8Array(length: number): any
readInt32Array(length: number, endianness?: boolean): Int32Array
readInt16Array(length: number, endianness?: boolean): Int16Array
readInt8Array(length: number): Int8Array
readUint32Array(length: number, endianness?: boolean): Uint32Array
readUint16Array(length: number, endianness?: boolean): Uint16Array
readUint8Array(length: number): Uint8Array
readFloat64Array(length: number, endianness?: boolean): Float64Array
readFloat32Array(length: number, endianness?: boolean): Float32Array
readInt32(endianness?: boolean): number
readInt16(endianness?: boolean): number
readInt8(): number
readUint32(endianness?: boolean): number
// readUint32Array(length: any, e: any): any
readUint24(): number
readUint16(endianness?: boolean): number
readUint8(): number
// readUint64(): any
readFloat32(endianness?: boolean): number
readFloat64(endianness?: boolean): number
// readCString(length: number): any
// readString(length: number, encoding: any): any
static endianness: boolean
memcpy(dst: ArrayBufferLike, dstOffset: number, src: ArrayBufferLike, srcOffset: number, byteLength: number): void
// TODO I got bored porting all functions
save(filename: string): void
shift(offset: number): void
writeInt32Array(arr: Int32Array, endianness?: boolean): void
writeInt16Array(arr: Int16Array, endianness?: boolean): void
writeInt8Array(arr: Int8Array): void
writeUint32Array(arr: Uint32Array, endianness?: boolean): void
writeUint16Array(arr: Uint16Array, endianness?: boolean): void
writeUint8Array(arr: Uint8Array): void
writeFloat64Array(arr: Float64Array, endianness?: boolean): void
writeFloat32Array(arr: Float32Array, endianness?: boolean): void
writeInt32(v: number, endianness?: boolean): void
writeInt16(v: number, endianness?: boolean): void
writeInt8(v: number): void
writeUint32(v: number, endianness?: boolean): void
writeUint16(v: number, endianness?: boolean): void
writeUint8(v: number): void
writeFloat32(v: number, endianness?: boolean): void
writeFloat64(v: number, endianness?: boolean): void
writeUCS2String(s: string, endianness?: boolean, length?: number): void
writeString(s: string, encoding?: string, length?: number): void
writeCString(s: string, length?: number): void
writeUint64(v: number): void
writeUint24(v: number): void
adjustUint32(pos: number, v: number): void
static LITTLE_ENDIAN: boolean
static BIG_ENDIAN: boolean
// TODO add correct types; these are exported by dts-gen
readCString(length: any): any
readInt64(): any
readString(length: any, encoding: any): any
readUint64(): any
writeStruct(structDefinition: any, struct: any): void
writeType(t: any, v: any, struct: any): any
static arrayToNative(array: any, arrayIsLittleEndian: any): any
static flipArrayEndianness(array: any): any
static memcpy(dst: any, dstOffset: any, src: any, srcOffset: any, byteLength: any): void
static nativeToEndian(array: any, littleEndian: any): any
}
export interface TrackOptions {
id?: number
type?: string
width?: number
height?: number
duration?: number
layer?: number
timescale?: number
media_duration?: number
language?: string
hdlr?: string
// video
avcDecoderConfigRecord?: any
hevcDecoderConfigRecord?: any
// audio
balance?: number
channel_count?: number
samplesize?: number
samplerate?: number
// captions
namespace?: string
schema_location?: string
auxiliary_mime_types?: string
description?: BoxParser.Box
description_boxes?: BoxParser.Box[]
default_sample_description_index_id?: number
default_sample_duration?: number
default_sample_size?: number
default_sample_flags?: number
}
export interface FileOptions {
brands?: string[]
timescale?: number
rate?: number
duration?: number
width?: number
}
export interface SampleOptions {
sample_description_index?: number
duration?: number
cts?: number
dts?: number
is_sync?: boolean
is_leading?: number
depends_on?: number
is_depended_on?: number
has_redundancy?: number
degradation_priority?: number
subsamples?: any
}
// TODO add the remaining functions
// TODO move to another module
export class ISOFile {
constructor(stream?: DataStream)
init(options?: FileOptions): ISOFile
addTrack(options?: TrackOptions): number
addSample(track: number, data: ArrayBuffer, options?: SampleOptions): Sample
createSingleSampleMoof(sample: Sample): BoxParser.moofBox
// helpers
getTrackById(id: number): BoxParser.trakBox | undefined
getTrexById(id: number): BoxParser.trexBox | undefined
// boxes that are added to the root
boxes: BoxParser.Box[]
mdats: BoxParser.mdatBox[]
moofs: BoxParser.moofBox[]
ftyp?: BoxParser.ftypBox
moov?: BoxParser.moovBox
static writeInitializationSegment(
ftyp: BoxParser.ftypBox,
moov: BoxParser.moovBox,
total_duration: number,
sample_duration: number,
): ArrayBuffer
// TODO add correct types; these are exported by dts-gen
add(name: any): any
addBox(box: any): any
appendBuffer(ab: any, last: any): any
buildSampleLists(): void
buildTrakSampleLists(trak: any): void
checkBuffer(ab: any): any
createFragment(track_id: any, sampleNumber: any, stream_: any): any
equal(b: any): any
flattenItemInfo(): void
flush(): void
getAllocatedSampleDataSize(): any
getBox(type: any): any
getBoxes(type: any, returnEarly: any): any
getBuffer(): any
getCodecs(): any
getInfo(): any
getItem(item_id: any): any
getMetaHandler(): any
getPrimaryItem(): any
getSample(trak: any, sampleNum: any): any
getTrackSample(track_id: any, number: any): any
getTrackSamplesInfo(track_id: any): any
hasIncompleteMdat(): any
hasItem(name: any): any
initializeSegmentation(): any
itemToFragmentedTrackFile(_options: any): any
parse(): void
print(output: any): void
processIncompleteBox(ret: any): any
processIncompleteMdat(): any
processItems(callback: any): void
processSamples(last: any): void
releaseItem(item_id: any): any
releaseSample(trak: any, sampleNum: any): any
releaseUsedSamples(id: any, sampleNum: any): void
resetTables(): void
restoreParsePosition(): any
save(name: any): void
saveParsePosition(): void
seek(time: any, useRap: any): any
seekTrack(time: any, useRap: any, trak: any): any
setExtractionOptions(id: any, user: any, options: any): void
setSegmentOptions(id: any, user: any, options: any): void
start(): void
stop(): void
unsetExtractionOptions(id: any): void
unsetSegmentOptions(id: any): void
updateSampleLists(): void
updateUsedBytes(box: any, ret: any): void
write(outstream: any): void
static initSampleGroups(trak: any, traf: any, sbgps: any, trak_sgpds: any, traf_sgpds: any): void
static process_sdtp(sdtp: any, sample: any, number: any): void
static setSampleGroupProperties(trak: any, sample: any, sample_number: any, sample_groups_info: any): void
}
export namespace BoxParser {
export class Box {
size?: number
data?: Uint8Array
constructor(type?: string, size?: number)
add(name: string): Box
addBox(box: Box): Box
set(name: string, value: any): void
addEntry(value: string, prop?: string): void
printHeader(output: any): void
write(stream: DataStream): void
writeHeader(stream: DataStream, msg?: string): void
computeSize(): void
// TODO add types for these
parse(stream: any): void
parseDataAndRewind(stream: any): void
parseLanguage(stream: any): void
print(output: any): void
}
export class ContainerBox extends Box {
constructor(type: any, size: any, uuid: any)
parse(stream: any): void
print(output: any): void
write(stream: any): void
}
export class CoLLBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class FullBox extends Box {
constructor(type: any, size: any, uuid: any)
parse(stream: any): void
parseDataAndRewind(stream: any): void
parseFullHeader(stream: any): void
printHeader(output: any): void
writeHeader(stream: any): void
}
export class SampleEntry extends Box {
constructor(type: any, size: any, hdr_size: any, start: any)
getChannelCount(): any
getCodec(): any
getHeight(): any
getSampleRate(): any
getSampleSize(): any
getWidth(): any
isAudio(): any
isHint(): any
isMetadata(): any
isSubtitle(): any
isVideo(): any
parse(stream: any): void
parseDataAndRewind(stream: any): void
parseFooter(stream: any): void
parseHeader(stream: any): void
write(stream: any): void
writeFooter(stream: any): void
writeHeader(stream: any): void
}
// TODO finish add types for these classes
export class AudioSampleEntry extends SampleEntry {
constructor(type: any, size: any)
getChannelCount(): any
getSampleRate(): any
getSampleSize(): any
isAudio(): any
parse(stream: any): void
write(stream: any): void
}
export class HintSampleEntry extends SampleEntry {
constructor(type: any, size: any)
}
export class MetadataSampleEntry extends SampleEntry {
constructor(type: any, size: any)
isMetadata(): any
}
export class OpusSampleEntry extends SampleEntry {
constructor(size: any)
}
export class SampleGroupEntry {
constructor(type: any)
parse(stream: any): void
write(stream: any): void
}
export class SingleItemTypeReferenceBox extends ContainerBox {
constructor(type: any, size: any, hdr_size: any, start: any)
parse(stream: any): void
}
export class SingleItemTypeReferenceBoxLarge {
constructor(type: any, size: any, hdr_size: any, start: any)
parse(stream: any): void
}
export class SmDmBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class SubtitleSampleEntry extends SampleEntry {
constructor(type: any, size: any)
isSubtitle(): any
}
export class SystemSampleEntry extends SampleEntry {
constructor(type: any, size: any)
}
export class TextSampleEntry extends SampleEntry {
constructor(type: any, size: any)
}
export class TrackGroupTypeBox extends FullBox {
constructor(type: any, size: any)
parse(stream: any): void
}
export class TrackReferenceTypeBox extends ContainerBox {
constructor(type: any, size: any, hdr_size: any, start: any)
parse(stream: any): void
write(stream: any): void
}
export class VisualSampleEntry extends SampleEntry {
constructor(type: any, size: any)
getHeight(): any
getWidth(): any
isVideo(): any
parse(stream: any): void
write(stream: any): void
}
export class a1lxBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class a1opBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class alstSampleGroupEntry extends SampleGroupEntry {
constructor(size: any)
parse(stream: any): void
}
export class auxCBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class av01SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class av1CBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class avc1SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class avc2SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class avc3SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class avc4SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class avcCBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class avllSampleGroupEntry extends SampleGroupEntry {
constructor(size: any)
parse(stream: any): void
}
export class avssSampleGroupEntry extends SampleGroupEntry {
constructor(size: any)
parse(stream: any): void
}
export class btrtBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class bxmlBox extends FullBox {
constructor(size: any)
parse(stream: any): void
}
export class clapBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class clefBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class clliBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class co64Box extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class colrBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class cprtBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class cslgBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class cttsBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
unpack(samples: any): void
write(stream: any): void
}
export class dOpsBox extends ContainerBox {
constructor(size?: number)
parse(stream: DataStream): void
Version: number
OutputChannelCount: number
PreSkip: number
InputSampleRate: number
OutputGain: number
ChannelMappingFamily: number
// When channelMappingFamily != 0
StreamCount?: number
CoupledCount?: number
ChannelMapping?: number[]
}
export class dac3Box extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dec3Box extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dfLaBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dimmBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dinfBox extends ContainerBox {
constructor(size: any)
}
export class dmaxBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dmedBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class drefBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class drepBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class dtrtSampleGroupEntry extends SampleGroupEntry {
constructor(size: any)
parse(stream: any): void
}
export class edtsBox extends ContainerBox {
constructor(size: any)
}
export class elngBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class elstBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class emsgBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class encaSampleEntry extends SampleEntry {
constructor(size: any)
}
export class encmSampleEntry extends SampleEntry {
constructor(size: any)
}
export class encsSampleEntry extends SampleEntry {
constructor(size: any)
}
export class enctSampleEntry extends SampleEntry {
constructor(size: any)
}
export class encuSampleEntry extends SampleEntry {
constructor(size: any)
}
export class encvSampleEntry extends SampleEntry {
constructor(size: any)
}
export class enofBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class esdsBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class fielBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class freeBox extends Box {
constructor(size: any)
}
export class frmaBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class ftypBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class hdlrBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class hev1SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class hinfBox extends ContainerBox {
constructor(size: any)
}
export class hmhdBox extends FullBox {
constructor(size: any)
parse(stream: any): void
}
export class hntiBox extends ContainerBox {
constructor(size: any)
}
export class hvc1SampleEntry extends SampleEntry {
constructor(size: any)
getCodec(): any
}
export class hvcCBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class idatBox extends Box {
constructor(size: any)
}
export class iinfBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class ilocBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class imirBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class infeBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class iodsBox extends FullBox {
constructor(size: any)
parse(stream: any): void
}
export class ipcoBox extends ContainerBox {
constructor(size: any)
}
export class ipmaBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class iproBox extends FullBox {
constructor(size: any)
parse(stream: any): void
}
export class iprpBox extends ContainerBox {
constructor(size: any)
ipmas: ipmaBox[]
}
export class irefBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class irotBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class ispeBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class kindBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class levaBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class lselBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class maxrBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class mdatBox extends Box {
constructor(size: any)
}
export class mdcvBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class mdhdBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class mdiaBox extends ContainerBox {
constructor(size: any)
}
export class mecoBox extends Box {
constructor(size: any)
}
export class mehdBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
write(stream: any): void
}
export class mereBox extends FullBox {
constructor(size: any)
parse(stream: any): void
}
export class metaBox extends ContainerBox {
constructor(size: any)
parse(stream: any): void
}
export class mettSampleEntry extends SampleEntry {
constructor(size: any)
parse(stream: any): void