@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.
Files changed (79) hide show
  1. package/dist/check-apple-silicon.d.ts +3 -1
  2. package/dist/check-apple-silicon.js +32 -2
  3. package/dist/client.d.ts +779 -14
  4. package/dist/client.js +3 -1
  5. package/dist/combine-videos.js +1 -1
  6. package/dist/ffmpeg-args.d.ts +1 -1
  7. package/dist/get-extension-of-filename.js +2 -5
  8. package/dist/index.d.ts +50 -3
  9. package/dist/jpeg-quality.d.ts +1 -1
  10. package/dist/options/audio-bitrate.d.ts +10 -0
  11. package/dist/options/audio-bitrate.js +25 -2
  12. package/dist/options/beep-on-finish.d.ts +7 -0
  13. package/dist/options/beep-on-finish.js +24 -1
  14. package/dist/options/color-space.d.ts +7 -0
  15. package/dist/options/color-space.js +23 -0
  16. package/dist/options/crf.d.ts +9 -0
  17. package/dist/options/crf.js +33 -2
  18. package/dist/options/delete-after.d.ts +12 -1
  19. package/dist/options/delete-after.js +25 -2
  20. package/dist/options/enable-lambda-insights.d.ts +7 -0
  21. package/dist/options/enable-lambda-insights.js +24 -1
  22. package/dist/options/enable-multiprocess-on-linux.d.ts +7 -0
  23. package/dist/options/enable-multiprocess-on-linux.js +24 -1
  24. package/dist/options/encoding-buffer-size.d.ts +10 -0
  25. package/dist/options/encoding-buffer-size.js +28 -1
  26. package/dist/options/encoding-max-rate.d.ts +10 -0
  27. package/dist/options/encoding-max-rate.js +24 -1
  28. package/dist/options/enforce-audio.d.ts +7 -0
  29. package/dist/options/enforce-audio.js +25 -1
  30. package/dist/options/folder-expiry.d.ts +7 -0
  31. package/dist/options/folder-expiry.js +24 -1
  32. package/dist/options/gl.d.ts +16 -4
  33. package/dist/options/gl.js +35 -3
  34. package/dist/options/headless.d.ts +15 -0
  35. package/dist/options/headless.js +36 -0
  36. package/dist/options/index.d.ts +202 -10
  37. package/dist/options/index.js +5 -3
  38. package/dist/options/jpeg-quality.d.ts +9 -0
  39. package/dist/options/jpeg-quality.js +37 -2
  40. package/dist/options/log-level.d.ts +16 -0
  41. package/dist/options/log-level.js +32 -0
  42. package/dist/options/mute.d.ts +9 -2
  43. package/dist/options/mute.js +27 -3
  44. package/dist/options/number-of-gif-loops.d.ts +11 -0
  45. package/dist/options/number-of-gif-loops.js +31 -1
  46. package/dist/options/offthreadvideo-cache-size.d.ts +12 -1
  47. package/dist/options/offthreadvideo-cache-size.js +30 -3
  48. package/dist/options/option.d.ts +11 -3
  49. package/dist/options/options-map.d.ts +577 -3
  50. package/dist/options/options-map.js +46 -12
  51. package/dist/options/overwrite.d.ts +15 -0
  52. package/dist/options/overwrite.js +42 -0
  53. package/dist/options/repro.d.ts +11 -1
  54. package/dist/options/repro.js +25 -1
  55. package/dist/options/scale.d.ts +7 -0
  56. package/dist/options/scale.js +30 -1
  57. package/dist/options/timeout.d.ts +15 -0
  58. package/dist/options/timeout.js +44 -0
  59. package/dist/options/video-bitrate.d.ts +9 -2
  60. package/dist/options/video-bitrate.js +27 -4
  61. package/dist/options/video-codec.d.ts +16 -1
  62. package/dist/options/video-codec.js +81 -2
  63. package/dist/options/webhook-custom-data.d.ts +3 -1
  64. package/dist/options/webhook-custom-data.js +8 -1
  65. package/dist/options/x264-preset.d.ts +20 -3
  66. package/dist/options/x264-preset.js +47 -7
  67. package/dist/path-normalize.d.ts +1 -0
  68. package/dist/path-normalize.js +133 -0
  69. package/dist/prespawn-ffmpeg.d.ts +1 -1
  70. package/dist/render-frames.d.ts +1 -3
  71. package/dist/render-media.d.ts +0 -12
  72. package/dist/render-media.js +2 -2
  73. package/dist/render-still.d.ts +1 -3
  74. package/dist/select-composition.d.ts +2 -3
  75. package/dist/stitch-frames-to-video.d.ts +1 -1
  76. package/dist/stitch-frames-to-video.js +1 -1
  77. package/package.json +9 -9
  78. package/dist/does-have-m2-bug.d.ts +0 -3
  79. package/dist/does-have-m2-bug.js +0 -12
