@remotion/renderer 4.0.182 → 4.0.184
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/assets/read-file.js +3 -1
- package/dist/client.d.ts +79 -79
- package/dist/compositor/compositor.js +1 -1
- package/dist/index.d.ts +53 -33
- package/dist/index.js +2 -0
- package/dist/offthread-video-server.js +1 -0
- package/dist/options/audio-codec.d.ts +5 -5
- package/dist/options/color-space.d.ts +3 -3
- package/dist/options/index.d.ts +14 -14
- package/dist/options/options-map.d.ts +26 -26
- package/dist/options/video-codec.d.ts +1 -1
- package/dist/options/x264-preset.d.ts +2 -2
- package/dist/port-config.d.ts +2 -1
- package/package.json +10 -10
package/dist/assets/read-file.js
CHANGED
|
@@ -44,7 +44,9 @@ const readFile = async (url, redirectsSoFar = 0) => {
|
|
|
44
44
|
if (!file.headers.location) {
|
|
45
45
|
throw new Error(`Received a status code ${file.statusCode} but no "Location" header while calling ${file.headers.location}`);
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
const { origin } = new URL(url);
|
|
48
|
+
const redirectUrl = new URL(file.headers.location, origin).toString();
|
|
49
|
+
return (0, exports.readFile)(redirectUrl, redirectsSoFar + 1);
|
|
48
50
|
}
|
|
49
51
|
if (file.statusCode >= 400) {
|
|
50
52
|
const body = await tryToObtainBody(file);
|
package/dist/client.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export { AvailableOptions, TypeOfOption } from './options';
|
|
2
2
|
export declare const BrowserSafeApis: {
|
|
3
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
3
|
+
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
4
4
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
5
5
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
6
|
-
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
7
|
-
getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
8
|
-
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
6
|
+
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => number;
|
|
7
|
+
getValidCrfRanges: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => [number, number];
|
|
8
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null | undefined) => boolean;
|
|
9
9
|
proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
|
|
10
10
|
x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
|
|
11
11
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
12
12
|
validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
13
|
-
validPixelFormatsForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
13
|
+
validPixelFormatsForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
|
|
14
14
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
15
15
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
16
|
-
DEFAULT_PIXEL_FORMAT: "yuv420p" | "
|
|
16
|
+
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
17
17
|
DEFAULT_TIMEOUT: number;
|
|
18
18
|
DEFAULT_JPEG_QUALITY: number;
|
|
19
19
|
DEFAULT_COLOR_SPACE: "default";
|
|
@@ -35,11 +35,11 @@ export declare const BrowserSafeApis: {
|
|
|
35
35
|
h264: {
|
|
36
36
|
default: import("./file-extensions").FileExtension;
|
|
37
37
|
forAudioCodec: {
|
|
38
|
-
|
|
38
|
+
aac: {
|
|
39
39
|
possible: import("./file-extensions").FileExtension[];
|
|
40
40
|
default: import("./file-extensions").FileExtension;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
mp3: {
|
|
43
43
|
possible: import("./file-extensions").FileExtension[];
|
|
44
44
|
default: import("./file-extensions").FileExtension;
|
|
45
45
|
};
|
|
@@ -65,11 +65,11 @@ export declare const BrowserSafeApis: {
|
|
|
65
65
|
vp8: {
|
|
66
66
|
default: import("./file-extensions").FileExtension;
|
|
67
67
|
forAudioCodec: {
|
|
68
|
-
|
|
68
|
+
opus: {
|
|
69
69
|
possible: import("./file-extensions").FileExtension[];
|
|
70
70
|
default: import("./file-extensions").FileExtension;
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
"pcm-16": {
|
|
73
73
|
possible: import("./file-extensions").FileExtension[];
|
|
74
74
|
default: import("./file-extensions").FileExtension;
|
|
75
75
|
};
|
|
@@ -78,20 +78,20 @@ export declare const BrowserSafeApis: {
|
|
|
78
78
|
vp9: {
|
|
79
79
|
default: import("./file-extensions").FileExtension;
|
|
80
80
|
forAudioCodec: {
|
|
81
|
-
|
|
81
|
+
opus: {
|
|
82
82
|
possible: import("./file-extensions").FileExtension[];
|
|
83
83
|
default: import("./file-extensions").FileExtension;
|
|
84
84
|
};
|
|
85
|
-
|
|
85
|
+
"pcm-16": {
|
|
86
86
|
possible: import("./file-extensions").FileExtension[];
|
|
87
87
|
default: import("./file-extensions").FileExtension;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
|
|
91
|
+
prores: {
|
|
92
92
|
default: import("./file-extensions").FileExtension;
|
|
93
93
|
forAudioCodec: {
|
|
94
|
-
|
|
94
|
+
aac: {
|
|
95
95
|
possible: import("./file-extensions").FileExtension[];
|
|
96
96
|
default: import("./file-extensions").FileExtension;
|
|
97
97
|
};
|
|
@@ -114,22 +114,22 @@ export declare const BrowserSafeApis: {
|
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
|
-
|
|
117
|
+
mp3: {
|
|
118
118
|
default: import("./file-extensions").FileExtension;
|
|
119
119
|
forAudioCodec: {
|
|
120
|
+
mp3: {
|
|
121
|
+
possible: import("./file-extensions").FileExtension[];
|
|
122
|
+
default: import("./file-extensions").FileExtension;
|
|
123
|
+
};
|
|
120
124
|
"pcm-16": {
|
|
121
125
|
possible: import("./file-extensions").FileExtension[];
|
|
122
126
|
default: import("./file-extensions").FileExtension;
|
|
123
127
|
};
|
|
124
128
|
};
|
|
125
129
|
};
|
|
126
|
-
|
|
130
|
+
wav: {
|
|
127
131
|
default: import("./file-extensions").FileExtension;
|
|
128
132
|
forAudioCodec: {
|
|
129
|
-
aac: {
|
|
130
|
-
possible: import("./file-extensions").FileExtension[];
|
|
131
|
-
default: import("./file-extensions").FileExtension;
|
|
132
|
-
};
|
|
133
133
|
"pcm-16": {
|
|
134
134
|
possible: import("./file-extensions").FileExtension[];
|
|
135
135
|
default: import("./file-extensions").FileExtension;
|
|
@@ -169,37 +169,37 @@ export declare const BrowserSafeApis: {
|
|
|
169
169
|
};
|
|
170
170
|
defaultAudioCodecs: {
|
|
171
171
|
h264: {
|
|
172
|
-
compressed: "
|
|
173
|
-
lossless: "
|
|
172
|
+
compressed: "aac" | "mp3" | "pcm-16" | null;
|
|
173
|
+
lossless: "aac" | "mp3" | "pcm-16" | null;
|
|
174
174
|
};
|
|
175
175
|
h265: {
|
|
176
176
|
compressed: "aac" | "pcm-16" | null;
|
|
177
177
|
lossless: "aac" | "pcm-16" | null;
|
|
178
178
|
};
|
|
179
179
|
vp8: {
|
|
180
|
-
compressed: "
|
|
181
|
-
lossless: "
|
|
180
|
+
compressed: "opus" | "pcm-16" | null;
|
|
181
|
+
lossless: "opus" | "pcm-16" | null;
|
|
182
182
|
};
|
|
183
183
|
vp9: {
|
|
184
|
-
compressed: "
|
|
185
|
-
lossless: "
|
|
184
|
+
compressed: "opus" | "pcm-16" | null;
|
|
185
|
+
lossless: "opus" | "pcm-16" | null;
|
|
186
186
|
};
|
|
187
|
-
|
|
188
|
-
compressed: "
|
|
189
|
-
lossless: "
|
|
187
|
+
prores: {
|
|
188
|
+
compressed: "aac" | "pcm-16" | null;
|
|
189
|
+
lossless: "aac" | "pcm-16" | null;
|
|
190
190
|
};
|
|
191
191
|
aac: {
|
|
192
192
|
compressed: "aac" | "pcm-16" | null;
|
|
193
193
|
lossless: "aac" | "pcm-16" | null;
|
|
194
194
|
};
|
|
195
|
+
mp3: {
|
|
196
|
+
compressed: "mp3" | "pcm-16" | null;
|
|
197
|
+
lossless: "mp3" | "pcm-16" | null;
|
|
198
|
+
};
|
|
195
199
|
wav: {
|
|
196
200
|
compressed: "pcm-16" | null;
|
|
197
201
|
lossless: "pcm-16" | null;
|
|
198
202
|
};
|
|
199
|
-
prores: {
|
|
200
|
-
compressed: "aac" | "pcm-16" | null;
|
|
201
|
-
lossless: "aac" | "pcm-16" | null;
|
|
202
|
-
};
|
|
203
203
|
"h264-mkv": {
|
|
204
204
|
compressed: "mp3" | "pcm-16" | null;
|
|
205
205
|
lossless: "mp3" | "pcm-16" | null;
|
|
@@ -213,10 +213,10 @@ export declare const BrowserSafeApis: {
|
|
|
213
213
|
lossless: null;
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "
|
|
217
|
-
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
216
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">;
|
|
217
|
+
validateOutputFilename: <T_1 extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: {
|
|
218
218
|
codec: T_1;
|
|
219
|
-
audioCodecSetting: "
|
|
219
|
+
audioCodecSetting: "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
220
220
|
extension: string;
|
|
221
221
|
preferLossless: boolean;
|
|
222
222
|
separateAudioTo: string | null;
|
|
@@ -224,12 +224,12 @@ export declare const BrowserSafeApis: {
|
|
|
224
224
|
options: {
|
|
225
225
|
audioCodecOption: {
|
|
226
226
|
cliFlag: "audio-codec";
|
|
227
|
-
setConfig: (audioCodec: "
|
|
227
|
+
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void;
|
|
228
228
|
getValue: ({ commandLine }: {
|
|
229
229
|
commandLine: Record<string, unknown>;
|
|
230
230
|
}) => {
|
|
231
231
|
source: string;
|
|
232
|
-
value: "
|
|
232
|
+
value: "opus" | "aac" | "mp3" | "pcm-16";
|
|
233
233
|
} | {
|
|
234
234
|
source: string;
|
|
235
235
|
value: null;
|
|
@@ -238,7 +238,7 @@ export declare const BrowserSafeApis: {
|
|
|
238
238
|
docLink: string;
|
|
239
239
|
name: string;
|
|
240
240
|
ssrName: "audioCodec";
|
|
241
|
-
type: "
|
|
241
|
+
type: "opus" | "aac" | "mp3" | "pcm-16";
|
|
242
242
|
};
|
|
243
243
|
scaleOption: {
|
|
244
244
|
name: string;
|
|
@@ -357,17 +357,17 @@ export declare const BrowserSafeApis: {
|
|
|
357
357
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
358
358
|
ssrName: string;
|
|
359
359
|
docLink: string;
|
|
360
|
-
type: "h264" | "h265" | "vp8" | "vp9" | "
|
|
360
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
361
361
|
getValue: ({ commandLine }: {
|
|
362
362
|
commandLine: Record<string, unknown>;
|
|
363
363
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
364
364
|
outName: string | null;
|
|
365
365
|
downloadName: string | null;
|
|
366
|
-
configFile: "h264" | "h265" | "vp8" | "vp9" | "
|
|
367
|
-
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
368
|
-
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
366
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
367
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
368
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
369
369
|
}) => {
|
|
370
|
-
value: "h264" | "h265" | "vp8" | "vp9" | "
|
|
370
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
371
371
|
source: string;
|
|
372
372
|
};
|
|
373
373
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
@@ -406,14 +406,14 @@ export declare const BrowserSafeApis: {
|
|
|
406
406
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
407
407
|
docLink: string;
|
|
408
408
|
ssrName: string;
|
|
409
|
-
type: "
|
|
409
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
410
410
|
getValue: ({ commandLine }: {
|
|
411
411
|
commandLine: Record<string, unknown>;
|
|
412
412
|
}) => {
|
|
413
413
|
source: string;
|
|
414
|
-
value: "
|
|
414
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
415
415
|
};
|
|
416
|
-
setConfig: (value: "
|
|
416
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
417
417
|
};
|
|
418
418
|
deleteAfterOption: {
|
|
419
419
|
name: string;
|
|
@@ -604,17 +604,17 @@ export declare const BrowserSafeApis: {
|
|
|
604
604
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
605
605
|
ssrName: "x264Preset";
|
|
606
606
|
docLink: string;
|
|
607
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
607
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
608
608
|
getValue: ({ commandLine }: {
|
|
609
609
|
commandLine: Record<string, unknown>;
|
|
610
610
|
}) => {
|
|
611
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
611
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
612
612
|
source: string;
|
|
613
613
|
} | {
|
|
614
614
|
value: null;
|
|
615
615
|
source: string;
|
|
616
616
|
};
|
|
617
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
617
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
618
618
|
};
|
|
619
619
|
logLevelOption: {
|
|
620
620
|
cliFlag: "log";
|
|
@@ -879,17 +879,17 @@ export declare const BrowserSafeApis: {
|
|
|
879
879
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
880
880
|
ssrName: "x264Preset";
|
|
881
881
|
docLink: string;
|
|
882
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
882
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
883
883
|
getValue: ({ commandLine }: {
|
|
884
884
|
commandLine: Record<string, unknown>;
|
|
885
885
|
}) => {
|
|
886
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
886
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
887
887
|
source: string;
|
|
888
888
|
} | {
|
|
889
889
|
value: null;
|
|
890
890
|
source: string;
|
|
891
891
|
};
|
|
892
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
892
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
893
893
|
};
|
|
894
894
|
readonly audioBitrate: {
|
|
895
895
|
name: string;
|
|
@@ -915,14 +915,14 @@ export declare const BrowserSafeApis: {
|
|
|
915
915
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
916
916
|
docLink: string;
|
|
917
917
|
ssrName: string;
|
|
918
|
-
type: "
|
|
918
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
919
919
|
getValue: ({ commandLine }: {
|
|
920
920
|
commandLine: Record<string, unknown>;
|
|
921
921
|
}) => {
|
|
922
922
|
source: string;
|
|
923
|
-
value: "
|
|
923
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
924
924
|
};
|
|
925
|
-
setConfig: (value: "
|
|
925
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
926
926
|
};
|
|
927
927
|
readonly codec: {
|
|
928
928
|
name: string;
|
|
@@ -930,17 +930,17 @@ export declare const BrowserSafeApis: {
|
|
|
930
930
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
931
931
|
ssrName: string;
|
|
932
932
|
docLink: string;
|
|
933
|
-
type: "h264" | "h265" | "vp8" | "vp9" | "
|
|
933
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
934
934
|
getValue: ({ commandLine }: {
|
|
935
935
|
commandLine: Record<string, unknown>;
|
|
936
936
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
937
937
|
outName: string | null;
|
|
938
938
|
downloadName: string | null;
|
|
939
|
-
configFile: "h264" | "h265" | "vp8" | "vp9" | "
|
|
940
|
-
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
941
|
-
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
939
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
940
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
941
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
942
942
|
}) => {
|
|
943
|
-
value: "h264" | "h265" | "vp8" | "vp9" | "
|
|
943
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
944
944
|
source: string;
|
|
945
945
|
};
|
|
946
946
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
@@ -1094,12 +1094,12 @@ export declare const BrowserSafeApis: {
|
|
|
1094
1094
|
};
|
|
1095
1095
|
readonly audioCodec: {
|
|
1096
1096
|
cliFlag: "audio-codec";
|
|
1097
|
-
setConfig: (audioCodec: "
|
|
1097
|
+
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void;
|
|
1098
1098
|
getValue: ({ commandLine }: {
|
|
1099
1099
|
commandLine: Record<string, unknown>;
|
|
1100
1100
|
}) => {
|
|
1101
1101
|
source: string;
|
|
1102
|
-
value: "
|
|
1102
|
+
value: "opus" | "aac" | "mp3" | "pcm-16";
|
|
1103
1103
|
} | {
|
|
1104
1104
|
source: string;
|
|
1105
1105
|
value: null;
|
|
@@ -1108,7 +1108,7 @@ export declare const BrowserSafeApis: {
|
|
|
1108
1108
|
docLink: string;
|
|
1109
1109
|
name: string;
|
|
1110
1110
|
ssrName: "audioCodec";
|
|
1111
|
-
type: "
|
|
1111
|
+
type: "opus" | "aac" | "mp3" | "pcm-16";
|
|
1112
1112
|
};
|
|
1113
1113
|
readonly onBrowserDownload: {
|
|
1114
1114
|
name: string;
|
|
@@ -1601,17 +1601,17 @@ export declare const BrowserSafeApis: {
|
|
|
1601
1601
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1602
1602
|
ssrName: "x264Preset";
|
|
1603
1603
|
docLink: string;
|
|
1604
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1604
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
1605
1605
|
getValue: ({ commandLine }: {
|
|
1606
1606
|
commandLine: Record<string, unknown>;
|
|
1607
1607
|
}) => {
|
|
1608
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1608
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
1609
1609
|
source: string;
|
|
1610
1610
|
} | {
|
|
1611
1611
|
value: null;
|
|
1612
1612
|
source: string;
|
|
1613
1613
|
};
|
|
1614
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1614
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
1615
1615
|
};
|
|
1616
1616
|
readonly encodingMaxRate: {
|
|
1617
1617
|
name: string;
|
|
@@ -1655,14 +1655,14 @@ export declare const BrowserSafeApis: {
|
|
|
1655
1655
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1656
1656
|
docLink: string;
|
|
1657
1657
|
ssrName: string;
|
|
1658
|
-
type: "
|
|
1658
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
1659
1659
|
getValue: ({ commandLine }: {
|
|
1660
1660
|
commandLine: Record<string, unknown>;
|
|
1661
1661
|
}) => {
|
|
1662
1662
|
source: string;
|
|
1663
|
-
value: "
|
|
1663
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
1664
1664
|
};
|
|
1665
|
-
setConfig: (value: "
|
|
1665
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
1666
1666
|
};
|
|
1667
1667
|
readonly muted: {
|
|
1668
1668
|
name: string;
|
|
@@ -1919,14 +1919,14 @@ export declare const BrowserSafeApis: {
|
|
|
1919
1919
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1920
1920
|
docLink: string;
|
|
1921
1921
|
ssrName: string;
|
|
1922
|
-
type: "
|
|
1922
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
1923
1923
|
getValue: ({ commandLine }: {
|
|
1924
1924
|
commandLine: Record<string, unknown>;
|
|
1925
1925
|
}) => {
|
|
1926
1926
|
source: string;
|
|
1927
|
-
value: "
|
|
1927
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
1928
1928
|
};
|
|
1929
|
-
setConfig: (value: "
|
|
1929
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
1930
1930
|
};
|
|
1931
1931
|
readonly audioBitrate: {
|
|
1932
1932
|
name: string;
|
|
@@ -1967,17 +1967,17 @@ export declare const BrowserSafeApis: {
|
|
|
1967
1967
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1968
1968
|
ssrName: "x264Preset";
|
|
1969
1969
|
docLink: string;
|
|
1970
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1970
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
1971
1971
|
getValue: ({ commandLine }: {
|
|
1972
1972
|
commandLine: Record<string, unknown>;
|
|
1973
1973
|
}) => {
|
|
1974
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1974
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
1975
1975
|
source: string;
|
|
1976
1976
|
} | {
|
|
1977
1977
|
value: null;
|
|
1978
1978
|
source: string;
|
|
1979
1979
|
};
|
|
1980
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1980
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
1981
1981
|
};
|
|
1982
1982
|
readonly encodingMaxRate: {
|
|
1983
1983
|
name: string;
|
|
@@ -2281,9 +2281,9 @@ export declare const BrowserSafeApis: {
|
|
|
2281
2281
|
};
|
|
2282
2282
|
};
|
|
2283
2283
|
};
|
|
2284
|
-
codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
2285
|
-
codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
2284
|
+
codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => boolean;
|
|
2285
|
+
codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => boolean;
|
|
2286
2286
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
2287
2287
|
getOutputCodecOrUndefined: () => import("./codec").CodecOrUndefined;
|
|
2288
|
-
getExtensionFromAudioCodec: (audioCodec: "
|
|
2288
|
+
getExtensionFromAudioCodec: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16") => "opus" | "aac" | "mp3" | "wav";
|
|
2289
2289
|
};
|
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.startCompositor = exports.startLongRunningCompositor = void 0;
|
|
7
|
+
const streaming_1 = require("@remotion/streaming");
|
|
7
8
|
const node_child_process_1 = require("node:child_process");
|
|
8
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
9
10
|
const get_concurrency_1 = require("../get-concurrency");
|
|
10
11
|
const log_level_1 = require("../log-level");
|
|
11
12
|
const logger_1 = require("../logger");
|
|
12
|
-
const streaming_1 = require("../streaming");
|
|
13
13
|
const compose_1 = require("./compose");
|
|
14
14
|
const get_executable_path_1 = require("./get-executable-path");
|
|
15
15
|
const make_file_executable_1 = require("./make-file-executable");
|
package/dist/index.d.ts
CHANGED
|
@@ -70,10 +70,10 @@ export declare const RenderInternals: {
|
|
|
70
70
|
width: number;
|
|
71
71
|
height: number;
|
|
72
72
|
scale: number;
|
|
73
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
73
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
74
74
|
wantsImageSequence: boolean;
|
|
75
75
|
}) => void;
|
|
76
|
-
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "
|
|
76
|
+
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">(codec: T, audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
77
77
|
tmpDir: (str: string) => string;
|
|
78
78
|
deleteDirectory: (directory: string) => void;
|
|
79
79
|
isServeUrl: (potentialUrl: string) => boolean;
|
|
@@ -130,7 +130,7 @@ export declare const RenderInternals: {
|
|
|
130
130
|
};
|
|
131
131
|
registerErrorSymbolicationLock: () => number;
|
|
132
132
|
unlockErrorSymbolicationLock: (id: number) => void;
|
|
133
|
-
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
133
|
+
canUseParallelEncoding: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => boolean;
|
|
134
134
|
mimeContentType: typeof mimeContentType;
|
|
135
135
|
mimeLookup: typeof mimeLookup;
|
|
136
136
|
validateConcurrency: ({ setting, value, checkIfValidForCurrentMachine, }: {
|
|
@@ -144,11 +144,11 @@ export declare const RenderInternals: {
|
|
|
144
144
|
DEFAULT_OPENGL_RENDERER: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
145
145
|
validateOpenGlRenderer: (option: unknown) => "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
146
146
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
147
|
-
DEFAULT_PIXEL_FORMAT: "yuv420p" | "
|
|
147
|
+
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv422p" | "yuv444p" | "yuva420p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
148
148
|
validateJpegQuality: (q: unknown) => void;
|
|
149
149
|
DEFAULT_TIMEOUT: number;
|
|
150
|
-
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "
|
|
151
|
-
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
150
|
+
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
151
|
+
isAudioCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null | undefined) => boolean;
|
|
152
152
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
153
153
|
isEqualOrBelowLogLevel: (currentLevel: "verbose" | "info" | "warn" | "error", level: "verbose" | "info" | "warn" | "error") => boolean;
|
|
154
154
|
isValidLogLevel: (level: string) => boolean;
|
|
@@ -165,10 +165,10 @@ export declare const RenderInternals: {
|
|
|
165
165
|
output: string;
|
|
166
166
|
onProgress: (p: number) => void;
|
|
167
167
|
numberOfFrames: number;
|
|
168
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
168
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
169
169
|
fps: number;
|
|
170
170
|
numberOfGifLoops: number | null;
|
|
171
|
-
resolvedAudioCodec: "
|
|
171
|
+
resolvedAudioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
172
172
|
audioBitrate: string | null;
|
|
173
173
|
indent: boolean;
|
|
174
174
|
logLevel: "verbose" | "info" | "warn" | "error";
|
|
@@ -182,18 +182,18 @@ export declare const RenderInternals: {
|
|
|
182
182
|
getMinConcurrency: () => number;
|
|
183
183
|
getMaxConcurrency: () => number;
|
|
184
184
|
getDefaultAudioCodec: ({ codec, preferLossless, }: {
|
|
185
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
185
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
186
186
|
preferLossless: boolean;
|
|
187
|
-
}) => "
|
|
187
|
+
}) => "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
188
188
|
defaultFileExtensionMap: {
|
|
189
189
|
h264: {
|
|
190
190
|
default: import("./file-extensions").FileExtension;
|
|
191
191
|
forAudioCodec: {
|
|
192
|
-
|
|
192
|
+
aac: {
|
|
193
193
|
possible: import("./file-extensions").FileExtension[];
|
|
194
194
|
default: import("./file-extensions").FileExtension;
|
|
195
195
|
};
|
|
196
|
-
|
|
196
|
+
mp3: {
|
|
197
197
|
possible: import("./file-extensions").FileExtension[];
|
|
198
198
|
default: import("./file-extensions").FileExtension;
|
|
199
199
|
};
|
|
@@ -219,11 +219,11 @@ export declare const RenderInternals: {
|
|
|
219
219
|
vp8: {
|
|
220
220
|
default: import("./file-extensions").FileExtension;
|
|
221
221
|
forAudioCodec: {
|
|
222
|
-
|
|
222
|
+
opus: {
|
|
223
223
|
possible: import("./file-extensions").FileExtension[];
|
|
224
224
|
default: import("./file-extensions").FileExtension;
|
|
225
225
|
};
|
|
226
|
-
|
|
226
|
+
"pcm-16": {
|
|
227
227
|
possible: import("./file-extensions").FileExtension[];
|
|
228
228
|
default: import("./file-extensions").FileExtension;
|
|
229
229
|
};
|
|
@@ -232,20 +232,20 @@ export declare const RenderInternals: {
|
|
|
232
232
|
vp9: {
|
|
233
233
|
default: import("./file-extensions").FileExtension;
|
|
234
234
|
forAudioCodec: {
|
|
235
|
-
|
|
235
|
+
opus: {
|
|
236
236
|
possible: import("./file-extensions").FileExtension[];
|
|
237
237
|
default: import("./file-extensions").FileExtension;
|
|
238
238
|
};
|
|
239
|
-
|
|
239
|
+
"pcm-16": {
|
|
240
240
|
possible: import("./file-extensions").FileExtension[];
|
|
241
241
|
default: import("./file-extensions").FileExtension;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
};
|
|
245
|
-
|
|
245
|
+
prores: {
|
|
246
246
|
default: import("./file-extensions").FileExtension;
|
|
247
247
|
forAudioCodec: {
|
|
248
|
-
|
|
248
|
+
aac: {
|
|
249
249
|
possible: import("./file-extensions").FileExtension[];
|
|
250
250
|
default: import("./file-extensions").FileExtension;
|
|
251
251
|
};
|
|
@@ -268,22 +268,22 @@ export declare const RenderInternals: {
|
|
|
268
268
|
};
|
|
269
269
|
};
|
|
270
270
|
};
|
|
271
|
-
|
|
271
|
+
mp3: {
|
|
272
272
|
default: import("./file-extensions").FileExtension;
|
|
273
273
|
forAudioCodec: {
|
|
274
|
+
mp3: {
|
|
275
|
+
possible: import("./file-extensions").FileExtension[];
|
|
276
|
+
default: import("./file-extensions").FileExtension;
|
|
277
|
+
};
|
|
274
278
|
"pcm-16": {
|
|
275
279
|
possible: import("./file-extensions").FileExtension[];
|
|
276
280
|
default: import("./file-extensions").FileExtension;
|
|
277
281
|
};
|
|
278
282
|
};
|
|
279
283
|
};
|
|
280
|
-
|
|
284
|
+
wav: {
|
|
281
285
|
default: import("./file-extensions").FileExtension;
|
|
282
286
|
forAudioCodec: {
|
|
283
|
-
aac: {
|
|
284
|
-
possible: import("./file-extensions").FileExtension[];
|
|
285
|
-
default: import("./file-extensions").FileExtension;
|
|
286
|
-
};
|
|
287
287
|
"pcm-16": {
|
|
288
288
|
possible: import("./file-extensions").FileExtension[];
|
|
289
289
|
default: import("./file-extensions").FileExtension;
|
|
@@ -335,10 +335,10 @@ export declare const RenderInternals: {
|
|
|
335
335
|
readonly vp9: readonly ["opus", "pcm-16"];
|
|
336
336
|
readonly wav: readonly ["pcm-16"];
|
|
337
337
|
};
|
|
338
|
-
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "
|
|
339
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "
|
|
338
|
+
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif")[]>;
|
|
339
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif">;
|
|
340
340
|
getExecutablePath: ({ indent, logLevel, type, binariesDirectory, }: {
|
|
341
|
-
type: "
|
|
341
|
+
type: "compositor" | "ffmpeg" | "ffprobe";
|
|
342
342
|
indent: boolean;
|
|
343
343
|
logLevel: "verbose" | "info" | "warn" | "error";
|
|
344
344
|
binariesDirectory: string | null;
|
|
@@ -909,21 +909,21 @@ export declare const RenderInternals: {
|
|
|
909
909
|
hostsToTry: string[];
|
|
910
910
|
};
|
|
911
911
|
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
|
912
|
-
getExtensionFromAudioCodec: (audioCodec: "
|
|
912
|
+
getExtensionFromAudioCodec: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16") => "opus" | "aac" | "mp3" | "wav";
|
|
913
913
|
makeFileExecutableIfItIsNot: (path: string) => void;
|
|
914
914
|
resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: {
|
|
915
|
-
setting: "
|
|
916
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
915
|
+
setting: "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
916
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
917
917
|
preferLossless: boolean;
|
|
918
918
|
separateAudioTo: string | null;
|
|
919
|
-
}) => "
|
|
919
|
+
}) => "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
920
920
|
getShouldRenderAudio: ({ codec, assetsInfo, enforceAudioTrack, muted, }: {
|
|
921
|
-
codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
921
|
+
codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
922
922
|
assetsInfo: import("./assets/download-map").RenderAssetInfo | null;
|
|
923
923
|
enforceAudioTrack: boolean;
|
|
924
924
|
muted: boolean;
|
|
925
925
|
}) => "yes" | "maybe" | "no";
|
|
926
|
-
codecSupportsMedia: (codec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
926
|
+
codecSupportsMedia: (codec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif") => {
|
|
927
927
|
video: boolean;
|
|
928
928
|
audio: boolean;
|
|
929
929
|
};
|
|
@@ -958,4 +958,24 @@ export declare const RenderInternals: {
|
|
|
958
958
|
setConfig: () => never;
|
|
959
959
|
};
|
|
960
960
|
}>) => Promise<import("./ensure-browser").BrowserStatus>;
|
|
961
|
+
exampleVideos: {
|
|
962
|
+
bigBuckBunny: string;
|
|
963
|
+
transparentWebm: string;
|
|
964
|
+
framerWithoutFileExtension: string;
|
|
965
|
+
corrupted: string;
|
|
966
|
+
customDar: string;
|
|
967
|
+
screenrecording: string;
|
|
968
|
+
nofps: string;
|
|
969
|
+
variablefps: string;
|
|
970
|
+
zerotimestamp: string;
|
|
971
|
+
webcam: string;
|
|
972
|
+
iphonevideo: string;
|
|
973
|
+
av1: string;
|
|
974
|
+
framer24fps: string;
|
|
975
|
+
music: string;
|
|
976
|
+
notavideo: string;
|
|
977
|
+
notafile: string;
|
|
978
|
+
transparentwithdar: string;
|
|
979
|
+
iphonehevc: string;
|
|
980
|
+
};
|
|
961
981
|
};
|
package/dist/index.js
CHANGED
|
@@ -116,6 +116,7 @@ const make_file_executable_1 = require("./compositor/make-file-executable");
|
|
|
116
116
|
const ensure_browser_2 = require("./ensure-browser");
|
|
117
117
|
const audio_codec_1 = require("./options/audio-codec");
|
|
118
118
|
const render_has_audio_1 = require("./render-has-audio");
|
|
119
|
+
const example_videos_1 = require("./test/example-videos");
|
|
119
120
|
const to_megabytes_1 = require("./to-megabytes");
|
|
120
121
|
const validate_puppeteer_timeout_1 = require("./validate-puppeteer-timeout");
|
|
121
122
|
const validate_videobitrate_1 = require("./validate-videobitrate");
|
|
@@ -206,6 +207,7 @@ exports.RenderInternals = {
|
|
|
206
207
|
codecSupportsMedia: codec_supports_media_1.codecSupportsMedia,
|
|
207
208
|
toMegabytes: to_megabytes_1.toMegabytes,
|
|
208
209
|
internalEnsureBrowser: ensure_browser_2.internalEnsureBrowser,
|
|
210
|
+
exampleVideos: example_videos_1.exampleVideos,
|
|
209
211
|
};
|
|
210
212
|
// Warn of potential performance issues with Apple Silicon (M1 chip under Rosetta)
|
|
211
213
|
(0, check_version_requirements_1.checkRuntimeVersion)('info', false);
|
|
@@ -164,6 +164,7 @@ const startOffthreadVideoServer = ({ downloadMap, concurrency, logLevel, indent,
|
|
|
164
164
|
});
|
|
165
165
|
})
|
|
166
166
|
.catch((err) => {
|
|
167
|
+
logger_1.Log.error({ indent, logLevel }, 'Could not extract frame from compositor', err);
|
|
167
168
|
if (!response.headersSent) {
|
|
168
169
|
response.writeHead(500);
|
|
169
170
|
response.write(JSON.stringify({ error: err.stack }));
|
|
@@ -24,25 +24,25 @@ export declare const defaultAudioCodecs: {
|
|
|
24
24
|
[k in 'compressed' | 'lossless']: (typeof supportedAudioCodecs)[key][number] | null;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export declare const getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "
|
|
27
|
+
export declare const getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "opus" | "aac" | "mp3" | "wav";
|
|
28
28
|
export declare const resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: {
|
|
29
29
|
setting: AudioCodec | null;
|
|
30
30
|
codec: Codec;
|
|
31
31
|
preferLossless: boolean;
|
|
32
32
|
separateAudioTo: string | null;
|
|
33
|
-
}) => "
|
|
33
|
+
}) => "opus" | "aac" | "mp3" | "pcm-16" | null;
|
|
34
34
|
export declare const getDefaultAudioCodec: ({ codec, preferLossless, }: {
|
|
35
35
|
codec: Codec;
|
|
36
36
|
preferLossless: boolean;
|
|
37
37
|
}) => AudioCodec | null;
|
|
38
38
|
export declare const audioCodecOption: {
|
|
39
39
|
cliFlag: "audio-codec";
|
|
40
|
-
setConfig: (audioCodec: "
|
|
40
|
+
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void;
|
|
41
41
|
getValue: ({ commandLine }: {
|
|
42
42
|
commandLine: Record<string, unknown>;
|
|
43
43
|
}) => {
|
|
44
44
|
source: string;
|
|
45
|
-
value: "
|
|
45
|
+
value: "opus" | "aac" | "mp3" | "pcm-16";
|
|
46
46
|
} | {
|
|
47
47
|
source: string;
|
|
48
48
|
value: null;
|
|
@@ -51,6 +51,6 @@ export declare const audioCodecOption: {
|
|
|
51
51
|
docLink: string;
|
|
52
52
|
name: string;
|
|
53
53
|
ssrName: "audioCodec";
|
|
54
|
-
type: "
|
|
54
|
+
type: "opus" | "aac" | "mp3" | "pcm-16";
|
|
55
55
|
};
|
|
56
56
|
export {};
|
|
@@ -7,13 +7,13 @@ export declare const colorSpaceOption: {
|
|
|
7
7
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
docLink: string;
|
|
9
9
|
ssrName: string;
|
|
10
|
-
type: "
|
|
10
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
11
11
|
getValue: ({ commandLine }: {
|
|
12
12
|
commandLine: Record<string, unknown>;
|
|
13
13
|
}) => {
|
|
14
14
|
source: string;
|
|
15
|
-
value: "
|
|
15
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
16
16
|
};
|
|
17
|
-
setConfig: (value: "
|
|
17
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
18
18
|
};
|
|
19
19
|
export declare const validateColorSpace: (option: unknown) => void;
|
package/dist/options/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import type { AnyRemotionOption } from './option';
|
|
|
2
2
|
export declare const allOptions: {
|
|
3
3
|
audioCodecOption: {
|
|
4
4
|
cliFlag: "audio-codec";
|
|
5
|
-
setConfig: (audioCodec: "
|
|
5
|
+
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void;
|
|
6
6
|
getValue: ({ commandLine }: {
|
|
7
7
|
commandLine: Record<string, unknown>;
|
|
8
8
|
}) => {
|
|
9
9
|
source: string;
|
|
10
|
-
value: "
|
|
10
|
+
value: "opus" | "aac" | "mp3" | "pcm-16";
|
|
11
11
|
} | {
|
|
12
12
|
source: string;
|
|
13
13
|
value: null;
|
|
@@ -16,7 +16,7 @@ export declare const allOptions: {
|
|
|
16
16
|
docLink: string;
|
|
17
17
|
name: string;
|
|
18
18
|
ssrName: "audioCodec";
|
|
19
|
-
type: "
|
|
19
|
+
type: "opus" | "aac" | "mp3" | "pcm-16";
|
|
20
20
|
};
|
|
21
21
|
scaleOption: {
|
|
22
22
|
name: string;
|
|
@@ -135,17 +135,17 @@ export declare const allOptions: {
|
|
|
135
135
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
136
136
|
ssrName: string;
|
|
137
137
|
docLink: string;
|
|
138
|
-
type: "h264" | "h265" | "vp8" | "vp9" | "
|
|
138
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
139
139
|
getValue: ({ commandLine }: {
|
|
140
140
|
commandLine: Record<string, unknown>;
|
|
141
141
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
142
142
|
outName: string | null;
|
|
143
143
|
downloadName: string | null;
|
|
144
|
-
configFile: "h264" | "h265" | "vp8" | "vp9" | "
|
|
145
|
-
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
146
|
-
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
144
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
145
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
146
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
147
147
|
}) => {
|
|
148
|
-
value: "h264" | "h265" | "vp8" | "vp9" | "
|
|
148
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
149
149
|
source: string;
|
|
150
150
|
};
|
|
151
151
|
setConfig: (newCodec: import("..").CodecOrUndefined) => void;
|
|
@@ -184,14 +184,14 @@ export declare const allOptions: {
|
|
|
184
184
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
185
185
|
docLink: string;
|
|
186
186
|
ssrName: string;
|
|
187
|
-
type: "
|
|
187
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
188
188
|
getValue: ({ commandLine }: {
|
|
189
189
|
commandLine: Record<string, unknown>;
|
|
190
190
|
}) => {
|
|
191
191
|
source: string;
|
|
192
|
-
value: "
|
|
192
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
193
193
|
};
|
|
194
|
-
setConfig: (value: "
|
|
194
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
195
195
|
};
|
|
196
196
|
deleteAfterOption: {
|
|
197
197
|
name: string;
|
|
@@ -382,17 +382,17 @@ export declare const allOptions: {
|
|
|
382
382
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
383
383
|
ssrName: "x264Preset";
|
|
384
384
|
docLink: string;
|
|
385
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
385
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
386
386
|
getValue: ({ commandLine }: {
|
|
387
387
|
commandLine: Record<string, unknown>;
|
|
388
388
|
}) => {
|
|
389
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
389
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
390
390
|
source: string;
|
|
391
391
|
} | {
|
|
392
392
|
value: null;
|
|
393
393
|
source: string;
|
|
394
394
|
};
|
|
395
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
395
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
396
396
|
};
|
|
397
397
|
logLevelOption: {
|
|
398
398
|
cliFlag: "log";
|
|
@@ -72,17 +72,17 @@ export declare const optionsMap: {
|
|
|
72
72
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
73
73
|
ssrName: "x264Preset";
|
|
74
74
|
docLink: string;
|
|
75
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
75
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
76
76
|
getValue: ({ commandLine }: {
|
|
77
77
|
commandLine: Record<string, unknown>;
|
|
78
78
|
}) => {
|
|
79
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
79
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
80
80
|
source: string;
|
|
81
81
|
} | {
|
|
82
82
|
value: null;
|
|
83
83
|
source: string;
|
|
84
84
|
};
|
|
85
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
85
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
86
86
|
};
|
|
87
87
|
readonly audioBitrate: {
|
|
88
88
|
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" | null;
|
|
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" | null) => void;
|
|
119
119
|
};
|
|
120
120
|
readonly codec: {
|
|
121
121
|
name: string;
|
|
@@ -123,17 +123,17 @@ export declare const optionsMap: {
|
|
|
123
123
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
124
124
|
ssrName: string;
|
|
125
125
|
docLink: string;
|
|
126
|
-
type: "h264" | "h265" | "vp8" | "vp9" | "
|
|
126
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
127
127
|
getValue: ({ commandLine }: {
|
|
128
128
|
commandLine: Record<string, unknown>;
|
|
129
129
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
130
130
|
outName: string | null;
|
|
131
131
|
downloadName: string | null;
|
|
132
|
-
configFile: "h264" | "h265" | "vp8" | "vp9" | "
|
|
133
|
-
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
134
|
-
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "
|
|
132
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
133
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
134
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif" | null;
|
|
135
135
|
}) => {
|
|
136
|
-
value: "h264" | "h265" | "vp8" | "vp9" | "
|
|
136
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
137
137
|
source: string;
|
|
138
138
|
};
|
|
139
139
|
setConfig: (newCodec: import("..").CodecOrUndefined) => void;
|
|
@@ -287,12 +287,12 @@ export declare const optionsMap: {
|
|
|
287
287
|
};
|
|
288
288
|
readonly audioCodec: {
|
|
289
289
|
cliFlag: "audio-codec";
|
|
290
|
-
setConfig: (audioCodec: "
|
|
290
|
+
setConfig: (audioCodec: "opus" | "aac" | "mp3" | "pcm-16" | null) => void;
|
|
291
291
|
getValue: ({ commandLine }: {
|
|
292
292
|
commandLine: Record<string, unknown>;
|
|
293
293
|
}) => {
|
|
294
294
|
source: string;
|
|
295
|
-
value: "
|
|
295
|
+
value: "opus" | "aac" | "mp3" | "pcm-16";
|
|
296
296
|
} | {
|
|
297
297
|
source: string;
|
|
298
298
|
value: null;
|
|
@@ -301,7 +301,7 @@ export declare const optionsMap: {
|
|
|
301
301
|
docLink: string;
|
|
302
302
|
name: string;
|
|
303
303
|
ssrName: "audioCodec";
|
|
304
|
-
type: "
|
|
304
|
+
type: "opus" | "aac" | "mp3" | "pcm-16";
|
|
305
305
|
};
|
|
306
306
|
readonly onBrowserDownload: {
|
|
307
307
|
name: string;
|
|
@@ -794,17 +794,17 @@ export declare const optionsMap: {
|
|
|
794
794
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
795
795
|
ssrName: "x264Preset";
|
|
796
796
|
docLink: string;
|
|
797
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
797
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
798
798
|
getValue: ({ commandLine }: {
|
|
799
799
|
commandLine: Record<string, unknown>;
|
|
800
800
|
}) => {
|
|
801
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
801
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
802
802
|
source: string;
|
|
803
803
|
} | {
|
|
804
804
|
value: null;
|
|
805
805
|
source: string;
|
|
806
806
|
};
|
|
807
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
807
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
808
808
|
};
|
|
809
809
|
readonly encodingMaxRate: {
|
|
810
810
|
name: string;
|
|
@@ -848,14 +848,14 @@ export declare const optionsMap: {
|
|
|
848
848
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
849
849
|
docLink: string;
|
|
850
850
|
ssrName: string;
|
|
851
|
-
type: "
|
|
851
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
852
852
|
getValue: ({ commandLine }: {
|
|
853
853
|
commandLine: Record<string, unknown>;
|
|
854
854
|
}) => {
|
|
855
855
|
source: string;
|
|
856
|
-
value: "
|
|
856
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
857
857
|
};
|
|
858
|
-
setConfig: (value: "
|
|
858
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
859
859
|
};
|
|
860
860
|
readonly muted: {
|
|
861
861
|
name: string;
|
|
@@ -1112,14 +1112,14 @@ export declare const optionsMap: {
|
|
|
1112
1112
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1113
1113
|
docLink: string;
|
|
1114
1114
|
ssrName: string;
|
|
1115
|
-
type: "
|
|
1115
|
+
type: "bt709" | "bt2020-ncl" | "default" | null;
|
|
1116
1116
|
getValue: ({ commandLine }: {
|
|
1117
1117
|
commandLine: Record<string, unknown>;
|
|
1118
1118
|
}) => {
|
|
1119
1119
|
source: string;
|
|
1120
|
-
value: "
|
|
1120
|
+
value: "bt709" | "bt2020-ncl" | "default";
|
|
1121
1121
|
};
|
|
1122
|
-
setConfig: (value: "
|
|
1122
|
+
setConfig: (value: "bt709" | "bt2020-ncl" | "default" | null) => void;
|
|
1123
1123
|
};
|
|
1124
1124
|
readonly audioBitrate: {
|
|
1125
1125
|
name: string;
|
|
@@ -1160,17 +1160,17 @@ export declare const optionsMap: {
|
|
|
1160
1160
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1161
1161
|
ssrName: "x264Preset";
|
|
1162
1162
|
docLink: string;
|
|
1163
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1163
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
1164
1164
|
getValue: ({ commandLine }: {
|
|
1165
1165
|
commandLine: Record<string, unknown>;
|
|
1166
1166
|
}) => {
|
|
1167
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1167
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
1168
1168
|
source: string;
|
|
1169
1169
|
} | {
|
|
1170
1170
|
value: null;
|
|
1171
1171
|
source: string;
|
|
1172
1172
|
};
|
|
1173
|
-
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
1173
|
+
setConfig: (profile: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
1174
1174
|
};
|
|
1175
1175
|
readonly encodingMaxRate: {
|
|
1176
1176
|
name: string;
|
|
@@ -6,7 +6,7 @@ export declare const videoCodecOption: {
|
|
|
6
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
ssrName: string;
|
|
8
8
|
docLink: string;
|
|
9
|
-
type: "h264" | "h265" | "vp8" | "vp9" | "
|
|
9
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "prores" | "aac" | "mp3" | "wav" | "h264-mkv" | "h264-ts" | "gif";
|
|
10
10
|
getValue: ({ commandLine }: {
|
|
11
11
|
commandLine: Record<string, unknown>;
|
|
12
12
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
@@ -11,11 +11,11 @@ export declare const x264Option: {
|
|
|
11
11
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
ssrName: "x264Preset";
|
|
13
13
|
docLink: string;
|
|
14
|
-
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
14
|
+
type: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
15
15
|
getValue: ({ commandLine }: {
|
|
16
16
|
commandLine: Record<string, unknown>;
|
|
17
17
|
}) => {
|
|
18
|
-
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
18
|
+
value: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
19
19
|
source: string;
|
|
20
20
|
} | {
|
|
21
21
|
value: null;
|
package/dist/port-config.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
/// <reference types="bun-types" />
|
|
3
2
|
/// <reference types="node" />
|
|
4
3
|
/// <reference types="node" />
|
|
5
4
|
/// <reference types="node" />
|
|
5
|
+
/// <reference types="node" />
|
|
6
|
+
/// <reference types="node" />
|
|
6
7
|
/// <reference types="bun-types" />
|
|
7
8
|
/// <reference types="bun-types" />
|
|
8
9
|
/// <reference types="node" />
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.184",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"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.17.1",
|
|
21
|
-
"remotion": "4.0.
|
|
21
|
+
"remotion": "4.0.184"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"react": "18.3.1",
|
|
32
32
|
"react-dom": "18.3.1",
|
|
33
33
|
"@types/ws": "8.5.10",
|
|
34
|
-
"@remotion/streaming": "4.0.
|
|
34
|
+
"@remotion/streaming": "4.0.184"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
38
|
-
"@remotion/compositor-linux-arm64-
|
|
39
|
-
"@remotion/compositor-
|
|
40
|
-
"@remotion/compositor-linux-
|
|
41
|
-
"@remotion/compositor-linux-x64-
|
|
42
|
-
"@remotion/compositor-
|
|
43
|
-
"@remotion/compositor-
|
|
37
|
+
"@remotion/compositor-darwin-arm64": "4.0.184",
|
|
38
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.184",
|
|
39
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.184",
|
|
40
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.184",
|
|
41
|
+
"@remotion/compositor-linux-x64-musl": "4.0.184",
|
|
42
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.184",
|
|
43
|
+
"@remotion/compositor-darwin-x64": "4.0.184"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"remotion",
|