@remotion/media-parser 4.0.245 → 4.0.246
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/dist/boxes/avc/create-sps-pps-data.js +10 -4
- package/dist/boxes/iso-base-media/to-date.d.ts +0 -1
- package/dist/boxes/iso-base-media/to-date.js +1 -9
- package/dist/boxes/transport-stream/parse-stream-packet.js +4 -4
- package/dist/boxes/webm/color.d.ts +0 -1
- package/dist/boxes/webm/color.js +1 -83
- package/dist/boxes/webm/parse-ebml.js +8 -10
- package/dist/boxes/webm/segments/all-segments.d.ts +8 -21
- package/dist/boxes/webm/segments/all-segments.js +7 -19
- package/dist/combine-uint8-arrays.d.ts +1 -0
- package/dist/combine-uint8-arrays.js +23 -0
- package/dist/esm/index.mjs +6683 -8998
- package/dist/file-types/detect-file-type.js +2 -2
- package/dist/index.d.ts +787 -27
- package/dist/index.js +19 -13
- package/dist/parse-media.js +0 -3
- package/dist/state/parser-state.d.ts +1 -3
- package/dist/state/parser-state.js +1 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -15
- package/buffer.js +0 -2
- package/dist/boxes/webm/ebml.d.ts +0 -2
- package/dist/boxes/webm/ebml.js +0 -94
- package/dist/boxes/webm/make-header.d.ts +0 -8
- package/dist/boxes/webm/make-header.js +0 -187
- package/dist/create/event-emitter.d.ts +0 -31
- package/dist/create/event-emitter.js +0 -25
- package/dist/create/iso-base-media/codec-specific/avc1.d.ts +0 -2
- package/dist/create/iso-base-media/codec-specific/avc1.js +0 -48
- package/dist/create/iso-base-media/codec-specific/create-codec-specific-data.d.ts +0 -22
- package/dist/create/iso-base-media/codec-specific/create-codec-specific-data.js +0 -36
- package/dist/create/iso-base-media/codec-specific/mp4a.d.ts +0 -2
- package/dist/create/iso-base-media/codec-specific/mp4a.js +0 -74
- package/dist/create/iso-base-media/create-colr.d.ts +0 -6
- package/dist/create/iso-base-media/create-colr.js +0 -26
- package/dist/create/iso-base-media/create-ftyp.d.ts +0 -10
- package/dist/create/iso-base-media/create-ftyp.js +0 -22
- package/dist/create/iso-base-media/create-ilst.d.ts +0 -1
- package/dist/create/iso-base-media/create-ilst.js +0 -14
- package/dist/create/iso-base-media/create-iso-base-media.d.ts +0 -2
- package/dist/create/iso-base-media/create-iso-base-media.js +0 -184
- package/dist/create/iso-base-media/create-mdia.d.ts +0 -5
- package/dist/create/iso-base-media/create-mdia.js +0 -18
- package/dist/create/iso-base-media/create-moov.d.ts +0 -5
- package/dist/create/iso-base-media/create-moov.js +0 -18
- package/dist/create/iso-base-media/create-mvhd.d.ts +0 -10
- package/dist/create/iso-base-media/create-mvhd.js +0 -48
- package/dist/create/iso-base-media/create-trak.d.ts +0 -4
- package/dist/create/iso-base-media/create-trak.js +0 -17
- package/dist/create/iso-base-media/create-udta.d.ts +0 -1
- package/dist/create/iso-base-media/create-udta.js +0 -14
- package/dist/create/iso-base-media/create-url.d.ts +0 -1
- package/dist/create/iso-base-media/create-url.js +0 -16
- package/dist/create/iso-base-media/example-stts.d.ts +0 -3
- package/dist/create/iso-base-media/example-stts.js +0 -2797
- package/dist/create/iso-base-media/ilst/create-cmt.d.ts +0 -1
- package/dist/create/iso-base-media/ilst/create-cmt.js +0 -26
- package/dist/create/iso-base-media/ilst/create-too.d.ts +0 -1
- package/dist/create/iso-base-media/ilst/create-too.js +0 -27
- package/dist/create/iso-base-media/mdia/create-mdhd.d.ts +0 -6
- package/dist/create/iso-base-media/mdia/create-mdhd.js +0 -33
- package/dist/create/iso-base-media/mp4-header.d.ts +0 -6
- package/dist/create/iso-base-media/mp4-header.js +0 -48
- package/dist/create/iso-base-media/primitives.d.ts +0 -15
- package/dist/create/iso-base-media/primitives.js +0 -133
- package/dist/create/iso-base-media/serialize-track.d.ts +0 -9
- package/dist/create/iso-base-media/serialize-track.js +0 -63
- package/dist/create/iso-base-media/trak/create-tkhd.d.ts +0 -27
- package/dist/create/iso-base-media/trak/create-tkhd.js +0 -97
- package/dist/create/iso-base-media/trak/mdia/create-minf.d.ts +0 -4
- package/dist/create/iso-base-media/trak/mdia/create-minf.js +0 -19
- package/dist/create/iso-base-media/trak/mdia/minf/create-dinf.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/create-dinf.js +0 -22
- package/dist/create/iso-base-media/trak/mdia/minf/create-smhd.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/create-smhd.js +0 -20
- package/dist/create/iso-base-media/trak/mdia/minf/create-stbl.d.ts +0 -6
- package/dist/create/iso-base-media/trak/mdia/minf/create-stbl.js +0 -41
- package/dist/create/iso-base-media/trak/mdia/minf/create-vmhd.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/create-vmhd.js +0 -20
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-ctts.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-ctts.js +0 -45
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stco.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stco.js +0 -28
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsc.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsc.js +0 -56
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stss.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stss.js +0 -23
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsz.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsz.js +0 -25
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stts.d.ts +0 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stts.js +0 -51
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avc1.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avc1.js +0 -20
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avcc.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avcc.js +0 -16
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-pasp.d.ts +0 -1
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-pasp.js +0 -13
- package/dist/create/iso-base-media/udta/create-meta.d.ts +0 -4
- package/dist/create/iso-base-media/udta/create-meta.js +0 -20
- package/dist/create/iso-base-media/udta/meta/create-hdlr.d.ts +0 -1
- package/dist/create/iso-base-media/udta/meta/create-hdlr.js +0 -32
- package/dist/create/make-track-info.d.ts +0 -20
- package/dist/create/make-track-info.js +0 -2
- package/dist/create/matroska/cluster-segment.d.ts +0 -10
- package/dist/create/matroska/cluster-segment.js +0 -39
- package/dist/create/matroska/cluster.d.ts +0 -25
- package/dist/create/matroska/cluster.js +0 -77
- package/dist/create/matroska/create-matroska-media.d.ts +0 -2
- package/dist/create/matroska/create-matroska-media.js +0 -189
- package/dist/create/matroska/make-duration-with-padding.d.ts +0 -1
- package/dist/create/matroska/make-duration-with-padding.js +0 -15
- package/dist/create/matroska/matroska-cues.d.ts +0 -6
- package/dist/create/matroska/matroska-cues.js +0 -49
- package/dist/create/matroska/matroska-header.d.ts +0 -1
- package/dist/create/matroska/matroska-header.js +0 -66
- package/dist/create/matroska/matroska-info.d.ts +0 -3
- package/dist/create/matroska/matroska-info.js +0 -33
- package/dist/create/matroska/matroska-seek.d.ts +0 -6
- package/dist/create/matroska/matroska-seek.js +0 -32
- package/dist/create/matroska/matroska-segment.d.ts +0 -3
- package/dist/create/matroska/matroska-segment.js +0 -13
- package/dist/create/matroska/matroska-trackentry.d.ts +0 -10
- package/dist/create/matroska/matroska-trackentry.js +0 -249
- package/dist/create/media-fn.d.ts +0 -32
- package/dist/create/media-fn.js +0 -2
- package/dist/create/progress-tracker.d.ts +0 -9
- package/dist/create/progress-tracker.js +0 -67
- package/dist/create/timescale.d.ts +0 -1
- package/dist/create/timescale.js +0 -4
- package/dist/create/wav/create-wav.d.ts +0 -2
- package/dist/create/wav/create-wav.js +0 -110
- package/dist/create/with-resolvers.d.ts +0 -10
- package/dist/create/with-resolvers.js +0 -28
- package/dist/esm/buffer.mjs +0 -56
- package/dist/esm/web-fs.mjs +0 -74
- package/dist/writers/buffer-implementation/writer.d.ts +0 -2
- package/dist/writers/buffer-implementation/writer.js +0 -54
- package/dist/writers/buffer.d.ts +0 -2
- package/dist/writers/buffer.js +0 -7
- package/dist/writers/web-fs.d.ts +0 -3
- package/dist/writers/web-fs.js +0 -75
- package/dist/writers/writer.d.ts +0 -15
- package/dist/writers/writer.js +0 -2
- package/web-fs.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { IoEventEmitter } from './create/event-emitter';
|
|
2
|
-
import type { ProgressTracker } from './create/progress-tracker';
|
|
3
1
|
import type { LogLevel } from './log';
|
|
2
|
+
export { MatroskaSegment } from './boxes/webm/segments';
|
|
3
|
+
export { MatroskaElement } from './boxes/webm/segments/all-segments';
|
|
4
4
|
export { IsAGifError, IsAnImageError, IsAnUnsupportedAudioTypeError, IsAnUnsupportedFileTypeError, IsAPdfError, } from './errors';
|
|
5
|
+
export type { SamplePosition } from './get-sample-positions';
|
|
5
6
|
export { MetadataEntry } from './metadata/get-metadata';
|
|
6
7
|
export { MediaParserKeyframe } from './options';
|
|
7
|
-
export { WriterInterface } from './writers/writer';
|
|
8
8
|
export { AudioTrack, MediaParserAudioCodec, MediaParserVideoCodec, OtherTrack, Track, VideoTrack, VideoTrackColorParams, } from './get-tracks';
|
|
9
9
|
export type { Options, ParseMediaContainer, ParseMediaDynamicOptions, ParseMediaFields, ParseMediaOnProgress, ParseMediaOptions, ParseMediaProgress, ParseMediaResult, TracksField, } from './options';
|
|
10
10
|
export { parseMedia } from './parse-media';
|
|
11
11
|
export { AudioOrVideoSample, OnAudioSample, OnAudioTrack, OnVideoSample, OnVideoTrack, } from './webcodec-sample-types';
|
|
12
|
-
export type { MediaFn } from './create/media-fn';
|
|
13
12
|
export { Dimensions } from './get-dimensions';
|
|
14
13
|
export { MediaParserLocation } from './get-location';
|
|
15
14
|
export type { ReaderInterface } from './readers/reader';
|
|
16
15
|
export declare const MediaParserInternals: {
|
|
17
|
-
createMatroskaMedia: ({ writer, onBytesProgress, onMillisecondsProgress, filename, logLevel, progressTracker, }: import("./create/media-fn").MediaFnGeneratorInput) => Promise<import("./create/media-fn").MediaFn>;
|
|
18
|
-
createIsoBaseMedia: ({ writer, onBytesProgress, onMillisecondsProgress, logLevel, filename, progressTracker, }: import("./create/media-fn").MediaFnGeneratorInput) => Promise<import("./create/media-fn").MediaFn>;
|
|
19
|
-
createWav: ({ filename, logLevel, onBytesProgress, onMillisecondsProgress, writer, progressTracker, }: import("./create/media-fn").MediaFnGeneratorInput) => Promise<import("./create/media-fn").MediaFn>;
|
|
20
16
|
Log: {
|
|
21
17
|
trace: (logLevel: LogLevel, ...args: Parameters<typeof console.log>) => void;
|
|
22
18
|
verbose: (logLevel: LogLevel, ...args: Parameters<typeof console.log>) => void;
|
|
@@ -24,30 +20,794 @@ export declare const MediaParserInternals: {
|
|
|
24
20
|
warn: (logLevel: LogLevel, ...args: Parameters<typeof console.log>) => void;
|
|
25
21
|
error: (...args: Parameters<typeof console.log>) => void;
|
|
26
22
|
};
|
|
27
|
-
IoEventEmitter: typeof IoEventEmitter;
|
|
28
|
-
makeProgressTracker: () => {
|
|
29
|
-
registerTrack: (trackNumber: number) => void;
|
|
30
|
-
getSmallestProgress: () => number;
|
|
31
|
-
updateTrackProgress: (trackNumber: number, progress: number) => void;
|
|
32
|
-
waitForProgress: () => Promise<void>;
|
|
33
|
-
getStartingTimestamp: () => number;
|
|
34
|
-
setPossibleLowestTimestamp: (timestamp: number) => void;
|
|
35
|
-
};
|
|
36
|
-
withResolvers: <T>() => {
|
|
37
|
-
promise: Promise<T>;
|
|
38
|
-
resolve: (value: T | PromiseLike<T>) => void;
|
|
39
|
-
reject: (reason?: any) => void;
|
|
40
|
-
};
|
|
41
|
-
withResolversAndWaitForReturn: <T>() => {
|
|
42
|
-
getPromiseToImmediatelyReturn: () => Promise<T>;
|
|
43
|
-
reject: (reason: unknown) => void;
|
|
44
|
-
resolve: (value: T | PromiseLike<T>) => void;
|
|
45
|
-
};
|
|
46
23
|
createAacCodecPrivate: ({ audioObjectType, sampleRate, channelConfiguration, }: {
|
|
47
24
|
audioObjectType: number;
|
|
48
25
|
sampleRate: number;
|
|
49
26
|
channelConfiguration: number;
|
|
50
27
|
}) => Uint8Array;
|
|
28
|
+
matroskaElements: {
|
|
29
|
+
readonly Header: "0x1a45dfa3";
|
|
30
|
+
readonly EBMLMaxIDLength: "0x42f2";
|
|
31
|
+
readonly EBMLVersion: "0x4286";
|
|
32
|
+
readonly EBMLReadVersion: "0x42f7";
|
|
33
|
+
readonly EBMLMaxSizeLength: "0x42f3";
|
|
34
|
+
readonly DocType: "0x4282";
|
|
35
|
+
readonly DocTypeVersion: "0x4287";
|
|
36
|
+
readonly DocTypeReadVersion: "0x4285";
|
|
37
|
+
readonly Segment: "0x18538067";
|
|
38
|
+
readonly SeekHead: "0x114d9b74";
|
|
39
|
+
readonly Seek: "0x4dbb";
|
|
40
|
+
readonly SeekID: "0x53ab";
|
|
41
|
+
readonly SeekPosition: "0x53ac";
|
|
42
|
+
readonly Info: "0x1549a966";
|
|
43
|
+
readonly SegmentUUID: "0x73a4";
|
|
44
|
+
readonly SegmentFilename: "0x7384";
|
|
45
|
+
readonly PrevUUID: "0x3cb923";
|
|
46
|
+
readonly PrevFilename: "0x3c83ab";
|
|
47
|
+
readonly NextUUID: "0x3eb923";
|
|
48
|
+
readonly NextFilename: "0x3e83bb";
|
|
49
|
+
readonly SegmentFamily: "0x4444";
|
|
50
|
+
readonly ChapterTranslate: "0x6924";
|
|
51
|
+
readonly ChapterTranslateID: "0x69a5";
|
|
52
|
+
readonly ChapterTranslateCodec: "0x69bf";
|
|
53
|
+
readonly ChapterTranslateEditionUID: "0x69fc";
|
|
54
|
+
readonly TimestampScale: "0x2ad7b1";
|
|
55
|
+
readonly Duration: "0x4489";
|
|
56
|
+
readonly DateUTC: "0x4461";
|
|
57
|
+
readonly Title: "0x7ba9";
|
|
58
|
+
readonly MuxingApp: "0x4d80";
|
|
59
|
+
readonly WritingApp: "0x5741";
|
|
60
|
+
readonly Cluster: "0x1f43b675";
|
|
61
|
+
readonly Timestamp: "0xe7";
|
|
62
|
+
readonly SilentTracks: "0x5854";
|
|
63
|
+
readonly SilentTrackNumber: "0x58d7";
|
|
64
|
+
readonly Position: "0xa7";
|
|
65
|
+
readonly PrevSize: "0xab";
|
|
66
|
+
readonly SimpleBlock: "0xa3";
|
|
67
|
+
readonly BlockGroup: "0xa0";
|
|
68
|
+
readonly Block: "0xa1";
|
|
69
|
+
readonly BlockVirtual: "0xa2";
|
|
70
|
+
readonly BlockAdditions: "0x75a1";
|
|
71
|
+
readonly BlockMore: "0xa6";
|
|
72
|
+
readonly BlockAdditional: "0xa5";
|
|
73
|
+
readonly BlockAddID: "0xee";
|
|
74
|
+
readonly BlockDuration: "0x9b";
|
|
75
|
+
readonly ReferencePriority: "0xfa";
|
|
76
|
+
readonly ReferenceBlock: "0xfb";
|
|
77
|
+
readonly ReferenceVirtual: "0xfd";
|
|
78
|
+
readonly CodecState: "0xa4";
|
|
79
|
+
readonly DiscardPadding: "0x75a2";
|
|
80
|
+
readonly Slices: "0x8e";
|
|
81
|
+
readonly TimeSlice: "0xe8";
|
|
82
|
+
readonly LaceNumber: "0xcc";
|
|
83
|
+
readonly FrameNumber: "0xcd";
|
|
84
|
+
readonly BlockAdditionID: "0xcb";
|
|
85
|
+
readonly Delay: "0xce";
|
|
86
|
+
readonly SliceDuration: "0xcf";
|
|
87
|
+
readonly ReferenceFrame: "0xc8";
|
|
88
|
+
readonly ReferenceOffset: "0xc9";
|
|
89
|
+
readonly ReferenceTimestamp: "0xca";
|
|
90
|
+
readonly EncryptedBlock: "0xaf";
|
|
91
|
+
readonly Tracks: "0x1654ae6b";
|
|
92
|
+
readonly TrackEntry: "0xae";
|
|
93
|
+
readonly TrackNumber: "0xd7";
|
|
94
|
+
readonly TrackUID: "0x73c5";
|
|
95
|
+
readonly TrackType: "0x83";
|
|
96
|
+
readonly FlagEnabled: "0xb9";
|
|
97
|
+
readonly FlagDefault: "0x88";
|
|
98
|
+
readonly FlagForced: "0x55aa";
|
|
99
|
+
readonly FlagHearingImpaired: "0x55ab";
|
|
100
|
+
readonly FlagVisualImpaired: "0x55ac";
|
|
101
|
+
readonly FlagTextDescriptions: "0x55ad";
|
|
102
|
+
readonly FlagOriginal: "0x55ae";
|
|
103
|
+
readonly FlagCommentary: "0x55af";
|
|
104
|
+
readonly FlagLacing: "0x9c";
|
|
105
|
+
readonly MinCache: "0x6de7";
|
|
106
|
+
readonly MaxCache: "0x6df8";
|
|
107
|
+
readonly DefaultDuration: "0x23e383";
|
|
108
|
+
readonly DefaultDecodedFieldDuration: "0x234e7a";
|
|
109
|
+
readonly TrackTimestampScale: "0x23314f";
|
|
110
|
+
readonly TrackOffset: "0x537f";
|
|
111
|
+
readonly MaxBlockAdditionID: "0x55ee";
|
|
112
|
+
readonly BlockAdditionMapping: "0x41e4";
|
|
113
|
+
readonly BlockAddIDValue: "0x41f0";
|
|
114
|
+
readonly BlockAddIDName: "0x41a4";
|
|
115
|
+
readonly BlockAddIDType: "0x41e7";
|
|
116
|
+
readonly BlockAddIDExtraData: "0x41ed";
|
|
117
|
+
readonly Name: "0x536e";
|
|
118
|
+
readonly Language: "0x22b59c";
|
|
119
|
+
readonly LanguageBCP47: "0x22b59d";
|
|
120
|
+
readonly CodecID: "0x86";
|
|
121
|
+
readonly CodecPrivate: "0x63a2";
|
|
122
|
+
readonly CodecName: "0x258688";
|
|
123
|
+
readonly AttachmentLink: "0x7446";
|
|
124
|
+
readonly CodecSettings: "0x3a9697";
|
|
125
|
+
readonly CodecInfoURL: "0x3b4040";
|
|
126
|
+
readonly CodecDownloadURL: "0x26b240";
|
|
127
|
+
readonly CodecDecodeAll: "0xaa";
|
|
128
|
+
readonly TrackOverlay: "0x6fab";
|
|
129
|
+
readonly CodecDelay: "0x56aa";
|
|
130
|
+
readonly SeekPreRoll: "0x56bb";
|
|
131
|
+
readonly TrackTranslate: "0x6624";
|
|
132
|
+
readonly TrackTranslateTrackID: "0x66a5";
|
|
133
|
+
readonly TrackTranslateCodec: "0x66bf";
|
|
134
|
+
readonly TrackTranslateEditionUID: "0x66fc";
|
|
135
|
+
readonly Video: "0xe0";
|
|
136
|
+
readonly FlagInterlaced: "0x9a";
|
|
137
|
+
readonly FieldOrder: "0x9d";
|
|
138
|
+
readonly StereoMode: "0x53b8";
|
|
139
|
+
readonly AlphaMode: "0x53c0";
|
|
140
|
+
readonly OldStereoMode: "0x53b9";
|
|
141
|
+
readonly PixelWidth: "0xb0";
|
|
142
|
+
readonly PixelHeight: "0xba";
|
|
143
|
+
readonly PixelCropBottom: "0x54aa";
|
|
144
|
+
readonly PixelCropTop: "0x54bb";
|
|
145
|
+
readonly PixelCropLeft: "0x54cc";
|
|
146
|
+
readonly PixelCropRight: "0x54dd";
|
|
147
|
+
readonly DisplayWidth: "0x54b0";
|
|
148
|
+
readonly DisplayHeight: "0x54ba";
|
|
149
|
+
readonly DisplayUnit: "0x54b2";
|
|
150
|
+
readonly AspectRatioType: "0x54b3";
|
|
151
|
+
readonly UncompressedFourCC: "0x2eb524";
|
|
152
|
+
readonly GammaValue: "0x2fb523";
|
|
153
|
+
readonly FrameRate: "0x2383e3";
|
|
154
|
+
readonly Colour: "0x55b0";
|
|
155
|
+
readonly MatrixCoefficients: "0x55b1";
|
|
156
|
+
readonly BitsPerChannel: "0x55b2";
|
|
157
|
+
readonly ChromaSubsamplingHorz: "0x55b3";
|
|
158
|
+
readonly ChromaSubsamplingVert: "0x55b4";
|
|
159
|
+
readonly CbSubsamplingHorz: "0x55b5";
|
|
160
|
+
readonly CbSubsamplingVert: "0x55b6";
|
|
161
|
+
readonly ChromaSitingHorz: "0x55b7";
|
|
162
|
+
readonly ChromaSitingVert: "0x55b8";
|
|
163
|
+
readonly Range: "0x55b9";
|
|
164
|
+
readonly TransferCharacteristics: "0x55ba";
|
|
165
|
+
readonly Primaries: "0x55bb";
|
|
166
|
+
readonly MaxCLL: "0x55bc";
|
|
167
|
+
readonly MaxFALL: "0x55bd";
|
|
168
|
+
readonly MasteringMetadata: "0x55d0";
|
|
169
|
+
readonly PrimaryRChromaticityX: "0x55d1";
|
|
170
|
+
readonly PrimaryRChromaticityY: "0x55d2";
|
|
171
|
+
readonly PrimaryGChromaticityX: "0x55d3";
|
|
172
|
+
readonly PrimaryGChromaticityY: "0x55d4";
|
|
173
|
+
readonly PrimaryBChromaticityX: "0x55d5";
|
|
174
|
+
readonly PrimaryBChromaticityY: "0x55d6";
|
|
175
|
+
readonly WhitePointChromaticityX: "0x55d7";
|
|
176
|
+
readonly WhitePointChromaticityY: "0x55d8";
|
|
177
|
+
readonly LuminanceMax: "0x55d9";
|
|
178
|
+
readonly LuminanceMin: "0x55da";
|
|
179
|
+
readonly Projection: "0x7670";
|
|
180
|
+
readonly ProjectionType: "0x7671";
|
|
181
|
+
readonly ProjectionPrivate: "0x7672";
|
|
182
|
+
readonly ProjectionPoseYaw: "0x7673";
|
|
183
|
+
readonly ProjectionPosePitch: "0x7674";
|
|
184
|
+
readonly ProjectionPoseRoll: "0x7675";
|
|
185
|
+
readonly Audio: "0xe1";
|
|
186
|
+
readonly SamplingFrequency: "0xb5";
|
|
187
|
+
readonly OutputSamplingFrequency: "0x78b5";
|
|
188
|
+
readonly Channels: "0x9f";
|
|
189
|
+
readonly ChannelPositions: "0x7d7b";
|
|
190
|
+
readonly BitDepth: "0x6264";
|
|
191
|
+
readonly Emphasis: "0x52f1";
|
|
192
|
+
readonly TrackOperation: "0xe2";
|
|
193
|
+
readonly TrackCombinePlanes: "0xe3";
|
|
194
|
+
readonly TrackPlane: "0xe4";
|
|
195
|
+
readonly TrackPlaneUID: "0xe5";
|
|
196
|
+
readonly TrackPlaneType: "0xe6";
|
|
197
|
+
readonly TrackJoinBlocks: "0xe9";
|
|
198
|
+
readonly TrackJoinUID: "0xed";
|
|
199
|
+
readonly TrickTrackUID: "0xc0";
|
|
200
|
+
readonly TrickTrackSegmentUID: "0xc1";
|
|
201
|
+
readonly TrickTrackFlag: "0xc6";
|
|
202
|
+
readonly TrickMasterTrackUID: "0xc7";
|
|
203
|
+
readonly TrickMasterTrackSegmentUID: "0xc4";
|
|
204
|
+
readonly ContentEncodings: "0x6d80";
|
|
205
|
+
readonly ContentEncoding: "0x6240";
|
|
206
|
+
readonly ContentEncodingOrder: "0x5031";
|
|
207
|
+
readonly ContentEncodingScope: "0x5032";
|
|
208
|
+
readonly ContentEncodingType: "0x5033";
|
|
209
|
+
readonly ContentCompression: "0x5034";
|
|
210
|
+
readonly ContentCompAlgo: "0x4254";
|
|
211
|
+
readonly ContentCompSettings: "0x4255";
|
|
212
|
+
readonly ContentEncryption: "0x5035";
|
|
213
|
+
readonly ContentEncAlgo: "0x47e1";
|
|
214
|
+
readonly ContentEncKeyID: "0x47e2";
|
|
215
|
+
readonly ContentEncAESSettings: "0x47e7";
|
|
216
|
+
readonly AESSettingsCipherMode: "0x47e8";
|
|
217
|
+
readonly ContentSignature: "0x47e3";
|
|
218
|
+
readonly ContentSigKeyID: "0x47e4";
|
|
219
|
+
readonly ContentSigAlgo: "0x47e5";
|
|
220
|
+
readonly ContentSigHashAlgo: "0x47e6";
|
|
221
|
+
readonly Cues: "0x1c53bb6b";
|
|
222
|
+
readonly CuePoint: "0xbb";
|
|
223
|
+
readonly CueTime: "0xb3";
|
|
224
|
+
readonly CueTrackPositions: "0xb7";
|
|
225
|
+
readonly CueTrack: "0xf7";
|
|
226
|
+
readonly CueClusterPosition: "0xf1";
|
|
227
|
+
readonly CueRelativePosition: "0xf0";
|
|
228
|
+
readonly CueDuration: "0xb2";
|
|
229
|
+
readonly CueBlockNumber: "0x5378";
|
|
230
|
+
readonly CueCodecState: "0xea";
|
|
231
|
+
readonly CueReference: "0xdb";
|
|
232
|
+
readonly CueRefTime: "0x96";
|
|
233
|
+
readonly CueRefCluster: "0x97";
|
|
234
|
+
readonly CueRefNumber: "0x535f";
|
|
235
|
+
readonly CueRefCodecState: "0xeb";
|
|
236
|
+
readonly Attachments: "0x1941a469";
|
|
237
|
+
readonly AttachedFile: "0x61a7";
|
|
238
|
+
readonly FileDescription: "0x467e";
|
|
239
|
+
readonly FileName: "0x466e";
|
|
240
|
+
readonly FileMediaType: "0x4660";
|
|
241
|
+
readonly FileData: "0x465c";
|
|
242
|
+
readonly FileUID: "0x46ae";
|
|
243
|
+
readonly FileReferral: "0x4675";
|
|
244
|
+
readonly FileUsedStartTime: "0x4661";
|
|
245
|
+
readonly FileUsedEndTime: "0x4662";
|
|
246
|
+
readonly Chapters: "0x1043a770";
|
|
247
|
+
readonly EditionEntry: "0x45b9";
|
|
248
|
+
readonly EditionUID: "0x45bc";
|
|
249
|
+
readonly EditionFlagHidden: "0x45bd";
|
|
250
|
+
readonly EditionFlagDefault: "0x45db";
|
|
251
|
+
readonly EditionFlagOrdered: "0x45dd";
|
|
252
|
+
readonly EditionDisplay: "0x4520";
|
|
253
|
+
readonly EditionString: "0x4521";
|
|
254
|
+
readonly EditionLanguageIETF: "0x45e4";
|
|
255
|
+
readonly ChapterAtom: "0xb6";
|
|
256
|
+
readonly ChapterUID: "0x73c4";
|
|
257
|
+
readonly ChapterStringUID: "0x5654";
|
|
258
|
+
readonly ChapterTimeStart: "0x91";
|
|
259
|
+
readonly ChapterTimeEnd: "0x92";
|
|
260
|
+
readonly ChapterFlagHidden: "0x98";
|
|
261
|
+
readonly ChapterFlagEnabled: "0x4598";
|
|
262
|
+
readonly ChapterSegmentUUID: "0x6e67";
|
|
263
|
+
readonly ChapterSkipType: "0x4588";
|
|
264
|
+
readonly ChapterSegmentEditionUID: "0x6ebc";
|
|
265
|
+
readonly ChapterPhysicalEquiv: "0x63c3";
|
|
266
|
+
readonly ChapterTrack: "0x8f";
|
|
267
|
+
readonly ChapterTrackUID: "0x89";
|
|
268
|
+
readonly ChapterDisplay: "0x80";
|
|
269
|
+
readonly ChapString: "0x85";
|
|
270
|
+
readonly ChapLanguage: "0x437c";
|
|
271
|
+
readonly ChapLanguageBCP47: "0x437d";
|
|
272
|
+
readonly ChapCountry: "0x437e";
|
|
273
|
+
readonly ChapProcess: "0x6944";
|
|
274
|
+
readonly ChapProcessCodecID: "0x6955";
|
|
275
|
+
readonly ChapProcessPrivate: "0x450d";
|
|
276
|
+
readonly ChapProcessCommand: "0x6911";
|
|
277
|
+
readonly ChapProcessTime: "0x6922";
|
|
278
|
+
readonly ChapProcessData: "0x6933";
|
|
279
|
+
readonly Tags: "0x1254c367";
|
|
280
|
+
readonly Tag: "0x7373";
|
|
281
|
+
readonly Targets: "0x63c0";
|
|
282
|
+
readonly TargetTypeValue: "0x68ca";
|
|
283
|
+
readonly TargetType: "0x63ca";
|
|
284
|
+
readonly TagTrackUID: "0x63c5";
|
|
285
|
+
readonly TagEditionUID: "0x63c9";
|
|
286
|
+
readonly TagChapterUID: "0x63c4";
|
|
287
|
+
readonly TagAttachmentUID: "0x63c6";
|
|
288
|
+
readonly SimpleTag: "0x67c8";
|
|
289
|
+
readonly TagName: "0x45a3";
|
|
290
|
+
readonly TagLanguage: "0x447a";
|
|
291
|
+
readonly TagLanguageBCP47: "0x447b";
|
|
292
|
+
readonly TagDefault: "0x4484";
|
|
293
|
+
readonly TagDefaultBogus: "0x44b4";
|
|
294
|
+
readonly TagString: "0x4487";
|
|
295
|
+
readonly TagBinary: "0x4485";
|
|
296
|
+
readonly Void: "0xec";
|
|
297
|
+
readonly Crc32: "0xbf";
|
|
298
|
+
};
|
|
299
|
+
ebmlMap: {
|
|
300
|
+
readonly "0x1a45dfa3": {
|
|
301
|
+
readonly name: "Header";
|
|
302
|
+
readonly type: "children";
|
|
303
|
+
};
|
|
304
|
+
readonly "0x4282": {
|
|
305
|
+
name: "DocType";
|
|
306
|
+
type: "string";
|
|
307
|
+
};
|
|
308
|
+
readonly "0x63c0": {
|
|
309
|
+
readonly name: "Targets";
|
|
310
|
+
readonly type: "children";
|
|
311
|
+
};
|
|
312
|
+
readonly "0x67c8": {
|
|
313
|
+
readonly name: "SimpleTag";
|
|
314
|
+
readonly type: "children";
|
|
315
|
+
};
|
|
316
|
+
readonly "0x45a3": {
|
|
317
|
+
readonly name: "TagName";
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
};
|
|
320
|
+
readonly "0x4487": {
|
|
321
|
+
readonly name: "TagString";
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
};
|
|
324
|
+
readonly "0x4287": {
|
|
325
|
+
name: "DocTypeVersion";
|
|
326
|
+
type: "uint";
|
|
327
|
+
};
|
|
328
|
+
readonly "0x4285": {
|
|
329
|
+
name: "DocTypeReadVersion";
|
|
330
|
+
type: "uint";
|
|
331
|
+
};
|
|
332
|
+
readonly "0x4286": {
|
|
333
|
+
name: "EBMLVersion";
|
|
334
|
+
type: "uint";
|
|
335
|
+
};
|
|
336
|
+
readonly "0x42f7": {
|
|
337
|
+
name: "EBMLReadVersion";
|
|
338
|
+
type: "uint";
|
|
339
|
+
};
|
|
340
|
+
readonly "0x42f2": {
|
|
341
|
+
readonly name: "EBMLMaxIDLength";
|
|
342
|
+
readonly type: "uint";
|
|
343
|
+
};
|
|
344
|
+
readonly "0x42f3": {
|
|
345
|
+
name: "EBMLMaxSizeLength";
|
|
346
|
+
type: "uint";
|
|
347
|
+
};
|
|
348
|
+
readonly "0xec": {
|
|
349
|
+
name: "Void";
|
|
350
|
+
type: "uint8array";
|
|
351
|
+
};
|
|
352
|
+
readonly "0x1c53bb6b": {
|
|
353
|
+
readonly name: "Cues";
|
|
354
|
+
readonly type: "children";
|
|
355
|
+
};
|
|
356
|
+
readonly "0xbb": {
|
|
357
|
+
readonly name: "CuePoint";
|
|
358
|
+
readonly type: "children";
|
|
359
|
+
};
|
|
360
|
+
readonly "0xb3": {
|
|
361
|
+
readonly name: "CueTime";
|
|
362
|
+
readonly type: "uint";
|
|
363
|
+
};
|
|
364
|
+
readonly "0xb7": {
|
|
365
|
+
readonly name: "CueTrackPositions";
|
|
366
|
+
readonly type: "children";
|
|
367
|
+
};
|
|
368
|
+
readonly "0xf1": {
|
|
369
|
+
readonly name: "CueClusterPosition";
|
|
370
|
+
readonly type: "uint";
|
|
371
|
+
};
|
|
372
|
+
readonly "0xf0": {
|
|
373
|
+
readonly name: "CueRelativePosition";
|
|
374
|
+
readonly type: "uint";
|
|
375
|
+
};
|
|
376
|
+
readonly "0x5378": {
|
|
377
|
+
readonly name: "CueBlockNumber";
|
|
378
|
+
readonly type: "uint";
|
|
379
|
+
};
|
|
380
|
+
readonly "0xf7": {
|
|
381
|
+
readonly name: "CueTrack";
|
|
382
|
+
readonly type: "uint";
|
|
383
|
+
};
|
|
384
|
+
readonly "0x4461": {
|
|
385
|
+
readonly name: "DateUTC";
|
|
386
|
+
readonly type: "uint8array";
|
|
387
|
+
};
|
|
388
|
+
readonly "0x23314f": {
|
|
389
|
+
readonly name: "TrackTimestampScale";
|
|
390
|
+
readonly type: "float";
|
|
391
|
+
};
|
|
392
|
+
readonly "0x56aa": {
|
|
393
|
+
readonly name: "CodecDelay";
|
|
394
|
+
readonly type: "uint8array";
|
|
395
|
+
};
|
|
396
|
+
readonly "0x56bb": {
|
|
397
|
+
readonly name: "SeekPreRoll";
|
|
398
|
+
readonly type: "uint8array";
|
|
399
|
+
};
|
|
400
|
+
readonly "0x75a2": {
|
|
401
|
+
readonly name: "DiscardPadding";
|
|
402
|
+
readonly type: "uint8array";
|
|
403
|
+
};
|
|
404
|
+
readonly "0x78b5": {
|
|
405
|
+
readonly name: "OutputSamplingFrequency";
|
|
406
|
+
readonly type: "uint8array";
|
|
407
|
+
};
|
|
408
|
+
readonly "0x258688": {
|
|
409
|
+
readonly name: "CodecName";
|
|
410
|
+
readonly type: "string";
|
|
411
|
+
};
|
|
412
|
+
readonly "0xa7": {
|
|
413
|
+
readonly name: "Position";
|
|
414
|
+
readonly type: "uint8array";
|
|
415
|
+
};
|
|
416
|
+
readonly "0xcf": {
|
|
417
|
+
readonly name: "SliceDuration";
|
|
418
|
+
readonly type: "uint8array";
|
|
419
|
+
};
|
|
420
|
+
readonly "0x63c5": {
|
|
421
|
+
readonly name: "TagTrackUID";
|
|
422
|
+
readonly type: "hex-string";
|
|
423
|
+
};
|
|
424
|
+
readonly "0x114d9b74": {
|
|
425
|
+
readonly name: "SeekHead";
|
|
426
|
+
readonly type: "children";
|
|
427
|
+
};
|
|
428
|
+
readonly "0x4dbb": {
|
|
429
|
+
readonly name: "Seek";
|
|
430
|
+
readonly type: "children";
|
|
431
|
+
};
|
|
432
|
+
readonly "0x53ab": {
|
|
433
|
+
readonly name: "SeekID";
|
|
434
|
+
readonly type: "hex-string";
|
|
435
|
+
};
|
|
436
|
+
readonly "0x536e": {
|
|
437
|
+
readonly name: "Name";
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
};
|
|
440
|
+
readonly "0x6de7": {
|
|
441
|
+
readonly name: "MinCache";
|
|
442
|
+
readonly type: "uint";
|
|
443
|
+
};
|
|
444
|
+
readonly "0x6df8": {
|
|
445
|
+
readonly name: "MaxCache";
|
|
446
|
+
readonly type: "uint";
|
|
447
|
+
};
|
|
448
|
+
readonly "0x53ac": {
|
|
449
|
+
readonly name: "SeekPosition";
|
|
450
|
+
readonly type: "uint";
|
|
451
|
+
};
|
|
452
|
+
readonly "0xbf": {
|
|
453
|
+
readonly name: "Crc32";
|
|
454
|
+
readonly type: "uint8array";
|
|
455
|
+
};
|
|
456
|
+
readonly "0x4d80": {
|
|
457
|
+
readonly name: "MuxingApp";
|
|
458
|
+
readonly type: "string";
|
|
459
|
+
};
|
|
460
|
+
readonly "0x5741": {
|
|
461
|
+
readonly name: "WritingApp";
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
};
|
|
464
|
+
readonly "0x73a4": {
|
|
465
|
+
readonly name: "SegmentUUID";
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
};
|
|
468
|
+
readonly "0x4489": {
|
|
469
|
+
readonly name: "Duration";
|
|
470
|
+
readonly type: "float";
|
|
471
|
+
};
|
|
472
|
+
readonly "0x86": {
|
|
473
|
+
readonly name: "CodecID";
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
};
|
|
476
|
+
readonly "0x83": {
|
|
477
|
+
readonly name: "TrackType";
|
|
478
|
+
readonly type: "uint";
|
|
479
|
+
};
|
|
480
|
+
readonly "0xb0": {
|
|
481
|
+
readonly name: "PixelWidth";
|
|
482
|
+
readonly type: "uint";
|
|
483
|
+
};
|
|
484
|
+
readonly "0xba": {
|
|
485
|
+
readonly name: "PixelHeight";
|
|
486
|
+
readonly type: "uint";
|
|
487
|
+
};
|
|
488
|
+
readonly "0x2ad7b1": {
|
|
489
|
+
readonly name: "TimestampScale";
|
|
490
|
+
readonly type: "uint";
|
|
491
|
+
};
|
|
492
|
+
readonly "0x1549a966": {
|
|
493
|
+
readonly name: "Info";
|
|
494
|
+
readonly type: "children";
|
|
495
|
+
};
|
|
496
|
+
readonly "0x7ba9": {
|
|
497
|
+
readonly name: "Title";
|
|
498
|
+
readonly type: "string";
|
|
499
|
+
};
|
|
500
|
+
readonly "0xb5": {
|
|
501
|
+
readonly name: "SamplingFrequency";
|
|
502
|
+
readonly type: "float";
|
|
503
|
+
};
|
|
504
|
+
readonly "0x9f": {
|
|
505
|
+
readonly name: "Channels";
|
|
506
|
+
readonly type: "uint";
|
|
507
|
+
};
|
|
508
|
+
readonly "0x53c0": {
|
|
509
|
+
readonly name: "AlphaMode";
|
|
510
|
+
readonly type: "uint";
|
|
511
|
+
};
|
|
512
|
+
readonly "0x9a": {
|
|
513
|
+
readonly name: "FlagInterlaced";
|
|
514
|
+
readonly type: "uint";
|
|
515
|
+
};
|
|
516
|
+
readonly "0x6264": {
|
|
517
|
+
readonly name: "BitDepth";
|
|
518
|
+
readonly type: "uint";
|
|
519
|
+
};
|
|
520
|
+
readonly "0x54ba": {
|
|
521
|
+
readonly name: "DisplayHeight";
|
|
522
|
+
readonly type: "uint";
|
|
523
|
+
};
|
|
524
|
+
readonly "0x54b0": {
|
|
525
|
+
readonly name: "DisplayWidth";
|
|
526
|
+
readonly type: "uint";
|
|
527
|
+
};
|
|
528
|
+
readonly "0x54b2": {
|
|
529
|
+
readonly name: "DisplayUnit";
|
|
530
|
+
readonly type: "uint";
|
|
531
|
+
};
|
|
532
|
+
readonly "0x9c": {
|
|
533
|
+
readonly name: "FlagLacing";
|
|
534
|
+
readonly type: "uint";
|
|
535
|
+
};
|
|
536
|
+
readonly "0x1254c367": {
|
|
537
|
+
readonly name: "Tags";
|
|
538
|
+
readonly type: "children";
|
|
539
|
+
};
|
|
540
|
+
readonly "0x7373": {
|
|
541
|
+
readonly name: "Tag";
|
|
542
|
+
readonly type: "children";
|
|
543
|
+
};
|
|
544
|
+
readonly "0xd7": {
|
|
545
|
+
readonly name: "TrackNumber";
|
|
546
|
+
readonly type: "uint";
|
|
547
|
+
};
|
|
548
|
+
readonly "0x73c5": {
|
|
549
|
+
readonly name: "TrackUID";
|
|
550
|
+
readonly type: "hex-string";
|
|
551
|
+
};
|
|
552
|
+
readonly "0x55b0": {
|
|
553
|
+
readonly name: "Colour";
|
|
554
|
+
readonly type: "children";
|
|
555
|
+
};
|
|
556
|
+
readonly "0x22b59c": {
|
|
557
|
+
readonly name: "Language";
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
};
|
|
560
|
+
readonly "0x23e383": {
|
|
561
|
+
readonly name: "DefaultDuration";
|
|
562
|
+
readonly type: "uint";
|
|
563
|
+
};
|
|
564
|
+
readonly "0x63a2": {
|
|
565
|
+
readonly name: "CodecPrivate";
|
|
566
|
+
readonly type: "uint8array";
|
|
567
|
+
};
|
|
568
|
+
readonly "0x9b": {
|
|
569
|
+
readonly name: "BlockDuration";
|
|
570
|
+
readonly type: "uint";
|
|
571
|
+
};
|
|
572
|
+
readonly "0x75a1": {
|
|
573
|
+
readonly name: "BlockAdditions";
|
|
574
|
+
readonly type: "uint8array";
|
|
575
|
+
};
|
|
576
|
+
readonly "0x55ee": {
|
|
577
|
+
readonly name: "MaxBlockAdditionID";
|
|
578
|
+
readonly type: "uint";
|
|
579
|
+
};
|
|
580
|
+
readonly "0xe1": {
|
|
581
|
+
readonly name: "Audio";
|
|
582
|
+
readonly type: "children";
|
|
583
|
+
};
|
|
584
|
+
readonly "0xe0": {
|
|
585
|
+
readonly name: "Video";
|
|
586
|
+
readonly type: "children";
|
|
587
|
+
};
|
|
588
|
+
readonly "0x88": {
|
|
589
|
+
readonly name: "FlagDefault";
|
|
590
|
+
readonly type: "uint";
|
|
591
|
+
};
|
|
592
|
+
readonly "0xfb": {
|
|
593
|
+
readonly name: "ReferenceBlock";
|
|
594
|
+
readonly type: "uint";
|
|
595
|
+
};
|
|
596
|
+
readonly "0xae": {
|
|
597
|
+
readonly name: "TrackEntry";
|
|
598
|
+
readonly type: "children";
|
|
599
|
+
};
|
|
600
|
+
readonly "0xe7": {
|
|
601
|
+
readonly name: "Timestamp";
|
|
602
|
+
readonly type: "uint";
|
|
603
|
+
};
|
|
604
|
+
readonly "0x1654ae6b": {
|
|
605
|
+
readonly name: "Tracks";
|
|
606
|
+
readonly type: "children";
|
|
607
|
+
};
|
|
608
|
+
readonly "0xa1": {
|
|
609
|
+
readonly name: "Block";
|
|
610
|
+
readonly type: "uint8array";
|
|
611
|
+
};
|
|
612
|
+
readonly "0xa3": {
|
|
613
|
+
readonly name: "SimpleBlock";
|
|
614
|
+
readonly type: "uint8array";
|
|
615
|
+
};
|
|
616
|
+
readonly "0xa0": {
|
|
617
|
+
readonly name: "BlockGroup";
|
|
618
|
+
readonly type: "children";
|
|
619
|
+
};
|
|
620
|
+
readonly "0x18538067": {
|
|
621
|
+
readonly name: "Segment";
|
|
622
|
+
readonly type: "children";
|
|
623
|
+
};
|
|
624
|
+
readonly "0x1f43b675": {
|
|
625
|
+
readonly name: "Cluster";
|
|
626
|
+
readonly type: "children";
|
|
627
|
+
};
|
|
628
|
+
readonly "0x55ba": {
|
|
629
|
+
readonly name: "TransferCharacteristics";
|
|
630
|
+
readonly type: "uint";
|
|
631
|
+
};
|
|
632
|
+
readonly "0x55b1": {
|
|
633
|
+
readonly name: "MatrixCoefficients";
|
|
634
|
+
readonly type: "uint";
|
|
635
|
+
};
|
|
636
|
+
readonly "0x55bb": {
|
|
637
|
+
readonly name: "Primaries";
|
|
638
|
+
readonly type: "uint";
|
|
639
|
+
};
|
|
640
|
+
readonly "0x55b9": {
|
|
641
|
+
readonly name: "Range";
|
|
642
|
+
readonly type: "uint";
|
|
643
|
+
};
|
|
644
|
+
readonly "0x55b7": {
|
|
645
|
+
readonly name: "ChromaSitingHorz";
|
|
646
|
+
readonly type: "uint";
|
|
647
|
+
};
|
|
648
|
+
readonly "0x55b8": {
|
|
649
|
+
readonly name: "ChromaSitingVert";
|
|
650
|
+
readonly type: "uint";
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
parseTkhd: ({ iterator, offset, size, }: {
|
|
654
|
+
iterator: import("./buffer-iterator").BufferIterator;
|
|
655
|
+
offset: number;
|
|
656
|
+
size: number;
|
|
657
|
+
}) => import("./boxes/iso-base-media/tkhd").TkhdBox;
|
|
658
|
+
getArrayBufferIterator: (initialData: Uint8Array, maxBytes: number | null) => {
|
|
659
|
+
startReadingBits: () => void;
|
|
660
|
+
stopReadingBits: () => void;
|
|
661
|
+
skipTo: (offset: number, reset: boolean) => void;
|
|
662
|
+
addData: (newData: Uint8Array) => void;
|
|
663
|
+
counter: import("./buffer-iterator").OffsetCounter;
|
|
664
|
+
peekB: (length: number) => void;
|
|
665
|
+
peekD: (length: number) => void;
|
|
666
|
+
getBits: (bits: number) => number;
|
|
667
|
+
byteLength: () => number;
|
|
668
|
+
bytesRemaining: () => number;
|
|
669
|
+
leb128: () => number;
|
|
670
|
+
removeBytesRead: () => void;
|
|
671
|
+
discard: (length: number) => void;
|
|
672
|
+
getEightByteNumber: (littleEndian?: boolean) => number;
|
|
673
|
+
getFourByteNumber: () => number;
|
|
674
|
+
getSlice: (amount: number) => Uint8Array;
|
|
675
|
+
getAtom: () => string;
|
|
676
|
+
detectFileType: () => import("./file-types/detect-file-type").FileType;
|
|
677
|
+
getPaddedFourByteNumber: () => number;
|
|
678
|
+
getMatroskaSegmentId: () => string | null;
|
|
679
|
+
getVint: () => number | null;
|
|
680
|
+
getUint8: () => number;
|
|
681
|
+
getEBML: () => number;
|
|
682
|
+
getInt8: () => number;
|
|
683
|
+
getUint16: () => number;
|
|
684
|
+
getUint16Le: () => number;
|
|
685
|
+
getUint24: () => number;
|
|
686
|
+
getInt24: () => number;
|
|
687
|
+
getInt16: () => number;
|
|
688
|
+
getUint32: () => number;
|
|
689
|
+
getUint64: (littleEndian?: boolean) => bigint;
|
|
690
|
+
getInt64: (littleEndian?: boolean) => bigint;
|
|
691
|
+
getFixedPointUnsigned1616Number: () => number;
|
|
692
|
+
getFixedPointSigned1616Number: () => number;
|
|
693
|
+
getFixedPointSigned230Number: () => number;
|
|
694
|
+
getPascalString: () => number[];
|
|
695
|
+
getUint(length: number): number;
|
|
696
|
+
getByteString(length: number, trimTrailingZeroes: boolean): string;
|
|
697
|
+
getFloat64: () => number;
|
|
698
|
+
readUntilNullTerminator: () => string;
|
|
699
|
+
getFloat32: () => number;
|
|
700
|
+
getUint32Le: () => number;
|
|
701
|
+
getInt32Le: () => number;
|
|
702
|
+
getInt32: () => number;
|
|
703
|
+
destroy: () => void;
|
|
704
|
+
disallowDiscard: () => void;
|
|
705
|
+
allowDiscard: () => void;
|
|
706
|
+
startBox: (size: number) => {
|
|
707
|
+
discardRest: () => void;
|
|
708
|
+
expectNoMoreBytes: () => void;
|
|
709
|
+
};
|
|
710
|
+
readExpGolomb: () => number;
|
|
711
|
+
};
|
|
712
|
+
parseStsd: ({ iterator, offset, size, state, signal, fields, }: {
|
|
713
|
+
iterator: import("./buffer-iterator").BufferIterator;
|
|
714
|
+
offset: number;
|
|
715
|
+
size: number;
|
|
716
|
+
state: import("./state/parser-state").ParserState;
|
|
717
|
+
signal: AbortSignal | null;
|
|
718
|
+
fields: import("./options").Options<import("./options").ParseMediaFields>;
|
|
719
|
+
}) => Promise<import("./boxes/iso-base-media/stsd/stsd").StsdBox>;
|
|
720
|
+
makeParserState: ({ hasAudioTrackHandlers, hasVideoTrackHandlers, signal, getIterator, fields, onAudioTrack, onVideoTrack, supportsContentRange, }: {
|
|
721
|
+
hasAudioTrackHandlers: boolean;
|
|
722
|
+
hasVideoTrackHandlers: boolean;
|
|
723
|
+
signal: AbortSignal | undefined;
|
|
724
|
+
getIterator: () => import("./buffer-iterator").BufferIterator | null;
|
|
725
|
+
fields: import("./options").Options<import("./options").ParseMediaFields>;
|
|
726
|
+
supportsContentRange: boolean;
|
|
727
|
+
onAudioTrack: import("./webcodec-sample-types").OnAudioTrack | null;
|
|
728
|
+
onVideoTrack: import("./webcodec-sample-types").OnVideoTrack | null;
|
|
729
|
+
}) => {
|
|
730
|
+
riff: {
|
|
731
|
+
getAvcProfile: () => import("./state/parser-state").SpsAndPps | null;
|
|
732
|
+
onProfile: (profile: import("./state/parser-state").SpsAndPps) => Promise<void>;
|
|
733
|
+
registerOnAvcProfileCallback: (callback: (profile: import("./state/parser-state").SpsAndPps) => Promise<void>) => void;
|
|
734
|
+
getNextTrackIndex: () => number;
|
|
735
|
+
incrementNextTrackIndex: () => void;
|
|
736
|
+
};
|
|
737
|
+
callbacks: {
|
|
738
|
+
registerVideoSampleCallback: (id: number, callback: import("./webcodec-sample-types").OnVideoSample | null) => Promise<void>;
|
|
739
|
+
onAudioSample: (trackId: number, audioSample: import("./webcodec-sample-types").AudioOrVideoSample) => Promise<void>;
|
|
740
|
+
getSamplesForTrack: (trackId: number) => number;
|
|
741
|
+
onVideoSample: (trackId: number, videoSample: import("./webcodec-sample-types").AudioOrVideoSample) => Promise<void>;
|
|
742
|
+
canSkipTracksState: {
|
|
743
|
+
canSkipTracks: () => boolean;
|
|
744
|
+
};
|
|
745
|
+
registerAudioSampleCallback: (id: number, callback: import("./webcodec-sample-types").OnAudioSample | null) => Promise<void>;
|
|
746
|
+
tracks: {
|
|
747
|
+
hasAllTracks: () => boolean;
|
|
748
|
+
setIsDone: () => void;
|
|
749
|
+
addTrack: (track: import("./get-tracks").Track) => void;
|
|
750
|
+
getTracks: () => import("./get-tracks").Track[];
|
|
751
|
+
ensureHasTracksAtEnd: () => void;
|
|
752
|
+
};
|
|
753
|
+
audioSampleCallbacks: Record<number, import("./webcodec-sample-types").OnAudioSample>;
|
|
754
|
+
videoSampleCallbacks: Record<number, import("./webcodec-sample-types").OnVideoSample>;
|
|
755
|
+
};
|
|
756
|
+
getInternalStats: () => import("./state/parser-state").InternalStats;
|
|
757
|
+
getSkipBytes: () => number;
|
|
758
|
+
increaseSkippedBytes: (bytes: number) => void;
|
|
759
|
+
keyframes: {
|
|
760
|
+
addKeyframe: (keyframe: import("./options").MediaParserKeyframe) => void;
|
|
761
|
+
getKeyframes: () => import("./options").MediaParserKeyframe[];
|
|
762
|
+
};
|
|
763
|
+
structure: {
|
|
764
|
+
getStructureOrNull: () => import("./parse-result").Structure | null;
|
|
765
|
+
getStructure: () => import("./parse-result").Structure;
|
|
766
|
+
setStructure: (value: import("./parse-result").Structure) => void;
|
|
767
|
+
};
|
|
768
|
+
onAudioTrack: import("./webcodec-sample-types").OnAudioTrack | null;
|
|
769
|
+
onVideoTrack: import("./webcodec-sample-types").OnVideoTrack | null;
|
|
770
|
+
supportsContentRange: boolean;
|
|
771
|
+
webm: {
|
|
772
|
+
onTrackEntrySegment: import("./boxes/webm/segments").OnTrackEntrySegment;
|
|
773
|
+
getTrackInfoByNumber: (id: number) => import("./boxes/webm/segments/track-entry").TrackInfo;
|
|
774
|
+
setTimestampOffset: (byteOffset: number, timestamp: number) => void;
|
|
775
|
+
getTimestampOffsetForByteOffset: (byteOffset: number) => number | undefined;
|
|
776
|
+
timescale: null;
|
|
777
|
+
getTimescale: () => number;
|
|
778
|
+
setTimescale: (newTimescale: number) => void;
|
|
779
|
+
};
|
|
780
|
+
emittedFields: import("./options").AllOptions<import("./options").ParseMediaFields>;
|
|
781
|
+
fields: Partial<import("./options").AllOptions<import("./options").ParseMediaFields>>;
|
|
782
|
+
slowDurationAndFps: {
|
|
783
|
+
addSample: (videoSample: import("./webcodec-sample-types").AudioOrVideoSample) => void;
|
|
784
|
+
getSlowDurationInSeconds: () => number;
|
|
785
|
+
getFps: () => number;
|
|
786
|
+
getSlowNumberOfFrames: () => number;
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
processSample: ({ iterator, state: options, signal, logLevel, fields, }: {
|
|
790
|
+
iterator: import("./buffer-iterator").BufferIterator;
|
|
791
|
+
state: import("./state/parser-state").ParserState;
|
|
792
|
+
signal: AbortSignal | null;
|
|
793
|
+
logLevel: LogLevel;
|
|
794
|
+
fields: import("./options").Options<import("./options").ParseMediaFields>;
|
|
795
|
+
}) => Promise<{
|
|
796
|
+
sample: import("./boxes/iso-base-media/stsd/samples").Sample | null;
|
|
797
|
+
}>;
|
|
798
|
+
parseFtyp: ({ iterator, size, offset, }: {
|
|
799
|
+
iterator: import("./buffer-iterator").BufferIterator;
|
|
800
|
+
size: number;
|
|
801
|
+
offset: number;
|
|
802
|
+
}) => import("./boxes/iso-base-media/ftyp").FtypBox;
|
|
803
|
+
parseEbml: (iterator: import("./buffer-iterator").BufferIterator, state: import("./state/parser-state").ParserState) => Promise<import("./boxes/webm/parse-ebml").Prettify<import("./boxes/webm/segments/all-segments").PossibleEbml>>;
|
|
804
|
+
parseMvhd: ({ iterator, offset, size, }: {
|
|
805
|
+
iterator: import("./buffer-iterator").BufferIterator;
|
|
806
|
+
offset: number;
|
|
807
|
+
size: number;
|
|
808
|
+
}) => import("./boxes/iso-base-media/mvhd").MvhdBox;
|
|
51
809
|
};
|
|
52
|
-
export type {
|
|
810
|
+
export type { Prettify } from './boxes/webm/parse-ebml';
|
|
811
|
+
export type { Ebml, EbmlValue, FloatWithSize, MainSegment, PossibleEbml, TrackEntry, UintWithSize, } from './boxes/webm/segments/all-segments';
|
|
812
|
+
export type { LogLevel };
|
|
53
813
|
export { VERSION } from './version';
|