@@ -7,14 +7,31 @@ export declare const optionsMap: {
7
7
  ssrName: "offthreadVideoCacheSizeInBytes";
8
8
  docLink: string;
9
9
  type: number | null;
10
+ getValue: ({ commandLine }: {
11
+ commandLine: Record<string, unknown>;
12
+ }) => {
13
+ source: string;
14
+ value: number;
15
+ } | {
16
+ source: string;
17
+ value: null;
18
+ };
19
+ setConfig: (size: number | null) => void;
10
20
  };
11
21
  readonly videoBitrate: {
12
22
  name: string;
13
- cliFlag: string;
23
+ cliFlag: "video-bitrate";
14
24
  description: () => import("react/jsx-runtime").JSX.Element;
15
25
  ssrName: string;
16
26
  docLink: string;
17
27
  type: string | null;
28
+ getValue: ({ commandLine }: {
29
+ commandLine: Record<string, unknown>;
30
+ }) => {
31
+ source: string;
32
+ value: string | null;
33
+ };
34
+ setConfig: (bitrate: string | null) => void;
18
35
  };
19
36
  readonly numberOfGifLoops: {
20
37
  name: string;
@@ -23,14 +40,172 @@ export declare const optionsMap: {
23
40
  ssrName: "numberOfGifLoops";
24
41
  docLink: string;
25
42
  type: number | null;
43
+ getValue: ({ commandLine }: {
44
+ commandLine: Record<string, unknown>;
45
+ }) => {
46
+ value: number;
47
+ source: string;
48
+ } | {
49
+ value: null;
50
+ source: string;
51
+ };
52
+ setConfig: (newLoop: import("./number-of-gif-loops").NumberOfGifLoops) => void;
26
53
  };
27
54
  readonly repro: {
28
55
  name: string;
29
- cliFlag: string;
56
+ cliFlag: "repro";
30
57
  description: () => import("react/jsx-runtime").JSX.Element;
31
58
  ssrName: string;
32
59
  docLink: string;
33
60
  type: boolean;
61
+ getValue: ({ commandLine }: {
62
+ commandLine: Record<string, unknown>;
63
+ }) => {
64
+ value: true;
65
+ source: string;
66
+ } | {
67
+ value: false;
68
+ source: string;
69
+ };
70
+ setConfig: (should: boolean) => void;
71
+ };
72
+ readonly x264Preset: {
73
+ name: string;
74
+ cliFlag: "x264-preset";
75
+ description: () => import("react/jsx-runtime").JSX.Element;
76
+ ssrName: "x264Preset";
77
+ docLink: string;
78
+ type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
79
+ getValue: ({ commandLine }: {
80
+ commandLine: Record<string, unknown>;
81
+ }) => {
82
+ value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
83
+ source: string;
84
+ } | {
85
+ value: null;
86
+ source: string;
87
+ };
88
+ setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
89
+ };
90
+ readonly audioBitrate: {
91
+ name: string;
92
+ cliFlag: "audio-bitrate";
93
+ description: () => import("react/jsx-runtime").JSX.Element;
94
+ ssrName: string;
95
+ docLink: string;
96
+ type: string;
97
+ getValue: ({ commandLine }: {
98
+ commandLine: Record<string, unknown>;
99
+ }) => {
100
+ value: string;
101
+ source: string;
102
+ } | {
103
+ value: null;
104
+ source: string;
105
+ };
106
+ setConfig: (value: string | null) => void;
107
+ };
108
+ readonly colorSpace: {
109
+ name: string;
110
+ cliFlag: "color-space";
111
+ description: () => import("react/jsx-runtime").JSX.Element;
112
+ docLink: string;
113
+ ssrName: string;
114
+ type: "default" | "bt709" | "bt2020-ncl";
115
+ getValue: ({ commandLine }: {
116
+ commandLine: Record<string, unknown>;
117
+ }) => {
118
+ source: string;
119
+ value: "default" | "bt709" | "bt2020-ncl";
120
+ };
121
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
122
+ };
123
+ readonly codec: {
124
+ name: string;
125
+ cliFlag: "codec";
126
+ description: () => import("react/jsx-runtime").JSX.Element;
127
+ ssrName: string;
128
+ docLink: string;
129
+ type: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
130
+ getValue: ({ commandLine }: {
131
+ commandLine: Record<string, unknown>;
132
+ }, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
133
+ outName: string | null;
134
+ downloadName: string | null;
135
+ configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
136
+ uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
137
+ compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
138
+ }) => {
139
+ value: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
140
+ source: string;
141
+ };
142
+ setConfig: (newCodec: import("..").CodecOrUndefined) => void;
143
+ };
144
+ readonly jpegQuality: {
145
+ name: string;
146
+ cliFlag: "jpeg-quality";
147
+ description: () => import("react/jsx-runtime").JSX.Element;
148
+ ssrName: string;
149
+ docLink: string;
150
+ type: number;
151
+ setConfig: (q: number | undefined) => void;
152
+ getValue: ({ commandLine }: {
153
+ commandLine: Record<string, unknown>;
154
+ }) => {
155
+ source: string;
156
+ value: number;
157
+ };
158
+ };
159
+ readonly encodingMaxRate: {
160
+ name: string;
161
+ cliFlag: "max-rate";
162
+ description: () => import("react/jsx-runtime").JSX.Element;
163
+ ssrName: "encodingMaxRate";
164
+ docLink: string;
165
+ type: string | null;
166
+ getValue: ({ commandLine }: {
167
+ commandLine: Record<string, unknown>;
168
+ }) => {
169
+ value: string;
170
+ source: string;
171
+ } | {
172
+ value: null;
173
+ source: string;
174
+ };
175
+ setConfig: (newMaxRate: string | null) => void;
176
+ };
177
+ readonly encodingBufferSize: {
178
+ name: string;
179
+ cliFlag: "buffer-size";
180
+ description: () => import("react/jsx-runtime").JSX.Element;
181
+ ssrName: "encodingBufferSize";
182
+ docLink: string;
183
+ type: string | null;
184
+ getValue: ({ commandLine }: {
185
+ commandLine: Record<string, unknown>;
186
+ }) => {
187
+ value: string;
188
+ source: string;
189
+ } | {
190
+ value: null;
191
+ source: string;
192
+ };
193
+ setConfig: (bitrate: string | null) => void;
194
+ };
195
+ readonly muted: {
196
+ name: string;
197
+ cliFlag: "muted";
198
+ description: () => import("react/jsx-runtime").JSX.Element;
199
+ ssrName: string;
200
+ docLink: string;
201
+ type: boolean;
202
+ getValue: ({ commandLine }: {
203
+ commandLine: Record<string, unknown>;
204
+ }) => {
205
+ source: string;
206
+ value: boolean;
207
+ };
208
+ setConfig: () => void;
34
209
  };
