@remotion/renderer 4.0.424 → 4.0.426

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 (76) hide show
  1. package/dist/client.d.ts +500 -0
  2. package/dist/esm/client.mjs +1888 -534
  3. package/dist/esm/index.mjs +12 -7
  4. package/dist/index.d.ts +4 -1
  5. package/dist/options/browser-executable.d.ts +17 -0
  6. package/dist/options/browser-executable.js +36 -0
  7. package/dist/options/browser.d.ts +19 -0
  8. package/dist/options/browser.js +30 -0
  9. package/dist/options/bundle-cache.d.ts +16 -0
  10. package/dist/options/bundle-cache.js +34 -0
  11. package/dist/options/concurrency.d.ts +17 -0
  12. package/dist/options/concurrency.js +61 -0
  13. package/dist/options/config.d.ts +19 -0
  14. package/dist/options/config.js +29 -0
  15. package/dist/options/disable-web-security.d.ts +16 -0
  16. package/dist/options/disable-web-security.js +36 -0
  17. package/dist/options/env-file.d.ts +19 -0
  18. package/dist/options/env-file.js +38 -0
  19. package/dist/options/every-nth-frame.d.ts +16 -0
  20. package/dist/options/every-nth-frame.js +42 -0
  21. package/dist/options/experimental-client-side-rendering.js +2 -3
  22. package/dist/options/frames.d.ts +17 -0
  23. package/dist/options/frames.js +83 -0
  24. package/dist/options/ignore-certificate-errors.d.ts +16 -0
  25. package/dist/options/ignore-certificate-errors.js +36 -0
  26. package/dist/options/image-format-option.d.ts +18 -0
  27. package/dist/options/image-format-option.js +33 -0
  28. package/dist/options/image-sequence.d.ts +16 -0
  29. package/dist/options/image-sequence.js +30 -0
  30. package/dist/options/index.d.ts +499 -0
  31. package/dist/options/index.js +56 -0
  32. package/dist/options/no-open.d.ts +19 -0
  33. package/dist/options/no-open.js +30 -0
  34. package/dist/options/out-dir.d.ts +19 -0
  35. package/dist/options/out-dir.js +41 -0
  36. package/dist/options/override-duration.d.ts +19 -0
  37. package/dist/options/override-duration.js +46 -0
  38. package/dist/options/override-fps.d.ts +19 -0
  39. package/dist/options/override-fps.js +40 -0
  40. package/dist/options/override-height.d.ts +19 -0
  41. package/dist/options/override-height.js +40 -0
  42. package/dist/options/override-width.d.ts +19 -0
  43. package/dist/options/override-width.js +40 -0
  44. package/dist/options/package-manager.d.ts +19 -0
  45. package/dist/options/package-manager.js +47 -0
  46. package/dist/options/pixel-format.d.ts +16 -0
  47. package/dist/options/pixel-format.js +41 -0
  48. package/dist/options/port.d.ts +19 -0
  49. package/dist/options/port.js +36 -0
  50. package/dist/options/private-license-key.d.ts +15 -0
  51. package/dist/options/private-license-key.js +35 -0
  52. package/dist/options/props.d.ts +19 -0
  53. package/dist/options/props.js +33 -0
  54. package/dist/options/prores-profile.d.ts +20 -0
  55. package/dist/options/prores-profile.js +48 -0
  56. package/dist/options/rspack.d.ts +16 -0
  57. package/dist/options/rspack.js +31 -0
  58. package/dist/options/runs.d.ts +16 -0
  59. package/dist/options/runs.js +37 -0
  60. package/dist/options/still-frame.d.ts +19 -0
  61. package/dist/options/still-frame.js +51 -0
  62. package/dist/options/user-agent.d.ts +19 -0
  63. package/dist/options/user-agent.js +36 -0
  64. package/dist/options/version-flag.d.ts +19 -0
  65. package/dist/options/version-flag.js +29 -0
  66. package/dist/options/webpack-poll.d.ts +19 -0
  67. package/dist/options/webpack-poll.js +43 -0
  68. package/dist/prespawn-ffmpeg.d.ts +1 -0
  69. package/dist/prespawn-ffmpeg.js +4 -3
  70. package/dist/render-frames.d.ts +43 -3
  71. package/dist/render-media.d.ts +4 -2
  72. package/dist/render-media.js +4 -2
  73. package/dist/render-still.d.ts +1 -0
  74. package/dist/render-still.js +5 -1
  75. package/dist/select-composition.d.ts +25 -3
  76. package/package.json +14 -14
