@remotion/renderer 4.0.424 → 4.0.425
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 +211 -0
- package/dist/esm/client.mjs +1057 -510
- package/dist/index.d.ts +1 -0
- package/dist/options/browser-executable.d.ts +17 -0
- package/dist/options/browser-executable.js +36 -0
- package/dist/options/concurrency.d.ts +17 -0
- package/dist/options/concurrency.js +40 -0
- package/dist/options/disable-web-security.d.ts +16 -0
- package/dist/options/disable-web-security.js +36 -0
- package/dist/options/every-nth-frame.d.ts +16 -0
- package/dist/options/every-nth-frame.js +42 -0
- package/dist/options/ignore-certificate-errors.d.ts +16 -0
- package/dist/options/ignore-certificate-errors.js +36 -0
- package/dist/options/image-format-option.d.ts +18 -0
- package/dist/options/image-format-option.js +33 -0
- package/dist/options/index.d.ts +210 -0
- package/dist/options/index.js +24 -0
- package/dist/options/override-duration.d.ts +19 -0
- package/dist/options/override-duration.js +46 -0
- package/dist/options/override-fps.d.ts +19 -0
- package/dist/options/override-fps.js +40 -0
- package/dist/options/override-height.d.ts +19 -0
- package/dist/options/override-height.js +40 -0
- package/dist/options/override-width.d.ts +19 -0
- package/dist/options/override-width.js +40 -0
- package/dist/options/pixel-format.d.ts +16 -0
- package/dist/options/pixel-format.js +41 -0
- package/dist/options/private-license-key.d.ts +15 -0
- package/dist/options/private-license-key.js +35 -0
- package/dist/options/prores-profile.d.ts +20 -0
- package/dist/options/prores-profile.js +48 -0
- package/dist/options/user-agent.d.ts +19 -0
- package/dist/options/user-agent.js +36 -0
- package/package.json +14 -14
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AvailableOptions, TypeOfOption } from './options';
|
|
2
2
|
export { HardwareAccelerationOption } from './options/hardware-acceleration';
|
|
3
|
+
export { ProResProfile } from './options/prores-profile';
|
|
3
4
|
export declare const BrowserSafeApis: {
|
|
4
5
|
getFileExtensionFromCodec: <T extends "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">(codec: T, audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
5
6
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
@@ -242,6 +243,38 @@ export declare const BrowserSafeApis: {
|
|
|
242
243
|
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
243
244
|
id: "audio-codec";
|
|
244
245
|
};
|
|
246
|
+
browserExecutableOption: {
|
|
247
|
+
name: string;
|
|
248
|
+
cliFlag: "browser-executable";
|
|
249
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
250
|
+
ssrName: "browserExecutable";
|
|
251
|
+
docLink: string;
|
|
252
|
+
type: import("./browser-executable").BrowserExecutable;
|
|
253
|
+
getValue: ({ commandLine }: {
|
|
254
|
+
commandLine: Record<string, unknown>;
|
|
255
|
+
}) => {
|
|
256
|
+
source: string;
|
|
257
|
+
value: import("./browser-executable").BrowserExecutable;
|
|
258
|
+
};
|
|
259
|
+
setConfig: (value: import("./browser-executable").BrowserExecutable) => void;
|
|
260
|
+
id: "browser-executable";
|
|
261
|
+
};
|
|
262
|
+
concurrencyOption: {
|
|
263
|
+
name: string;
|
|
264
|
+
cliFlag: "concurrency";
|
|
265
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
266
|
+
ssrName: "concurrency";
|
|
267
|
+
docLink: string;
|
|
268
|
+
type: import(".").Concurrency;
|
|
269
|
+
getValue: ({ commandLine }: {
|
|
270
|
+
commandLine: Record<string, unknown>;
|
|
271
|
+
}) => {
|
|
272
|
+
source: string;
|
|
273
|
+
value: import(".").Concurrency;
|
|
274
|
+
};
|
|
275
|
+
setConfig: (value: import(".").Concurrency) => void;
|
|
276
|
+
id: "concurrency";
|
|
277
|
+
};
|
|
245
278
|
scaleOption: {
|
|
246
279
|
name: string;
|
|
247
280
|
cliFlag: "scale";
|
|
@@ -344,6 +377,22 @@ export declare const BrowserSafeApis: {
|
|
|
344
377
|
setConfig: (value: boolean) => void;
|
|
345
378
|
id: "enforce-audio-track";
|
|
346
379
|
};
|
|
380
|
+
everyNthFrameOption: {
|
|
381
|
+
name: string;
|
|
382
|
+
cliFlag: "every-nth-frame";
|
|
383
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
384
|
+
ssrName: "everyNthFrame";
|
|
385
|
+
docLink: string;
|
|
386
|
+
type: number;
|
|
387
|
+
getValue: ({ commandLine }: {
|
|
388
|
+
commandLine: Record<string, unknown>;
|
|
389
|
+
}) => {
|
|
390
|
+
source: string;
|
|
391
|
+
value: number;
|
|
392
|
+
};
|
|
393
|
+
setConfig: (value: number) => void;
|
|
394
|
+
id: "every-nth-frame";
|
|
395
|
+
};
|
|
347
396
|
mutedOption: {
|
|
348
397
|
name: string;
|
|
349
398
|
cliFlag: "muted";
|
|
@@ -466,6 +515,22 @@ export declare const BrowserSafeApis: {
|
|
|
466
515
|
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
467
516
|
id: "delete-after";
|
|
468
517
|
};
|
|
518
|
+
disableWebSecurityOption: {
|
|
519
|
+
name: string;
|
|
520
|
+
cliFlag: "disable-web-security";
|
|
521
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
522
|
+
ssrName: "disableWebSecurity";
|
|
523
|
+
docLink: string;
|
|
524
|
+
type: boolean;
|
|
525
|
+
getValue: ({ commandLine }: {
|
|
526
|
+
commandLine: Record<string, unknown>;
|
|
527
|
+
}) => {
|
|
528
|
+
source: string;
|
|
529
|
+
value: boolean;
|
|
530
|
+
};
|
|
531
|
+
setConfig: (value: boolean) => void;
|
|
532
|
+
id: "disable-web-security";
|
|
533
|
+
};
|
|
469
534
|
disallowParallelEncodingOption: {
|
|
470
535
|
name: string;
|
|
471
536
|
cliFlag: "disallow-parallel-encoding";
|
|
@@ -638,6 +703,22 @@ export declare const BrowserSafeApis: {
|
|
|
638
703
|
setConfig: (should: boolean) => void;
|
|
639
704
|
id: "repro";
|
|
640
705
|
};
|
|
706
|
+
pixelFormatOption: {
|
|
707
|
+
name: string;
|
|
708
|
+
cliFlag: "pixel-format";
|
|
709
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
710
|
+
ssrName: "pixelFormat";
|
|
711
|
+
docLink: string;
|
|
712
|
+
type: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
713
|
+
getValue: ({ commandLine }: {
|
|
714
|
+
commandLine: Record<string, unknown>;
|
|
715
|
+
}) => {
|
|
716
|
+
source: string;
|
|
717
|
+
value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
718
|
+
};
|
|
719
|
+
setConfig: (value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le") => void;
|
|
720
|
+
id: "pixel-format";
|
|
721
|
+
};
|
|
641
722
|
preferLosslessOption: {
|
|
642
723
|
name: string;
|
|
643
724
|
cliFlag: "prefer-lossless";
|
|
@@ -657,6 +738,25 @@ export declare const BrowserSafeApis: {
|
|
|
657
738
|
setConfig: (val: boolean) => void;
|
|
658
739
|
id: "prefer-lossless";
|
|
659
740
|
};
|
|
741
|
+
proResProfileOption: {
|
|
742
|
+
name: string;
|
|
743
|
+
cliFlag: "prores-profile";
|
|
744
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
745
|
+
ssrName: "proResProfile";
|
|
746
|
+
docLink: string;
|
|
747
|
+
type: import("./client").ProResProfile | undefined;
|
|
748
|
+
getValue: ({ commandLine }: {
|
|
749
|
+
commandLine: Record<string, unknown>;
|
|
750
|
+
}) => {
|
|
751
|
+
source: string;
|
|
752
|
+
value: import("./client").ProResProfile;
|
|
753
|
+
} | {
|
|
754
|
+
source: string;
|
|
755
|
+
value: undefined;
|
|
756
|
+
};
|
|
757
|
+
setConfig: (value: import("./client").ProResProfile | undefined) => void;
|
|
758
|
+
id: "prores-profile";
|
|
759
|
+
};
|
|
660
760
|
x264Option: {
|
|
661
761
|
name: string;
|
|
662
762
|
cliFlag: "x264-preset";
|
|
@@ -992,6 +1092,22 @@ export declare const BrowserSafeApis: {
|
|
|
992
1092
|
setConfig(value: boolean): void;
|
|
993
1093
|
id: "cross-site-isolation";
|
|
994
1094
|
};
|
|
1095
|
+
ignoreCertificateErrorsOption: {
|
|
1096
|
+
name: string;
|
|
1097
|
+
cliFlag: "ignore-certificate-errors";
|
|
1098
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1099
|
+
ssrName: "ignoreCertificateErrors";
|
|
1100
|
+
docLink: string;
|
|
1101
|
+
type: boolean;
|
|
1102
|
+
getValue: ({ commandLine }: {
|
|
1103
|
+
commandLine: Record<string, unknown>;
|
|
1104
|
+
}) => {
|
|
1105
|
+
source: string;
|
|
1106
|
+
value: boolean;
|
|
1107
|
+
};
|
|
1108
|
+
setConfig: (value: boolean) => void;
|
|
1109
|
+
id: "ignore-certificate-errors";
|
|
1110
|
+
};
|
|
995
1111
|
imageSequencePatternOption: {
|
|
996
1112
|
name: string;
|
|
997
1113
|
cliFlag: "image-sequence-pattern";
|
|
@@ -1190,6 +1306,25 @@ export declare const BrowserSafeApis: {
|
|
|
1190
1306
|
setConfig: (value: "jpeg" | "pdf" | "png" | "webp" | null) => void;
|
|
1191
1307
|
id: string;
|
|
1192
1308
|
};
|
|
1309
|
+
userAgentOption: {
|
|
1310
|
+
name: string;
|
|
1311
|
+
cliFlag: "user-agent";
|
|
1312
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1313
|
+
ssrName: "userAgent";
|
|
1314
|
+
docLink: string;
|
|
1315
|
+
type: string | null;
|
|
1316
|
+
getValue: ({ commandLine }: {
|
|
1317
|
+
commandLine: Record<string, unknown>;
|
|
1318
|
+
}) => {
|
|
1319
|
+
source: string;
|
|
1320
|
+
value: string;
|
|
1321
|
+
} | {
|
|
1322
|
+
source: string;
|
|
1323
|
+
value: null;
|
|
1324
|
+
};
|
|
1325
|
+
setConfig: (value: string | null) => void;
|
|
1326
|
+
id: "user-agent";
|
|
1327
|
+
};
|
|
1193
1328
|
videoImageFormatOption: {
|
|
1194
1329
|
name: string;
|
|
1195
1330
|
cliFlag: "image-format";
|
|
@@ -1209,6 +1344,82 @@ export declare const BrowserSafeApis: {
|
|
|
1209
1344
|
setConfig: (value: "jpeg" | "none" | "png" | null) => void;
|
|
1210
1345
|
id: string;
|
|
1211
1346
|
};
|
|
1347
|
+
overrideHeightOption: {
|
|
1348
|
+
name: string;
|
|
1349
|
+
cliFlag: "height";
|
|
1350
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1351
|
+
ssrName: null;
|
|
1352
|
+
docLink: string;
|
|
1353
|
+
type: number | null;
|
|
1354
|
+
getValue: ({ commandLine }: {
|
|
1355
|
+
commandLine: Record<string, unknown>;
|
|
1356
|
+
}) => {
|
|
1357
|
+
source: string;
|
|
1358
|
+
value: number;
|
|
1359
|
+
} | {
|
|
1360
|
+
source: string;
|
|
1361
|
+
value: null;
|
|
1362
|
+
};
|
|
1363
|
+
setConfig: (height: number | null) => void;
|
|
1364
|
+
id: "height";
|
|
1365
|
+
};
|
|
1366
|
+
overrideWidthOption: {
|
|
1367
|
+
name: string;
|
|
1368
|
+
cliFlag: "width";
|
|
1369
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1370
|
+
ssrName: null;
|
|
1371
|
+
docLink: string;
|
|
1372
|
+
type: number | null;
|
|
1373
|
+
getValue: ({ commandLine }: {
|
|
1374
|
+
commandLine: Record<string, unknown>;
|
|
1375
|
+
}) => {
|
|
1376
|
+
source: string;
|
|
1377
|
+
value: number;
|
|
1378
|
+
} | {
|
|
1379
|
+
source: string;
|
|
1380
|
+
value: null;
|
|
1381
|
+
};
|
|
1382
|
+
setConfig: (width: number | null) => void;
|
|
1383
|
+
id: "width";
|
|
1384
|
+
};
|
|
1385
|
+
overrideFpsOption: {
|
|
1386
|
+
name: string;
|
|
1387
|
+
cliFlag: "fps";
|
|
1388
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1389
|
+
ssrName: null;
|
|
1390
|
+
docLink: string;
|
|
1391
|
+
type: number | null;
|
|
1392
|
+
getValue: ({ commandLine }: {
|
|
1393
|
+
commandLine: Record<string, unknown>;
|
|
1394
|
+
}) => {
|
|
1395
|
+
source: string;
|
|
1396
|
+
value: number;
|
|
1397
|
+
} | {
|
|
1398
|
+
source: string;
|
|
1399
|
+
value: null;
|
|
1400
|
+
};
|
|
1401
|
+
setConfig: (fps: number | null) => void;
|
|
1402
|
+
id: "fps";
|
|
1403
|
+
};
|
|
1404
|
+
overrideDurationOption: {
|
|
1405
|
+
name: string;
|
|
1406
|
+
cliFlag: "duration";
|
|
1407
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1408
|
+
ssrName: null;
|
|
1409
|
+
docLink: string;
|
|
1410
|
+
type: number | null;
|
|
1411
|
+
getValue: ({ commandLine }: {
|
|
1412
|
+
commandLine: Record<string, unknown>;
|
|
1413
|
+
}) => {
|
|
1414
|
+
source: string;
|
|
1415
|
+
value: number;
|
|
1416
|
+
} | {
|
|
1417
|
+
source: string;
|
|
1418
|
+
value: null;
|
|
1419
|
+
};
|
|
1420
|
+
setConfig: (duration: number | null) => void;
|
|
1421
|
+
id: "duration";
|
|
1422
|
+
};
|
|
1212
1423
|
};
|
|
1213
1424
|
validColorSpaces: readonly ["default", "bt601", "bt709", "bt2020-ncl"];
|
|
1214
1425
|
optionsMap: {
|