35
210
  };
36
211
  readonly renderStill: {
@@ -41,6 +216,31 @@ export declare const optionsMap: {
41
216
  ssrName: "offthreadVideoCacheSizeInBytes";
42
217
  docLink: string;
43
218
  type: number | null;
219
+ getValue: ({ commandLine }: {
220
+ commandLine: Record<string, unknown>;
221
+ }) => {
222
+ source: string;
223
+ value: number;
224
+ } | {
225
+ source: string;
226
+ value: null;
227
+ };
228
+ setConfig: (size: number | null) => void;
229
+ };
230
+ readonly jpegQuality: {
231
+ name: string;
232
+ cliFlag: "jpeg-quality";
233
+ description: () => import("react/jsx-runtime").JSX.Element;
234
+ ssrName: string;
235
+ docLink: string;
236
+ type: number;
237
+ setConfig: (q: number | undefined) => void;
238
+ getValue: ({ commandLine }: {
239
+ commandLine: Record<string, unknown>;
240
+ }) => {
241
+ source: string;
242
+ value: number;
243
+ };
44
244
  };
45
245
  };
46
246
  readonly getCompositions: {
@@ -51,6 +251,16 @@ export declare const optionsMap: {
51
251
  ssrName: "offthreadVideoCacheSizeInBytes";
52
252
  docLink: string;
53
253
  type: number | null;
254
+ getValue: ({ commandLine }: {
255
+ commandLine: Record<string, unknown>;
256
+ }) => {
257
+ source: string;
258
+ value: number;
259
+ } | {
260
+ source: string;
261
+ value: null;
262
+ };
263
+ setConfig: (size: number | null) => void;
54
264
  };
55
265
  };
