@remotion/renderer 4.0.89 → 4.0.90
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 +37 -38
- package/dist/compositor/compose.js +7 -3
- package/dist/compositor/compositor.d.ts +1 -1
- package/dist/compositor/compositor.js +14 -2
- package/dist/copy-to-clipboard.js +1 -1
- package/dist/extract-audio.js +1 -1
- package/dist/get-silent-parts.js +1 -1
- package/dist/get-video-metadata.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -0
- package/dist/offthread-video-server.js +2 -2
- package/dist/options/audio-bitrate.d.ts +1 -2
- package/dist/options/beep-on-finish.d.ts +1 -2
- package/dist/options/color-space.d.ts +1 -2
- package/dist/options/crf.d.ts +1 -2
- package/dist/options/delete-after.d.ts +1 -2
- package/dist/options/enable-lambda-insights.d.ts +1 -2
- package/dist/options/enable-multiprocess-on-linux.d.ts +1 -2
- package/dist/options/encoding-buffer-size.d.ts +1 -2
- package/dist/options/encoding-max-rate.d.ts +1 -2
- package/dist/options/enforce-audio.d.ts +1 -2
- package/dist/options/folder-expiry.d.ts +1 -2
- package/dist/options/gl.d.ts +1 -2
- package/dist/options/index.d.ts +21 -22
- package/dist/options/jpeg-quality.d.ts +1 -2
- package/dist/options/mute.d.ts +1 -2
- package/dist/options/number-of-gif-loops.d.ts +1 -2
- package/dist/options/offthreadvideo-cache-size.d.ts +1 -2
- package/dist/options/options-map.d.ts +16 -17
- package/dist/options/repro.d.ts +1 -2
- package/dist/options/scale.d.ts +1 -2
- package/dist/options/video-bitrate.d.ts +1 -2
- package/dist/options/video-codec.d.ts +1 -2
- package/dist/options/webhook-custom-data.d.ts +1 -2
- package/package.json +11 -11
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export { AvailableOptions } from './options';
|
|
3
2
|
export declare const BrowserSafeApis: {
|
|
4
3
|
getFileExtensionFromCodec: <T extends "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif">(codec: T, audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => import("./file-extensions").FileExtension;
|
|
@@ -204,7 +203,7 @@ export declare const BrowserSafeApis: {
|
|
|
204
203
|
scaleOption: {
|
|
205
204
|
name: string;
|
|
206
205
|
cliFlag: "scale";
|
|
207
|
-
description: () => JSX.Element;
|
|
206
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
208
207
|
ssrName: string;
|
|
209
208
|
docLink: string;
|
|
210
209
|
type: number;
|
|
@@ -212,7 +211,7 @@ export declare const BrowserSafeApis: {
|
|
|
212
211
|
crfOption: {
|
|
213
212
|
name: string;
|
|
214
213
|
cliFlag: "crf";
|
|
215
|
-
description: () => JSX.Element;
|
|
214
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
216
215
|
ssrName: string;
|
|
217
216
|
docLink: string;
|
|
218
217
|
type: number;
|
|
@@ -220,7 +219,7 @@ export declare const BrowserSafeApis: {
|
|
|
220
219
|
jpegQualityOption: {
|
|
221
220
|
name: string;
|
|
222
221
|
cliFlag: "jpeg-quality";
|
|
223
|
-
description: () => JSX.Element;
|
|
222
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
224
223
|
ssrName: string;
|
|
225
224
|
docLink: string;
|
|
226
225
|
type: number;
|
|
@@ -228,7 +227,7 @@ export declare const BrowserSafeApis: {
|
|
|
228
227
|
videoBitrate: {
|
|
229
228
|
name: string;
|
|
230
229
|
cliFlag: string;
|
|
231
|
-
description: () => JSX.Element;
|
|
230
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
232
231
|
ssrName: string;
|
|
233
232
|
docLink: string;
|
|
234
233
|
type: string | null;
|
|
@@ -236,7 +235,7 @@ export declare const BrowserSafeApis: {
|
|
|
236
235
|
audioBitrateOption: {
|
|
237
236
|
name: string;
|
|
238
237
|
cliFlag: "audio-bitrate";
|
|
239
|
-
description: () => JSX.Element;
|
|
238
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
240
239
|
ssrName: string;
|
|
241
240
|
docLink: string;
|
|
242
241
|
type: string;
|
|
@@ -244,7 +243,7 @@ export declare const BrowserSafeApis: {
|
|
|
244
243
|
enforceAudioOption: {
|
|
245
244
|
name: string;
|
|
246
245
|
cliFlag: "enforce-audio-track";
|
|
247
|
-
description: () => JSX.Element;
|
|
246
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
248
247
|
ssrName: string;
|
|
249
248
|
docLink: string;
|
|
250
249
|
type: boolean;
|
|
@@ -252,7 +251,7 @@ export declare const BrowserSafeApis: {
|
|
|
252
251
|
muteOption: {
|
|
253
252
|
name: string;
|
|
254
253
|
cliFlag: string;
|
|
255
|
-
description: () => JSX.Element;
|
|
254
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
256
255
|
ssrName: string;
|
|
257
256
|
docLink: string;
|
|
258
257
|
type: boolean;
|
|
@@ -260,7 +259,7 @@ export declare const BrowserSafeApis: {
|
|
|
260
259
|
videoCodecOption: {
|
|
261
260
|
name: string;
|
|
262
261
|
cliFlag: "codec";
|
|
263
|
-
description: () => JSX.Element;
|
|
262
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
264
263
|
ssrName: string;
|
|
265
264
|
docLink: string;
|
|
266
265
|
type: string;
|
|
@@ -268,7 +267,7 @@ export declare const BrowserSafeApis: {
|
|
|
268
267
|
offthreadVideoCacheSizeInBytes: {
|
|
269
268
|
name: string;
|
|
270
269
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
271
|
-
description: () => JSX.Element;
|
|
270
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
272
271
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
273
272
|
docLink: string;
|
|
274
273
|
type: number | null;
|
|
@@ -276,7 +275,7 @@ export declare const BrowserSafeApis: {
|
|
|
276
275
|
webhookCustomDataOption: {
|
|
277
276
|
name: string;
|
|
278
277
|
cliFlag: "webhook-custom-data";
|
|
279
|
-
description: (type: "ssr" | "cli") => JSX.Element;
|
|
278
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
280
279
|
ssrName: "customData";
|
|
281
280
|
docLink: string;
|
|
282
281
|
type: Record<string, unknown> | null;
|
|
@@ -284,7 +283,7 @@ export declare const BrowserSafeApis: {
|
|
|
284
283
|
colorSpaceOption: {
|
|
285
284
|
name: string;
|
|
286
285
|
cliFlag: "color-space";
|
|
287
|
-
description: () => JSX.Element;
|
|
286
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
288
287
|
docLink: string;
|
|
289
288
|
ssrName: string;
|
|
290
289
|
type: "default" | "bt709" | "bt2020-ncl";
|
|
@@ -292,7 +291,7 @@ export declare const BrowserSafeApis: {
|
|
|
292
291
|
deleteAfterOption: {
|
|
293
292
|
name: string;
|
|
294
293
|
cliFlag: "delete-after";
|
|
295
|
-
description: () => JSX.Element;
|
|
294
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
296
295
|
ssrName: "deleteAfter";
|
|
297
296
|
docLink: string;
|
|
298
297
|
type: string | null;
|
|
@@ -300,7 +299,7 @@ export declare const BrowserSafeApis: {
|
|
|
300
299
|
folderExpiryOption: {
|
|
301
300
|
name: string;
|
|
302
301
|
cliFlag: "enable-folder-expiry";
|
|
303
|
-
description: () => JSX.Element;
|
|
302
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
304
303
|
ssrName: "enableFolderExpiry";
|
|
305
304
|
docLink: string;
|
|
306
305
|
type: boolean | null;
|
|
@@ -308,7 +307,7 @@ export declare const BrowserSafeApis: {
|
|
|
308
307
|
enableMultiprocessOnLinuxOption: {
|
|
309
308
|
name: string;
|
|
310
309
|
cliFlag: "enable-multiprocess-on-linux";
|
|
311
|
-
description: () => JSX.Element;
|
|
310
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
312
311
|
ssrName: string;
|
|
313
312
|
docLink: string;
|
|
314
313
|
type: boolean;
|
|
@@ -319,12 +318,12 @@ export declare const BrowserSafeApis: {
|
|
|
319
318
|
name: string;
|
|
320
319
|
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
321
320
|
ssrName: string;
|
|
322
|
-
description: () => JSX.Element;
|
|
321
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
323
322
|
};
|
|
324
323
|
enableLambdaInsights: {
|
|
325
324
|
name: string;
|
|
326
325
|
cliFlag: "enable-lambda-insights";
|
|
327
|
-
description: () => JSX.Element;
|
|
326
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
328
327
|
ssrName: string;
|
|
329
328
|
docLink: string;
|
|
330
329
|
type: boolean;
|
|
@@ -332,7 +331,7 @@ export declare const BrowserSafeApis: {
|
|
|
332
331
|
encodingMaxRateOption: {
|
|
333
332
|
name: string;
|
|
334
333
|
cliFlag: "max-rate";
|
|
335
|
-
description: () => JSX.Element;
|
|
334
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
336
335
|
ssrName: "encodingMaxRate";
|
|
337
336
|
docLink: string;
|
|
338
337
|
type: string | null;
|
|
@@ -340,7 +339,7 @@ export declare const BrowserSafeApis: {
|
|
|
340
339
|
encodingBufferSizeOption: {
|
|
341
340
|
name: string;
|
|
342
341
|
cliFlag: "buffer-size";
|
|
343
|
-
description: () => JSX.Element;
|
|
342
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
344
343
|
ssrName: "encodingBufferSize";
|
|
345
344
|
docLink: string;
|
|
346
345
|
type: string | null;
|
|
@@ -348,7 +347,7 @@ export declare const BrowserSafeApis: {
|
|
|
348
347
|
beepOnFinishOption: {
|
|
349
348
|
name: string;
|
|
350
349
|
cliFlag: "beep-on-finish";
|
|
351
|
-
description: () => JSX.Element;
|
|
350
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
352
351
|
ssrName: null;
|
|
353
352
|
docLink: string;
|
|
354
353
|
type: boolean;
|
|
@@ -356,7 +355,7 @@ export declare const BrowserSafeApis: {
|
|
|
356
355
|
numberOfGifLoopsOption: {
|
|
357
356
|
name: string;
|
|
358
357
|
cliFlag: "number-of-gif-loops";
|
|
359
|
-
description: () => JSX.Element;
|
|
358
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
360
359
|
ssrName: "numberOfGifLoops";
|
|
361
360
|
docLink: string;
|
|
362
361
|
type: number | null;
|
|
@@ -364,7 +363,7 @@ export declare const BrowserSafeApis: {
|
|
|
364
363
|
reproOption: {
|
|
365
364
|
name: string;
|
|
366
365
|
cliFlag: string;
|
|
367
|
-
description: () => JSX.Element;
|
|
366
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
368
367
|
ssrName: string;
|
|
369
368
|
docLink: string;
|
|
370
369
|
type: boolean;
|
|
@@ -376,7 +375,7 @@ export declare const BrowserSafeApis: {
|
|
|
376
375
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
377
376
|
name: string;
|
|
378
377
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
379
|
-
description: () => JSX.Element;
|
|
378
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
380
379
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
381
380
|
docLink: string;
|
|
382
381
|
type: number | null;
|
|
@@ -384,7 +383,7 @@ export declare const BrowserSafeApis: {
|
|
|
384
383
|
readonly videoBitrate: {
|
|
385
384
|
name: string;
|
|
386
385
|
cliFlag: string;
|
|
387
|
-
description: () => JSX.Element;
|
|
386
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
388
387
|
ssrName: string;
|
|
389
388
|
docLink: string;
|
|
390
389
|
type: string | null;
|
|
@@ -392,7 +391,7 @@ export declare const BrowserSafeApis: {
|
|
|
392
391
|
readonly numberOfGifLoops: {
|
|
393
392
|
name: string;
|
|
394
393
|
cliFlag: "number-of-gif-loops";
|
|
395
|
-
description: () => JSX.Element;
|
|
394
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
396
395
|
ssrName: "numberOfGifLoops";
|
|
397
396
|
docLink: string;
|
|
398
397
|
type: number | null;
|
|
@@ -400,7 +399,7 @@ export declare const BrowserSafeApis: {
|
|
|
400
399
|
readonly repro: {
|
|
401
400
|
name: string;
|
|
402
401
|
cliFlag: string;
|
|
403
|
-
description: () => JSX.Element;
|
|
402
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
404
403
|
ssrName: string;
|
|
405
404
|
docLink: string;
|
|
406
405
|
type: boolean;
|
|
@@ -410,7 +409,7 @@ export declare const BrowserSafeApis: {
|
|
|
410
409
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
411
410
|
name: string;
|
|
412
411
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
413
|
-
description: () => JSX.Element;
|
|
412
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
414
413
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
415
414
|
docLink: string;
|
|
416
415
|
type: number | null;
|
|
@@ -420,7 +419,7 @@ export declare const BrowserSafeApis: {
|
|
|
420
419
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
421
420
|
name: string;
|
|
422
421
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
423
|
-
description: () => JSX.Element;
|
|
422
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
424
423
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
425
424
|
docLink: string;
|
|
426
425
|
type: number | null;
|
|
@@ -430,7 +429,7 @@ export declare const BrowserSafeApis: {
|
|
|
430
429
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
431
430
|
name: string;
|
|
432
431
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
433
|
-
description: () => JSX.Element;
|
|
432
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
434
433
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
435
434
|
docLink: string;
|
|
436
435
|
type: number | null;
|
|
@@ -440,7 +439,7 @@ export declare const BrowserSafeApis: {
|
|
|
440
439
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
441
440
|
name: string;
|
|
442
441
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
443
|
-
description: () => JSX.Element;
|
|
442
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
444
443
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
445
444
|
docLink: string;
|
|
446
445
|
type: number | null;
|
|
@@ -450,7 +449,7 @@ export declare const BrowserSafeApis: {
|
|
|
450
449
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
451
450
|
name: string;
|
|
452
451
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
453
|
-
description: () => JSX.Element;
|
|
452
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
454
453
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
455
454
|
docLink: string;
|
|
456
455
|
type: number | null;
|
|
@@ -458,7 +457,7 @@ export declare const BrowserSafeApis: {
|
|
|
458
457
|
readonly videoBitrate: {
|
|
459
458
|
name: string;
|
|
460
459
|
cliFlag: string;
|
|
461
|
-
description: () => JSX.Element;
|
|
460
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
462
461
|
ssrName: string;
|
|
463
462
|
docLink: string;
|
|
464
463
|
type: string | null;
|
|
@@ -466,7 +465,7 @@ export declare const BrowserSafeApis: {
|
|
|
466
465
|
readonly numberOfGifLoops: {
|
|
467
466
|
name: string;
|
|
468
467
|
cliFlag: "number-of-gif-loops";
|
|
469
|
-
description: () => JSX.Element;
|
|
468
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
470
469
|
ssrName: "numberOfGifLoops";
|
|
471
470
|
docLink: string;
|
|
472
471
|
type: number | null;
|
|
@@ -476,7 +475,7 @@ export declare const BrowserSafeApis: {
|
|
|
476
475
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
477
476
|
name: string;
|
|
478
477
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
479
|
-
description: () => JSX.Element;
|
|
478
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
480
479
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
481
480
|
docLink: string;
|
|
482
481
|
type: number | null;
|
|
@@ -486,7 +485,7 @@ export declare const BrowserSafeApis: {
|
|
|
486
485
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
487
486
|
name: string;
|
|
488
487
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
489
|
-
description: () => JSX.Element;
|
|
488
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
490
489
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
491
490
|
docLink: string;
|
|
492
491
|
type: number | null;
|
|
@@ -496,7 +495,7 @@ export declare const BrowserSafeApis: {
|
|
|
496
495
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
497
496
|
name: string;
|
|
498
497
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
499
|
-
description: () => JSX.Element;
|
|
498
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
500
499
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
501
500
|
docLink: string;
|
|
502
501
|
type: number | null;
|
|
@@ -504,7 +503,7 @@ export declare const BrowserSafeApis: {
|
|
|
504
503
|
readonly numberOfGifLoops: {
|
|
505
504
|
name: string;
|
|
506
505
|
cliFlag: "number-of-gif-loops";
|
|
507
|
-
description: () => JSX.Element;
|
|
506
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
508
507
|
ssrName: "numberOfGifLoops";
|
|
509
508
|
docLink: string;
|
|
510
509
|
type: number | null;
|
|
@@ -514,7 +513,7 @@ export declare const BrowserSafeApis: {
|
|
|
514
513
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
515
514
|
name: string;
|
|
516
515
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
517
|
-
description: () => JSX.Element;
|
|
516
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
518
517
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
519
518
|
docLink: string;
|
|
520
519
|
type: number | null;
|
|
@@ -81,16 +81,20 @@ const callCompositor = (payload, indent, logLevel) => {
|
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
83
|
try {
|
|
84
|
-
child.stdin.write(payload)
|
|
84
|
+
child.stdin.write(payload, (e) => {
|
|
85
|
+
if (e) {
|
|
86
|
+
reject(e);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
child.stdin.end();
|
|
90
|
+
});
|
|
85
91
|
}
|
|
86
92
|
catch (err) {
|
|
87
93
|
if (err instanceof Error && err.message.includes('EPIPE')) {
|
|
88
94
|
reject(new Error('Compositor stdin closed unexpectedly,' +
|
|
89
95
|
Buffer.concat(stderrChunks).toString('utf-8')));
|
|
90
|
-
return;
|
|
91
96
|
}
|
|
92
97
|
}
|
|
93
|
-
child.stdin.end();
|
|
94
98
|
});
|
|
95
99
|
};
|
|
96
100
|
exports.callCompositor = callCompositor;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { LogLevel } from '../log-level';
|
|
3
3
|
import type { CompositorCommand } from './payloads';
|
|
4
4
|
export type Compositor = {
|
|
5
|
-
finishCommands: () => void
|
|
5
|
+
finishCommands: () => Promise<void>;
|
|
6
6
|
executeCommand: <T extends keyof CompositorCommand>(type: T, payload: CompositorCommand[T]) => Promise<Buffer>;
|
|
7
7
|
waitForDone: () => Promise<void>;
|
|
8
8
|
pid: number | null;
|
|
@@ -181,7 +181,15 @@ const startCompositor = (type, payload, logLevel, indent) => {
|
|
|
181
181
|
if (runningStatus.type === 'quit-without-error') {
|
|
182
182
|
throw new Error(`Compositor quit${runningStatus.signal ? ` with signal ${runningStatus.signal}` : ''}`);
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
return new Promise((res, rej) => {
|
|
185
|
+
child.stdin.write('EOF\n', (e) => {
|
|
186
|
+
if (e) {
|
|
187
|
+
rej(e);
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
res();
|
|
191
|
+
});
|
|
192
|
+
});
|
|
185
193
|
},
|
|
186
194
|
executeCommand: (command, params) => {
|
|
187
195
|
if (runningStatus.type === 'quit-without-error') {
|
|
@@ -199,7 +207,11 @@ const startCompositor = (type, payload, logLevel, indent) => {
|
|
|
199
207
|
params,
|
|
200
208
|
},
|
|
201
209
|
};
|
|
202
|
-
child.stdin.write(JSON.stringify(composed) + '\n')
|
|
210
|
+
child.stdin.write(JSON.stringify(composed) + '\n', (e) => {
|
|
211
|
+
if (e) {
|
|
212
|
+
_reject(e);
|
|
213
|
+
}
|
|
214
|
+
});
|
|
203
215
|
waiters.set(nonce, {
|
|
204
216
|
resolve: _resolve,
|
|
205
217
|
reject: _reject,
|
|
@@ -11,7 +11,7 @@ const copyImageToClipboard = async (src, logLevel) => {
|
|
|
11
11
|
await compositor.executeCommand('CopyImageToClipboard', {
|
|
12
12
|
src,
|
|
13
13
|
});
|
|
14
|
-
compositor.finishCommands();
|
|
14
|
+
await compositor.finishCommands();
|
|
15
15
|
await compositor.waitForDone();
|
|
16
16
|
};
|
|
17
17
|
exports.copyImageToClipboard = copyImageToClipboard;
|
package/dist/extract-audio.js
CHANGED
|
@@ -13,7 +13,7 @@ const extractAudio = async (options) => {
|
|
|
13
13
|
input_path: options.videoSource,
|
|
14
14
|
output_path: options.audioOutput,
|
|
15
15
|
});
|
|
16
|
-
compositor.finishCommands();
|
|
16
|
+
await compositor.finishCommands();
|
|
17
17
|
await compositor.waitForDone();
|
|
18
18
|
};
|
|
19
19
|
exports.extractAudio = extractAudio;
|
package/dist/get-silent-parts.js
CHANGED
|
@@ -28,7 +28,7 @@ const getSilentParts = async ({ src, noiseThresholdInDecibels: passedNoiseThresh
|
|
|
28
28
|
noiseThresholdInDecibels,
|
|
29
29
|
});
|
|
30
30
|
const response = JSON.parse(res.toString('utf-8'));
|
|
31
|
-
compositor.finishCommands();
|
|
31
|
+
await compositor.finishCommands();
|
|
32
32
|
await compositor.waitForDone();
|
|
33
33
|
const { silentParts, durationInSeconds } = response;
|
|
34
34
|
return {
|
|
@@ -12,7 +12,7 @@ const getVideoMetadata = async (videoSource, options) => {
|
|
|
12
12
|
const metadataResponse = await compositor.executeCommand('GetVideoMetadata', {
|
|
13
13
|
src: videoSource,
|
|
14
14
|
});
|
|
15
|
-
compositor.finishCommands();
|
|
15
|
+
await compositor.finishCommands();
|
|
16
16
|
await compositor.waitForDone();
|
|
17
17
|
return JSON.parse(metadataResponse.toString('utf-8'));
|
|
18
18
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
/// <reference types="node" />
|
|
4
3
|
import execa from 'execa';
|
|
5
4
|
import { HeadlessBrowser } from './browser/Browser';
|
|
@@ -452,7 +451,7 @@ export declare const RenderInternals: {
|
|
|
452
451
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
453
452
|
name: string;
|
|
454
453
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
455
|
-
description: () => JSX.Element;
|
|
454
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
456
455
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
457
456
|
docLink: string;
|
|
458
457
|
type: number | null;
|
|
@@ -487,7 +486,7 @@ export declare const RenderInternals: {
|
|
|
487
486
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
488
487
|
name: string;
|
|
489
488
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
490
|
-
description: () => JSX.Element;
|
|
489
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
491
490
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
492
491
|
docLink: string;
|
|
493
492
|
type: number | null;
|
|
@@ -513,7 +512,7 @@ export declare const RenderInternals: {
|
|
|
513
512
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
514
513
|
name: string;
|
|
515
514
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
516
|
-
description: () => JSX.Element;
|
|
515
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
517
516
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
518
517
|
docLink: string;
|
|
519
518
|
type: number | null;
|
|
@@ -541,4 +540,5 @@ export declare const RenderInternals: {
|
|
|
541
540
|
host: string;
|
|
542
541
|
hostsToTry: string[];
|
|
543
542
|
};
|
|
543
|
+
makeDownloadMap: () => import("./assets/download-map").DownloadMap;
|
|
544
544
|
};
|
package/dist/index.js
CHANGED
|
@@ -110,6 +110,7 @@ var stitch_frames_to_video_1 = require("./stitch-frames-to-video");
|
|
|
110
110
|
Object.defineProperty(exports, "stitchFramesToVideo", { enumerable: true, get: function () { return stitch_frames_to_video_1.stitchFramesToVideo; } });
|
|
111
111
|
var validate_output_filename_1 = require("./validate-output-filename");
|
|
112
112
|
Object.defineProperty(exports, "validateOutputFilename", { enumerable: true, get: function () { return validate_output_filename_1.validateOutputFilename; } });
|
|
113
|
+
const download_map_1 = require("./assets/download-map");
|
|
113
114
|
const validate_puppeteer_timeout_1 = require("./validate-puppeteer-timeout");
|
|
114
115
|
const validate_videobitrate_1 = require("./validate-videobitrate");
|
|
115
116
|
const wait_for_symbolication_error_to_be_done_1 = require("./wait-for-symbolication-error-to-be-done");
|
|
@@ -196,6 +197,7 @@ exports.RenderInternals = {
|
|
|
196
197
|
isIpV6Supported: port_config_1.isIpV6Supported,
|
|
197
198
|
getChromiumGpuInformation: test_gpu_1.getChromiumGpuInformation,
|
|
198
199
|
getPortConfig: port_config_1.getPortConfig,
|
|
200
|
+
makeDownloadMap: download_map_1.makeDownloadMap,
|
|
199
201
|
};
|
|
200
202
|
// Warn of potential performance issues with Apple Silicon (M1 chip under Rosetta)
|
|
201
203
|
(0, check_apple_silicon_1.checkNodeVersionAndWarnAboutRosetta)('info', false);
|
|
@@ -39,13 +39,13 @@ const startOffthreadVideoServer = ({ downloadMap, concurrency, logLevel, indent,
|
|
|
39
39
|
verbose: (0, log_level_1.isEqualOrBelowLogLevel)(logLevel, 'verbose'),
|
|
40
40
|
}, logLevel, indent);
|
|
41
41
|
return {
|
|
42
|
-
close: () => {
|
|
42
|
+
close: async () => {
|
|
43
43
|
// Note: This is being used as a promise:
|
|
44
44
|
// .close().then()
|
|
45
45
|
// but if finishCommands() fails, it acts like a sync function,
|
|
46
46
|
// therefore we have to catch an error and put a promise rejection
|
|
47
47
|
try {
|
|
48
|
-
compositor.finishCommands();
|
|
48
|
+
await compositor.finishCommands();
|
|
49
49
|
return compositor.waitForDone();
|
|
50
50
|
}
|
|
51
51
|
catch (err) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const audioBitrateOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "audio-bitrate";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const beepOnFinishOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "beep-on-finish";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: null;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
|
|
3
2
|
export type ColorSpace = (typeof validColorSpaces)[number];
|
|
4
3
|
export declare const colorSpaceOption: {
|
|
5
4
|
name: string;
|
|
6
5
|
cliFlag: "color-space";
|
|
7
|
-
description: () => JSX.Element;
|
|
6
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
docLink: string;
|
|
9
8
|
ssrName: string;
|
|
10
9
|
type: "default" | "bt709" | "bt2020-ncl";
|
package/dist/options/crf.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const deleteAfterOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "delete-after";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "deleteAfter";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enableLambdaInsights: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-lambda-insights";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enableMultiprocessOnLinuxOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-multiprocess-on-linux";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const encodingBufferSizeOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "buffer-size";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "encodingBufferSize";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const encodingMaxRateOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "max-rate";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "encodingMaxRate";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: string | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const enforceAudioOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enforce-audio-track";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const folderExpiryOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "enable-folder-expiry";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "enableFolderExpiry";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: boolean | null;
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
3
2
|
export declare const glOption: {
|
|
4
3
|
cliFlag: "gl";
|
|
@@ -6,7 +5,7 @@ export declare const glOption: {
|
|
|
6
5
|
name: string;
|
|
7
6
|
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
8
7
|
ssrName: string;
|
|
9
|
-
description: () => JSX.Element;
|
|
8
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
};
|
|
11
10
|
export type OpenGlRenderer = (typeof validOpenGlRenderers)[number];
|
|
12
11
|
export declare const DEFAULT_OPENGL_RENDERER: OpenGlRenderer | null;
|
package/dist/options/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const allOptions: {
|
|
3
2
|
scaleOption: {
|
|
4
3
|
name: string;
|
|
5
4
|
cliFlag: "scale";
|
|
6
|
-
description: () => JSX.Element;
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
ssrName: string;
|
|
8
7
|
docLink: string;
|
|
9
8
|
type: number;
|
|
@@ -11,7 +10,7 @@ export declare const allOptions: {
|
|
|
11
10
|
crfOption: {
|
|
12
11
|
name: string;
|
|
13
12
|
cliFlag: "crf";
|
|
14
|
-
description: () => JSX.Element;
|
|
13
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
ssrName: string;
|
|
16
15
|
docLink: string;
|
|
17
16
|
type: number;
|
|
@@ -19,7 +18,7 @@ export declare const allOptions: {
|
|
|
19
18
|
jpegQualityOption: {
|
|
20
19
|
name: string;
|
|
21
20
|
cliFlag: "jpeg-quality";
|
|
22
|
-
description: () => JSX.Element;
|
|
21
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
23
22
|
ssrName: string;
|
|
24
23
|
docLink: string;
|
|
25
24
|
type: number;
|
|
@@ -27,7 +26,7 @@ export declare const allOptions: {
|
|
|
27
26
|
videoBitrate: {
|
|
28
27
|
name: string;
|
|
29
28
|
cliFlag: string;
|
|
30
|
-
description: () => JSX.Element;
|
|
29
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
31
30
|
ssrName: string;
|
|
32
31
|
docLink: string;
|
|
33
32
|
type: string | null;
|
|
@@ -35,7 +34,7 @@ export declare const allOptions: {
|
|
|
35
34
|
audioBitrateOption: {
|
|
36
35
|
name: string;
|
|
37
36
|
cliFlag: "audio-bitrate";
|
|
38
|
-
description: () => JSX.Element;
|
|
37
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
39
38
|
ssrName: string;
|
|
40
39
|
docLink: string;
|
|
41
40
|
type: string;
|
|
@@ -43,7 +42,7 @@ export declare const allOptions: {
|
|
|
43
42
|
enforceAudioOption: {
|
|
44
43
|
name: string;
|
|
45
44
|
cliFlag: "enforce-audio-track";
|
|
46
|
-
description: () => JSX.Element;
|
|
45
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
47
46
|
ssrName: string;
|
|
48
47
|
docLink: string;
|
|
49
48
|
type: boolean;
|
|
@@ -51,7 +50,7 @@ export declare const allOptions: {
|
|
|
51
50
|
muteOption: {
|
|
52
51
|
name: string;
|
|
53
52
|
cliFlag: string;
|
|
54
|
-
description: () => JSX.Element;
|
|
53
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
55
54
|
ssrName: string;
|
|
56
55
|
docLink: string;
|
|
57
56
|
type: boolean;
|
|
@@ -59,7 +58,7 @@ export declare const allOptions: {
|
|
|
59
58
|
videoCodecOption: {
|
|
60
59
|
name: string;
|
|
61
60
|
cliFlag: "codec";
|
|
62
|
-
description: () => JSX.Element;
|
|
61
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
63
62
|
ssrName: string;
|
|
64
63
|
docLink: string;
|
|
65
64
|
type: string;
|
|
@@ -67,7 +66,7 @@ export declare const allOptions: {
|
|
|
67
66
|
offthreadVideoCacheSizeInBytes: {
|
|
68
67
|
name: string;
|
|
69
68
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
70
|
-
description: () => JSX.Element;
|
|
69
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
71
70
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
72
71
|
docLink: string;
|
|
73
72
|
type: number | null;
|
|
@@ -75,7 +74,7 @@ export declare const allOptions: {
|
|
|
75
74
|
webhookCustomDataOption: {
|
|
76
75
|
name: string;
|
|
77
76
|
cliFlag: "webhook-custom-data";
|
|
78
|
-
description: (type: "ssr" | "cli") => JSX.Element;
|
|
77
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
79
78
|
ssrName: "customData";
|
|
80
79
|
docLink: string;
|
|
81
80
|
type: Record<string, unknown> | null;
|
|
@@ -83,7 +82,7 @@ export declare const allOptions: {
|
|
|
83
82
|
colorSpaceOption: {
|
|
84
83
|
name: string;
|
|
85
84
|
cliFlag: "color-space";
|
|
86
|
-
description: () => JSX.Element;
|
|
85
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
87
86
|
docLink: string;
|
|
88
87
|
ssrName: string;
|
|
89
88
|
type: "default" | "bt709" | "bt2020-ncl";
|
|
@@ -91,7 +90,7 @@ export declare const allOptions: {
|
|
|
91
90
|
deleteAfterOption: {
|
|
92
91
|
name: string;
|
|
93
92
|
cliFlag: "delete-after";
|
|
94
|
-
description: () => JSX.Element;
|
|
93
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
95
94
|
ssrName: "deleteAfter";
|
|
96
95
|
docLink: string;
|
|
97
96
|
type: string | null;
|
|
@@ -99,7 +98,7 @@ export declare const allOptions: {
|
|
|
99
98
|
folderExpiryOption: {
|
|
100
99
|
name: string;
|
|
101
100
|
cliFlag: "enable-folder-expiry";
|
|
102
|
-
description: () => JSX.Element;
|
|
101
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
103
102
|
ssrName: "enableFolderExpiry";
|
|
104
103
|
docLink: string;
|
|
105
104
|
type: boolean | null;
|
|
@@ -107,7 +106,7 @@ export declare const allOptions: {
|
|
|
107
106
|
enableMultiprocessOnLinuxOption: {
|
|
108
107
|
name: string;
|
|
109
108
|
cliFlag: "enable-multiprocess-on-linux";
|
|
110
|
-
description: () => JSX.Element;
|
|
109
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
111
110
|
ssrName: string;
|
|
112
111
|
docLink: string;
|
|
113
112
|
type: boolean;
|
|
@@ -118,12 +117,12 @@ export declare const allOptions: {
|
|
|
118
117
|
name: string;
|
|
119
118
|
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
120
119
|
ssrName: string;
|
|
121
|
-
description: () => JSX.Element;
|
|
120
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
122
121
|
};
|
|
123
122
|
enableLambdaInsights: {
|
|
124
123
|
name: string;
|
|
125
124
|
cliFlag: "enable-lambda-insights";
|
|
126
|
-
description: () => JSX.Element;
|
|
125
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
127
126
|
ssrName: string;
|
|
128
127
|
docLink: string;
|
|
129
128
|
type: boolean;
|
|
@@ -131,7 +130,7 @@ export declare const allOptions: {
|
|
|
131
130
|
encodingMaxRateOption: {
|
|
132
131
|
name: string;
|
|
133
132
|
cliFlag: "max-rate";
|
|
134
|
-
description: () => JSX.Element;
|
|
133
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
135
134
|
ssrName: "encodingMaxRate";
|
|
136
135
|
docLink: string;
|
|
137
136
|
type: string | null;
|
|
@@ -139,7 +138,7 @@ export declare const allOptions: {
|
|
|
139
138
|
encodingBufferSizeOption: {
|
|
140
139
|
name: string;
|
|
141
140
|
cliFlag: "buffer-size";
|
|
142
|
-
description: () => JSX.Element;
|
|
141
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
143
142
|
ssrName: "encodingBufferSize";
|
|
144
143
|
docLink: string;
|
|
145
144
|
type: string | null;
|
|
@@ -147,7 +146,7 @@ export declare const allOptions: {
|
|
|
147
146
|
beepOnFinishOption: {
|
|
148
147
|
name: string;
|
|
149
148
|
cliFlag: "beep-on-finish";
|
|
150
|
-
description: () => JSX.Element;
|
|
149
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
151
150
|
ssrName: null;
|
|
152
151
|
docLink: string;
|
|
153
152
|
type: boolean;
|
|
@@ -155,7 +154,7 @@ export declare const allOptions: {
|
|
|
155
154
|
numberOfGifLoopsOption: {
|
|
156
155
|
name: string;
|
|
157
156
|
cliFlag: "number-of-gif-loops";
|
|
158
|
-
description: () => JSX.Element;
|
|
157
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
159
158
|
ssrName: "numberOfGifLoops";
|
|
160
159
|
docLink: string;
|
|
161
160
|
type: number | null;
|
|
@@ -163,7 +162,7 @@ export declare const allOptions: {
|
|
|
163
162
|
reproOption: {
|
|
164
163
|
name: string;
|
|
165
164
|
cliFlag: string;
|
|
166
|
-
description: () => JSX.Element;
|
|
165
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
167
166
|
ssrName: string;
|
|
168
167
|
docLink: string;
|
|
169
168
|
type: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const jpegQualityOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "jpeg-quality";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: string;
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number;
|
package/dist/options/mute.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const numberOfGifLoopsOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "number-of-gif-loops";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "numberOfGifLoops";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const offthreadVideoCacheSizeInBytes: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
5
|
-
description: () => JSX.Element;
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: number | null;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const optionsMap: {
|
|
3
2
|
readonly renderMedia: {
|
|
4
3
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
5
4
|
name: string;
|
|
6
5
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
7
|
-
description: () => JSX.Element;
|
|
6
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
9
8
|
docLink: string;
|
|
10
9
|
type: number | null;
|
|
@@ -12,7 +11,7 @@ export declare const optionsMap: {
|
|
|
12
11
|
readonly videoBitrate: {
|
|
13
12
|
name: string;
|
|
14
13
|
cliFlag: string;
|
|
15
|
-
description: () => JSX.Element;
|
|
14
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
ssrName: string;
|
|
17
16
|
docLink: string;
|
|
18
17
|
type: string | null;
|
|
@@ -20,7 +19,7 @@ export declare const optionsMap: {
|
|
|
20
19
|
readonly numberOfGifLoops: {
|
|
21
20
|
name: string;
|
|
22
21
|
cliFlag: "number-of-gif-loops";
|
|
23
|
-
description: () => JSX.Element;
|
|
22
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
ssrName: "numberOfGifLoops";
|
|
25
24
|
docLink: string;
|
|
26
25
|
type: number | null;
|
|
@@ -28,7 +27,7 @@ export declare const optionsMap: {
|
|
|
28
27
|
readonly repro: {
|
|
29
28
|
name: string;
|
|
30
29
|
cliFlag: string;
|
|
31
|
-
description: () => JSX.Element;
|
|
30
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
32
31
|
ssrName: string;
|
|
33
32
|
docLink: string;
|
|
34
33
|
type: boolean;
|
|
@@ -38,7 +37,7 @@ export declare const optionsMap: {
|
|
|
38
37
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
39
38
|
name: string;
|
|
40
39
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
41
|
-
description: () => JSX.Element;
|
|
40
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
42
41
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
43
42
|
docLink: string;
|
|
44
43
|
type: number | null;
|
|
@@ -48,7 +47,7 @@ export declare const optionsMap: {
|
|
|
48
47
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
49
48
|
name: string;
|
|
50
49
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
51
|
-
description: () => JSX.Element;
|
|
50
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
52
51
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
53
52
|
docLink: string;
|
|
54
53
|
type: number | null;
|
|
@@ -58,7 +57,7 @@ export declare const optionsMap: {
|
|
|
58
57
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
59
58
|
name: string;
|
|
60
59
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
61
|
-
description: () => JSX.Element;
|
|
60
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
62
61
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
63
62
|
docLink: string;
|
|
64
63
|
type: number | null;
|
|
@@ -68,7 +67,7 @@ export declare const optionsMap: {
|
|
|
68
67
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
69
68
|
name: string;
|
|
70
69
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
71
|
-
description: () => JSX.Element;
|
|
70
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
72
71
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
73
72
|
docLink: string;
|
|
74
73
|
type: number | null;
|
|
@@ -78,7 +77,7 @@ export declare const optionsMap: {
|
|
|
78
77
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
79
78
|
name: string;
|
|
80
79
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
81
|
-
description: () => JSX.Element;
|
|
80
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
82
81
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
83
82
|
docLink: string;
|
|
84
83
|
type: number | null;
|
|
@@ -86,7 +85,7 @@ export declare const optionsMap: {
|
|
|
86
85
|
readonly videoBitrate: {
|
|
87
86
|
name: string;
|
|
88
87
|
cliFlag: string;
|
|
89
|
-
description: () => JSX.Element;
|
|
88
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
90
89
|
ssrName: string;
|
|
91
90
|
docLink: string;
|
|
92
91
|
type: string | null;
|
|
@@ -94,7 +93,7 @@ export declare const optionsMap: {
|
|
|
94
93
|
readonly numberOfGifLoops: {
|
|
95
94
|
name: string;
|
|
96
95
|
cliFlag: "number-of-gif-loops";
|
|
97
|
-
description: () => JSX.Element;
|
|
96
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
98
97
|
ssrName: "numberOfGifLoops";
|
|
99
98
|
docLink: string;
|
|
100
99
|
type: number | null;
|
|
@@ -104,7 +103,7 @@ export declare const optionsMap: {
|
|
|
104
103
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
105
104
|
name: string;
|
|
106
105
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
107
|
-
description: () => JSX.Element;
|
|
106
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
108
107
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
109
108
|
docLink: string;
|
|
110
109
|
type: number | null;
|
|
@@ -114,7 +113,7 @@ export declare const optionsMap: {
|
|
|
114
113
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
115
114
|
name: string;
|
|
116
115
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
117
|
-
description: () => JSX.Element;
|
|
116
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
118
117
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
119
118
|
docLink: string;
|
|
120
119
|
type: number | null;
|
|
@@ -124,7 +123,7 @@ export declare const optionsMap: {
|
|
|
124
123
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
125
124
|
name: string;
|
|
126
125
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
127
|
-
description: () => JSX.Element;
|
|
126
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
128
127
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
129
128
|
docLink: string;
|
|
130
129
|
type: number | null;
|
|
@@ -132,7 +131,7 @@ export declare const optionsMap: {
|
|
|
132
131
|
readonly numberOfGifLoops: {
|
|
133
132
|
name: string;
|
|
134
133
|
cliFlag: "number-of-gif-loops";
|
|
135
|
-
description: () => JSX.Element;
|
|
134
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
136
135
|
ssrName: "numberOfGifLoops";
|
|
137
136
|
docLink: string;
|
|
138
137
|
type: number | null;
|
|
@@ -142,7 +141,7 @@ export declare const optionsMap: {
|
|
|
142
141
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
143
142
|
name: string;
|
|
144
143
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
145
|
-
description: () => JSX.Element;
|
|
144
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
146
145
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
147
146
|
docLink: string;
|
|
148
147
|
type: number | null;
|
package/dist/options/repro.d.ts
CHANGED
package/dist/options/scale.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const webhookCustomDataOption: {
|
|
3
2
|
name: string;
|
|
4
3
|
cliFlag: "webhook-custom-data";
|
|
5
|
-
description: (type: "ssr" | "cli") => JSX.Element;
|
|
4
|
+
description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
ssrName: "customData";
|
|
7
6
|
docLink: string;
|
|
8
7
|
type: Record<string, unknown> | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.90",
|
|
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.90"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@testing-library/react": "13.3.0",
|
|
31
31
|
"@types/node": "18.14.6",
|
|
32
32
|
"@types/progress": "2.0.5",
|
|
33
|
-
"@types/react": "18.
|
|
34
|
-
"@types/react-dom": "18.
|
|
33
|
+
"@types/react": "18.2.48",
|
|
34
|
+
"@types/react-dom": "18.2.18",
|
|
35
35
|
"eslint": "8.42.0",
|
|
36
36
|
"prettier": "3.1.1",
|
|
37
37
|
"prettier-plugin-organize-imports": "3.2.4",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"vitest": "0.31.1"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@remotion/compositor-
|
|
44
|
-
"@remotion/compositor-darwin-
|
|
45
|
-
"@remotion/compositor-
|
|
46
|
-
"@remotion/compositor-linux-
|
|
47
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
48
|
-
"@remotion/compositor-linux-
|
|
49
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
43
|
+
"@remotion/compositor-darwin-arm64": "4.0.90",
|
|
44
|
+
"@remotion/compositor-darwin-x64": "4.0.90",
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.90",
|
|
46
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.90",
|
|
47
|
+
"@remotion/compositor-linux-x64-musl": "4.0.90",
|
|
48
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.90",
|
|
49
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.90"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"remotion",
|