@remotion/renderer 4.0.113 → 4.0.115
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/check-apple-silicon.d.ts +3 -1
- package/dist/check-apple-silicon.js +32 -2
- package/dist/client.d.ts +779 -14
- package/dist/client.js +3 -1
- package/dist/combine-videos.js +1 -1
- package/dist/ffmpeg-args.d.ts +1 -1
- package/dist/get-extension-of-filename.js +2 -5
- package/dist/index.d.ts +50 -3
- package/dist/jpeg-quality.d.ts +1 -1
- package/dist/options/audio-bitrate.d.ts +10 -0
- package/dist/options/audio-bitrate.js +25 -2
- package/dist/options/beep-on-finish.d.ts +7 -0
- package/dist/options/beep-on-finish.js +24 -1
- package/dist/options/color-space.d.ts +7 -0
- package/dist/options/color-space.js +23 -0
- package/dist/options/crf.d.ts +9 -0
- package/dist/options/crf.js +33 -2
- package/dist/options/delete-after.d.ts +12 -1
- package/dist/options/delete-after.js +25 -2
- package/dist/options/enable-lambda-insights.d.ts +7 -0
- package/dist/options/enable-lambda-insights.js +24 -1
- package/dist/options/enable-multiprocess-on-linux.d.ts +7 -0
- package/dist/options/enable-multiprocess-on-linux.js +24 -1
- package/dist/options/encoding-buffer-size.d.ts +10 -0
- package/dist/options/encoding-buffer-size.js +28 -1
- package/dist/options/encoding-max-rate.d.ts +10 -0
- package/dist/options/encoding-max-rate.js +24 -1
- package/dist/options/enforce-audio.d.ts +7 -0
- package/dist/options/enforce-audio.js +25 -1
- package/dist/options/folder-expiry.d.ts +7 -0
- package/dist/options/folder-expiry.js +24 -1
- package/dist/options/gl.d.ts +16 -4
- package/dist/options/gl.js +35 -3
- package/dist/options/headless.d.ts +15 -0
- package/dist/options/headless.js +36 -0
- package/dist/options/index.d.ts +202 -10
- package/dist/options/index.js +5 -3
- package/dist/options/jpeg-quality.d.ts +9 -0
- package/dist/options/jpeg-quality.js +37 -2
- package/dist/options/log-level.d.ts +16 -0
- package/dist/options/log-level.js +32 -0
- package/dist/options/mute.d.ts +9 -2
- package/dist/options/mute.js +27 -3
- package/dist/options/number-of-gif-loops.d.ts +11 -0
- package/dist/options/number-of-gif-loops.js +31 -1
- package/dist/options/offthreadvideo-cache-size.d.ts +12 -1
- package/dist/options/offthreadvideo-cache-size.js +30 -3
- package/dist/options/option.d.ts +11 -3
- package/dist/options/options-map.d.ts +577 -3
- package/dist/options/options-map.js +46 -12
- package/dist/options/overwrite.d.ts +15 -0
- package/dist/options/overwrite.js +42 -0
- package/dist/options/repro.d.ts +11 -1
- package/dist/options/repro.js +25 -1
- package/dist/options/scale.d.ts +7 -0
- package/dist/options/scale.js +30 -1
- package/dist/options/timeout.d.ts +15 -0
- package/dist/options/timeout.js +44 -0
- package/dist/options/video-bitrate.d.ts +9 -2
- package/dist/options/video-bitrate.js +27 -4
- package/dist/options/video-codec.d.ts +16 -1
- package/dist/options/video-codec.js +81 -2
- package/dist/options/webhook-custom-data.d.ts +3 -1
- package/dist/options/webhook-custom-data.js +8 -1
- package/dist/options/x264-preset.d.ts +20 -3
- package/dist/options/x264-preset.js +47 -7
- package/dist/path-normalize.d.ts +1 -0
- package/dist/path-normalize.js +133 -0
- package/dist/prespawn-ffmpeg.d.ts +1 -1
- package/dist/render-frames.d.ts +1 -3
- package/dist/render-media.d.ts +0 -12
- package/dist/render-media.js +2 -2
- package/dist/render-still.d.ts +1 -3
- package/dist/select-composition.d.ts +2 -3
- package/dist/stitch-frames-to-video.d.ts +1 -1
- package/dist/stitch-frames-to-video.js +1 -1
- package/package.json +9 -9
- package/dist/does-have-m2-bug.d.ts +0 -3
- package/dist/does-have-m2-bug.js +0 -12
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AvailableOptions } from './options';
|
|
1
|
+
export { AvailableOptions, TypeOfOption } from './options';
|
|
2
2
|
export declare const BrowserSafeApis: {
|
|
3
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;
|
|
4
4
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
@@ -207,6 +207,13 @@ export declare const BrowserSafeApis: {
|
|
|
207
207
|
ssrName: string;
|
|
208
208
|
docLink: string;
|
|
209
209
|
type: number;
|
|
210
|
+
getValue: ({ commandLine }: {
|
|
211
|
+
commandLine: Record<string, unknown>;
|
|
212
|
+
}) => {
|
|
213
|
+
source: string;
|
|
214
|
+
value: number;
|
|
215
|
+
};
|
|
216
|
+
setConfig: (scale: number) => void;
|
|
210
217
|
};
|
|
211
218
|
crfOption: {
|
|
212
219
|
name: string;
|
|
@@ -215,6 +222,13 @@ export declare const BrowserSafeApis: {
|
|
|
215
222
|
ssrName: string;
|
|
216
223
|
docLink: string;
|
|
217
224
|
type: number;
|
|
225
|
+
getValue: ({ commandLine }: {
|
|
226
|
+
commandLine: Record<string, unknown>;
|
|
227
|
+
}) => {
|
|
228
|
+
source: string;
|
|
229
|
+
value: import("./crf").Crf;
|
|
230
|
+
};
|
|
231
|
+
setConfig: (crf: import("./crf").Crf) => void;
|
|
218
232
|
};
|
|
219
233
|
jpegQualityOption: {
|
|
220
234
|
name: string;
|
|
@@ -223,14 +237,28 @@ export declare const BrowserSafeApis: {
|
|
|
223
237
|
ssrName: string;
|
|
224
238
|
docLink: string;
|
|
225
239
|
type: number;
|
|
240
|
+
setConfig: (q: number | undefined) => void;
|
|
241
|
+
getValue: ({ commandLine }: {
|
|
242
|
+
commandLine: Record<string, unknown>;
|
|
243
|
+
}) => {
|
|
244
|
+
source: string;
|
|
245
|
+
value: number;
|
|
246
|
+
};
|
|
226
247
|
};
|
|
227
|
-
|
|
248
|
+
videoBitrateOption: {
|
|
228
249
|
name: string;
|
|
229
|
-
cliFlag:
|
|
250
|
+
cliFlag: "video-bitrate";
|
|
230
251
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
231
252
|
ssrName: string;
|
|
232
253
|
docLink: string;
|
|
233
254
|
type: string | null;
|
|
255
|
+
getValue: ({ commandLine }: {
|
|
256
|
+
commandLine: Record<string, unknown>;
|
|
257
|
+
}) => {
|
|
258
|
+
source: string;
|
|
259
|
+
value: string | null;
|
|
260
|
+
};
|
|
261
|
+
setConfig: (bitrate: string | null) => void;
|
|
234
262
|
};
|
|
235
263
|
audioBitrateOption: {
|
|
236
264
|
name: string;
|
|
@@ -239,6 +267,16 @@ export declare const BrowserSafeApis: {
|
|
|
239
267
|
ssrName: string;
|
|
240
268
|
docLink: string;
|
|
241
269
|
type: string;
|
|
270
|
+
getValue: ({ commandLine }: {
|
|
271
|
+
commandLine: Record<string, unknown>;
|
|
272
|
+
}) => {
|
|
273
|
+
value: string;
|
|
274
|
+
source: string;
|
|
275
|
+
} | {
|
|
276
|
+
value: null;
|
|
277
|
+
source: string;
|
|
278
|
+
};
|
|
279
|
+
setConfig: (value: string | null) => void;
|
|
242
280
|
};
|
|
243
281
|
enforceAudioOption: {
|
|
244
282
|
name: string;
|
|
@@ -247,14 +285,28 @@ export declare const BrowserSafeApis: {
|
|
|
247
285
|
ssrName: string;
|
|
248
286
|
docLink: string;
|
|
249
287
|
type: boolean;
|
|
288
|
+
getValue: ({ commandLine }: {
|
|
289
|
+
commandLine: Record<string, unknown>;
|
|
290
|
+
}) => {
|
|
291
|
+
source: string;
|
|
292
|
+
value: boolean;
|
|
293
|
+
};
|
|
294
|
+
setConfig: (value: boolean) => void;
|
|
250
295
|
};
|
|
251
|
-
|
|
296
|
+
mutedOption: {
|
|
252
297
|
name: string;
|
|
253
|
-
cliFlag:
|
|
298
|
+
cliFlag: "muted";
|
|
254
299
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
255
300
|
ssrName: string;
|
|
256
301
|
docLink: string;
|
|
257
302
|
type: boolean;
|
|
303
|
+
getValue: ({ commandLine }: {
|
|
304
|
+
commandLine: Record<string, unknown>;
|
|
305
|
+
}) => {
|
|
306
|
+
source: string;
|
|
307
|
+
value: boolean;
|
|
308
|
+
};
|
|
309
|
+
setConfig: () => void;
|
|
258
310
|
};
|
|
259
311
|
videoCodecOption: {
|
|
260
312
|
name: string;
|
|
@@ -262,23 +314,48 @@ export declare const BrowserSafeApis: {
|
|
|
262
314
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
263
315
|
ssrName: string;
|
|
264
316
|
docLink: string;
|
|
265
|
-
type:
|
|
317
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
318
|
+
getValue: ({ commandLine }: {
|
|
319
|
+
commandLine: Record<string, unknown>;
|
|
320
|
+
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
321
|
+
outName: string | null;
|
|
322
|
+
downloadName: string | null;
|
|
323
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
324
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
325
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
326
|
+
}) => {
|
|
327
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
328
|
+
source: string;
|
|
329
|
+
};
|
|
330
|
+
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
266
331
|
};
|
|
267
|
-
|
|
332
|
+
offthreadVideoCacheSizeInBytesOption: {
|
|
268
333
|
name: string;
|
|
269
334
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
270
335
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
271
336
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
272
337
|
docLink: string;
|
|
273
338
|
type: number | null;
|
|
339
|
+
getValue: ({ commandLine }: {
|
|
340
|
+
commandLine: Record<string, unknown>;
|
|
341
|
+
}) => {
|
|
342
|
+
source: string;
|
|
343
|
+
value: number;
|
|
344
|
+
} | {
|
|
345
|
+
source: string;
|
|
346
|
+
value: null;
|
|
347
|
+
};
|
|
348
|
+
setConfig: (size: number | null) => void;
|
|
274
349
|
};
|
|
275
350
|
webhookCustomDataOption: {
|
|
276
351
|
name: string;
|
|
277
352
|
cliFlag: "webhook-custom-data";
|
|
278
|
-
description: (type: "
|
|
353
|
+
description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
|
|
279
354
|
ssrName: "customData";
|
|
280
355
|
docLink: string;
|
|
281
356
|
type: Record<string, unknown> | null;
|
|
357
|
+
getValue: () => never;
|
|
358
|
+
setConfig: () => never;
|
|
282
359
|
};
|
|
283
360
|
colorSpaceOption: {
|
|
284
361
|
name: string;
|
|
@@ -287,6 +364,13 @@ export declare const BrowserSafeApis: {
|
|
|
287
364
|
docLink: string;
|
|
288
365
|
ssrName: string;
|
|
289
366
|
type: "default" | "bt709" | "bt2020-ncl";
|
|
367
|
+
getValue: ({ commandLine }: {
|
|
368
|
+
commandLine: Record<string, unknown>;
|
|
369
|
+
}) => {
|
|
370
|
+
source: string;
|
|
371
|
+
value: "default" | "bt709" | "bt2020-ncl";
|
|
372
|
+
};
|
|
373
|
+
setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
|
|
290
374
|
};
|
|
291
375
|
deleteAfterOption: {
|
|
292
376
|
name: string;
|
|
@@ -294,7 +378,17 @@ export declare const BrowserSafeApis: {
|
|
|
294
378
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
295
379
|
ssrName: "deleteAfter";
|
|
296
380
|
docLink: string;
|
|
297
|
-
type:
|
|
381
|
+
type: import(".").DeleteAfter | null;
|
|
382
|
+
getValue: ({ commandLine }: {
|
|
383
|
+
commandLine: Record<string, unknown>;
|
|
384
|
+
}) => {
|
|
385
|
+
source: string;
|
|
386
|
+
value: import(".").DeleteAfter;
|
|
387
|
+
} | {
|
|
388
|
+
source: string;
|
|
389
|
+
value: null;
|
|
390
|
+
};
|
|
391
|
+
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
298
392
|
};
|
|
299
393
|
folderExpiryOption: {
|
|
300
394
|
name: string;
|
|
@@ -303,6 +397,13 @@ export declare const BrowserSafeApis: {
|
|
|
303
397
|
ssrName: "enableFolderExpiry";
|
|
304
398
|
docLink: string;
|
|
305
399
|
type: boolean | null;
|
|
400
|
+
getValue: ({ commandLine }: {
|
|
401
|
+
commandLine: Record<string, unknown>;
|
|
402
|
+
}) => {
|
|
403
|
+
source: string;
|
|
404
|
+
value: boolean | null;
|
|
405
|
+
};
|
|
406
|
+
setConfig: (value: boolean | null) => void;
|
|
306
407
|
};
|
|
307
408
|
enableMultiprocessOnLinuxOption: {
|
|
308
409
|
name: string;
|
|
@@ -311,14 +412,31 @@ export declare const BrowserSafeApis: {
|
|
|
311
412
|
ssrName: string;
|
|
312
413
|
docLink: string;
|
|
313
414
|
type: boolean;
|
|
415
|
+
getValue: ({ commandLine }: {
|
|
416
|
+
commandLine: Record<string, unknown>;
|
|
417
|
+
}) => {
|
|
418
|
+
source: string;
|
|
419
|
+
value: boolean;
|
|
420
|
+
};
|
|
421
|
+
setConfig: (value: boolean) => void;
|
|
314
422
|
};
|
|
315
423
|
glOption: {
|
|
316
424
|
cliFlag: "gl";
|
|
317
425
|
docLink: string;
|
|
318
426
|
name: string;
|
|
319
|
-
type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
427
|
+
type: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
320
428
|
ssrName: string;
|
|
321
429
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
430
|
+
getValue: ({ commandLine }: {
|
|
431
|
+
commandLine: Record<string, unknown>;
|
|
432
|
+
}) => {
|
|
433
|
+
value: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
434
|
+
source: string;
|
|
435
|
+
} | {
|
|
436
|
+
value: null;
|
|
437
|
+
source: string;
|
|
438
|
+
};
|
|
439
|
+
setConfig: (value: "swangle" | "angle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => void;
|
|
322
440
|
};
|
|
323
441
|
enableLambdaInsights: {
|
|
324
442
|
name: string;
|
|
@@ -327,6 +445,13 @@ export declare const BrowserSafeApis: {
|
|
|
327
445
|
ssrName: string;
|
|
328
446
|
docLink: string;
|
|
329
447
|
type: boolean;
|
|
448
|
+
setConfig: (value: boolean) => void;
|
|
449
|
+
getValue: ({ commandLine }: {
|
|
450
|
+
commandLine: Record<string, unknown>;
|
|
451
|
+
}) => {
|
|
452
|
+
value: boolean;
|
|
453
|
+
source: string;
|
|
454
|
+
};
|
|
330
455
|
};
|
|
331
456
|
encodingMaxRateOption: {
|
|
332
457
|
name: string;
|
|
@@ -335,6 +460,16 @@ export declare const BrowserSafeApis: {
|
|
|
335
460
|
ssrName: "encodingMaxRate";
|
|
336
461
|
docLink: string;
|
|
337
462
|
type: string | null;
|
|
463
|
+
getValue: ({ commandLine }: {
|
|
464
|
+
commandLine: Record<string, unknown>;
|
|
465
|
+
}) => {
|
|
466
|
+
value: string;
|
|
467
|
+
source: string;
|
|
468
|
+
} | {
|
|
469
|
+
value: null;
|
|
470
|
+
source: string;
|
|
471
|
+
};
|
|
472
|
+
setConfig: (newMaxRate: string | null) => void;
|
|
338
473
|
};
|
|
339
474
|
encodingBufferSizeOption: {
|
|
340
475
|
name: string;
|
|
@@ -343,6 +478,16 @@ export declare const BrowserSafeApis: {
|
|
|
343
478
|
ssrName: "encodingBufferSize";
|
|
344
479
|
docLink: string;
|
|
345
480
|
type: string | null;
|
|
481
|
+
getValue: ({ commandLine }: {
|
|
482
|
+
commandLine: Record<string, unknown>;
|
|
483
|
+
}) => {
|
|
484
|
+
value: string;
|
|
485
|
+
source: string;
|
|
486
|
+
} | {
|
|
487
|
+
value: null;
|
|
488
|
+
source: string;
|
|
489
|
+
};
|
|
490
|
+
setConfig: (bitrate: string | null) => void;
|
|
346
491
|
};
|
|
347
492
|
beepOnFinishOption: {
|
|
348
493
|
name: string;
|
|
@@ -351,6 +496,13 @@ export declare const BrowserSafeApis: {
|
|
|
351
496
|
ssrName: null;
|
|
352
497
|
docLink: string;
|
|
353
498
|
type: boolean;
|
|
499
|
+
getValue: ({ commandLine }: {
|
|
500
|
+
commandLine: Record<string, unknown>;
|
|
501
|
+
}) => {
|
|
502
|
+
value: boolean;
|
|
503
|
+
source: string;
|
|
504
|
+
};
|
|
505
|
+
setConfig(value: boolean): void;
|
|
354
506
|
};
|
|
355
507
|
numberOfGifLoopsOption: {
|
|
356
508
|
name: string;
|
|
@@ -359,14 +511,52 @@ export declare const BrowserSafeApis: {
|
|
|
359
511
|
ssrName: "numberOfGifLoops";
|
|
360
512
|
docLink: string;
|
|
361
513
|
type: number | null;
|
|
514
|
+
getValue: ({ commandLine }: {
|
|
515
|
+
commandLine: Record<string, unknown>;
|
|
516
|
+
}) => {
|
|
517
|
+
value: number;
|
|
518
|
+
source: string;
|
|
519
|
+
} | {
|
|
520
|
+
value: null;
|
|
521
|
+
source: string;
|
|
522
|
+
};
|
|
523
|
+
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
362
524
|
};
|
|
363
525
|
reproOption: {
|
|
364
526
|
name: string;
|
|
365
|
-
cliFlag:
|
|
527
|
+
cliFlag: "repro";
|
|
366
528
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
367
529
|
ssrName: string;
|
|
368
530
|
docLink: string;
|
|
369
531
|
type: boolean;
|
|
532
|
+
getValue: ({ commandLine }: {
|
|
533
|
+
commandLine: Record<string, unknown>;
|
|
534
|
+
}) => {
|
|
535
|
+
value: true;
|
|
536
|
+
source: string;
|
|
537
|
+
} | {
|
|
538
|
+
value: false;
|
|
539
|
+
source: string;
|
|
540
|
+
};
|
|
541
|
+
setConfig: (should: boolean) => void;
|
|
542
|
+
};
|
|
543
|
+
x264Option: {
|
|
544
|
+
name: string;
|
|
545
|
+
cliFlag: "x264-preset";
|
|
546
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
547
|
+
ssrName: "x264Preset";
|
|
548
|
+
docLink: string;
|
|
549
|
+
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
550
|
+
getValue: ({ commandLine }: {
|
|
551
|
+
commandLine: Record<string, unknown>;
|
|
552
|
+
}) => {
|
|
553
|
+
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
554
|
+
source: string;
|
|
555
|
+
} | {
|
|
556
|
+
value: null;
|
|
557
|
+
source: string;
|
|
558
|
+
};
|
|
559
|
+
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
370
560
|
};
|
|
371
561
|
};
|
|
372
562
|
validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
|
|
@@ -379,14 +569,31 @@ export declare const BrowserSafeApis: {
|
|
|
379
569
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
380
570
|
docLink: string;
|
|
381
571
|
type: number | null;
|
|
572
|
+
getValue: ({ commandLine }: {
|
|
573
|
+
commandLine: Record<string, unknown>;
|
|
574
|
+
}) => {
|
|
575
|
+
source: string;
|
|
576
|
+
value: number;
|
|
577
|
+
} | {
|
|
578
|
+
source: string;
|
|
579
|
+
value: null;
|
|
580
|
+
};
|
|
581
|
+
setConfig: (size: number | null) => void;
|
|
382
582
|
};
|
|
383
583
|
readonly videoBitrate: {
|
|
384
584
|
name: string;
|
|
385
|
-
cliFlag:
|
|
585
|
+
cliFlag: "video-bitrate";
|
|
386
586
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
387
587
|
ssrName: string;
|
|
388
588
|
docLink: string;
|
|
389
589
|
type: string | null;
|
|
590
|
+
getValue: ({ commandLine }: {
|
|
591
|
+
commandLine: Record<string, unknown>;
|
|
592
|
+
}) => {
|
|
593
|
+
source: string;
|
|
594
|
+
value: string | null;
|
|
595
|
+
};
|
|
596
|
+
setConfig: (bitrate: string | null) => void;
|
|
390
597
|
};
|
|
391
598
|
readonly numberOfGifLoops: {
|
|
392
599
|
name: string;
|
|
@@ -395,14 +602,172 @@ export declare const BrowserSafeApis: {
|
|
|
395
602
|
ssrName: "numberOfGifLoops";
|
|
396
603
|
docLink: string;
|
|
397
604
|
type: number | null;
|
|
605
|
+
getValue: ({ commandLine }: {
|
|
606
|
+
commandLine: Record<string, unknown>;
|
|
607
|
+
}) => {
|
|
608
|
+
value: number;
|
|
609
|
+
source: string;
|
|
610
|
+
} | {
|
|
611
|
+
value: null;
|
|
612
|
+
source: string;
|
|
613
|
+
};
|
|
614
|
+
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
398
615
|
};
|
|
399
616
|
readonly repro: {
|
|
400
617
|
name: string;
|
|
401
|
-
cliFlag:
|
|
618
|
+
cliFlag: "repro";
|
|
402
619
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
403
620
|
ssrName: string;
|
|
404
621
|
docLink: string;
|
|
405
622
|
type: boolean;
|
|
623
|
+
getValue: ({ commandLine }: {
|
|
624
|
+
commandLine: Record<string, unknown>;
|
|
625
|
+
}) => {
|
|
626
|
+
value: true;
|
|
627
|
+
source: string;
|
|
628
|
+
} | {
|
|
629
|
+
value: false;
|
|
630
|
+
source: string;
|
|
631
|
+
};
|
|
632
|
+
setConfig: (should: boolean) => void;
|
|
633
|
+
};
|
|
634
|
+
readonly x264Preset: {
|
|
635
|
+
name: string;
|
|
636
|
+
cliFlag: "x264-preset";
|
|
637
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
638
|
+
ssrName: "x264Preset";
|
|
639
|
+
docLink: string;
|
|
640
|
+
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
641
|
+
getValue: ({ commandLine }: {
|
|
642
|
+
commandLine: Record<string, unknown>;
|
|
643
|
+
}) => {
|
|
644
|
+
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
645
|
+
source: string;
|
|
646
|
+
} | {
|
|
647
|
+
value: null;
|
|
648
|
+
source: string;
|
|
649
|
+
};
|
|
650
|
+
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
651
|
+
};
|
|
652
|
+
readonly audioBitrate: {
|
|
653
|
+
name: string;
|
|
654
|
+
cliFlag: "audio-bitrate";
|
|
655
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
656
|
+
ssrName: string;
|
|
657
|
+
docLink: string;
|
|
658
|
+
type: string;
|
|
659
|
+
getValue: ({ commandLine }: {
|
|
660
|
+
commandLine: Record<string, unknown>;
|
|
661
|
+
}) => {
|
|
662
|
+
value: string;
|
|
663
|
+
source: string;
|
|
664
|
+
} | {
|
|
665
|
+
value: null;
|
|
666
|
+
source: string;
|
|
667
|
+
};
|
|
668
|
+
setConfig: (value: string | null) => void;
|
|
669
|
+
};
|
|
670
|
+
readonly colorSpace: {
|
|
671
|
+
name: string;
|
|
672
|
+
cliFlag: "color-space";
|
|
673
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
674
|
+
docLink: string;
|
|
675
|
+
ssrName: string;
|
|
676
|
+
type: "default" | "bt709" | "bt2020-ncl";
|
|
677
|
+
getValue: ({ commandLine }: {
|
|
678
|
+
commandLine: Record<string, unknown>;
|
|
679
|
+
}) => {
|
|
680
|
+
source: string;
|
|
681
|
+
value: "default" | "bt709" | "bt2020-ncl";
|
|
682
|
+
};
|
|
683
|
+
setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
|
|
684
|
+
};
|
|
685
|
+
readonly codec: {
|
|
686
|
+
name: string;
|
|
687
|
+
cliFlag: "codec";
|
|
688
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
689
|
+
ssrName: string;
|
|
690
|
+
docLink: string;
|
|
691
|
+
type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
692
|
+
getValue: ({ commandLine }: {
|
|
693
|
+
commandLine: Record<string, unknown>;
|
|
694
|
+
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
695
|
+
outName: string | null;
|
|
696
|
+
downloadName: string | null;
|
|
697
|
+
configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
698
|
+
uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
699
|
+
compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
|
|
700
|
+
}) => {
|
|
701
|
+
value: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
|
|
702
|
+
source: string;
|
|
703
|
+
};
|
|
704
|
+
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
705
|
+
};
|
|
706
|
+
readonly jpegQuality: {
|
|
707
|
+
name: string;
|
|
708
|
+
cliFlag: "jpeg-quality";
|
|
709
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
710
|
+
ssrName: string;
|
|
711
|
+
docLink: string;
|
|
712
|
+
type: number;
|
|
713
|
+
setConfig: (q: number | undefined) => void;
|
|
714
|
+
getValue: ({ commandLine }: {
|
|
715
|
+
commandLine: Record<string, unknown>;
|
|
716
|
+
}) => {
|
|
717
|
+
source: string;
|
|
718
|
+
value: number;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
readonly encodingMaxRate: {
|
|
722
|
+
name: string;
|
|
723
|
+
cliFlag: "max-rate";
|
|
724
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
725
|
+
ssrName: "encodingMaxRate";
|
|
726
|
+
docLink: string;
|
|
727
|
+
type: string | null;
|
|
728
|
+
getValue: ({ commandLine }: {
|
|
729
|
+
commandLine: Record<string, unknown>;
|
|
730
|
+
}) => {
|
|
731
|
+
value: string;
|
|
732
|
+
source: string;
|
|
733
|
+
} | {
|
|
734
|
+
value: null;
|
|
735
|
+
source: string;
|
|
736
|
+
};
|
|
737
|
+
setConfig: (newMaxRate: string | null) => void;
|
|
738
|
+
};
|
|
739
|
+
readonly encodingBufferSize: {
|
|
740
|
+
name: string;
|
|
741
|
+
cliFlag: "buffer-size";
|
|
742
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
743
|
+
ssrName: "encodingBufferSize";
|
|
744
|
+
docLink: string;
|
|
745
|
+
type: string | null;
|
|
746
|
+
getValue: ({ commandLine }: {
|
|
747
|
+
commandLine: Record<string, unknown>;
|
|
748
|
+
}) => {
|
|
749
|
+
value: string;
|
|
750
|
+
source: string;
|
|
751
|
+
} | {
|
|
752
|
+
value: null;
|
|
753
|
+
source: string;
|
|
754
|
+
};
|
|
755
|
+
setConfig: (bitrate: string | null) => void;
|
|
756
|
+
};
|
|
757
|
+
readonly muted: {
|
|
758
|
+
name: string;
|
|
759
|
+
cliFlag: "muted";
|
|
760
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
761
|
+
ssrName: string;
|
|
762
|
+
docLink: string;
|
|
763
|
+
type: boolean;
|
|
764
|
+
getValue: ({ commandLine }: {
|
|
765
|
+
commandLine: Record<string, unknown>;
|
|
766
|
+
}) => {
|
|
767
|
+
source: string;
|
|
768
|
+
value: boolean;
|
|
769
|
+
};
|
|
770
|
+
setConfig: () => void;
|
|
406
771
|
};
|
|
407
772
|
};
|
|
408
773
|
readonly renderStill: {
|
|
@@ -413,6 +778,31 @@ export declare const BrowserSafeApis: {
|
|
|
413
778
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
414
779
|
docLink: string;
|
|
415
780
|
type: number | null;
|
|
781
|
+
getValue: ({ commandLine }: {
|
|
782
|
+
commandLine: Record<string, unknown>;
|
|
783
|
+
}) => {
|
|
784
|
+
source: string;
|
|
785
|
+
value: number;
|
|
786
|
+
} | {
|
|
787
|
+
source: string;
|
|
788
|
+
value: null;
|
|
789
|
+
};
|
|
790
|
+
setConfig: (size: number | null) => void;
|
|
791
|
+
};
|
|
792
|
+
readonly jpegQuality: {
|
|
793
|
+
name: string;
|
|
794
|
+
cliFlag: "jpeg-quality";
|
|
795
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
796
|
+
ssrName: string;
|
|
797
|
+
docLink: string;
|
|
798
|
+
type: number;
|
|
799
|
+
setConfig: (q: number | undefined) => void;
|
|
800
|
+
getValue: ({ commandLine }: {
|
|
801
|
+
commandLine: Record<string, unknown>;
|
|
802
|
+
}) => {
|
|
803
|
+
source: string;
|
|
804
|
+
value: number;
|
|
805
|
+
};
|
|
416
806
|
};
|
|
417
807
|
};
|
|
418
808
|
readonly getCompositions: {
|
|
@@ -423,6 +813,16 @@ export declare const BrowserSafeApis: {
|
|
|
423
813
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
424
814
|
docLink: string;
|
|
425
815
|
type: number | null;
|
|
816
|
+
getValue: ({ commandLine }: {
|
|
817
|
+
commandLine: Record<string, unknown>;
|
|
818
|
+
}) => {
|
|
819
|
+
source: string;
|
|
820
|
+
value: number;
|
|
821
|
+
} | {
|
|
822
|
+
source: string;
|
|
823
|
+
value: null;
|
|
824
|
+
};
|
|
825
|
+
setConfig: (size: number | null) => void;
|
|
426
826
|
};
|
|
427
827
|
};
|
|
428
828
|
readonly selectComposition: {
|
|
@@ -433,6 +833,16 @@ export declare const BrowserSafeApis: {
|
|
|
433
833
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
434
834
|
docLink: string;
|
|
435
835
|
type: number | null;
|
|
836
|
+
getValue: ({ commandLine }: {
|
|
837
|
+
commandLine: Record<string, unknown>;
|
|
838
|
+
}) => {
|
|
839
|
+
source: string;
|
|
840
|
+
value: number;
|
|
841
|
+
} | {
|
|
842
|
+
source: string;
|
|
843
|
+
value: null;
|
|
844
|
+
};
|
|
845
|
+
setConfig: (size: number | null) => void;
|
|
436
846
|
};
|
|
437
847
|
};
|
|
438
848
|
readonly renderFrames: {
|
|
@@ -443,6 +853,31 @@ export declare const BrowserSafeApis: {
|
|
|
443
853
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
444
854
|
docLink: string;
|
|
445
855
|
type: number | null;
|
|
856
|
+
getValue: ({ commandLine }: {
|
|
857
|
+
commandLine: Record<string, unknown>;
|
|
858
|
+
}) => {
|
|
859
|
+
source: string;
|
|
860
|
+
value: number;
|
|
861
|
+
} | {
|
|
862
|
+
source: string;
|
|
863
|
+
value: null;
|
|
864
|
+
};
|
|
865
|
+
setConfig: (size: number | null) => void;
|
|
866
|
+
};
|
|
867
|
+
readonly jpegQuality: {
|
|
868
|
+
name: string;
|
|
869
|
+
cliFlag: "jpeg-quality";
|
|
870
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
871
|
+
ssrName: string;
|
|
872
|
+
docLink: string;
|
|
873
|
+
type: number;
|
|
874
|
+
setConfig: (q: number | undefined) => void;
|
|
875
|
+
getValue: ({ commandLine }: {
|
|
876
|
+
commandLine: Record<string, unknown>;
|
|
877
|
+
}) => {
|
|
878
|
+
source: string;
|
|
879
|
+
value: number;
|
|
880
|
+
};
|
|
446
881
|
};
|
|
447
882
|
};
|
|
448
883
|
readonly renderMediaOnLambda: {
|
|
@@ -453,14 +888,31 @@ export declare const BrowserSafeApis: {
|
|
|
453
888
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
454
889
|
docLink: string;
|
|
455
890
|
type: number | null;
|
|
891
|
+
getValue: ({ commandLine }: {
|
|
892
|
+
commandLine: Record<string, unknown>;
|
|
893
|
+
}) => {
|
|
894
|
+
source: string;
|
|
895
|
+
value: number;
|
|
896
|
+
} | {
|
|
897
|
+
source: string;
|
|
898
|
+
value: null;
|
|
899
|
+
};
|
|
900
|
+
setConfig: (size: number | null) => void;
|
|
456
901
|
};
|
|
457
902
|
readonly videoBitrate: {
|
|
458
903
|
name: string;
|
|
459
|
-
cliFlag:
|
|
904
|
+
cliFlag: "video-bitrate";
|
|
460
905
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
461
906
|
ssrName: string;
|
|
462
907
|
docLink: string;
|
|
463
908
|
type: string | null;
|
|
909
|
+
getValue: ({ commandLine }: {
|
|
910
|
+
commandLine: Record<string, unknown>;
|
|
911
|
+
}) => {
|
|
912
|
+
source: string;
|
|
913
|
+
value: string | null;
|
|
914
|
+
};
|
|
915
|
+
setConfig: (bitrate: string | null) => void;
|
|
464
916
|
};
|
|
465
917
|
readonly numberOfGifLoops: {
|
|
466
918
|
name: string;
|
|
@@ -469,6 +921,136 @@ export declare const BrowserSafeApis: {
|
|
|
469
921
|
ssrName: "numberOfGifLoops";
|
|
470
922
|
docLink: string;
|
|
471
923
|
type: number | null;
|
|
924
|
+
getValue: ({ commandLine }: {
|
|
925
|
+
commandLine: Record<string, unknown>;
|
|
926
|
+
}) => {
|
|
927
|
+
value: number;
|
|
928
|
+
source: string;
|
|
929
|
+
} | {
|
|
930
|
+
value: null;
|
|
931
|
+
source: string;
|
|
932
|
+
};
|
|
933
|
+
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
934
|
+
};
|
|
935
|
+
readonly audioBitrate: {
|
|
936
|
+
name: string;
|
|
937
|
+
cliFlag: "audio-bitrate";
|
|
938
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
939
|
+
ssrName: string;
|
|
940
|
+
docLink: string;
|
|
941
|
+
type: string;
|
|
942
|
+
getValue: ({ commandLine }: {
|
|
943
|
+
commandLine: Record<string, unknown>;
|
|
944
|
+
}) => {
|
|
945
|
+
value: string;
|
|
946
|
+
source: string;
|
|
947
|
+
} | {
|
|
948
|
+
value: null;
|
|
949
|
+
source: string;
|
|
950
|
+
};
|
|
951
|
+
setConfig: (value: string | null) => void;
|
|
952
|
+
};
|
|
953
|
+
readonly deleteAfter: {
|
|
954
|
+
name: string;
|
|
955
|
+
cliFlag: "delete-after";
|
|
956
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
957
|
+
ssrName: "deleteAfter";
|
|
958
|
+
docLink: string;
|
|
959
|
+
type: import(".").DeleteAfter | null;
|
|
960
|
+
getValue: ({ commandLine }: {
|
|
961
|
+
commandLine: Record<string, unknown>;
|
|
962
|
+
}) => {
|
|
963
|
+
source: string;
|
|
964
|
+
value: import(".").DeleteAfter;
|
|
965
|
+
} | {
|
|
966
|
+
source: string;
|
|
967
|
+
value: null;
|
|
968
|
+
};
|
|
969
|
+
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
970
|
+
};
|
|
971
|
+
readonly x264Preset: {
|
|
972
|
+
name: string;
|
|
973
|
+
cliFlag: "x264-preset";
|
|
974
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
975
|
+
ssrName: "x264Preset";
|
|
976
|
+
docLink: string;
|
|
977
|
+
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
978
|
+
getValue: ({ commandLine }: {
|
|
979
|
+
commandLine: Record<string, unknown>;
|
|
980
|
+
}) => {
|
|
981
|
+
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
982
|
+
source: string;
|
|
983
|
+
} | {
|
|
984
|
+
value: null;
|
|
985
|
+
source: string;
|
|
986
|
+
};
|
|
987
|
+
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
988
|
+
};
|
|
989
|
+
readonly encodingMaxRate: {
|
|
990
|
+
name: string;
|
|
991
|
+
cliFlag: "max-rate";
|
|
992
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
993
|
+
ssrName: "encodingMaxRate";
|
|
994
|
+
docLink: string;
|
|
995
|
+
type: string | null;
|
|
996
|
+
getValue: ({ commandLine }: {
|
|
997
|
+
commandLine: Record<string, unknown>;
|
|
998
|
+
}) => {
|
|
999
|
+
value: string;
|
|
1000
|
+
source: string;
|
|
1001
|
+
} | {
|
|
1002
|
+
value: null;
|
|
1003
|
+
source: string;
|
|
1004
|
+
};
|
|
1005
|
+
setConfig: (newMaxRate: string | null) => void;
|
|
1006
|
+
};
|
|
1007
|
+
readonly encodingBufferSize: {
|
|
1008
|
+
name: string;
|
|
1009
|
+
cliFlag: "buffer-size";
|
|
1010
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1011
|
+
ssrName: "encodingBufferSize";
|
|
1012
|
+
docLink: string;
|
|
1013
|
+
type: string | null;
|
|
1014
|
+
getValue: ({ commandLine }: {
|
|
1015
|
+
commandLine: Record<string, unknown>;
|
|
1016
|
+
}) => {
|
|
1017
|
+
value: string;
|
|
1018
|
+
source: string;
|
|
1019
|
+
} | {
|
|
1020
|
+
value: null;
|
|
1021
|
+
source: string;
|
|
1022
|
+
};
|
|
1023
|
+
setConfig: (bitrate: string | null) => void;
|
|
1024
|
+
};
|
|
1025
|
+
readonly colorSpace: {
|
|
1026
|
+
name: string;
|
|
1027
|
+
cliFlag: "color-space";
|
|
1028
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1029
|
+
docLink: string;
|
|
1030
|
+
ssrName: string;
|
|
1031
|
+
type: "default" | "bt709" | "bt2020-ncl";
|
|
1032
|
+
getValue: ({ commandLine }: {
|
|
1033
|
+
commandLine: Record<string, unknown>;
|
|
1034
|
+
}) => {
|
|
1035
|
+
source: string;
|
|
1036
|
+
value: "default" | "bt709" | "bt2020-ncl";
|
|
1037
|
+
};
|
|
1038
|
+
setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
|
|
1039
|
+
};
|
|
1040
|
+
readonly muted: {
|
|
1041
|
+
name: string;
|
|
1042
|
+
cliFlag: "muted";
|
|
1043
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1044
|
+
ssrName: string;
|
|
1045
|
+
docLink: string;
|
|
1046
|
+
type: boolean;
|
|
1047
|
+
getValue: ({ commandLine }: {
|
|
1048
|
+
commandLine: Record<string, unknown>;
|
|
1049
|
+
}) => {
|
|
1050
|
+
source: string;
|
|
1051
|
+
value: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
setConfig: () => void;
|
|
472
1054
|
};
|
|
473
1055
|
};
|
|
474
1056
|
readonly renderStillOnLambda: {
|
|
@@ -479,6 +1061,31 @@ export declare const BrowserSafeApis: {
|
|
|
479
1061
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
480
1062
|
docLink: string;
|
|
481
1063
|
type: number | null;
|
|
1064
|
+
getValue: ({ commandLine }: {
|
|
1065
|
+
commandLine: Record<string, unknown>;
|
|
1066
|
+
}) => {
|
|
1067
|
+
source: string;
|
|
1068
|
+
value: number;
|
|
1069
|
+
} | {
|
|
1070
|
+
source: string;
|
|
1071
|
+
value: null;
|
|
1072
|
+
};
|
|
1073
|
+
setConfig: (size: number | null) => void;
|
|
1074
|
+
};
|
|
1075
|
+
readonly jpegQuality: {
|
|
1076
|
+
name: string;
|
|
1077
|
+
cliFlag: "jpeg-quality";
|
|
1078
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1079
|
+
ssrName: string;
|
|
1080
|
+
docLink: string;
|
|
1081
|
+
type: number;
|
|
1082
|
+
setConfig: (q: number | undefined) => void;
|
|
1083
|
+
getValue: ({ commandLine }: {
|
|
1084
|
+
commandLine: Record<string, unknown>;
|
|
1085
|
+
}) => {
|
|
1086
|
+
source: string;
|
|
1087
|
+
value: number;
|
|
1088
|
+
};
|
|
482
1089
|
};
|
|
483
1090
|
};
|
|
484
1091
|
readonly getCompositionsOnLambda: {
|
|
@@ -489,6 +1096,16 @@ export declare const BrowserSafeApis: {
|
|
|
489
1096
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
490
1097
|
docLink: string;
|
|
491
1098
|
type: number | null;
|
|
1099
|
+
getValue: ({ commandLine }: {
|
|
1100
|
+
commandLine: Record<string, unknown>;
|
|
1101
|
+
}) => {
|
|
1102
|
+
source: string;
|
|
1103
|
+
value: number;
|
|
1104
|
+
} | {
|
|
1105
|
+
source: string;
|
|
1106
|
+
value: null;
|
|
1107
|
+
};
|
|
1108
|
+
setConfig: (size: number | null) => void;
|
|
492
1109
|
};
|
|
493
1110
|
};
|
|
494
1111
|
readonly renderMediaOnCloudRun: {
|
|
@@ -499,6 +1116,16 @@ export declare const BrowserSafeApis: {
|
|
|
499
1116
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
500
1117
|
docLink: string;
|
|
501
1118
|
type: number | null;
|
|
1119
|
+
getValue: ({ commandLine }: {
|
|
1120
|
+
commandLine: Record<string, unknown>;
|
|
1121
|
+
}) => {
|
|
1122
|
+
source: string;
|
|
1123
|
+
value: number;
|
|
1124
|
+
} | {
|
|
1125
|
+
source: string;
|
|
1126
|
+
value: null;
|
|
1127
|
+
};
|
|
1128
|
+
setConfig: (size: number | null) => void;
|
|
502
1129
|
};
|
|
503
1130
|
readonly numberOfGifLoops: {
|
|
504
1131
|
name: string;
|
|
@@ -507,6 +1134,133 @@ export declare const BrowserSafeApis: {
|
|
|
507
1134
|
ssrName: "numberOfGifLoops";
|
|
508
1135
|
docLink: string;
|
|
509
1136
|
type: number | null;
|
|
1137
|
+
getValue: ({ commandLine }: {
|
|
1138
|
+
commandLine: Record<string, unknown>;
|
|
1139
|
+
}) => {
|
|
1140
|
+
value: number;
|
|
1141
|
+
source: string;
|
|
1142
|
+
} | {
|
|
1143
|
+
value: null;
|
|
1144
|
+
source: string;
|
|
1145
|
+
};
|
|
1146
|
+
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
1147
|
+
};
|
|
1148
|
+
readonly colorSpace: {
|
|
1149
|
+
name: string;
|
|
1150
|
+
cliFlag: "color-space";
|
|
1151
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1152
|
+
docLink: string;
|
|
1153
|
+
ssrName: string;
|
|
1154
|
+
type: "default" | "bt709" | "bt2020-ncl";
|
|
1155
|
+
getValue: ({ commandLine }: {
|
|
1156
|
+
commandLine: Record<string, unknown>;
|
|
1157
|
+
}) => {
|
|
1158
|
+
source: string;
|
|
1159
|
+
value: "default" | "bt709" | "bt2020-ncl";
|
|
1160
|
+
};
|
|
1161
|
+
setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
|
|
1162
|
+
};
|
|
1163
|
+
readonly audioBitrate: {
|
|
1164
|
+
name: string;
|
|
1165
|
+
cliFlag: "audio-bitrate";
|
|
1166
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1167
|
+
ssrName: string;
|
|
1168
|
+
docLink: string;
|
|
1169
|
+
type: string;
|
|
1170
|
+
getValue: ({ commandLine }: {
|
|
1171
|
+
commandLine: Record<string, unknown>;
|
|
1172
|
+
}) => {
|
|
1173
|
+
value: string;
|
|
1174
|
+
source: string;
|
|
1175
|
+
} | {
|
|
1176
|
+
value: null;
|
|
1177
|
+
source: string;
|
|
1178
|
+
};
|
|
1179
|
+
setConfig: (value: string | null) => void;
|
|
1180
|
+
};
|
|
1181
|
+
readonly videoBitrate: {
|
|
1182
|
+
name: string;
|
|
1183
|
+
cliFlag: "video-bitrate";
|
|
1184
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1185
|
+
ssrName: string;
|
|
1186
|
+
docLink: string;
|
|
1187
|
+
type: string | null;
|
|
1188
|
+
getValue: ({ commandLine }: {
|
|
1189
|
+
commandLine: Record<string, unknown>;
|
|
1190
|
+
}) => {
|
|
1191
|
+
source: string;
|
|
1192
|
+
value: string | null;
|
|
1193
|
+
};
|
|
1194
|
+
setConfig: (bitrate: string | null) => void;
|
|
1195
|
+
};
|
|
1196
|
+
readonly x264Preset: {
|
|
1197
|
+
name: string;
|
|
1198
|
+
cliFlag: "x264-preset";
|
|
1199
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1200
|
+
ssrName: "x264Preset";
|
|
1201
|
+
docLink: string;
|
|
1202
|
+
type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
|
|
1203
|
+
getValue: ({ commandLine }: {
|
|
1204
|
+
commandLine: Record<string, unknown>;
|
|
1205
|
+
}) => {
|
|
1206
|
+
value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
|
|
1207
|
+
source: string;
|
|
1208
|
+
} | {
|
|
1209
|
+
value: null;
|
|
1210
|
+
source: string;
|
|
1211
|
+
};
|
|
1212
|
+
setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
|
|
1213
|
+
};
|
|
1214
|
+
readonly encodingMaxRate: {
|
|
1215
|
+
name: string;
|
|
1216
|
+
cliFlag: "max-rate";
|
|
1217
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1218
|
+
ssrName: "encodingMaxRate";
|
|
1219
|
+
docLink: string;
|
|
1220
|
+
type: string | null;
|
|
1221
|
+
getValue: ({ commandLine }: {
|
|
1222
|
+
commandLine: Record<string, unknown>;
|
|
1223
|
+
}) => {
|
|
1224
|
+
value: string;
|
|
1225
|
+
source: string;
|
|
1226
|
+
} | {
|
|
1227
|
+
value: null;
|
|
1228
|
+
source: string;
|
|
1229
|
+
};
|
|
1230
|
+
setConfig: (newMaxRate: string | null) => void;
|
|
1231
|
+
};
|
|
1232
|
+
readonly encodingBufferSize: {
|
|
1233
|
+
name: string;
|
|
1234
|
+
cliFlag: "buffer-size";
|
|
1235
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1236
|
+
ssrName: "encodingBufferSize";
|
|
1237
|
+
docLink: string;
|
|
1238
|
+
type: string | null;
|
|
1239
|
+
getValue: ({ commandLine }: {
|
|
1240
|
+
commandLine: Record<string, unknown>;
|
|
1241
|
+
}) => {
|
|
1242
|
+
value: string;
|
|
1243
|
+
source: string;
|
|
1244
|
+
} | {
|
|
1245
|
+
value: null;
|
|
1246
|
+
source: string;
|
|
1247
|
+
};
|
|
1248
|
+
setConfig: (bitrate: string | null) => void;
|
|
1249
|
+
};
|
|
1250
|
+
readonly muted: {
|
|
1251
|
+
name: string;
|
|
1252
|
+
cliFlag: "muted";
|
|
1253
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1254
|
+
ssrName: string;
|
|
1255
|
+
docLink: string;
|
|
1256
|
+
type: boolean;
|
|
1257
|
+
getValue: ({ commandLine }: {
|
|
1258
|
+
commandLine: Record<string, unknown>;
|
|
1259
|
+
}) => {
|
|
1260
|
+
source: string;
|
|
1261
|
+
value: boolean;
|
|
1262
|
+
};
|
|
1263
|
+
setConfig: () => void;
|
|
510
1264
|
};
|
|
511
1265
|
};
|
|
512
1266
|
readonly renderStillOnCloudRun: {
|
|
@@ -517,10 +1271,21 @@ export declare const BrowserSafeApis: {
|
|
|
517
1271
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
518
1272
|
docLink: string;
|
|
519
1273
|
type: number | null;
|
|
1274
|
+
getValue: ({ commandLine }: {
|
|
1275
|
+
commandLine: Record<string, unknown>;
|
|
1276
|
+
}) => {
|
|
1277
|
+
source: string;
|
|
1278
|
+
value: number;
|
|
1279
|
+
} | {
|
|
1280
|
+
source: string;
|
|
1281
|
+
value: null;
|
|
1282
|
+
};
|
|
1283
|
+
setConfig: (size: number | null) => void;
|
|
520
1284
|
};
|
|
521
1285
|
};
|
|
522
1286
|
};
|
|
523
1287
|
codecSupportsCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
524
1288
|
codecSupportsVideoBitrate: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif") => boolean;
|
|
525
1289
|
logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
1290
|
+
getOutputCodecOrUndefined: () => import("./codec").CodecOrUndefined;
|
|
526
1291
|
};
|