56
266
  readonly selectComposition: {
@@ -61,6 +271,16 @@ export declare const optionsMap: {
61
271
  ssrName: "offthreadVideoCacheSizeInBytes";
62
272
  docLink: string;
63
273
  type: number | null;
274
+ getValue: ({ commandLine }: {
275
+ commandLine: Record<string, unknown>;
276
+ }) => {
277
+ source: string;
278
+ value: number;
279
+ } | {
280
+ source: string;
281
+ value: null;
282
+ };
283
+ setConfig: (size: number | null) => void;
64
284
  };
65
285
  };
66
286
  readonly renderFrames: {
@@ -71,6 +291,31 @@ export declare const optionsMap: {
71
291
  ssrName: "offthreadVideoCacheSizeInBytes";
72
292
  docLink: string;
73
293
  type: number | null;
294
+ getValue: ({ commandLine }: {
295
+ commandLine: Record<string, unknown>;
296
+ }) => {
297
+ source: string;
298
+ value: number;
299
+ } | {
300
+ source: string;
301
+ value: null;
302
+ };
303
+ setConfig: (size: number | null) => void;
304
+ };
305
+ readonly jpegQuality: {
306
+ name: string;
307
+ cliFlag: "jpeg-quality";
308
+ description: () => import("react/jsx-runtime").JSX.Element;
309
+ ssrName: string;
310
+ docLink: string;
311
+ type: number;
312
+ setConfig: (q: number | undefined) => void;
313
+ getValue: ({ commandLine }: {
314
+ commandLine: Record<string, unknown>;
315
+ }) => {
316
+ source: string;
317
+ value: number;
318
+ };
74
319
  };
75
320
  };
