@remotion/renderer 4.0.117 → 4.0.118
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/client.d.ts +16 -16
- package/dist/create-ffmpeg-complex-filter.d.ts +1 -4
- package/dist/get-extension-from-codec.d.ts +2 -2
- package/dist/index.d.ts +8 -6
- package/dist/options/color-space.d.ts +3 -3
- package/dist/options/gl.d.ts +3 -3
- package/dist/options/index.d.ts +7 -7
- package/dist/options/options-map.d.ts +9 -9
- package/dist/options/webhook-custom-data.d.ts +1 -1
- package/dist/pixel-format.d.ts +1 -1
- package/dist/provide-screenshot.d.ts +1 -0
- package/dist/puppeteer-screenshot.d.ts +1 -0
- package/dist/pure.d.ts +3 -3
- package/dist/screenshot-dom-element.d.ts +1 -0
- package/dist/screenshot-task.d.ts +1 -0
- package/dist/take-frame-and-compose.d.ts +1 -0
- package/dist/validate-output-filename.d.ts +1 -1
- package/package.json +9 -9
package/dist/client.d.ts
CHANGED
|
@@ -350,7 +350,7 @@ export declare const BrowserSafeApis: {
|
|
|
350
350
|
webhookCustomDataOption: {
|
|
351
351
|
name: string;
|
|
352
352
|
cliFlag: "webhook-custom-data";
|
|
353
|
-
description: (type: "
|
|
353
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
354
354
|
ssrName: "customData";
|
|
355
355
|
docLink: string;
|
|
356
356
|
type: Record<string, unknown> | null;
|
|
@@ -363,14 +363,14 @@ export declare const BrowserSafeApis: {
|
|
|
363
363
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
364
364
|
docLink: string;
|
|
365
365
|
ssrName: string;
|
|
366
|
-
type: "
|
|
366
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
367
367
|
getValue: ({ commandLine }: {
|
|
368
368
|
commandLine: Record<string, unknown>;
|
|
369
369
|
}) => {
|
|
370
370
|
source: string;
|
|
371
|
-
value: "
|
|
371
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
372
372
|
};
|
|
373
|
-
setConfig: (value: "
|
|
373
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
374
374
|
};
|
|
375
375
|
deleteAfterOption: {
|
|
376
376
|
name: string;
|
|
@@ -424,19 +424,19 @@ export declare const BrowserSafeApis: {
|
|
|
424
424
|
cliFlag: "gl";
|
|
425
425
|
docLink: string;
|
|
426
426
|
name: string;
|
|
427
|
-
type: "
|
|
427
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
428
428
|
ssrName: string;
|
|
429
429
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
430
430
|
getValue: ({ commandLine }: {
|
|
431
431
|
commandLine: Record<string, unknown>;
|
|
432
432
|
}) => {
|
|
433
|
-
value: "
|
|
433
|
+
value: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
434
434
|
source: string;
|
|
435
435
|
} | {
|
|
436
436
|
value: null;
|
|
437
437
|
source: string;
|
|
438
438
|
};
|
|
439
|
-
setConfig: (value: "
|
|
439
|
+
setConfig: (value: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => void;
|
|
440
440
|
};
|
|
441
441
|
enableLambdaInsights: {
|
|
442
442
|
name: string;
|
|
@@ -727,14 +727,14 @@ export declare const BrowserSafeApis: {
|
|
|
727
727
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
728
728
|
docLink: string;
|
|
729
729
|
ssrName: string;
|
|
730
|
-
type: "
|
|
730
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
731
731
|
getValue: ({ commandLine }: {
|
|
732
732
|
commandLine: Record<string, unknown>;
|
|
733
733
|
}) => {
|
|
734
734
|
source: string;
|
|
735
|
-
value: "
|
|
735
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
736
736
|
};
|
|
737
|
-
setConfig: (value: "
|
|
737
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
738
738
|
};
|
|
739
739
|
readonly codec: {
|
|
740
740
|
name: string;
|
|
@@ -1232,14 +1232,14 @@ export declare const BrowserSafeApis: {
|
|
|
1232
1232
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1233
1233
|
docLink: string;
|
|
1234
1234
|
ssrName: string;
|
|
1235
|
-
type: "
|
|
1235
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
1236
1236
|
getValue: ({ commandLine }: {
|
|
1237
1237
|
commandLine: Record<string, unknown>;
|
|
1238
1238
|
}) => {
|
|
1239
1239
|
source: string;
|
|
1240
|
-
value: "
|
|
1240
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
1241
1241
|
};
|
|
1242
|
-
setConfig: (value: "
|
|
1242
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
1243
1243
|
};
|
|
1244
1244
|
readonly muted: {
|
|
1245
1245
|
name: string;
|
|
@@ -1478,14 +1478,14 @@ export declare const BrowserSafeApis: {
|
|
|
1478
1478
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1479
1479
|
docLink: string;
|
|
1480
1480
|
ssrName: string;
|
|
1481
|
-
type: "
|
|
1481
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
1482
1482
|
getValue: ({ commandLine }: {
|
|
1483
1483
|
commandLine: Record<string, unknown>;
|
|
1484
1484
|
}) => {
|
|
1485
1485
|
source: string;
|
|
1486
|
-
value: "
|
|
1486
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
1487
1487
|
};
|
|
1488
|
-
setConfig: (value: "
|
|
1488
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
1489
1489
|
};
|
|
1490
1490
|
readonly audioBitrate: {
|
|
1491
1491
|
name: string;
|
|
@@ -4,9 +4,6 @@ export declare const createFfmpegComplexFilter: ({ filters, downloadMap, }: {
|
|
|
4
4
|
filters: PreprocessedAudioTrack[];
|
|
5
5
|
downloadMap: DownloadMap;
|
|
6
6
|
}) => Promise<{
|
|
7
|
-
complexFilterFlag: [
|
|
8
|
-
string,
|
|
9
|
-
string
|
|
10
|
-
] | null;
|
|
7
|
+
complexFilterFlag: [string, string] | null;
|
|
11
8
|
cleanup: () => void;
|
|
12
9
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AudioCodec } from './audio-codec';
|
|
2
2
|
import type { Codec } from './codec';
|
|
3
3
|
import type { FileExtension } from './file-extensions';
|
|
4
|
-
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
5
|
-
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "
|
|
4
|
+
export declare const getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: AudioCodec | null) => FileExtension;
|
|
5
|
+
export declare const makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif")[]>;
|
|
6
6
|
export declare const defaultCodecsForFileExtension: Record<FileExtension, Codec>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
1
3
|
import execa from 'execa';
|
|
2
4
|
import { HeadlessBrowser } from './browser/Browser';
|
|
3
5
|
import { SymbolicateableError } from './error-handling/symbolicateable-error';
|
|
@@ -137,8 +139,8 @@ export declare const RenderInternals: {
|
|
|
137
139
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
138
140
|
DEFAULT_BROWSER: "chrome";
|
|
139
141
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
140
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
141
|
-
validateOpenGlRenderer: (option: unknown) => "
|
|
142
|
+
DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
143
|
+
validateOpenGlRenderer: (option: unknown) => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
142
144
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
143
145
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
144
146
|
validateJpegQuality: (q: unknown) => void;
|
|
@@ -313,7 +315,7 @@ export declare const RenderInternals: {
|
|
|
313
315
|
};
|
|
314
316
|
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif")[]>;
|
|
315
317
|
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">;
|
|
316
|
-
getExecutablePath: (type: "
|
|
318
|
+
getExecutablePath: (type: "ffmpeg" | "ffprobe" | "compositor", indent: boolean, logLevel: "verbose" | "info" | "warn" | "error") => string;
|
|
317
319
|
callFf: ({ args, bin, indent, logLevel, options, }: {
|
|
318
320
|
bin: "ffmpeg" | "ffprobe";
|
|
319
321
|
args: (string | null)[];
|
|
@@ -323,8 +325,8 @@ export declare const RenderInternals: {
|
|
|
323
325
|
}) => execa.ExecaChildProcess<string>;
|
|
324
326
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
325
327
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
326
|
-
DEFAULT_STILL_IMAGE_FORMAT: "
|
|
327
|
-
DEFAULT_VIDEO_IMAGE_FORMAT: "
|
|
328
|
+
DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
|
|
329
|
+
DEFAULT_VIDEO_IMAGE_FORMAT: "none" | "jpeg" | "png";
|
|
328
330
|
DEFAULT_JPEG_QUALITY: number;
|
|
329
331
|
chalk: {
|
|
330
332
|
enabled: () => boolean;
|
|
@@ -419,7 +421,7 @@ export declare const RenderInternals: {
|
|
|
419
421
|
frame: number;
|
|
420
422
|
serializedInputPropsWithCustomSchema: string;
|
|
421
423
|
serializedResolvedPropsWithCustomSchema: string;
|
|
422
|
-
imageFormat: "
|
|
424
|
+
imageFormat: "jpeg" | "png" | "webp" | "pdf";
|
|
423
425
|
jpegQuality: number;
|
|
424
426
|
puppeteerInstance: HeadlessBrowser | null;
|
|
425
427
|
envVariables: Record<string, string>;
|
|
@@ -6,13 +6,13 @@ export declare const colorSpaceOption: {
|
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
docLink: string;
|
|
8
8
|
ssrName: string;
|
|
9
|
-
type: "
|
|
9
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
11
11
|
commandLine: Record<string, unknown>;
|
|
12
12
|
}) => {
|
|
13
13
|
source: string;
|
|
14
|
-
value: "
|
|
14
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
15
15
|
};
|
|
16
|
-
setConfig: (value: "
|
|
16
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
17
17
|
};
|
|
18
18
|
export declare const validateColorSpace: (option: unknown) => void;
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
2
2
|
export type OpenGlRenderer = (typeof validOpenGlRenderers)[number];
|
|
3
3
|
export declare const DEFAULT_OPENGL_RENDERER: OpenGlRenderer | null;
|
|
4
|
-
export declare const getChromiumOpenGlRenderer: () => "
|
|
4
|
+
export declare const getChromiumOpenGlRenderer: () => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
5
5
|
export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void;
|
|
6
6
|
export declare const glOption: {
|
|
7
7
|
cliFlag: "gl";
|
|
8
8
|
docLink: string;
|
|
9
9
|
name: string;
|
|
10
|
-
type: "
|
|
10
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
11
11
|
ssrName: string;
|
|
12
12
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
getValue: ({ commandLine }: {
|
|
14
14
|
commandLine: Record<string, unknown>;
|
|
15
15
|
}) => {
|
|
16
|
-
value: "
|
|
16
|
+
value: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
17
17
|
source: string;
|
|
18
18
|
} | {
|
|
19
19
|
value: null;
|
package/dist/options/index.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ export declare const allOptions: {
|
|
|
150
150
|
webhookCustomDataOption: {
|
|
151
151
|
name: string;
|
|
152
152
|
cliFlag: "webhook-custom-data";
|
|
153
|
-
description: (type: "
|
|
153
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
154
154
|
ssrName: "customData";
|
|
155
155
|
docLink: string;
|
|
156
156
|
type: Record<string, unknown> | null;
|
|
@@ -163,14 +163,14 @@ export declare const allOptions: {
|
|
|
163
163
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
164
164
|
docLink: string;
|
|
165
165
|
ssrName: string;
|
|
166
|
-
type: "
|
|
166
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
167
167
|
getValue: ({ commandLine }: {
|
|
168
168
|
commandLine: Record<string, unknown>;
|
|
169
169
|
}) => {
|
|
170
170
|
source: string;
|
|
171
|
-
value: "
|
|
171
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
172
172
|
};
|
|
173
|
-
setConfig: (value: "
|
|
173
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
174
174
|
};
|
|
175
175
|
deleteAfterOption: {
|
|
176
176
|
name: string;
|
|
@@ -224,19 +224,19 @@ export declare const allOptions: {
|
|
|
224
224
|
cliFlag: "gl";
|
|
225
225
|
docLink: string;
|
|
226
226
|
name: string;
|
|
227
|
-
type: "
|
|
227
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
228
228
|
ssrName: string;
|
|
229
229
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
230
230
|
getValue: ({ commandLine }: {
|
|
231
231
|
commandLine: Record<string, unknown>;
|
|
232
232
|
}) => {
|
|
233
|
-
value: "
|
|
233
|
+
value: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
234
234
|
source: string;
|
|
235
235
|
} | {
|
|
236
236
|
value: null;
|
|
237
237
|
source: string;
|
|
238
238
|
};
|
|
239
|
-
setConfig: (value: "
|
|
239
|
+
setConfig: (value: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => void;
|
|
240
240
|
};
|
|
241
241
|
enableLambdaInsights: {
|
|
242
242
|
name: string;
|
|
@@ -108,14 +108,14 @@ export declare const optionsMap: {
|
|
|
108
108
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
109
109
|
docLink: string;
|
|
110
110
|
ssrName: string;
|
|
111
|
-
type: "
|
|
111
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
112
112
|
getValue: ({ commandLine }: {
|
|
113
113
|
commandLine: Record<string, unknown>;
|
|
114
114
|
}) => {
|
|
115
115
|
source: string;
|
|
116
|
-
value: "
|
|
116
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
117
117
|
};
|
|
118
|
-
setConfig: (value: "
|
|
118
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
119
119
|
};
|
|
120
120
|
readonly codec: {
|
|
121
121
|
name: string;
|
|
@@ -613,14 +613,14 @@ export declare const optionsMap: {
|
|
|
613
613
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
614
614
|
docLink: string;
|
|
615
615
|
ssrName: string;
|
|
616
|
-
type: "
|
|
616
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
617
617
|
getValue: ({ commandLine }: {
|
|
618
618
|
commandLine: Record<string, unknown>;
|
|
619
619
|
}) => {
|
|
620
620
|
source: string;
|
|
621
|
-
value: "
|
|
621
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
622
622
|
};
|
|
623
|
-
setConfig: (value: "
|
|
623
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
624
624
|
};
|
|
625
625
|
readonly muted: {
|
|
626
626
|
name: string;
|
|
@@ -859,14 +859,14 @@ export declare const optionsMap: {
|
|
|
859
859
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
860
860
|
docLink: string;
|
|
861
861
|
ssrName: string;
|
|
862
|
-
type: "
|
|
862
|
+
type: "bt709" | "bt2020-ncl" | "default";
|
|
863
863
|
getValue: ({ commandLine }: {
|
|
864
864
|
commandLine: Record<string, unknown>;
|
|
865
865
|
}) => {
|
|
866
866
|
source: string;
|
|
867
|
-
value: "
|
|
867
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
868
868
|
};
|
|
869
|
-
setConfig: (value: "
|
|
869
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default") => void;
|
|
870
870
|
};
|
|
871
871
|
readonly audioBitrate: {
|
|
872
872
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const webhookCustomDataOption: {
|
|
2
2
|
name: string;
|
|
3
3
|
cliFlag: "webhook-custom-data";
|
|
4
|
-
description: (type: "
|
|
4
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
ssrName: "customData";
|
|
6
6
|
docLink: string;
|
|
7
7
|
type: Record<string, unknown> | null;
|
package/dist/pixel-format.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import type { Codec } from './codec';
|
|
|
2
2
|
export declare const validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
3
3
|
export type PixelFormat = (typeof validPixelFormats)[number];
|
|
4
4
|
export declare const DEFAULT_PIXEL_FORMAT: PixelFormat;
|
|
5
|
-
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "
|
|
5
|
+
export declare const validPixelFormatsForCodec: (codec: Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
|
|
6
6
|
export declare const validateSelectedPixelFormatAndCodecCombination: (pixelFormat: PixelFormat | undefined, codec: Codec) => undefined;
|
package/dist/pure.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const NoReactAPIs: {
|
|
2
2
|
wrapWithErrorHandling: <A extends unknown[], R>(fn: (...args: A) => Promise<R>) => (...args: A) => Promise<R>;
|
|
3
3
|
getExtensionOfFilename: (filename: string | null) => string | null;
|
|
4
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
5
|
-
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
4
|
+
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
5
|
+
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
|
|
6
6
|
codec: T_1;
|
|
7
|
-
audioCodec: "
|
|
7
|
+
audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
8
8
|
extension: string;
|
|
9
9
|
preferLossless: boolean;
|
|
10
10
|
}) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AudioCodec } from './audio-codec';
|
|
2
|
-
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
2
|
+
export declare const validateOutputFilename: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "gif">({ codec, audioCodec, extension, preferLossless, }: {
|
|
3
3
|
codec: T;
|
|
4
4
|
audioCodec: AudioCodec | null;
|
|
5
5
|
extension: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.118",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"extract-zip": "2.0.1",
|
|
19
19
|
"source-map": "^0.8.0-beta.0",
|
|
20
20
|
"ws": "8.7.0",
|
|
21
|
-
"remotion": "4.0.
|
|
21
|
+
"remotion": "4.0.118"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"vitest": "0.31.1"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
44
|
-
"@remotion/compositor-
|
|
45
|
-
"@remotion/compositor-linux-arm64-
|
|
46
|
-
"@remotion/compositor-linux-
|
|
47
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
48
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
49
|
-
"@remotion/compositor-
|
|
43
|
+
"@remotion/compositor-darwin-arm64": "4.0.118",
|
|
44
|
+
"@remotion/compositor-darwin-x64": "4.0.118",
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.118",
|
|
46
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.118",
|
|
47
|
+
"@remotion/compositor-linux-x64-musl": "4.0.118",
|
|
48
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.118",
|
|
49
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.118"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"remotion",
|