@remotion/webcodecs 4.0.423 → 4.0.425
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/arraybuffer-to-uint8-array.d.ts +1 -1
- package/dist/audio-data/data-types.d.ts +1 -1
- package/dist/audio-encoder-config.d.ts +1 -2
- package/dist/auto-select-writer.d.ts +2 -2
- package/dist/can-copy-audio-track.d.ts +2 -4
- package/dist/can-copy-video-track.d.ts +2 -4
- package/dist/can-reencode-audio-track.d.ts +1 -2
- package/dist/can-reencode-video-track.d.ts +1 -2
- package/dist/convert-media.d.ts +25 -28
- package/dist/convert-to-correct-videoframe.d.ts +2 -3
- package/dist/copy-audio-track.d.ts +8 -4
- package/dist/copy-video-track.d.ts +9 -5
- package/dist/create/event-emitter.js +6 -8
- package/dist/create/iso-base-media/create-ilst.d.ts +1 -1
- package/dist/create/iso-base-media/create-mdia.d.ts +3 -3
- package/dist/create/iso-base-media/create-moov.d.ts +3 -3
- package/dist/create/iso-base-media/create-trak.d.ts +2 -2
- package/dist/create/iso-base-media/create-udta.d.ts +1 -1
- package/dist/create/iso-base-media/example-stts.d.ts +3 -3
- package/dist/create/iso-base-media/mp4-header.d.ts +1 -2
- package/dist/create/iso-base-media/primitives.d.ts +3 -3
- package/dist/create/iso-base-media/serialize-track.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/create-minf.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/create-stbl.d.ts +3 -3
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-ctts.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stco.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsc.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stss.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stsz.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/create-stts.d.ts +2 -2
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avc1.d.ts +1 -1
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-avcc.d.ts +1 -1
- package/dist/create/iso-base-media/trak/mdia/minf/stbl/stsd/create-hvcc.d.ts +1 -1
- package/dist/create/iso-base-media/udta/create-meta.d.ts +2 -2
- package/dist/create/iso-base-media/udta/meta/create-hdlr.d.ts +1 -1
- package/dist/create/matroska/cluster-segment.d.ts +1 -1
- package/dist/create/matroska/cluster.d.ts +3 -3
- package/dist/create/matroska/matroska-seek.d.ts +2 -2
- package/dist/create/matroska/matroska-utils.d.ts +7 -7
- package/dist/create/media-fn.d.ts +2 -2
- package/dist/create-audio-decoder.d.ts +3 -3
- package/dist/create-video-decoder.d.ts +5 -6
- package/dist/esm/buffer.mjs +1 -4
- package/dist/esm/index.mjs +3 -10
- package/dist/esm/web-fs.mjs +1 -3
- package/dist/generate-output-filename.d.ts +1 -2
- package/dist/get-available-audio-codecs.d.ts +2 -3
- package/dist/get-available-containers.d.ts +1 -1
- package/dist/get-available-video-codecs.d.ts +2 -3
- package/dist/get-codec-string.d.ts +1 -2
- package/dist/get-default-audio-codec.d.ts +2 -4
- package/dist/get-default-video-codec.d.ts +2 -4
- package/dist/get-partial-audio-data.d.ts +1 -1
- package/dist/get-wave-audio-decoder.d.ts +8 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -22
- package/dist/internal-extract-frames.d.ts +3 -3
- package/dist/io-manager/io-synchronizer.d.ts +1 -2
- package/dist/is-different-video-codec.d.ts +2 -4
- package/dist/log.d.ts +4 -4
- package/dist/log.js +0 -1
- package/dist/on-audio-track.d.ts +11 -9
- package/dist/on-frame.d.ts +1 -2
- package/dist/on-video-track.d.ts +12 -10
- package/dist/processing-queue.d.ts +1 -1
- package/dist/reencode-audio-track.d.ts +9 -5
- package/dist/reencode-video-track.d.ts +9 -5
- package/dist/rotate-and-resize-video-frame.d.ts +1 -1
- package/dist/undecodable-error.d.ts +2 -2
- package/dist/undecodable-error.js +2 -0
- package/dist/video-encoder-config.d.ts +1 -2
- package/dist/video-encoder.d.ts +2 -4
- package/dist/wav-audio-encoder.d.ts +7 -3
- package/dist/worker.js +1 -1
- package/dist/writers/buffer-implementation/writer.d.ts +2 -2
- package/dist/writers/buffer-implementation/writer.js +1 -1
- package/dist/writers/buffer.d.ts +2 -2
- package/dist/writers/web-fs.d.ts +2 -2
- package/dist/writers/web-fs.js +1 -1
- package/package.json +9 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const arrayBufferToUint8Array: (buffer: ArrayBuffer | null) => Uint8Array | null;
|
|
1
|
+
export declare const arrayBufferToUint8Array: (buffer: ArrayBuffer | null) => Uint8Array<ArrayBufferLike> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getDataTypeForAudioFormat: (format: AudioSampleFormat) =>
|
|
1
|
+
export declare const getDataTypeForAudioFormat: (format: AudioSampleFormat) => Float32ArrayConstructor | Int16ArrayConstructor | Int32ArrayConstructor | Uint8ArrayConstructor;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const autoSelectWriter: (writer:
|
|
1
|
+
import type { WriterInterface } from '@remotion/media-parser';
|
|
2
|
+
export declare const autoSelectWriter: (writer: WriterInterface | undefined, logLevel: "error" | "info" | "trace" | "verbose" | "warn") => Promise<WriterInterface>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { MediaParserAudioCodec, MediaParserContainer } from '@remotion/media-parser';
|
|
2
|
-
import type { ConvertMediaAudioCodec } from './get-available-audio-codecs';
|
|
3
|
-
import type { ConvertMediaContainer } from './get-available-containers';
|
|
4
2
|
export declare const canCopyAudioTrack: ({ inputCodec, outputContainer, inputContainer, outputAudioCodec, }: {
|
|
5
3
|
inputCodec: MediaParserAudioCodec;
|
|
6
|
-
outputContainer:
|
|
4
|
+
outputContainer: "mp4" | "wav" | "webm";
|
|
7
5
|
inputContainer: MediaParserContainer;
|
|
8
|
-
outputAudioCodec:
|
|
6
|
+
outputAudioCodec: "aac" | "opus" | "wav" | null;
|
|
9
7
|
}) => boolean;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { MediaParserContainer, MediaParserVideoTrack } from '@remotion/media-parser';
|
|
2
|
-
import type { ConvertMediaContainer } from './get-available-containers';
|
|
3
|
-
import type { ConvertMediaVideoCodec } from './get-available-video-codecs';
|
|
4
2
|
import type { ResizeOperation } from './resizing/mode';
|
|
5
3
|
export declare const canCopyVideoTrack: ({ outputContainer, rotationToApply, inputContainer, resizeOperation, inputTrack, outputVideoCodec, }: {
|
|
6
4
|
inputContainer: MediaParserContainer;
|
|
7
5
|
inputTrack: MediaParserVideoTrack;
|
|
8
6
|
rotationToApply: number;
|
|
9
|
-
outputContainer:
|
|
10
|
-
outputVideoCodec:
|
|
7
|
+
outputContainer: "mp4" | "wav" | "webm";
|
|
8
|
+
outputVideoCodec: "h264" | "h265" | "vp8" | "vp9" | null;
|
|
11
9
|
resizeOperation: ResizeOperation | null;
|
|
12
10
|
}) => boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { MediaParserAudioTrack } from '@remotion/media-parser';
|
|
2
|
-
import type { ConvertMediaAudioCodec } from './get-available-audio-codecs';
|
|
3
2
|
export declare const canReencodeAudioTrack: ({ track, audioCodec, bitrate, sampleRate, }: {
|
|
4
3
|
track: MediaParserAudioTrack;
|
|
5
|
-
audioCodec:
|
|
4
|
+
audioCodec: "aac" | "opus" | "wav";
|
|
6
5
|
bitrate: number;
|
|
7
6
|
sampleRate: number | null;
|
|
8
7
|
}) => Promise<boolean>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { MediaParserVideoTrack } from '@remotion/media-parser';
|
|
2
|
-
import type { ConvertMediaVideoCodec } from './get-available-video-codecs';
|
|
3
2
|
import type { ResizeOperation } from './resizing/mode';
|
|
4
3
|
export declare const canReencodeVideoTrack: ({ videoCodec, track, resizeOperation, rotate, }: {
|
|
5
|
-
videoCodec:
|
|
4
|
+
videoCodec: "h264" | "h265" | "vp8" | "vp9";
|
|
6
5
|
track: MediaParserVideoTrack;
|
|
7
6
|
resizeOperation: ResizeOperation | null;
|
|
8
7
|
rotate: number | null;
|
package/dist/convert-media.d.ts
CHANGED
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025 Remotion AG
|
|
3
3
|
* For licensing, see: https://remotion.dev/docs/webcodecs#license
|
|
4
4
|
*/
|
|
5
|
-
import type { MediaParserAudioTrack,
|
|
6
|
-
import type { ConvertMediaAudioCodec } from './get-available-audio-codecs';
|
|
7
|
-
import { type ConvertMediaContainer } from './get-available-containers';
|
|
8
|
-
import { type ConvertMediaVideoCodec } from './get-available-video-codecs';
|
|
5
|
+
import type { MediaParserAudioTrack, MediaParserVideoTrack, ParseMediaFields, WriterInterface } from '@remotion/media-parser';
|
|
9
6
|
import { type ConvertMediaOnAudioTrackHandler } from './on-audio-track-handler';
|
|
10
7
|
import { type ConvertMediaOnVideoTrackHandler } from './on-video-track-handler';
|
|
11
8
|
import type { ResizeOperation } from './resizing/mode';
|
|
@@ -34,27 +31,27 @@ export type ConvertMediaOnAudioData = (options: {
|
|
|
34
31
|
audioData: AudioData;
|
|
35
32
|
track: MediaParserAudioTrack;
|
|
36
33
|
}) => Promise<AudioData> | AudioData;
|
|
37
|
-
export declare const convertMedia: <F extends
|
|
38
|
-
src:
|
|
39
|
-
container:
|
|
40
|
-
onVideoFrame?: ConvertMediaOnVideoFrame;
|
|
41
|
-
onAudioData?: ConvertMediaOnAudioData;
|
|
42
|
-
onProgress?: ConvertMediaOnProgress;
|
|
43
|
-
videoCodec?:
|
|
44
|
-
audioCodec?:
|
|
45
|
-
controller?: WebCodecsController;
|
|
46
|
-
onAudioTrack?: ConvertMediaOnAudioTrackHandler;
|
|
47
|
-
onVideoTrack?: ConvertMediaOnVideoTrackHandler;
|
|
48
|
-
selectM3uStream?:
|
|
49
|
-
selectM3uAssociatedPlaylists?:
|
|
50
|
-
expectedDurationInSeconds?: number | null;
|
|
51
|
-
expectedFrameRate?: number | null;
|
|
52
|
-
reader?:
|
|
53
|
-
logLevel?:
|
|
54
|
-
writer?:
|
|
55
|
-
progressIntervalInMs?: number;
|
|
56
|
-
rotate?: number;
|
|
57
|
-
resize?: ResizeOperation;
|
|
58
|
-
fields?: F;
|
|
59
|
-
seekingHints?:
|
|
60
|
-
} &
|
|
34
|
+
export declare const convertMedia: <F extends Partial<import("@remotion/media-parser").AllOptions<ParseMediaFields>>>({ src, onVideoFrame, onAudioData, onProgress: onProgressDoNotCallDirectly, audioCodec, container, videoCodec, controller, onAudioTrack: userAudioResolver, onVideoTrack: userVideoResolver, reader, fields, logLevel, writer, progressIntervalInMs, rotate, resize, onAudioCodec, onContainer, onDimensions, onDurationInSeconds, onFps, onImages, onInternalStats, onIsHdr, onKeyframes, onLocation, onMetadata, onMimeType, onName, onNumberOfAudioChannels, onRotation, onSampleRate, onSize, onSlowAudioBitrate, onSlowDurationInSeconds, onSlowFps, onSlowKeyframes, onSlowNumberOfFrames, onSlowVideoBitrate, onSlowStructure, onTracks, onUnrotatedDimensions, onVideoCodec, onM3uStreams, selectM3uStream, selectM3uAssociatedPlaylists, expectedDurationInSeconds, expectedFrameRate, seekingHints, ...more }: {
|
|
35
|
+
src: import("@remotion/media-parser").ParseMediaSrc;
|
|
36
|
+
container: "mp4" | "wav" | "webm";
|
|
37
|
+
onVideoFrame?: ConvertMediaOnVideoFrame | undefined;
|
|
38
|
+
onAudioData?: ConvertMediaOnAudioData | undefined;
|
|
39
|
+
onProgress?: ConvertMediaOnProgress | undefined;
|
|
40
|
+
videoCodec?: "h264" | "h265" | "vp8" | "vp9" | undefined;
|
|
41
|
+
audioCodec?: "aac" | "opus" | "wav" | undefined;
|
|
42
|
+
controller?: WebCodecsController | undefined;
|
|
43
|
+
onAudioTrack?: ConvertMediaOnAudioTrackHandler | undefined;
|
|
44
|
+
onVideoTrack?: ConvertMediaOnVideoTrackHandler | undefined;
|
|
45
|
+
selectM3uStream?: import("@remotion/media-parser").SelectM3uStreamFn | undefined;
|
|
46
|
+
selectM3uAssociatedPlaylists?: import("@remotion/media-parser").SelectM3uAssociatedPlaylistsFn | undefined;
|
|
47
|
+
expectedDurationInSeconds?: number | null | undefined;
|
|
48
|
+
expectedFrameRate?: number | null | undefined;
|
|
49
|
+
reader?: import("@remotion/media-parser").MediaParserReaderInterface | undefined;
|
|
50
|
+
logLevel?: "error" | "info" | "trace" | "verbose" | "warn" | undefined;
|
|
51
|
+
writer?: WriterInterface | undefined;
|
|
52
|
+
progressIntervalInMs?: number | undefined;
|
|
53
|
+
rotate?: number | undefined;
|
|
54
|
+
resize?: ResizeOperation | undefined;
|
|
55
|
+
fields?: F | undefined;
|
|
56
|
+
seekingHints?: import("@remotion/media-parser").SeekingHints | null | undefined;
|
|
57
|
+
} & Partial<import("@remotion/media-parser").ParseMediaCallbacksMandatory>) => Promise<ConvertMediaResult>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { ConvertMediaVideoCodec } from './get-available-video-codecs';
|
|
2
1
|
export declare const needsToCorrectVideoFrame: ({ videoFrame, outputCodec, }: {
|
|
3
2
|
videoFrame: VideoFrame;
|
|
4
|
-
outputCodec:
|
|
3
|
+
outputCodec: "h264" | "h265" | "vp8" | "vp9";
|
|
5
4
|
}) => boolean;
|
|
6
5
|
export declare const convertToCorrectVideoFrame: ({ videoFrame, outputCodec, }: {
|
|
7
6
|
videoFrame: VideoFrame;
|
|
8
|
-
outputCodec:
|
|
7
|
+
outputCodec: "h264" | "h265" | "vp8" | "vp9";
|
|
9
8
|
}) => VideoFrame;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import type { MediaParserAudioTrack,
|
|
1
|
+
import type { MediaParserAudioTrack, MediaParserOnAudioSample } from '@remotion/media-parser';
|
|
2
2
|
import type { MediaFn } from './create/media-fn';
|
|
3
|
-
import type { ProgressTracker } from './create/progress-tracker';
|
|
4
3
|
import type { ConvertMediaProgressFn } from './throttled-state-update';
|
|
5
4
|
export declare const copyAudioTrack: ({ state, track, logLevel, onMediaStateUpdate, progressTracker, }: {
|
|
6
5
|
state: MediaFn;
|
|
7
6
|
track: MediaParserAudioTrack;
|
|
8
|
-
logLevel:
|
|
7
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
9
8
|
onMediaStateUpdate: ConvertMediaProgressFn | null;
|
|
10
|
-
progressTracker:
|
|
9
|
+
progressTracker: {
|
|
10
|
+
registerTrack: (trackNumber: number) => void;
|
|
11
|
+
getSmallestProgress: () => number;
|
|
12
|
+
updateTrackProgress: (trackNumber: number, progress: number) => void;
|
|
13
|
+
setPossibleLowestTimestamp: (timestamp: number) => void;
|
|
14
|
+
};
|
|
11
15
|
}) => Promise<MediaParserOnAudioSample>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MediaParserOnVideoSample, MediaParserVideoTrack } from '@remotion/media-parser';
|
|
2
2
|
import type { MediaFn } from './create/media-fn';
|
|
3
|
-
import type { ProgressTracker } from './create/progress-tracker';
|
|
4
3
|
import type { ConvertMediaProgressFn } from './throttled-state-update';
|
|
5
4
|
export declare const copyVideoTrack: ({ logLevel, state, track, onMediaStateUpdate, progressTracker, }: {
|
|
6
|
-
logLevel:
|
|
5
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
7
6
|
state: MediaFn;
|
|
8
7
|
track: MediaParserVideoTrack;
|
|
9
|
-
onMediaStateUpdate:
|
|
10
|
-
progressTracker:
|
|
8
|
+
onMediaStateUpdate: ConvertMediaProgressFn | null;
|
|
9
|
+
progressTracker: {
|
|
10
|
+
registerTrack: (trackNumber: number) => void;
|
|
11
|
+
getSmallestProgress: () => number;
|
|
12
|
+
updateTrackProgress: (trackNumber: number, progress: number) => void;
|
|
13
|
+
setPossibleLowestTimestamp: (timestamp: number) => void;
|
|
14
|
+
};
|
|
11
15
|
}) => Promise<MediaParserOnVideoSample>;
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoEventEmitter = void 0;
|
|
4
4
|
class IoEventEmitter {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
}
|
|
5
|
+
listeners = {
|
|
6
|
+
input: [],
|
|
7
|
+
output: [],
|
|
8
|
+
processed: [],
|
|
9
|
+
progress: [],
|
|
10
|
+
};
|
|
13
11
|
addEventListener(name, callback) {
|
|
14
12
|
this.listeners[name].push(callback);
|
|
15
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createIlst: (items: Uint8Array[]) => Uint8Array<ArrayBufferLike>;
|
|
1
|
+
export declare const createIlst: (items: Uint8Array<ArrayBufferLike>[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const createMdia: ({ mdhd, hdlr, minf, }: {
|
|
2
|
-
mdhd: Uint8Array
|
|
3
|
-
hdlr: Uint8Array
|
|
4
|
-
minf: Uint8Array
|
|
2
|
+
mdhd: Uint8Array<ArrayBufferLike>;
|
|
3
|
+
hdlr: Uint8Array<ArrayBufferLike>;
|
|
4
|
+
minf: Uint8Array<ArrayBufferLike>;
|
|
5
5
|
}) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const createMoov: ({ mvhd, traks, udta, }: {
|
|
2
|
-
mvhd: Uint8Array
|
|
3
|
-
traks: Uint8Array[];
|
|
4
|
-
udta: Uint8Array
|
|
2
|
+
mvhd: Uint8Array<ArrayBufferLike>;
|
|
3
|
+
traks: Uint8Array<ArrayBufferLike>[];
|
|
4
|
+
udta: Uint8Array<ArrayBufferLike>;
|
|
5
5
|
}) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createUdta: (children: Uint8Array) => Uint8Array<ArrayBufferLike>;
|
|
1
|
+
export declare const createUdta: (children: Uint8Array<ArrayBufferLike>) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const exampleVideoSamplePositions:
|
|
3
|
-
export declare const exampleAudioSamplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const exampleVideoSamplePositions: SamplePosition[];
|
|
3
|
+
export declare const exampleAudioSamplePositions: SamplePosition[];
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { MediaParserLogLevel } from '@remotion/media-parser';
|
|
2
1
|
import type { IsoBaseMediaTrackData } from './serialize-track';
|
|
3
2
|
export declare const createPaddedMoovAtom: ({ durationInUnits, trackInfo, timescale, expectedDurationInSeconds, logLevel, expectedFrameRate, }: {
|
|
4
3
|
durationInUnits: number;
|
|
5
4
|
trackInfo: IsoBaseMediaTrackData[];
|
|
6
5
|
timescale: number;
|
|
7
6
|
expectedDurationInSeconds: number | null;
|
|
8
|
-
logLevel:
|
|
7
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
9
8
|
expectedFrameRate: number | null;
|
|
10
9
|
}) => Uint8Array<ArrayBufferLike>;
|
|
@@ -5,13 +5,13 @@ export declare const numberTo32BitUIntOrIntLeading128: (num: number) => Uint8Arr
|
|
|
5
5
|
export declare const numberTo16BitUIntOrInt: (num: number) => Uint8Array<ArrayBuffer>;
|
|
6
6
|
export declare const setFixedPointSignedOrUnsigned1616Number: (num: number) => Uint8Array<ArrayBuffer>;
|
|
7
7
|
export declare const setFixedPointSigned230Number: (num: number) => Uint8Array<ArrayBuffer>;
|
|
8
|
-
export declare const addSize: (arr: Uint8Array) => Uint8Array<ArrayBufferLike>;
|
|
9
|
-
export declare const addLeading128Size: (arr: Uint8Array) => Uint8Array<ArrayBufferLike>;
|
|
8
|
+
export declare const addSize: (arr: Uint8Array<ArrayBufferLike>) => Uint8Array<ArrayBufferLike>;
|
|
9
|
+
export declare const addLeading128Size: (arr: Uint8Array<ArrayBufferLike>) => Uint8Array<ArrayBufferLike>;
|
|
10
10
|
export declare const floatTo16Point1632Bit: (number: number) => Uint8Array<ArrayBuffer>;
|
|
11
11
|
export declare const floatTo16Point16_16Bit: (number: number) => Uint8Array<ArrayBuffer>;
|
|
12
12
|
export declare const serializeMatrix: (matrix: number[]) => Uint8Array<ArrayBufferLike>;
|
|
13
13
|
export declare const stringToPascalString: (str: string) => Uint8Array<ArrayBuffer>;
|
|
14
|
-
export declare const padIsoBaseMediaBytes: (data: Uint8Array
|
|
14
|
+
export declare const padIsoBaseMediaBytes: (data: Uint8Array<ArrayBufferLike>, totalLength: number) => Uint8Array<ArrayBufferLike>;
|
|
15
15
|
type ThreeDMatrix = [
|
|
16
16
|
number,
|
|
17
17
|
number,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
2
|
import type { MakeTrackAudio, MakeTrackVideo } from '../make-track-info';
|
|
3
3
|
export type IsoBaseMediaTrackData = {
|
|
4
4
|
track: MakeTrackVideo | MakeTrackAudio;
|
|
5
5
|
durationInUnits: number;
|
|
6
|
-
samplePositions:
|
|
6
|
+
samplePositions: SamplePosition[];
|
|
7
7
|
timescale: number;
|
|
8
8
|
};
|
|
9
9
|
export declare const serializeTrack: ({ track, durationInUnits, samplePositions, timescale, }: IsoBaseMediaTrackData) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
2
|
export declare const createStbl: ({ samplePositions, codecSpecificData, isVideo, }: {
|
|
3
|
-
samplePositions:
|
|
4
|
-
codecSpecificData: Uint8Array
|
|
3
|
+
samplePositions: SamplePosition[];
|
|
4
|
+
codecSpecificData: Uint8Array<ArrayBufferLike>;
|
|
5
5
|
isVideo: boolean;
|
|
6
6
|
}) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createCttsBox: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createCttsBox: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike> | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createStcoAtom: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createStcoAtom: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createStsc: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createStsc: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createStss: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createStss: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createStsz: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createStsz: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createSttsAtom: (samplePositions:
|
|
1
|
+
import type { SamplePosition } from '@remotion/media-parser';
|
|
2
|
+
export declare const createSttsAtom: (samplePositions: SamplePosition[]) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createStsdData: (codecSpecificData: Uint8Array) => Uint8Array<ArrayBufferLike>;
|
|
1
|
+
export declare const createStsdData: (codecSpecificData: Uint8Array<ArrayBufferLike>) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createAvccBox: (privateData: Uint8Array | null) => Uint8Array<ArrayBufferLike>;
|
|
1
|
+
export declare const createAvccBox: (privateData: Uint8Array<ArrayBufferLike> | null) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createHvccBox: (privateData: Uint8Array | null) => Uint8Array<ArrayBufferLike>;
|
|
1
|
+
export declare const createHvccBox: (privateData: Uint8Array<ArrayBufferLike> | null) => Uint8Array<ArrayBufferLike>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createHdlr: (type: "
|
|
1
|
+
export declare const createHdlr: (type: "audio" | "mdir" | "video") => Uint8Array<ArrayBufferLike>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const CLUSTER_MIN_VINT_WIDTH = 8;
|
|
2
2
|
export declare const createClusterSegment: (timestamp: number) => import("./matroska-utils").BytesAndOffset;
|
|
3
3
|
export declare const makeSimpleBlock: ({ bytes, trackNumber, timecodeRelativeToCluster, keyframe, invisible, lacing, }: {
|
|
4
|
-
bytes: Uint8Array
|
|
4
|
+
bytes: Uint8Array<ArrayBufferLike>;
|
|
5
5
|
trackNumber: number;
|
|
6
6
|
timecodeRelativeToCluster: number;
|
|
7
7
|
keyframe: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Writer } from '@remotion/media-parser';
|
|
2
2
|
import { type MediaParserAudioSample, type MediaParserVideoSample } from '@remotion/media-parser';
|
|
3
3
|
export declare const timestampToClusterTimestamp: (timestamp: number, timescale: number) => number;
|
|
4
4
|
export declare const canFitInCluster: ({ clusterStartTimestamp, chunk, timescale, }: {
|
|
@@ -7,10 +7,10 @@ export declare const canFitInCluster: ({ clusterStartTimestamp, chunk, timescale
|
|
|
7
7
|
timescale: number;
|
|
8
8
|
}) => boolean;
|
|
9
9
|
export declare const makeCluster: ({ writer, clusterStartTimestamp, timescale, logLevel, }: {
|
|
10
|
-
writer:
|
|
10
|
+
writer: Writer;
|
|
11
11
|
clusterStartTimestamp: number;
|
|
12
12
|
timescale: number;
|
|
13
|
-
logLevel:
|
|
13
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
14
14
|
}) => Promise<{
|
|
15
15
|
addSample: (chunk: MediaParserAudioSample | MediaParserVideoSample, trackNumber: number) => Promise<{
|
|
16
16
|
timecodeRelativeToCluster: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MatroskaElement } from '@remotion/media-parser';
|
|
2
2
|
export type Seek = {
|
|
3
|
-
hexString:
|
|
3
|
+
hexString: MatroskaElement;
|
|
4
4
|
byte: number;
|
|
5
5
|
};
|
|
6
6
|
export declare const createMatroskaSeekHead: (seeks: Seek[]) => import("./matroska-utils").BytesAndOffset[];
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import type { _InternalEbmlValue,
|
|
1
|
+
import type { _InternalEbmlValue, Ebml } from '@remotion/media-parser';
|
|
2
2
|
import { MediaParserInternals } from '@remotion/media-parser';
|
|
3
3
|
type Prettify<T> = {
|
|
4
4
|
[K in keyof T]: T[K];
|
|
5
5
|
} & {};
|
|
6
|
-
export declare const getIdForName: (name: string) =>
|
|
7
|
-
export declare const combineUint8Arrays: (arrays: Uint8Array[]) => Uint8Array<ArrayBufferLike>;
|
|
6
|
+
export declare const getIdForName: (name: string) => "0x114d9b74" | "0x1254c367" | "0x1549a966" | "0x1654ae6b" | "0x18538067" | "0x1a45dfa3" | "0x1c53bb6b" | "0x1f43b675" | "0x22b59c" | "0x23314f" | "0x23e383" | "0x258688" | "0x2ad7b1" | "0x4282" | "0x4285" | "0x4286" | "0x4287" | "0x42f2" | "0x42f3" | "0x42f7" | "0x4461" | "0x4487" | "0x4489" | "0x45a3" | "0x4d80" | "0x4dbb" | "0x536e" | "0x5378" | "0x53ab" | "0x53ac" | "0x53c0" | "0x54b0" | "0x54b2" | "0x54ba" | "0x55b0" | "0x55b1" | "0x55b7" | "0x55b8" | "0x55b9" | "0x55ba" | "0x55bb" | "0x55ee" | "0x56aa" | "0x56bb" | "0x5741" | "0x6264" | "0x63a2" | "0x63c0" | "0x63c5" | "0x67c8" | "0x6de7" | "0x6df8" | "0x7373" | "0x73a4" | "0x73c5" | "0x75a1" | "0x75a2" | "0x78b5" | "0x7ba9" | "0x83" | "0x86" | "0x88" | "0x9a" | "0x9b" | "0x9c" | "0x9f" | "0xa0" | "0xa1" | "0xa3" | "0xa7" | "0xae" | "0xb0" | "0xb3" | "0xb5" | "0xb7" | "0xba" | "0xbb" | "0xbf" | "0xcf" | "0xd7" | "0xe0" | "0xe1" | "0xe7" | "0xec" | "0xf0" | "0xf1" | "0xf7" | "0xfb";
|
|
7
|
+
export declare const combineUint8Arrays: (arrays: Uint8Array<ArrayBufferLike>[]) => Uint8Array<ArrayBufferLike>;
|
|
8
8
|
export type OffsetAndChildren = {
|
|
9
9
|
offset: number;
|
|
10
10
|
children: OffsetAndChildren[];
|
|
11
11
|
field: keyof typeof MediaParserInternals.matroskaElements;
|
|
12
12
|
};
|
|
13
13
|
export declare const incrementOffsetAndChildren: (offset: OffsetAndChildren, increment: number) => OffsetAndChildren;
|
|
14
|
-
export declare const matroskaToHex: (matrId:
|
|
14
|
+
export declare const matroskaToHex: (matrId: "0x1043a770" | "0x114d9b74" | "0x1254c367" | "0x1549a966" | "0x1654ae6b" | "0x18538067" | "0x1941a469" | "0x1a45dfa3" | "0x1c53bb6b" | "0x1f43b675" | "0x22b59c" | "0x22b59d" | "0x23314f" | "0x234e7a" | "0x2383e3" | "0x23e383" | "0x258688" | "0x26b240" | "0x2ad7b1" | "0x2eb524" | "0x2fb523" | "0x3a9697" | "0x3b4040" | "0x3c83ab" | "0x3cb923" | "0x3e83bb" | "0x3eb923" | "0x41a4" | "0x41e4" | "0x41e7" | "0x41ed" | "0x41f0" | "0x4254" | "0x4255" | "0x4282" | "0x4285" | "0x4286" | "0x4287" | "0x42f2" | "0x42f3" | "0x42f7" | "0x437c" | "0x437d" | "0x437e" | "0x4444" | "0x4461" | "0x447a" | "0x447b" | "0x4484" | "0x4485" | "0x4487" | "0x4489" | "0x44b4" | "0x450d" | "0x4520" | "0x4521" | "0x4588" | "0x4598" | "0x45a3" | "0x45b9" | "0x45bc" | "0x45bd" | "0x45db" | "0x45dd" | "0x45e4" | "0x465c" | "0x4660" | "0x4661" | "0x4662" | "0x466e" | "0x4675" | "0x467e" | "0x46ae" | "0x47e1" | "0x47e2" | "0x47e3" | "0x47e4" | "0x47e5" | "0x47e6" | "0x47e7" | "0x47e8" | "0x4d80" | "0x4dbb" | "0x5031" | "0x5032" | "0x5033" | "0x5034" | "0x5035" | "0x52f1" | "0x535f" | "0x536e" | "0x5378" | "0x537f" | "0x53ab" | "0x53ac" | "0x53b8" | "0x53b9" | "0x53c0" | "0x54aa" | "0x54b0" | "0x54b2" | "0x54b3" | "0x54ba" | "0x54bb" | "0x54cc" | "0x54dd" | "0x55aa" | "0x55ab" | "0x55ac" | "0x55ad" | "0x55ae" | "0x55af" | "0x55b0" | "0x55b1" | "0x55b2" | "0x55b3" | "0x55b4" | "0x55b5" | "0x55b6" | "0x55b7" | "0x55b8" | "0x55b9" | "0x55ba" | "0x55bb" | "0x55bc" | "0x55bd" | "0x55d0" | "0x55d1" | "0x55d2" | "0x55d3" | "0x55d4" | "0x55d5" | "0x55d6" | "0x55d7" | "0x55d8" | "0x55d9" | "0x55da" | "0x55ee" | "0x5654" | "0x56aa" | "0x56bb" | "0x5741" | "0x5854" | "0x58d7" | "0x61a7" | "0x6240" | "0x6264" | "0x63a2" | "0x63c0" | "0x63c3" | "0x63c4" | "0x63c5" | "0x63c6" | "0x63c9" | "0x63ca" | "0x6624" | "0x66a5" | "0x66bf" | "0x66fc" | "0x67c8" | "0x68ca" | "0x6911" | "0x6922" | "0x6924" | "0x6933" | "0x6944" | "0x6955" | "0x69a5" | "0x69bf" | "0x69fc" | "0x6d80" | "0x6de7" | "0x6df8" | "0x6e67" | "0x6ebc" | "0x6fab" | "0x7373" | "0x7384" | "0x73a4" | "0x73c4" | "0x73c5" | "0x7446" | "0x75a1" | "0x75a2" | "0x7670" | "0x7671" | "0x7672" | "0x7673" | "0x7674" | "0x7675" | "0x78b5" | "0x7ba9" | "0x7d7b" | "0x80" | "0x83" | "0x85" | "0x86" | "0x88" | "0x89" | "0x8e" | "0x8f" | "0x91" | "0x92" | "0x96" | "0x97" | "0x98" | "0x9a" | "0x9b" | "0x9c" | "0x9d" | "0x9f" | "0xa0" | "0xa1" | "0xa2" | "0xa3" | "0xa4" | "0xa5" | "0xa6" | "0xa7" | "0xaa" | "0xab" | "0xae" | "0xaf" | "0xb0" | "0xb2" | "0xb3" | "0xb5" | "0xb6" | "0xb7" | "0xb9" | "0xba" | "0xbb" | "0xbf" | "0xc0" | "0xc1" | "0xc4" | "0xc6" | "0xc7" | "0xc8" | "0xc9" | "0xca" | "0xcb" | "0xcc" | "0xcd" | "0xce" | "0xcf" | "0xd7" | "0xdb" | "0xe0" | "0xe1" | "0xe2" | "0xe3" | "0xe4" | "0xe5" | "0xe6" | "0xe7" | "0xe8" | "0xe9" | "0xea" | "0xeb" | "0xec" | "0xed" | "0xee" | "0xf0" | "0xf1" | "0xf7" | "0xfa" | "0xfb" | "0xfd") => Uint8Array<ArrayBufferLike>;
|
|
15
15
|
export type BytesAndOffset = {
|
|
16
16
|
bytes: Uint8Array;
|
|
17
17
|
offsets: OffsetAndChildren;
|
|
18
18
|
};
|
|
19
|
-
export type EbmlValueOrUint8Array<T extends
|
|
20
|
-
export type EbmlParsedOrUint8Array<T extends
|
|
19
|
+
export type EbmlValueOrUint8Array<T extends Ebml> = Uint8Array | _InternalEbmlValue<T, PossibleEbmlOrUint8Array>;
|
|
20
|
+
export type EbmlParsedOrUint8Array<T extends Ebml> = {
|
|
21
21
|
type: T['name'];
|
|
22
22
|
value: EbmlValueOrUint8Array<T>;
|
|
23
23
|
minVintWidth: number | null;
|
|
24
24
|
};
|
|
25
|
-
export declare const measureEBMLVarInt: (value: number) => 1 | 2 |
|
|
25
|
+
export declare const measureEBMLVarInt: (value: number) => 1 | 2 | 3 | 4 | 5 | 6;
|
|
26
26
|
export declare const getVariableInt: (value: number, minWidth: number | null) => Uint8Array<ArrayBuffer>;
|
|
27
27
|
export declare const makeMatroskaBytes: (fields: PossibleEbmlOrUint8Array) => BytesAndOffset;
|
|
28
28
|
export type PossibleEbmlOrUint8Array = Prettify<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MediaParserAudioSample,
|
|
1
|
+
import type { MediaParserAudioSample, MediaParserLogLevel, MediaParserVideoSample, WriterInterface } from '@remotion/media-parser';
|
|
2
2
|
import type { ConvertMediaContainer } from '../get-available-containers';
|
|
3
3
|
import type { MakeTrackAudio, MakeTrackVideo } from './make-track-info';
|
|
4
4
|
import type { ProgressTracker } from './progress-tracker';
|
|
@@ -22,7 +22,7 @@ export type MediaFn = {
|
|
|
22
22
|
}) => void;
|
|
23
23
|
};
|
|
24
24
|
export type MediaFnGeneratorInput = {
|
|
25
|
-
writer:
|
|
25
|
+
writer: WriterInterface;
|
|
26
26
|
onBytesProgress: (totalBytes: number) => void;
|
|
27
27
|
onMillisecondsProgress: (totalMilliseconds: number) => void;
|
|
28
28
|
logLevel: MediaParserLogLevel;
|
|
@@ -21,8 +21,8 @@ export type CreateAudioDecoderInit = {
|
|
|
21
21
|
export declare const internalCreateAudioDecoder: ({ onFrame, onError, controller, config, logLevel, }: CreateAudioDecoderInit) => Promise<WebCodecsAudioDecoder>;
|
|
22
22
|
export declare const createAudioDecoder: ({ track, onFrame, onError, controller, logLevel, }: {
|
|
23
23
|
track: AudioDecoderConfig;
|
|
24
|
-
onFrame: (frame: AudioData) =>
|
|
24
|
+
onFrame: (frame: AudioData) => void | Promise<void>;
|
|
25
25
|
onError: (error: Error) => void;
|
|
26
|
-
controller?: WebCodecsController | null;
|
|
27
|
-
logLevel?:
|
|
26
|
+
controller?: WebCodecsController | null | undefined;
|
|
27
|
+
logLevel?: "error" | "info" | "trace" | "verbose" | "warn" | undefined;
|
|
28
28
|
}) => Promise<WebCodecsAudioDecoder>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { MediaParserLogLevel } from '@remotion/media-parser';
|
|
2
1
|
import type { WebCodecsController } from './webcodecs-controller';
|
|
3
2
|
export type WebCodecsVideoDecoder = {
|
|
4
3
|
decode: (videoSample: EncodedVideoChunkInit | EncodedVideoChunk) => Promise<void>;
|
|
@@ -12,16 +11,16 @@ export type WebCodecsVideoDecoder = {
|
|
|
12
11
|
getMostRecentSampleInput: () => number | null;
|
|
13
12
|
};
|
|
14
13
|
export declare const internalCreateVideoDecoder: ({ onFrame, onError, controller, config, logLevel, }: {
|
|
15
|
-
onFrame: (frame: VideoFrame) =>
|
|
14
|
+
onFrame: (frame: VideoFrame) => void | Promise<void>;
|
|
16
15
|
onError: (error: Error) => void;
|
|
17
16
|
controller: WebCodecsController | null;
|
|
18
17
|
config: VideoDecoderConfig;
|
|
19
|
-
logLevel:
|
|
18
|
+
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
|
|
20
19
|
}) => Promise<WebCodecsVideoDecoder>;
|
|
21
20
|
export declare const createVideoDecoder: ({ onFrame, onError, controller, track, logLevel, }: {
|
|
22
21
|
track: VideoDecoderConfig;
|
|
23
|
-
onFrame: (frame: VideoFrame) =>
|
|
22
|
+
onFrame: (frame: VideoFrame) => void | Promise<void>;
|
|
24
23
|
onError: (error: Error) => void;
|
|
25
|
-
controller?: WebCodecsController;
|
|
26
|
-
logLevel?:
|
|
24
|
+
controller?: WebCodecsController | undefined;
|
|
25
|
+
logLevel?: "error" | "info" | "trace" | "verbose" | "warn" | undefined;
|
|
27
26
|
}) => Promise<WebCodecsVideoDecoder>;
|
package/dist/esm/buffer.mjs
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// src/writers/web-fs.ts
|
|
2
|
-
var createContent = async ({
|
|
3
|
-
filename
|
|
4
|
-
}) => {
|
|
2
|
+
var createContent = async ({ filename }) => {
|
|
5
3
|
const directoryHandle = await navigator.storage.getDirectory();
|
|
6
4
|
const actualFilename = `__remotion_mediaparser:${filename}`;
|
|
7
5
|
const remove = async () => {
|
|
@@ -77,10 +75,7 @@ var canUseWebFsWriter = async () => {
|
|
|
77
75
|
};
|
|
78
76
|
|
|
79
77
|
// src/writers/buffer-implementation/writer.ts
|
|
80
|
-
var createContent2 = ({
|
|
81
|
-
filename,
|
|
82
|
-
mimeType
|
|
83
|
-
}) => {
|
|
78
|
+
var createContent2 = ({ filename, mimeType }) => {
|
|
84
79
|
const buf = new ArrayBuffer(0, {
|
|
85
80
|
maxByteLength: 2000000000
|
|
86
81
|
});
|
|
@@ -1398,9 +1393,7 @@ var calculateProgress = ({
|
|
|
1398
1393
|
};
|
|
1399
1394
|
|
|
1400
1395
|
// src/create/iso-base-media/create-iso-base-media.ts
|
|
1401
|
-
import {
|
|
1402
|
-
MediaParserInternals as MediaParserInternals3
|
|
1403
|
-
} from "@remotion/media-parser";
|
|
1396
|
+
import { MediaParserInternals as MediaParserInternals3 } from "@remotion/media-parser";
|
|
1404
1397
|
|
|
1405
1398
|
// src/create/matroska/matroska-utils.ts
|
|
1406
1399
|
import { MediaParserInternals as MediaParserInternals2 } from "@remotion/media-parser";
|
package/dist/esm/web-fs.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
// src/writers/web-fs.ts
|
|
2
|
-
var createContent = async ({
|
|
3
|
-
filename
|
|
4
|
-
}) => {
|
|
2
|
+
var createContent = async ({ filename }) => {
|
|
5
3
|
const directoryHandle = await navigator.storage.getDirectory();
|
|
6
4
|
const actualFilename = `__remotion_mediaparser:${filename}`;
|
|
7
5
|
const remove = async () => {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import type { ParseMediaSrc } from '@remotion/media-parser';
|
|
2
|
-
|
|
3
|
-
export declare const generateOutputFilename: (source: ParseMediaSrc, container: ConvertMediaContainer) => string;
|
|
2
|
+
export declare const generateOutputFilename: (source: ParseMediaSrc, container: "mp4" | "wav" | "webm") => string;
|