76
321
  readonly renderMediaOnLambda: {
@@ -81,14 +326,31 @@ export declare const optionsMap: {
81
326
  ssrName: "offthreadVideoCacheSizeInBytes";
82
327
  docLink: string;
83
328
  type: number | null;
329
+ getValue: ({ commandLine }: {
330
+ commandLine: Record<string, unknown>;
331
+ }) => {
332
+ source: string;
333
+ value: number;
334
+ } | {
335
+ source: string;
336
+ value: null;
337
+ };
338
+ setConfig: (size: number | null) => void;
84
339
  };
85
340
  readonly videoBitrate: {
86
341
  name: string;
87
- cliFlag: string;
342
+ cliFlag: "video-bitrate";
88
343
  description: () => import("react/jsx-runtime").JSX.Element;
89
344
  ssrName: string;
90
345
  docLink: string;
91
346
  type: string | null;
347
+ getValue: ({ commandLine }: {
348
+ commandLine: Record<string, unknown>;
349
+ }) => {
350
+ source: string;
351
+ value: string | null;
352
+ };
353
+ setConfig: (bitrate: string | null) => void;
92
354
  };
93
355
  readonly numberOfGifLoops: {
94
356
  name: string;
@@ -97,6 +359,136 @@ export declare const optionsMap: {
97
359
  ssrName: "numberOfGifLoops";
98
360
  docLink: string;
99
361
  type: number | null;
362
+ getValue: ({ commandLine }: {
363
+ commandLine: Record<string, unknown>;
364
+ }) => {
365
+ value: number;
366
+ source: string;
367
+ } | {
368
+ value: null;
369
+ source: string;
370
+ };
371
+ setConfig: (newLoop: import("./number-of-gif-loops").NumberOfGifLoops) => void;
372
+ };
373
+ readonly audioBitrate: {
374
+ name: string;
375
+ cliFlag: "audio-bitrate";
376
+ description: () => import("react/jsx-runtime").JSX.Element;
377
+ ssrName: string;
378
+ docLink: string;
379
+ type: string;
380
+ getValue: ({ commandLine }: {
381
+ commandLine: Record<string, unknown>;
382
+ }) => {
383
+ value: string;
384
+ source: string;
385
+ } | {
386
+ value: null;
387
+ source: string;
388
+ };
389
+ setConfig: (value: string | null) => void;
390
+ };
391
+ readonly deleteAfter: {
392
+ name: string;
393
+ cliFlag: "delete-after";
394
+ description: () => import("react/jsx-runtime").JSX.Element;
395
+ ssrName: "deleteAfter";
396
+ docLink: string;
397
+ type: import("./delete-after").DeleteAfter | null;
398
+ getValue: ({ commandLine }: {
399
+ commandLine: Record<string, unknown>;
400
+ }) => {
401
+ source: string;
402
+ value: import("./delete-after").DeleteAfter;
403
+ } | {
404
+ source: string;
405
+ value: null;
406
+ };
407
+ setConfig: (value: import("./delete-after").DeleteAfter | null) => void;
408
+ };
409
+ readonly x264Preset: {
410
+ name: string;
411
+ cliFlag: "x264-preset";
412
+ description: () => import("react/jsx-runtime").JSX.Element;
413
+ ssrName: "x264Preset";
414
+ docLink: string;
415
+ type: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null;
416
+ getValue: ({ commandLine }: {
417
+ commandLine: Record<string, unknown>;
418
+ }) => {
419
+ value: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
420
+ source: string;
421
+ } | {
422
+ value: null;
423
+ source: string;
424
+ };
425
+ setConfig: (profile: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | null) => void;
426
+ };
427
+ readonly encodingMaxRate: {
428
+ name: string;
429
+ cliFlag: "max-rate";
430
+ description: () => import("react/jsx-runtime").JSX.Element;
431
+ ssrName: "encodingMaxRate";
432
+ docLink: string;
433
+ type: string | null;
434
+ getValue: ({ commandLine }: {
435
+ commandLine: Record<string, unknown>;
436
+ }) => {
437
+ value: string;
438
+ source: string;
439
+ } | {
440
+ value: null;
441
+ source: string;
442
+ };
443
+ setConfig: (newMaxRate: string | null) => void;
444
+ };
445
+ readonly encodingBufferSize: {
446
+ name: string;
447
+ cliFlag: "buffer-size";
448
+ description: () => import("react/jsx-runtime").JSX.Element;
449
+ ssrName: "encodingBufferSize";
450
+ docLink: string;
451
+ type: string | null;
452
+ getValue: ({ commandLine }: {
453
+ commandLine: Record<string, unknown>;
454
+ }) => {
455
+ value: string;
456
+ source: string;
457
+ } | {
458
+ value: null;
459
+ source: string;
460
+ };
461
+ setConfig: (bitrate: string | null) => void;
462
+ };
463
+ readonly colorSpace: {
464
+ name: string;
465
+ cliFlag: "color-space";
466
+ description: () => import("react/jsx-runtime").JSX.Element;
467
+ docLink: string;
468
+ ssrName: string;
469
+ type: "default" | "bt709" | "bt2020-ncl";
470
+ getValue: ({ commandLine }: {
471
+ commandLine: Record<string, unknown>;
472
+ }) => {
473
+ source: string;
474
+ value: "default" | "bt709" | "bt2020-ncl";
475
+ };
476
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
477
+ };
478
+ readonly muted: {
479
+ name: string;
480
+ cliFlag: "muted";
481
+ description: () => import("react/jsx-runtime").JSX.Element;
482
+ ssrName: string;
483
+ docLink: string;
484
+ type: boolean;
485
+ getValue: ({ commandLine }: {
486
+ commandLine: Record<string, unknown>;
487
+ }) => {
488
+ source: string;
489
+ value: boolean;
490
+ };
491
+ setConfig: () => void;
100
492
  };
101
493
  };
102
494
  readonly renderStillOnLambda: {
@@ -107,6 +499,31 @@ export declare const optionsMap: {
107
499
  ssrName: "offthreadVideoCacheSizeInBytes";
108
500
  docLink: string;
109
501
  type: number | null;
502
+ getValue: ({ commandLine }: {
503
+ commandLine: Record<string, unknown>;
504
+ }) => {
505
+ source: string;
506
+ value: number;
507
+ } | {
508
+ source: string;
509
+ value: null;
510
+ };
511
+ setConfig: (size: number | null) => void;
512
+ };
513
+ readonly jpegQuality: {
514
+ name: string;
515
+ cliFlag: "jpeg-quality";
516
+ description: () => import("react/jsx-runtime").JSX.Element;
517
+ ssrName: string;
518
+ docLink: string;
519
+ type: number;
520
+ setConfig: (q: number | undefined) => void;
521
+ getValue: ({ commandLine }: {
522
+ commandLine: Record<string, unknown>;
523
+ }) => {
524
+ source: string;
525
+ value: number;
526
+ };
110
527
  };
111
528
  };
112
529
  readonly getCompositionsOnLambda: {
@@ -117,6 +534,16 @@ export declare const optionsMap: {
117
534
  ssrName: "offthreadVideoCacheSizeInBytes";
118
535
  docLink: string;
119
536
  type: number | null;
537
+ getValue: ({ commandLine }: {
538
+ commandLine: Record<string, unknown>;
539
+ }) => {
540
+ source: string;
541
+ value: number;
542
+ } | {
543
+ source: string;
544
+ value: null;
545
+ };
546
+ setConfig: (size: number | null) => void;
120
547
  };
121
548
  };
122
549
  readonly renderMediaOnCloudRun: {
@@ -127,6 +554,16 @@ export declare const optionsMap: {
127
554
  ssrName: "offthreadVideoCacheSizeInBytes";
128
555
  docLink: string;
129
556
  type: number | null;
557
+ getValue: ({ commandLine }: {
558
+ commandLine: Record<string, unknown>;
559
+ }) => {
560
+ source: string;
561
+ value: number;
562
+ } | {
563
+ source: string;
564
+ value: null;
565
+ };
566
+ setConfig: (size: number | null) => void;
130
567
  };
131
568
  readonly numberOfGifLoops: {
132
569
  name: string;
@@ -135,6 +572,133 @@ export declare const optionsMap: {
135
572
  ssrName: "numberOfGifLoops";
136
573
  docLink: string;
137
574
  type: number | null;
575
+ getValue: ({ commandLine }: {
576
+ commandLine: Record<string, unknown>;
577
+ }) => {
578
+ value: number;
579
+ source: string;
580
+ } | {
581
+ value: null;
582
+ source: string;
583
+ };
584
+ setConfig: (newLoop: import("./number-of-gif-loops").NumberOfGifLoops) => void;
585
+ };
586
+ readonly colorSpace: {
587
+ name: string;
588
+ cliFlag: "color-space";
589
+ description: () => import("react/jsx-runtime").JSX.Element;
590
+ docLink: string;
591
+ ssrName: string;
592
+ type: "default" | "bt709" | "bt2020-ncl";
593
+ getValue: ({ commandLine }: {
594
+ commandLine: Record<string, unknown>;
595
+ }) => {
596
+ source: string;
597
+ value: "default" | "bt709" | "bt2020-ncl";
598
+ };
599
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl") => void;
600
+ };
601
+ readonly audioBitrate: {
602
+ name: string;
603
+ cliFlag: "audio-bitrate";
604
+ description: () => import("react/jsx-runtime").JSX.Element;
605
+ ssrName: string;
606
+ docLink: string;
607
+ type: string;
608
+ getValue: ({ commandLine }: {
609
+ commandLine: Record<string, unknown>;
610
+ }) => {
611
+ value: string;
612
+ source: string;
613
+ } | {
614
+ value: null;
615
+ source: string;
616
+ };
617
+ setConfig: (value: string | null) => void;
618
+ };
619
+ readonly videoBitrate: {
620
+ name: string;
621
+ cliFlag: "video-bitrate";
622
+ description: () => import("react/jsx-runtime").JSX.Element;
623
+ ssrName: string;
624
+ docLink: string;
625
+ type: string | null;
626
+ getValue: ({ commandLine }: {
627
+ commandLine: Record<string, unknown>;
628
+ }) => {
629
+ source: string;
630
+ value: string | null;
631
+ };
632
+ setConfig: (bitrate: string | null) => 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 encodingMaxRate: {
653
+ name: string;
654
+ cliFlag: "max-rate";
655
+ description: () => import("react/jsx-runtime").JSX.Element;
656
+ ssrName: "encodingMaxRate";
657
+ docLink: string;
658
+ type: string | null;
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: (newMaxRate: string | null) => void;
669
+ };
670
+ readonly encodingBufferSize: {
671
+ name: string;
672
+ cliFlag: "buffer-size";
673
+ description: () => import("react/jsx-runtime").JSX.Element;
674
+ ssrName: "encodingBufferSize";
675
+ docLink: string;
676
+ type: string | null;
677
+ getValue: ({ commandLine }: {
678
+ commandLine: Record<string, unknown>;
679
+ }) => {
680
+ value: string;
681
+ source: string;
682
+ } | {
683
+ value: null;
684
+ source: string;
685
+ };
686
+ setConfig: (bitrate: string | null) => void;
687
+ };
688
+ readonly muted: {
689
+ name: string;
690
+ cliFlag: "muted";
691
+ description: () => import("react/jsx-runtime").JSX.Element;
692
+ ssrName: string;
693
+ docLink: string;
694
+ type: boolean;
695
+ getValue: ({ commandLine }: {
696
+ commandLine: Record<string, unknown>;
697
+ }) => {
698
+ source: string;
699
+ value: boolean;
700
+ };
701
+ setConfig: () => void;
138
702
  };
139
703
  };
140
704
  readonly renderStillOnCloudRun: {
@@ -145,6 +709,16 @@ export declare const optionsMap: {
145
709
  ssrName: "offthreadVideoCacheSizeInBytes";
146
710
  docLink: string;
147
711
  type: number | null;
712
+ getValue: ({ commandLine }: {
713
+ commandLine: Record<string, unknown>;
714
+ }) => {
715
+ source: string;
716
+ value: number;
717
+ } | {
718
+ source: string;
719
+ value: null;
720
+ };
721
+ setConfig: (size: number | null) => void;
148
722
  };
149
723
  };
150
724
  };