@@ -19,6 +19,38 @@ export declare const allOptions: {
19
19
  type: "aac" | "mp3" | "opus" | "pcm-16";
20
20
  id: "audio-codec";
21
21
  };
22
+ browserExecutableOption: {
23
+ name: string;
24
+ cliFlag: "browser-executable";
25
+ description: () => import("react/jsx-runtime").JSX.Element;
26
+ ssrName: "browserExecutable";
27
+ docLink: string;
28
+ type: import("..").BrowserExecutable;
29
+ getValue: ({ commandLine }: {
30
+ commandLine: Record<string, unknown>;
31
+ }) => {
32
+ source: string;
33
+ value: import("..").BrowserExecutable;
34
+ };
35
+ setConfig: (value: import("..").BrowserExecutable) => void;
36
+ id: "browser-executable";
37
+ };
38
+ concurrencyOption: {
39
+ name: string;
40
+ cliFlag: "concurrency";
41
+ description: () => import("react/jsx-runtime").JSX.Element;
42
+ ssrName: "concurrency";
43
+ docLink: string;
44
+ type: import("./concurrency").Concurrency;
45
+ getValue: ({ commandLine }: {
46
+ commandLine: Record<string, unknown>;
47
+ }) => {
48
+ source: string;
49
+ value: import("./concurrency").Concurrency;
50
+ };
51
+ setConfig: (value: import("./concurrency").Concurrency) => void;
52
+ id: "concurrency";
53
+ };
22
54
  scaleOption: {
23
55
  name: string;
24
56
  cliFlag: "scale";
@@ -121,6 +153,22 @@ export declare const allOptions: {
121
153
  setConfig: (value: boolean) => void;
122
154
  id: "enforce-audio-track";
123
155
  };
156
+ everyNthFrameOption: {
157
+ name: string;
158
+ cliFlag: "every-nth-frame";
159
+ description: () => import("react/jsx-runtime").JSX.Element;
160
+ ssrName: "everyNthFrame";
161
+ docLink: string;
162
+ type: number;
163
+ getValue: ({ commandLine }: {
164
+ commandLine: Record<string, unknown>;
165
+ }) => {
166
+ source: string;
167
+ value: number;
168
+ };
169
+ setConfig: (value: number) => void;
170
+ id: "every-nth-frame";
171
+ };
124
172
  mutedOption: {
125
173
  name: string;
126
174
  cliFlag: "muted";
@@ -243,6 +291,22 @@ export declare const allOptions: {
243
291
  setConfig: (value: import("./delete-after").DeleteAfter | null) => void;
244
292
  id: "delete-after";
245
293
  };
294
+ disableWebSecurityOption: {
295
+ name: string;
296
+ cliFlag: "disable-web-security";
297
+ description: () => import("react/jsx-runtime").JSX.Element;
298
+ ssrName: "disableWebSecurity";
299
+ docLink: string;
300
+ type: boolean;
301
+ getValue: ({ commandLine }: {
302
+ commandLine: Record<string, unknown>;
303
+ }) => {
304
+ source: string;
305
+ value: boolean;
306
+ };
307
+ setConfig: (value: boolean) => void;
308
+ id: "disable-web-security";
309
+ };
246
310
  disallowParallelEncodingOption: {
247
311
  name: string;
248
312
  cliFlag: "disallow-parallel-encoding";
@@ -415,6 +479,57 @@ export declare const allOptions: {
415
479
  setConfig: (should: boolean) => void;
416
480
  id: "repro";
417
481
  };
482
+ runsOption: {
483
+ name: string;
484
+ cliFlag: "runs";
485
+ description: () => import("react/jsx-runtime").JSX.Element;
486
+ ssrName: null;
487
+ docLink: string;
488
+ type: number;
489
+ getValue: ({ commandLine }: {
490
+ commandLine: Record<string, unknown>;
491
+ }) => {
492
+ value: number;
493
+ source: string;
494
+ };
495
+ setConfig: (value: number) => void;
496
+ id: "runs";
497
+ };
498
+ noOpenOption: {
499
+ name: string;
500
+ cliFlag: "no-open";
501
+ description: () => import("react/jsx-runtime").JSX.Element;
502
+ ssrName: null;
503
+ docLink: string;
504
+ type: boolean;
505
+ getValue: ({ commandLine }: {
506
+ commandLine: Record<string, unknown>;
507
+ }) => {
508
+ value: true;
509
+ source: string;
510
+ } | {
511
+ value: false;
512
+ source: string;
513
+ };
514
+ setConfig: (shouldOpen: boolean) => void;
515
+ id: "no-open";
516
+ };
517
+ pixelFormatOption: {
518
+ name: string;
519
+ cliFlag: "pixel-format";
520
+ description: () => import("react/jsx-runtime").JSX.Element;
521
+ ssrName: "pixelFormat";
522
+ docLink: string;
523
+ type: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
524
+ getValue: ({ commandLine }: {
525
+ commandLine: Record<string, unknown>;
526
+ }) => {
527
+ source: string;
528
+ value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
529
+ };
530
+ setConfig: (value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le") => void;
531
+ id: "pixel-format";
532
+ };
418
533
  preferLosslessOption: {
419
534
  name: string;
420
535
  cliFlag: "prefer-lossless";
@@ -434,6 +549,25 @@ export declare const allOptions: {
434
549
  setConfig: (val: boolean) => void;
435
550
  id: "prefer-lossless";
436
551
  };
552
+ proResProfileOption: {
553
+ name: string;
554
+ cliFlag: "prores-profile";
555
+ description: () => import("react/jsx-runtime").JSX.Element;
556
+ ssrName: "proResProfile";
557
+ docLink: string;
558
+ type: import("./prores-profile").ProResProfile | undefined;
559
+ getValue: ({ commandLine }: {
560
+ commandLine: Record<string, unknown>;
561
+ }) => {
562
+ source: string;
563
+ value: import("./prores-profile").ProResProfile;
564
+ } | {
565
+ source: string;
566
+ value: undefined;
567
+ };
568
+ setConfig: (value: import("./prores-profile").ProResProfile | undefined) => void;
569
+ id: "prores-profile";
570
+ };
437
571
  x264Option: {
438
572
  name: string;
439
573
  cliFlag: "x264-preset";
@@ -769,6 +903,22 @@ export declare const allOptions: {
769
903
  setConfig(value: boolean): void;
770
904
  id: "cross-site-isolation";
771
905
  };
906
+ ignoreCertificateErrorsOption: {
907
+ name: string;
908
+ cliFlag: "ignore-certificate-errors";
909
+ description: () => import("react/jsx-runtime").JSX.Element;
910
+ ssrName: "ignoreCertificateErrors";
911
+ docLink: string;
912
+ type: boolean;
913
+ getValue: ({ commandLine }: {
914
+ commandLine: Record<string, unknown>;
915
+ }) => {
916
+ source: string;
917
+ value: boolean;
918
+ };
919
+ setConfig: (value: boolean) => void;
920
+ id: "ignore-certificate-errors";
921
+ };
772
922
  imageSequencePatternOption: {
773
923
  name: string;
774
924
  cliFlag: "image-sequence-pattern";
@@ -900,6 +1050,22 @@ export declare const allOptions: {
900
1050
  setConfig(value: boolean): void;
901
1051
  id: "disable-keyboard-shortcuts";
902
1052
  };
1053
+ framesOption: {
1054
+ name: string;
1055
+ cliFlag: "frames";
1056
+ description: () => import("react/jsx-runtime").JSX.Element;
1057
+ ssrName: "frameRange";
1058
+ docLink: string;
1059
+ type: import("..").FrameRange | null;
1060
+ getValue: ({ commandLine }: {
1061
+ commandLine: Record<string, unknown>;
1062
+ }) => {
1063
+ source: string;
1064
+ value: import("..").FrameRange | null;
1065
+ };
1066
+ setConfig: (value: import("..").FrameRange | null) => void;
1067
+ id: "frames";
1068
+ };
903
1069
  forceNewStudioOption: {
904
1070
  name: string;
905
1071
  cliFlag: "force-new";
@@ -967,6 +1133,25 @@ export declare const allOptions: {
967
1133
  setConfig: (value: "jpeg" | "pdf" | "png" | "webp" | null) => void;
968
1134
  id: string;
969
1135
  };
1136
+ userAgentOption: {
1137
+ name: string;
1138
+ cliFlag: "user-agent";
1139
+ description: () => import("react/jsx-runtime").JSX.Element;
1140
+ ssrName: "userAgent";
1141
+ docLink: string;
1142
+ type: string | null;
1143
+ getValue: ({ commandLine }: {
1144
+ commandLine: Record<string, unknown>;
1145
+ }) => {
1146
+ source: string;
1147
+ value: string;
1148
+ } | {
1149
+ source: string;
1150
+ value: null;
1151
+ };
1152
+ setConfig: (value: string | null) => void;
1153
+ id: "user-agent";
1154
+ };
970
1155
  videoImageFormatOption: {
971
1156
  name: string;
972
1157
  cliFlag: "image-format";
@@ -986,6 +1171,320 @@ export declare const allOptions: {
986
1171
  setConfig: (value: "jpeg" | "none" | "png" | null) => void;
987
1172
  id: string;
988
1173
  };
1174
+ overrideHeightOption: {
1175
+ name: string;
1176
+ cliFlag: "height";
1177
+ description: () => import("react/jsx-runtime").JSX.Element;
1178
+ ssrName: null;
1179
+ docLink: string;
1180
+ type: number | null;
1181
+ getValue: ({ commandLine }: {
1182
+ commandLine: Record<string, unknown>;
1183
+ }) => {
1184
+ source: string;
1185
+ value: number;
1186
+ } | {
1187
+ source: string;
1188
+ value: null;
1189
+ };
1190
+ setConfig: (height: number | null) => void;
1191
+ id: "height";
1192
+ };
1193
+ overrideWidthOption: {
1194
+ name: string;
1195
+ cliFlag: "width";
1196
+ description: () => import("react/jsx-runtime").JSX.Element;
1197
+ ssrName: null;
1198
+ docLink: string;
1199
+ type: number | null;
1200
+ getValue: ({ commandLine }: {
1201
+ commandLine: Record<string, unknown>;
1202
+ }) => {
1203
+ source: string;
1204
+ value: number;
1205
+ } | {
1206
+ source: string;
1207
+ value: null;
1208
+ };
1209
+ setConfig: (width: number | null) => void;
1210
+ id: "width";
1211
+ };
1212
+ overrideFpsOption: {
1213
+ name: string;
1214
+ cliFlag: "fps";
1215
+ description: () => import("react/jsx-runtime").JSX.Element;
1216
+ ssrName: null;
1217
+ docLink: string;
1218
+ type: number | null;
1219
+ getValue: ({ commandLine }: {
1220
+ commandLine: Record<string, unknown>;
1221
+ }) => {
1222
+ source: string;
1223
+ value: number;
1224
+ } | {
1225
+ source: string;
1226
+ value: null;
1227
+ };
1228
+ setConfig: (fps: number | null) => void;
1229
+ id: "fps";
1230
+ };
1231
+ overrideDurationOption: {
1232
+ name: string;
1233
+ cliFlag: "duration";
1234
+ description: () => import("react/jsx-runtime").JSX.Element;
1235
+ ssrName: null;
1236
+ docLink: string;
1237
+ type: number | null;
1238
+ getValue: ({ commandLine }: {
1239
+ commandLine: Record<string, unknown>;
1240
+ }) => {
1241
+ source: string;
1242
+ value: number;
1243
+ } | {
1244
+ source: string;
1245
+ value: null;
1246
+ };
1247
+ setConfig: (duration: number | null) => void;
1248
+ id: "duration";
1249
+ };
1250
+ rspackOption: {
1251
+ name: string;
1252
+ cliFlag: "experimental-rspack";
1253
+ description: () => import("react/jsx-runtime").JSX.Element;
1254
+ ssrName: null;
1255
+ docLink: null;
1256
+ type: boolean;
1257
+ getValue: ({ commandLine }: {
1258
+ commandLine: Record<string, unknown>;
1259
+ }) => {
1260
+ value: boolean;
1261
+ source: string;
1262
+ };
1263
+ setConfig(value: boolean): void;
1264
+ id: "experimental-rspack";
1265
+ };
1266
+ outDirOption: {
1267
+ name: string;
1268
+ cliFlag: "out-dir";
1269
+ description: () => import("react/jsx-runtime").JSX.Element;
1270
+ ssrName: "outDir";
1271
+ docLink: string;
1272
+ getValue: ({ commandLine }: {
1273
+ commandLine: Record<string, unknown>;
1274
+ }) => {
1275
+ source: string;
1276
+ value: string;
1277
+ } | {
1278
+ source: string;
1279
+ value: null;
1280
+ };
1281
+ setConfig: (value: string | null) => void;
1282
+ type: string | null;
1283
+ id: "out-dir";
1284
+ };
1285
+ packageManagerOption: {
1286
+ name: string;
1287
+ cliFlag: "package-manager";
1288
+ description: () => import("react/jsx-runtime").JSX.Element;
1289
+ ssrName: "packageManager";
1290
+ docLink: string;
1291
+ getValue: ({ commandLine }: {
1292
+ commandLine: Record<string, unknown>;
1293
+ }) => {
1294
+ source: string;
1295
+ value: string;
1296
+ } | {
1297
+ source: string;
1298
+ value: null;
1299
+ };
1300
+ setConfig: (value: string | null) => void;
1301
+ type: string | null;
1302
+ id: "package-manager";
1303
+ };
1304
+ webpackPollOption: {
1305
+ name: string;
1306
+ cliFlag: "webpack-poll";
1307
+ description: () => import("react/jsx-runtime").JSX.Element;
1308
+ ssrName: null;
1309
+ docLink: string;
1310
+ getValue: ({ commandLine }: {
1311
+ commandLine: Record<string, unknown>;
1312
+ }) => {
1313
+ source: string;
1314
+ value: number;
1315
+ } | {
1316
+ source: string;
1317
+ value: null;
1318
+ };
1319
+ setConfig: (value: number | null) => void;
1320
+ type: number | null;
1321
+ id: "webpack-poll";
1322
+ };
1323
+ stillFrameOption: {
1324
+ name: string;
1325
+ cliFlag: "frame";
1326
+ description: () => import("react/jsx-runtime").JSX.Element;
1327
+ ssrName: "frame";
1328
+ docLink: string;
1329
+ getValue: ({ commandLine }: {
1330
+ commandLine: Record<string, unknown>;
1331
+ }) => {
1332
+ source: string;
1333
+ value: number;
1334
+ } | {
1335
+ source: string;
1336
+ value: null;
1337
+ };
1338
+ setConfig: (value: number | null) => void;
1339
+ type: number | null;
1340
+ id: "frame";
1341
+ };
1342
+ imageSequenceOption: {
1343
+ name: string;
1344
+ cliFlag: "sequence";
1345
+ description: () => import("react/jsx-runtime").JSX.Element;
1346
+ ssrName: null;
1347
+ docLink: string;
1348
+ getValue: ({ commandLine }: {
1349
+ commandLine: Record<string, unknown>;
1350
+ }) => {
1351
+ source: string;
1352
+ value: boolean;
1353
+ };
1354
+ setConfig: (value: boolean) => void;
1355
+ type: boolean;
1356
+ id: "sequence";
1357
+ };
1358
+ versionFlagOption: {
1359
+ name: string;
1360
+ cliFlag: "version";
1361
+ description: () => import("react/jsx-runtime").JSX.Element;
1362
+ ssrName: null;
1363
+ docLink: string;
1364
+ getValue: ({ commandLine }: {
1365
+ commandLine: Record<string, unknown>;
1366
+ }) => {
1367
+ source: string;
1368
+ value: string;
1369
+ } | {
1370
+ source: string;
1371
+ value: null;
1372
+ };
1373
+ setConfig: () => never;
1374
+ type: string | null;
1375
+ id: "version";
1376
+ };
1377
+ bundleCacheOption: {
1378
+ name: string;
1379
+ cliFlag: "bundle-cache";
1380
+ description: () => import("react/jsx-runtime").JSX.Element;
1381
+ ssrName: null;
1382
+ docLink: string;
1383
+ getValue: ({ commandLine }: {
1384
+ commandLine: Record<string, unknown>;
1385
+ }) => {
1386
+ source: string;
1387
+ value: boolean;
1388
+ };
1389
+ setConfig: (value: boolean) => void;
1390
+ type: boolean;
1391
+ id: "bundle-cache";
1392
+ };
1393
+ envFileOption: {
1394
+ name: string;
1395
+ cliFlag: "env-file";
1396
+ description: () => import("react/jsx-runtime").JSX.Element;
1397
+ ssrName: null;
1398
+ docLink: string;
1399
+ getValue: ({ commandLine }: {
1400
+ commandLine: Record<string, unknown>;
1401
+ }) => {
1402
+ source: string;
1403
+ value: string;
1404
+ } | {
1405
+ source: string;
1406
+ value: null;
1407
+ };
1408
+ setConfig: (value: string | null) => void;
1409
+ type: string | null;
1410
+ id: "env-file";
1411
+ };
1412
+ portOption: {
1413
+ name: string;
1414
+ cliFlag: "port";
1415
+ description: () => import("react/jsx-runtime").JSX.Element;
1416
+ ssrName: null;
1417
+ docLink: string;
1418
+ getValue: ({ commandLine }: {
1419
+ commandLine: Record<string, unknown>;
1420
+ }) => {
1421
+ source: string;
1422
+ value: number;
1423
+ } | {
1424
+ source: string;
1425
+ value: null;
1426
+ };
1427
+ setConfig: (value: number | null) => void;
1428
+ type: number | null;
1429
+ id: "port";
1430
+ };
1431
+ propsOption: {
1432
+ name: string;
1433
+ cliFlag: "props";
1434
+ description: () => import("react/jsx-runtime").JSX.Element;
1435
+ ssrName: null;
1436
+ docLink: string;
1437
+ getValue: ({ commandLine }: {
1438
+ commandLine: Record<string, unknown>;
1439
+ }) => {
1440
+ source: string;
1441
+ value: string;
1442
+ } | {
1443
+ source: string;
1444
+ value: null;
1445
+ };
1446
+ setConfig: () => never;
1447
+ type: string | null;
1448
+ id: "props";
1449
+ };
1450
+ configOption: {
1451
+ name: string;
1452
+ cliFlag: "config";
1453
+ description: () => import("react/jsx-runtime").JSX.Element;
1454
+ ssrName: null;
1455
+ docLink: string;
1456
+ getValue: ({ commandLine }: {
1457
+ commandLine: Record<string, unknown>;
1458
+ }) => {
1459
+ source: string;
1460
+ value: string;
1461
+ } | {
1462
+ source: string;
1463
+ value: null;
1464
+ };
1465
+ setConfig: () => never;
1466
+ type: string | null;
1467
+ id: "config";
1468
+ };
1469
+ browserOption: {
1470
+ name: string;
1471
+ cliFlag: "browser";
1472
+ description: () => import("react/jsx-runtime").JSX.Element;
1473
+ ssrName: null;
1474
+ docLink: string;
1475
+ getValue: ({ commandLine }: {
1476
+ commandLine: Record<string, unknown>;
1477
+ }) => {
1478
+ source: string;
1479
+ value: string;
1480
+ } | {
1481
+ source: string;
1482
+ value: null;
1483
+ };
1484
+ setConfig: () => never;
1485
+ type: string | null;
1486
+ id: "browser";
1487
+ };
989
1488
  };
990
1489
  export type AvailableOptions = keyof typeof allOptions;
991
1490
  export type TypeOfOption<Type> = Type extends AnyRemotionOption<infer X> ? X : never;