@remotion/renderer 4.0.243 → 4.0.244
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/index.d.ts +37 -37
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -139,13 +139,13 @@ export declare const RenderInternals: {
|
|
|
139
139
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
140
140
|
DEFAULT_BROWSER: "chrome";
|
|
141
141
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
142
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
142
|
+
DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
143
143
|
validateOpenGlRenderer: (option: unknown) => import("./options/gl").OpenGlRenderer | null;
|
|
144
144
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
145
145
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
146
146
|
validateJpegQuality: (q: unknown) => void;
|
|
147
147
|
DEFAULT_TIMEOUT: number;
|
|
148
|
-
DEFAULT_CODEC: "
|
|
148
|
+
DEFAULT_CODEC: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif";
|
|
149
149
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
150
150
|
isEqualOrBelowLogLevel: (currentLevel: import("./log-level").LogLevel, level: import("./log-level").LogLevel) => boolean;
|
|
151
151
|
isValidLogLevel: (level: string) => boolean;
|
|
@@ -184,10 +184,10 @@ export declare const RenderInternals: {
|
|
|
184
184
|
preferLossless: boolean;
|
|
185
185
|
}) => AudioCodec | null;
|
|
186
186
|
defaultFileExtensionMap: {
|
|
187
|
-
|
|
187
|
+
h264: {
|
|
188
188
|
default: import("./file-extensions").FileExtension;
|
|
189
189
|
forAudioCodec: {
|
|
190
|
-
|
|
190
|
+
mp3: {
|
|
191
191
|
possible: import("./file-extensions").FileExtension[];
|
|
192
192
|
default: import("./file-extensions").FileExtension;
|
|
193
193
|
};
|
|
@@ -195,94 +195,94 @@ export declare const RenderInternals: {
|
|
|
195
195
|
possible: import("./file-extensions").FileExtension[];
|
|
196
196
|
default: import("./file-extensions").FileExtension;
|
|
197
197
|
};
|
|
198
|
+
"pcm-16": {
|
|
199
|
+
possible: import("./file-extensions").FileExtension[];
|
|
200
|
+
default: import("./file-extensions").FileExtension;
|
|
201
|
+
};
|
|
198
202
|
};
|
|
199
203
|
};
|
|
200
|
-
|
|
204
|
+
h265: {
|
|
201
205
|
default: import("./file-extensions").FileExtension;
|
|
202
206
|
forAudioCodec: {
|
|
203
|
-
|
|
207
|
+
aac: {
|
|
204
208
|
possible: import("./file-extensions").FileExtension[];
|
|
205
209
|
default: import("./file-extensions").FileExtension;
|
|
206
210
|
};
|
|
207
|
-
|
|
211
|
+
"pcm-16": {
|
|
208
212
|
possible: import("./file-extensions").FileExtension[];
|
|
209
213
|
default: import("./file-extensions").FileExtension;
|
|
210
214
|
};
|
|
211
215
|
};
|
|
212
216
|
};
|
|
213
|
-
|
|
217
|
+
vp8: {
|
|
214
218
|
default: import("./file-extensions").FileExtension;
|
|
215
219
|
forAudioCodec: {
|
|
216
220
|
"pcm-16": {
|
|
217
221
|
possible: import("./file-extensions").FileExtension[];
|
|
218
222
|
default: import("./file-extensions").FileExtension;
|
|
219
223
|
};
|
|
224
|
+
opus: {
|
|
225
|
+
possible: import("./file-extensions").FileExtension[];
|
|
226
|
+
default: import("./file-extensions").FileExtension;
|
|
227
|
+
};
|
|
220
228
|
};
|
|
221
229
|
};
|
|
222
|
-
|
|
230
|
+
vp9: {
|
|
223
231
|
default: import("./file-extensions").FileExtension;
|
|
224
232
|
forAudioCodec: {
|
|
225
233
|
"pcm-16": {
|
|
226
234
|
possible: import("./file-extensions").FileExtension[];
|
|
227
235
|
default: import("./file-extensions").FileExtension;
|
|
228
236
|
};
|
|
229
|
-
|
|
230
|
-
possible: import("./file-extensions").FileExtension[];
|
|
231
|
-
default: import("./file-extensions").FileExtension;
|
|
232
|
-
};
|
|
233
|
-
mp3: {
|
|
237
|
+
opus: {
|
|
234
238
|
possible: import("./file-extensions").FileExtension[];
|
|
235
239
|
default: import("./file-extensions").FileExtension;
|
|
236
240
|
};
|
|
237
241
|
};
|
|
238
242
|
};
|
|
239
|
-
|
|
243
|
+
mp3: {
|
|
240
244
|
default: import("./file-extensions").FileExtension;
|
|
241
245
|
forAudioCodec: {
|
|
242
|
-
|
|
246
|
+
mp3: {
|
|
243
247
|
possible: import("./file-extensions").FileExtension[];
|
|
244
248
|
default: import("./file-extensions").FileExtension;
|
|
245
249
|
};
|
|
246
|
-
|
|
250
|
+
"pcm-16": {
|
|
247
251
|
possible: import("./file-extensions").FileExtension[];
|
|
248
252
|
default: import("./file-extensions").FileExtension;
|
|
249
253
|
};
|
|
250
254
|
};
|
|
251
255
|
};
|
|
252
|
-
|
|
256
|
+
aac: {
|
|
253
257
|
default: import("./file-extensions").FileExtension;
|
|
254
258
|
forAudioCodec: {
|
|
255
|
-
|
|
259
|
+
aac: {
|
|
256
260
|
possible: import("./file-extensions").FileExtension[];
|
|
257
261
|
default: import("./file-extensions").FileExtension;
|
|
258
262
|
};
|
|
259
|
-
|
|
263
|
+
"pcm-16": {
|
|
260
264
|
possible: import("./file-extensions").FileExtension[];
|
|
261
265
|
default: import("./file-extensions").FileExtension;
|
|
262
266
|
};
|
|
263
267
|
};
|
|
264
268
|
};
|
|
265
|
-
|
|
269
|
+
wav: {
|
|
266
270
|
default: import("./file-extensions").FileExtension;
|
|
267
271
|
forAudioCodec: {
|
|
268
272
|
"pcm-16": {
|
|
269
273
|
possible: import("./file-extensions").FileExtension[];
|
|
270
274
|
default: import("./file-extensions").FileExtension;
|
|
271
275
|
};
|
|
272
|
-
opus: {
|
|
273
|
-
possible: import("./file-extensions").FileExtension[];
|
|
274
|
-
default: import("./file-extensions").FileExtension;
|
|
275
|
-
};
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
prores: {
|
|
279
279
|
default: import("./file-extensions").FileExtension;
|
|
280
280
|
forAudioCodec: {
|
|
281
|
-
|
|
281
|
+
aac: {
|
|
282
282
|
possible: import("./file-extensions").FileExtension[];
|
|
283
283
|
default: import("./file-extensions").FileExtension;
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
"pcm-16": {
|
|
286
286
|
possible: import("./file-extensions").FileExtension[];
|
|
287
287
|
default: import("./file-extensions").FileExtension;
|
|
288
288
|
};
|
|
@@ -291,11 +291,11 @@ export declare const RenderInternals: {
|
|
|
291
291
|
"h264-mkv": {
|
|
292
292
|
default: import("./file-extensions").FileExtension;
|
|
293
293
|
forAudioCodec: {
|
|
294
|
-
|
|
294
|
+
mp3: {
|
|
295
295
|
possible: import("./file-extensions").FileExtension[];
|
|
296
296
|
default: import("./file-extensions").FileExtension;
|
|
297
297
|
};
|
|
298
|
-
|
|
298
|
+
"pcm-16": {
|
|
299
299
|
possible: import("./file-extensions").FileExtension[];
|
|
300
300
|
default: import("./file-extensions").FileExtension;
|
|
301
301
|
};
|
|
@@ -304,11 +304,11 @@ export declare const RenderInternals: {
|
|
|
304
304
|
"h264-ts": {
|
|
305
305
|
default: import("./file-extensions").FileExtension;
|
|
306
306
|
forAudioCodec: {
|
|
307
|
-
|
|
307
|
+
aac: {
|
|
308
308
|
possible: import("./file-extensions").FileExtension[];
|
|
309
309
|
default: import("./file-extensions").FileExtension;
|
|
310
310
|
};
|
|
311
|
-
|
|
311
|
+
"pcm-16": {
|
|
312
312
|
possible: import("./file-extensions").FileExtension[];
|
|
313
313
|
default: import("./file-extensions").FileExtension;
|
|
314
314
|
};
|
|
@@ -333,8 +333,8 @@ export declare const RenderInternals: {
|
|
|
333
333
|
readonly vp9: readonly ["opus", "pcm-16"];
|
|
334
334
|
readonly wav: readonly ["pcm-16"];
|
|
335
335
|
};
|
|
336
|
-
makeFileExtensionMap: () => Record<string, ("
|
|
337
|
-
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "
|
|
336
|
+
makeFileExtensionMap: () => Record<string, ("h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif")[]>;
|
|
337
|
+
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">;
|
|
338
338
|
getExecutablePath: ({ indent, logLevel, type, binariesDirectory, }: {
|
|
339
339
|
type: "compositor" | "ffmpeg" | "ffprobe";
|
|
340
340
|
indent: boolean;
|
|
@@ -352,8 +352,8 @@ export declare const RenderInternals: {
|
|
|
352
352
|
}) => execa.ExecaChildProcess<string>;
|
|
353
353
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
354
354
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
355
|
-
DEFAULT_STILL_IMAGE_FORMAT: "
|
|
356
|
-
DEFAULT_VIDEO_IMAGE_FORMAT: "
|
|
355
|
+
DEFAULT_STILL_IMAGE_FORMAT: "jpeg" | "png" | "webp" | "pdf";
|
|
356
|
+
DEFAULT_VIDEO_IMAGE_FORMAT: "jpeg" | "png" | "none";
|
|
357
357
|
DEFAULT_JPEG_QUALITY: number;
|
|
358
358
|
chalk: {
|
|
359
359
|
enabled: () => boolean;
|
|
@@ -906,14 +906,14 @@ export declare const RenderInternals: {
|
|
|
906
906
|
hostsToTry: string[];
|
|
907
907
|
};
|
|
908
908
|
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
|
909
|
-
getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "
|
|
909
|
+
getExtensionFromAudioCodec: (audioCodec: AudioCodec) => "mp3" | "aac" | "wav" | "opus";
|
|
910
910
|
makeFileExecutableIfItIsNot: (path: string) => void;
|
|
911
911
|
resolveAudioCodec: ({ codec, setting, preferLossless, separateAudioTo, }: {
|
|
912
912
|
setting: AudioCodec | null;
|
|
913
913
|
codec: import("./codec").Codec;
|
|
914
914
|
preferLossless: boolean;
|
|
915
915
|
separateAudioTo: string | null;
|
|
916
|
-
}) => "
|
|
916
|
+
}) => "mp3" | "aac" | "pcm-16" | "opus" | null;
|
|
917
917
|
getShouldRenderAudio: ({ codec, assetsInfo, enforceAudioTrack, muted, }: {
|
|
918
918
|
codec: import("./codec").Codec;
|
|
919
919
|
assetsInfo: import("./assets/download-map").RenderAssetInfo | null;
|
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.244",
|
|
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,8 +18,8 @@
|
|
|
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.
|
|
22
|
-
"@remotion/streaming": "4.0.
|
|
21
|
+
"remotion": "4.0.244",
|
|
22
|
+
"@remotion/streaming": "4.0.244"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=16.8.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"react-dom": "19.0.0",
|
|
34
34
|
"@types/ws": "8.5.10",
|
|
35
35
|
"eslint": "9.14.0",
|
|
36
|
-
"@remotion/
|
|
37
|
-
"@remotion/
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.244",
|
|
37
|
+
"@remotion/example-videos": "4.0.244"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
41
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
42
|
-
"@remotion/compositor-linux-
|
|
43
|
-
"@remotion/compositor-linux-
|
|
44
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
45
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
46
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
40
|
+
"@remotion/compositor-darwin-arm64": "4.0.244",
|
|
41
|
+
"@remotion/compositor-darwin-x64": "4.0.244",
|
|
42
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.244",
|
|
43
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.244",
|
|
44
|
+
"@remotion/compositor-linux-x64-musl": "4.0.244",
|
|
45
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.244",
|
|
46
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.244"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|