@remotion/renderer 4.0.276 → 4.0.278
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/esm/client.mjs +209 -281
- package/dist/esm/index.mjs +6 -67
- package/dist/symbolicate-stacktrace.js +2 -1
- package/ensure-browser.mjs +2 -5
- package/package.json +12 -12
package/dist/esm/client.mjs
CHANGED
|
@@ -1,75 +1,3 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __toESM = (mod, isNodeMode, target) => {
|
|
7
|
-
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
8
|
-
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
9
|
-
for (let key of __getOwnPropNames(mod))
|
|
10
|
-
if (!__hasOwnProp.call(to, key))
|
|
11
|
-
__defProp(to, key, {
|
|
12
|
-
get: () => mod[key],
|
|
13
|
-
enumerable: true
|
|
14
|
-
});
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
18
|
-
var __export = (target, all) => {
|
|
19
|
-
for (var name in all)
|
|
20
|
-
__defProp(target, name, {
|
|
21
|
-
get: all[name],
|
|
22
|
-
enumerable: true,
|
|
23
|
-
configurable: true,
|
|
24
|
-
set: (newValue) => all[name] = () => newValue
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
28
|
-
|
|
29
|
-
// ../../node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
30
|
-
var exports_react_jsx_runtime_production = {};
|
|
31
|
-
__export(exports_react_jsx_runtime_production, {
|
|
32
|
-
jsxs: () => $jsxs,
|
|
33
|
-
jsx: () => $jsx,
|
|
34
|
-
Fragment: () => $Fragment
|
|
35
|
-
});
|
|
36
|
-
function jsxProd(type, config, maybeKey) {
|
|
37
|
-
var key = null;
|
|
38
|
-
maybeKey !== undefined && (key = "" + maybeKey);
|
|
39
|
-
config.key !== undefined && (key = "" + config.key);
|
|
40
|
-
if ("key" in config) {
|
|
41
|
-
maybeKey = {};
|
|
42
|
-
for (var propName in config)
|
|
43
|
-
propName !== "key" && (maybeKey[propName] = config[propName]);
|
|
44
|
-
} else
|
|
45
|
-
maybeKey = config;
|
|
46
|
-
config = maybeKey.ref;
|
|
47
|
-
return {
|
|
48
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
49
|
-
type,
|
|
50
|
-
key,
|
|
51
|
-
ref: config !== undefined ? config : null,
|
|
52
|
-
props: maybeKey
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
var REACT_ELEMENT_TYPE, REACT_FRAGMENT_TYPE, $Fragment, $jsx, $jsxs;
|
|
56
|
-
var init_react_jsx_runtime_production = __esm(() => {
|
|
57
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
58
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
59
|
-
$Fragment = REACT_FRAGMENT_TYPE;
|
|
60
|
-
$jsx = jsxProd;
|
|
61
|
-
$jsxs = jsxProd;
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
// ../../node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.js
|
|
65
|
-
var require_jsx_runtime = __commonJS((exports, module) => {
|
|
66
|
-
init_react_jsx_runtime_production();
|
|
67
|
-
if (true) {
|
|
68
|
-
module.exports = exports_react_jsx_runtime_production;
|
|
69
|
-
} else {
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
|
|
73
1
|
// src/browser/TimeoutSettings.ts
|
|
74
2
|
var DEFAULT_TIMEOUT = 30000;
|
|
75
3
|
|
|
@@ -357,16 +285,16 @@ var isValidLogLevel = (level) => {
|
|
|
357
285
|
};
|
|
358
286
|
|
|
359
287
|
// src/options/api-key.tsx
|
|
360
|
-
|
|
288
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
361
289
|
var currentApiKey = null;
|
|
362
290
|
var cliFlag = "api-key";
|
|
363
291
|
var apiKeyOption = {
|
|
364
292
|
name: "API key",
|
|
365
293
|
cliFlag,
|
|
366
|
-
description: () => /* @__PURE__ */
|
|
294
|
+
description: () => /* @__PURE__ */ jsxs(Fragment, {
|
|
367
295
|
children: [
|
|
368
296
|
"API key for sending a usage event using ",
|
|
369
|
-
/* @__PURE__ */
|
|
297
|
+
/* @__PURE__ */ jsx("code", {
|
|
370
298
|
children: "@remotion/licensing"
|
|
371
299
|
}),
|
|
372
300
|
"."
|
|
@@ -393,30 +321,30 @@ var apiKeyOption = {
|
|
|
393
321
|
};
|
|
394
322
|
|
|
395
323
|
// src/options/audio-bitrate.tsx
|
|
396
|
-
|
|
324
|
+
import { jsx as jsx2, jsxs as jsxs2, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
397
325
|
var cliFlag2 = "audio-bitrate";
|
|
398
326
|
var audioBitrate = null;
|
|
399
327
|
var audioBitrateOption = {
|
|
400
328
|
name: "Audio Bitrate",
|
|
401
329
|
cliFlag: cliFlag2,
|
|
402
|
-
description: () => /* @__PURE__ */
|
|
330
|
+
description: () => /* @__PURE__ */ jsxs2(Fragment2, {
|
|
403
331
|
children: [
|
|
404
332
|
"Specify the target bitrate for the generated video. The syntax for FFmpeg",
|
|
405
333
|
"'",
|
|
406
334
|
"s ",
|
|
407
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ jsx2("code", {
|
|
408
336
|
children: "-b:a"
|
|
409
337
|
}),
|
|
410
338
|
" parameter should be used. FFmpeg may encode the video in a way that will not result in the exact audio bitrate specified. Example values: ",
|
|
411
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ jsx2("code", {
|
|
412
340
|
children: "512K"
|
|
413
341
|
}),
|
|
414
342
|
" for 512 kbps, ",
|
|
415
|
-
/* @__PURE__ */
|
|
343
|
+
/* @__PURE__ */ jsx2("code", {
|
|
416
344
|
children: "1M"
|
|
417
345
|
}),
|
|
418
346
|
" for 1 Mbps. Default: ",
|
|
419
|
-
/* @__PURE__ */
|
|
347
|
+
/* @__PURE__ */ jsx2("code", {
|
|
420
348
|
children: "320k"
|
|
421
349
|
})
|
|
422
350
|
]
|
|
@@ -638,13 +566,13 @@ var audioCodecOption = {
|
|
|
638
566
|
};
|
|
639
567
|
|
|
640
568
|
// src/options/beep-on-finish.tsx
|
|
641
|
-
|
|
569
|
+
import { jsx as jsx3, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
642
570
|
var beepOnFinish = false;
|
|
643
571
|
var cliFlag5 = "beep-on-finish";
|
|
644
572
|
var beepOnFinishOption = {
|
|
645
573
|
name: "Beep on finish",
|
|
646
574
|
cliFlag: cliFlag5,
|
|
647
|
-
description: () => /* @__PURE__ */
|
|
575
|
+
description: () => /* @__PURE__ */ jsx3(Fragment3, {
|
|
648
576
|
children: "Whether the Remotion Studio tab should beep when the render is finished."
|
|
649
577
|
}),
|
|
650
578
|
ssrName: null,
|
|
@@ -674,34 +602,34 @@ var beepOnFinishOption = {
|
|
|
674
602
|
};
|
|
675
603
|
|
|
676
604
|
// src/options/binaries-directory.tsx
|
|
677
|
-
|
|
605
|
+
import { jsx as jsx4, jsxs as jsxs3, Fragment as Fragment4 } from "react/jsx-runtime";
|
|
678
606
|
var cliFlag6 = "binaries-directory";
|
|
679
607
|
var currentDirectory = null;
|
|
680
608
|
var binariesDirectoryOption = {
|
|
681
609
|
name: "Binaries Directory",
|
|
682
610
|
cliFlag: cliFlag6,
|
|
683
|
-
description: () => /* @__PURE__ */
|
|
611
|
+
description: () => /* @__PURE__ */ jsxs3(Fragment4, {
|
|
684
612
|
children: [
|
|
685
613
|
"The directory where the platform-specific binaries and libraries that Remotion needs are located. Those include an ",
|
|
686
|
-
/* @__PURE__ */
|
|
614
|
+
/* @__PURE__ */ jsx4("code", {
|
|
687
615
|
children: "ffmpeg"
|
|
688
616
|
}),
|
|
689
617
|
" and",
|
|
690
618
|
" ",
|
|
691
|
-
/* @__PURE__ */
|
|
619
|
+
/* @__PURE__ */ jsx4("code", {
|
|
692
620
|
children: "ffprobe"
|
|
693
621
|
}),
|
|
694
622
|
" binary, a Rust binary for various tasks, and various shared libraries. If the value is set to ",
|
|
695
|
-
/* @__PURE__ */
|
|
623
|
+
/* @__PURE__ */ jsx4("code", {
|
|
696
624
|
children: "null"
|
|
697
625
|
}),
|
|
698
626
|
", which is the default, then the path of a platform-specific package located at",
|
|
699
627
|
" ",
|
|
700
|
-
/* @__PURE__ */
|
|
628
|
+
/* @__PURE__ */ jsx4("code", {
|
|
701
629
|
children: "node_modules/@remotion/compositor-*"
|
|
702
630
|
}),
|
|
703
631
|
" is selected.",
|
|
704
|
-
/* @__PURE__ */
|
|
632
|
+
/* @__PURE__ */ jsx4("br", {}),
|
|
705
633
|
"This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron."
|
|
706
634
|
]
|
|
707
635
|
}),
|
|
@@ -732,7 +660,7 @@ var binariesDirectoryOption = {
|
|
|
732
660
|
};
|
|
733
661
|
|
|
734
662
|
// src/options/chrome-mode.tsx
|
|
735
|
-
|
|
663
|
+
import { jsx as jsx5, jsxs as jsxs4, Fragment as Fragment5 } from "react/jsx-runtime";
|
|
736
664
|
var validChromeModeOptions = [
|
|
737
665
|
"headless-shell",
|
|
738
666
|
"chrome-for-testing"
|
|
@@ -744,27 +672,27 @@ var chromeModeOption = {
|
|
|
744
672
|
name: "Chrome Mode",
|
|
745
673
|
ssrName: "chromeMode",
|
|
746
674
|
description: () => {
|
|
747
|
-
return /* @__PURE__ */
|
|
675
|
+
return /* @__PURE__ */ jsxs4(Fragment5, {
|
|
748
676
|
children: [
|
|
749
677
|
"One of",
|
|
750
678
|
" ",
|
|
751
|
-
validChromeModeOptions.map((option, i) => /* @__PURE__ */
|
|
679
|
+
validChromeModeOptions.map((option, i) => /* @__PURE__ */ jsxs4("code", {
|
|
752
680
|
children: [
|
|
753
681
|
option,
|
|
754
682
|
i === validChromeModeOptions.length - 1 ? "" : ", "
|
|
755
683
|
]
|
|
756
684
|
}, option)),
|
|
757
685
|
". Default ",
|
|
758
|
-
/* @__PURE__ */
|
|
686
|
+
/* @__PURE__ */ jsx5("code", {
|
|
759
687
|
children: "headless-shell"
|
|
760
688
|
}),
|
|
761
689
|
".",
|
|
762
690
|
" ",
|
|
763
|
-
/* @__PURE__ */
|
|
691
|
+
/* @__PURE__ */ jsxs4("a", {
|
|
764
692
|
href: "https://remotion.dev/docs/miscellaneous/chrome-headless-shell",
|
|
765
693
|
children: [
|
|
766
694
|
"Use ",
|
|
767
|
-
/* @__PURE__ */
|
|
695
|
+
/* @__PURE__ */ jsx5("code", {
|
|
768
696
|
children: "chrome-for-testing"
|
|
769
697
|
}),
|
|
770
698
|
" to take advantage of GPU drivers on Linux."
|
|
@@ -802,8 +730,8 @@ var chromeModeOption = {
|
|
|
802
730
|
};
|
|
803
731
|
|
|
804
732
|
// src/options/color-space.tsx
|
|
805
|
-
var jsx_runtime6 = __toESM(require_jsx_runtime(), 1);
|
|
806
733
|
import { NoReactInternals } from "remotion/no-react";
|
|
734
|
+
import { jsx as jsx6, jsxs as jsxs5, Fragment as Fragment6 } from "react/jsx-runtime";
|
|
807
735
|
var validV4ColorSpaces = ["default", "bt709", "bt2020-ncl"];
|
|
808
736
|
var validV5ColorSpaces = ["bt601", "bt709", "bt2020-ncl"];
|
|
809
737
|
var validColorSpaces = NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? validV5ColorSpaces : validV4ColorSpaces;
|
|
@@ -813,11 +741,11 @@ var cliFlag8 = "color-space";
|
|
|
813
741
|
var colorSpaceOption = {
|
|
814
742
|
name: "Color space",
|
|
815
743
|
cliFlag: "color-space",
|
|
816
|
-
description: () => /* @__PURE__ */
|
|
744
|
+
description: () => /* @__PURE__ */ jsxs5(Fragment6, {
|
|
817
745
|
children: [
|
|
818
746
|
"Color space to use for the video. Acceptable values:",
|
|
819
747
|
" ",
|
|
820
|
-
/* @__PURE__ */
|
|
748
|
+
/* @__PURE__ */ jsxs5("code", {
|
|
821
749
|
children: [
|
|
822
750
|
'"',
|
|
823
751
|
DEFAULT_COLOR_SPACE,
|
|
@@ -826,16 +754,16 @@ var colorSpaceOption = {
|
|
|
826
754
|
}),
|
|
827
755
|
"(default since 5.0),",
|
|
828
756
|
" ",
|
|
829
|
-
NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */
|
|
757
|
+
NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs5("code", {
|
|
830
758
|
children: [
|
|
831
759
|
'"',
|
|
832
760
|
"bt601",
|
|
833
761
|
'"',
|
|
834
762
|
", "
|
|
835
763
|
]
|
|
836
|
-
}) : /* @__PURE__ */
|
|
764
|
+
}) : /* @__PURE__ */ jsxs5(Fragment6, {
|
|
837
765
|
children: [
|
|
838
|
-
/* @__PURE__ */
|
|
766
|
+
/* @__PURE__ */ jsxs5("code", {
|
|
839
767
|
children: [
|
|
840
768
|
'"',
|
|
841
769
|
"bt709",
|
|
@@ -847,7 +775,7 @@ var colorSpaceOption = {
|
|
|
847
775
|
" "
|
|
848
776
|
]
|
|
849
777
|
}),
|
|
850
|
-
/* @__PURE__ */
|
|
778
|
+
/* @__PURE__ */ jsxs5("code", {
|
|
851
779
|
children: [
|
|
852
780
|
'"',
|
|
853
781
|
"bt2020-ncl",
|
|
@@ -857,7 +785,7 @@ var colorSpaceOption = {
|
|
|
857
785
|
" ",
|
|
858
786
|
"(since v4.0.88),",
|
|
859
787
|
" ",
|
|
860
|
-
/* @__PURE__ */
|
|
788
|
+
/* @__PURE__ */ jsxs5("code", {
|
|
861
789
|
children: [
|
|
862
790
|
'"',
|
|
863
791
|
"bt2020-cl",
|
|
@@ -866,10 +794,10 @@ var colorSpaceOption = {
|
|
|
866
794
|
}),
|
|
867
795
|
" ",
|
|
868
796
|
"(since v4.0.88), .",
|
|
869
|
-
/* @__PURE__ */
|
|
797
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
870
798
|
"For best color accuracy, it is recommended to also use",
|
|
871
799
|
" ",
|
|
872
|
-
/* @__PURE__ */
|
|
800
|
+
/* @__PURE__ */ jsxs5("code", {
|
|
873
801
|
children: [
|
|
874
802
|
'"',
|
|
875
803
|
"png",
|
|
@@ -878,7 +806,7 @@ var colorSpaceOption = {
|
|
|
878
806
|
}),
|
|
879
807
|
" ",
|
|
880
808
|
"as the image format to have accurate color transformations throughout.",
|
|
881
|
-
/* @__PURE__ */
|
|
809
|
+
/* @__PURE__ */ jsx6("br", {}),
|
|
882
810
|
"Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."
|
|
883
811
|
]
|
|
884
812
|
}),
|
|
@@ -909,7 +837,7 @@ var colorSpaceOption = {
|
|
|
909
837
|
};
|
|
910
838
|
|
|
911
839
|
// src/options/crf.tsx
|
|
912
|
-
|
|
840
|
+
import { jsx as jsx7, Fragment as Fragment7 } from "react/jsx-runtime";
|
|
913
841
|
var currentCrf;
|
|
914
842
|
var validateCrf = (newCrf) => {
|
|
915
843
|
if (typeof newCrf !== "number" && newCrf !== undefined) {
|
|
@@ -920,7 +848,7 @@ var cliFlag9 = "crf";
|
|
|
920
848
|
var crfOption = {
|
|
921
849
|
name: "CRF",
|
|
922
850
|
cliFlag: cliFlag9,
|
|
923
|
-
description: () => /* @__PURE__ */
|
|
851
|
+
description: () => /* @__PURE__ */ jsx7(Fragment7, {
|
|
924
852
|
children: "No matter which codec you end up using, there's always a tradeoff between file size and video quality. You can control it by setting the CRF (Constant Rate Factor). The lower the number, the better the quality, the higher the number, the smaller the file is – of course at the cost of quality."
|
|
925
853
|
}),
|
|
926
854
|
ssrName: "crf",
|
|
@@ -952,37 +880,37 @@ var crfOption = {
|
|
|
952
880
|
};
|
|
953
881
|
|
|
954
882
|
// src/options/delete-after.tsx
|
|
955
|
-
|
|
883
|
+
import { jsx as jsx8, jsxs as jsxs6, Fragment as Fragment8 } from "react/jsx-runtime";
|
|
956
884
|
var cliFlag10 = "delete-after";
|
|
957
885
|
var deleteAfter = null;
|
|
958
886
|
var deleteAfterOption = {
|
|
959
887
|
name: "Lambda render expiration",
|
|
960
888
|
cliFlag: cliFlag10,
|
|
961
889
|
description: () => {
|
|
962
|
-
return /* @__PURE__ */
|
|
890
|
+
return /* @__PURE__ */ jsxs6(Fragment8, {
|
|
963
891
|
children: [
|
|
964
892
|
"Automatically delete the render after a certain period. Accepted values are ",
|
|
965
|
-
/* @__PURE__ */
|
|
893
|
+
/* @__PURE__ */ jsx8("code", {
|
|
966
894
|
children: "1-day"
|
|
967
895
|
}),
|
|
968
896
|
", ",
|
|
969
|
-
/* @__PURE__ */
|
|
897
|
+
/* @__PURE__ */ jsx8("code", {
|
|
970
898
|
children: "3-days"
|
|
971
899
|
}),
|
|
972
900
|
", ",
|
|
973
|
-
/* @__PURE__ */
|
|
901
|
+
/* @__PURE__ */ jsx8("code", {
|
|
974
902
|
children: "7-days"
|
|
975
903
|
}),
|
|
976
904
|
" and",
|
|
977
905
|
" ",
|
|
978
|
-
/* @__PURE__ */
|
|
906
|
+
/* @__PURE__ */ jsx8("code", {
|
|
979
907
|
children: "30-days"
|
|
980
908
|
}),
|
|
981
909
|
".",
|
|
982
|
-
/* @__PURE__ */
|
|
910
|
+
/* @__PURE__ */ jsx8("br", {}),
|
|
983
911
|
" For this to work, your bucket needs to have",
|
|
984
912
|
" ",
|
|
985
|
-
/* @__PURE__ */
|
|
913
|
+
/* @__PURE__ */ jsx8("a", {
|
|
986
914
|
href: "/docs/lambda/autodelete",
|
|
987
915
|
children: "lifecycles enabled"
|
|
988
916
|
}),
|
|
@@ -1044,17 +972,17 @@ var disableGitSourceOption = {
|
|
|
1044
972
|
};
|
|
1045
973
|
|
|
1046
974
|
// src/options/enable-lambda-insights.tsx
|
|
1047
|
-
|
|
975
|
+
import { jsx as jsx9, jsxs as jsxs7, Fragment as Fragment9 } from "react/jsx-runtime";
|
|
1048
976
|
var cliFlag12 = "enable-lambda-insights";
|
|
1049
977
|
var option = false;
|
|
1050
978
|
var enableLambdaInsights = {
|
|
1051
979
|
name: "Enable Lambda Insights",
|
|
1052
980
|
cliFlag: cliFlag12,
|
|
1053
|
-
description: () => /* @__PURE__ */
|
|
981
|
+
description: () => /* @__PURE__ */ jsxs7(Fragment9, {
|
|
1054
982
|
children: [
|
|
1055
983
|
"Enable",
|
|
1056
984
|
" ",
|
|
1057
|
-
/* @__PURE__ */
|
|
985
|
+
/* @__PURE__ */ jsx9("a", {
|
|
1058
986
|
href: "https://remotion.dev/docs/lambda/insights",
|
|
1059
987
|
children: "Lambda Insights in AWS CloudWatch"
|
|
1060
988
|
}),
|
|
@@ -1088,37 +1016,37 @@ var enableLambdaInsights = {
|
|
|
1088
1016
|
};
|
|
1089
1017
|
|
|
1090
1018
|
// src/options/enable-multiprocess-on-linux.tsx
|
|
1091
|
-
|
|
1019
|
+
import { jsx as jsx10, jsxs as jsxs8, Fragment as Fragment10 } from "react/jsx-runtime";
|
|
1092
1020
|
var DEFAULT_VALUE = true;
|
|
1093
1021
|
var multiProcessOnLinux = DEFAULT_VALUE;
|
|
1094
1022
|
var cliFlag13 = "enable-multiprocess-on-linux";
|
|
1095
1023
|
var enableMultiprocessOnLinuxOption = {
|
|
1096
1024
|
name: "Enable Multiprocess on Linux",
|
|
1097
1025
|
cliFlag: cliFlag13,
|
|
1098
|
-
description: () => /* @__PURE__ */
|
|
1026
|
+
description: () => /* @__PURE__ */ jsxs8(Fragment10, {
|
|
1099
1027
|
children: [
|
|
1100
1028
|
"Removes the ",
|
|
1101
|
-
/* @__PURE__ */
|
|
1029
|
+
/* @__PURE__ */ jsx10("code", {
|
|
1102
1030
|
children: "--single-process"
|
|
1103
1031
|
}),
|
|
1104
1032
|
" flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.",
|
|
1105
|
-
/* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ jsx10("br", {}),
|
|
1106
1034
|
"Default: ",
|
|
1107
|
-
/* @__PURE__ */
|
|
1035
|
+
/* @__PURE__ */ jsx10("code", {
|
|
1108
1036
|
children: "false"
|
|
1109
1037
|
}),
|
|
1110
1038
|
" until v4.0.136, then ",
|
|
1111
|
-
/* @__PURE__ */
|
|
1039
|
+
/* @__PURE__ */ jsx10("code", {
|
|
1112
1040
|
children: "true"
|
|
1113
1041
|
}),
|
|
1114
1042
|
" from v4.0.137 on because newer Chrome versions ",
|
|
1115
1043
|
"don't",
|
|
1116
1044
|
" allow rendering with the ",
|
|
1117
|
-
/* @__PURE__ */
|
|
1045
|
+
/* @__PURE__ */ jsx10("code", {
|
|
1118
1046
|
children: "--single-process"
|
|
1119
1047
|
}),
|
|
1120
1048
|
" flag. ",
|
|
1121
|
-
/* @__PURE__ */
|
|
1049
|
+
/* @__PURE__ */ jsx10("br", {}),
|
|
1122
1050
|
"This flag will be removed in Remotion v5.0."
|
|
1123
1051
|
]
|
|
1124
1052
|
}),
|
|
@@ -1149,7 +1077,7 @@ var enableMultiprocessOnLinuxOption = {
|
|
|
1149
1077
|
};
|
|
1150
1078
|
|
|
1151
1079
|
// src/options/encoding-buffer-size.tsx
|
|
1152
|
-
|
|
1080
|
+
import { jsx as jsx11, jsxs as jsxs9, Fragment as Fragment11 } from "react/jsx-runtime";
|
|
1153
1081
|
var encodingBufferSize = null;
|
|
1154
1082
|
var setEncodingBufferSize = (bitrate) => {
|
|
1155
1083
|
encodingBufferSize = bitrate;
|
|
@@ -1158,10 +1086,10 @@ var cliFlag14 = "buffer-size";
|
|
|
1158
1086
|
var encodingBufferSizeOption = {
|
|
1159
1087
|
name: "FFmpeg -bufsize flag",
|
|
1160
1088
|
cliFlag: cliFlag14,
|
|
1161
|
-
description: () => /* @__PURE__ */
|
|
1089
|
+
description: () => /* @__PURE__ */ jsxs9(Fragment11, {
|
|
1162
1090
|
children: [
|
|
1163
1091
|
"The value for the ",
|
|
1164
|
-
/* @__PURE__ */
|
|
1092
|
+
/* @__PURE__ */ jsx11("code", {
|
|
1165
1093
|
children: "-bufsize"
|
|
1166
1094
|
}),
|
|
1167
1095
|
" flag of FFmpeg. Should be used in conjunction with the encoding max rate flag."
|
|
@@ -1192,16 +1120,16 @@ var encodingBufferSizeOption = {
|
|
|
1192
1120
|
};
|
|
1193
1121
|
|
|
1194
1122
|
// src/options/encoding-max-rate.tsx
|
|
1195
|
-
|
|
1123
|
+
import { jsx as jsx12, jsxs as jsxs10, Fragment as Fragment12 } from "react/jsx-runtime";
|
|
1196
1124
|
var encodingMaxRate = null;
|
|
1197
1125
|
var cliFlag15 = "max-rate";
|
|
1198
1126
|
var encodingMaxRateOption = {
|
|
1199
1127
|
name: "FFmpeg -maxrate flag",
|
|
1200
1128
|
cliFlag: cliFlag15,
|
|
1201
|
-
description: () => /* @__PURE__ */
|
|
1129
|
+
description: () => /* @__PURE__ */ jsxs10(Fragment12, {
|
|
1202
1130
|
children: [
|
|
1203
1131
|
"The value for the ",
|
|
1204
|
-
/* @__PURE__ */
|
|
1132
|
+
/* @__PURE__ */ jsx12("code", {
|
|
1205
1133
|
children: "-maxrate"
|
|
1206
1134
|
}),
|
|
1207
1135
|
" flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag."
|
|
@@ -1234,14 +1162,14 @@ var encodingMaxRateOption = {
|
|
|
1234
1162
|
};
|
|
1235
1163
|
|
|
1236
1164
|
// src/options/enforce-audio.tsx
|
|
1237
|
-
|
|
1165
|
+
import { jsx as jsx13, Fragment as Fragment13 } from "react/jsx-runtime";
|
|
1238
1166
|
var DEFAULT_ENFORCE_AUDIO_TRACK = false;
|
|
1239
1167
|
var enforceAudioTrackState = DEFAULT_ENFORCE_AUDIO_TRACK;
|
|
1240
1168
|
var cliFlag16 = "enforce-audio-track";
|
|
1241
1169
|
var enforceAudioOption = {
|
|
1242
1170
|
name: "Enforce Audio Track",
|
|
1243
1171
|
cliFlag: cliFlag16,
|
|
1244
|
-
description: () => /* @__PURE__ */
|
|
1172
|
+
description: () => /* @__PURE__ */ jsx13(Fragment13, {
|
|
1245
1173
|
children: "Render a silent audio track if there would be none otherwise."
|
|
1246
1174
|
}),
|
|
1247
1175
|
ssrName: "enforceAudioTrack",
|
|
@@ -1271,22 +1199,22 @@ var enforceAudioOption = {
|
|
|
1271
1199
|
};
|
|
1272
1200
|
|
|
1273
1201
|
// src/options/folder-expiry.tsx
|
|
1274
|
-
|
|
1202
|
+
import { jsx as jsx14, jsxs as jsxs11, Fragment as Fragment14 } from "react/jsx-runtime";
|
|
1275
1203
|
var enableFolderExpiry = null;
|
|
1276
1204
|
var cliFlag17 = "enable-folder-expiry";
|
|
1277
1205
|
var folderExpiryOption = {
|
|
1278
1206
|
name: "Lambda render expiration",
|
|
1279
1207
|
cliFlag: cliFlag17,
|
|
1280
1208
|
description: () => {
|
|
1281
|
-
return /* @__PURE__ */
|
|
1209
|
+
return /* @__PURE__ */ jsxs11(Fragment14, {
|
|
1282
1210
|
children: [
|
|
1283
1211
|
"When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
|
|
1284
1212
|
" ",
|
|
1285
|
-
/* @__PURE__ */
|
|
1213
|
+
/* @__PURE__ */ jsx14("code", {
|
|
1286
1214
|
children: "null"
|
|
1287
1215
|
}),
|
|
1288
1216
|
", which does not change any lifecycle policies of the S3 bucket. See: ",
|
|
1289
|
-
/* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ jsx14("a", {
|
|
1290
1218
|
href: "/docs/lambda/autodelete",
|
|
1291
1219
|
children: "Lambda autodelete"
|
|
1292
1220
|
}),
|
|
@@ -1321,18 +1249,18 @@ var folderExpiryOption = {
|
|
|
1321
1249
|
};
|
|
1322
1250
|
|
|
1323
1251
|
// src/options/for-seamless-aac-concatenation.tsx
|
|
1324
|
-
|
|
1252
|
+
import { jsx as jsx15, jsxs as jsxs12, Fragment as Fragment15 } from "react/jsx-runtime";
|
|
1325
1253
|
var DEFAULT3 = false;
|
|
1326
1254
|
var forSeamlessAacConcatenation = DEFAULT3;
|
|
1327
1255
|
var cliFlag18 = "for-seamless-aac-concatenation";
|
|
1328
1256
|
var forSeamlessAacConcatenationOption = {
|
|
1329
1257
|
name: "For seamless AAC concatenation",
|
|
1330
1258
|
cliFlag: cliFlag18,
|
|
1331
|
-
description: () => /* @__PURE__ */
|
|
1259
|
+
description: () => /* @__PURE__ */ jsxs12(Fragment15, {
|
|
1332
1260
|
children: [
|
|
1333
1261
|
"If enabled, the audio is trimmed to the nearest AAC frame, which is required for seamless concatenation of AAC files. This is a requirement if you later want to combine multiple video snippets seamlessly.",
|
|
1334
|
-
/* @__PURE__ */
|
|
1335
|
-
/* @__PURE__ */
|
|
1262
|
+
/* @__PURE__ */ jsx15("br", {}),
|
|
1263
|
+
/* @__PURE__ */ jsx15("br", {}),
|
|
1336
1264
|
" This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
|
|
1337
1265
|
]
|
|
1338
1266
|
}),
|
|
@@ -1363,7 +1291,7 @@ var forSeamlessAacConcatenationOption = {
|
|
|
1363
1291
|
};
|
|
1364
1292
|
|
|
1365
1293
|
// src/options/gl.tsx
|
|
1366
|
-
|
|
1294
|
+
import { jsx as jsx16, jsxs as jsxs13, Fragment as Fragment16 } from "react/jsx-runtime";
|
|
1367
1295
|
var validOpenGlRenderers = [
|
|
1368
1296
|
"swangle",
|
|
1369
1297
|
"angle",
|
|
@@ -1375,33 +1303,33 @@ var validOpenGlRenderers = [
|
|
|
1375
1303
|
var DEFAULT_OPENGL_RENDERER = null;
|
|
1376
1304
|
var openGlRenderer = DEFAULT_OPENGL_RENDERER;
|
|
1377
1305
|
var AngleChangelog = () => {
|
|
1378
|
-
return /* @__PURE__ */
|
|
1306
|
+
return /* @__PURE__ */ jsxs13("details", {
|
|
1379
1307
|
style: { fontSize: "0.9em", marginBottom: "1em" },
|
|
1380
1308
|
children: [
|
|
1381
|
-
/* @__PURE__ */
|
|
1309
|
+
/* @__PURE__ */ jsx16("summary", {
|
|
1382
1310
|
children: "Changelog"
|
|
1383
1311
|
}),
|
|
1384
|
-
/* @__PURE__ */
|
|
1312
|
+
/* @__PURE__ */ jsxs13("ul", {
|
|
1385
1313
|
children: [
|
|
1386
|
-
/* @__PURE__ */
|
|
1314
|
+
/* @__PURE__ */ jsxs13("li", {
|
|
1387
1315
|
children: [
|
|
1388
1316
|
"From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
|
|
1389
1317
|
" ",
|
|
1390
|
-
/* @__PURE__ */
|
|
1318
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1391
1319
|
children: "swiftshader"
|
|
1392
1320
|
}),
|
|
1393
1321
|
", but from v3.0.8 the default is",
|
|
1394
1322
|
" ",
|
|
1395
|
-
/* @__PURE__ */
|
|
1323
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1396
1324
|
children: "swangle"
|
|
1397
1325
|
}),
|
|
1398
1326
|
" (Swiftshader on Angle) since Chrome 101 added support for it."
|
|
1399
1327
|
]
|
|
1400
1328
|
}),
|
|
1401
|
-
/* @__PURE__ */
|
|
1329
|
+
/* @__PURE__ */ jsxs13("li", {
|
|
1402
1330
|
children: [
|
|
1403
1331
|
"From Remotion v2.4.3 until v2.6.6, the default was ",
|
|
1404
|
-
/* @__PURE__ */
|
|
1332
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1405
1333
|
children: "angle"
|
|
1406
1334
|
}),
|
|
1407
1335
|
", however it turns out to have a small memory leak that could crash long Remotion renders."
|
|
@@ -1420,57 +1348,57 @@ var glOption = {
|
|
|
1420
1348
|
type: "angle",
|
|
1421
1349
|
ssrName: "gl",
|
|
1422
1350
|
description: () => {
|
|
1423
|
-
return /* @__PURE__ */
|
|
1351
|
+
return /* @__PURE__ */ jsxs13(Fragment16, {
|
|
1424
1352
|
children: [
|
|
1425
|
-
/* @__PURE__ */
|
|
1426
|
-
/* @__PURE__ */
|
|
1353
|
+
/* @__PURE__ */ jsx16(AngleChangelog, {}),
|
|
1354
|
+
/* @__PURE__ */ jsxs13("p", {
|
|
1427
1355
|
children: [
|
|
1428
1356
|
"Select the OpenGL renderer backend for Chromium. ",
|
|
1429
|
-
/* @__PURE__ */
|
|
1357
|
+
/* @__PURE__ */ jsx16("br", {}),
|
|
1430
1358
|
"Accepted values:"
|
|
1431
1359
|
]
|
|
1432
1360
|
}),
|
|
1433
|
-
/* @__PURE__ */
|
|
1361
|
+
/* @__PURE__ */ jsxs13("ul", {
|
|
1434
1362
|
children: [
|
|
1435
|
-
/* @__PURE__ */
|
|
1436
|
-
children: /* @__PURE__ */
|
|
1363
|
+
/* @__PURE__ */ jsx16("li", {
|
|
1364
|
+
children: /* @__PURE__ */ jsx16("code", {
|
|
1437
1365
|
children: '"angle"'
|
|
1438
1366
|
})
|
|
1439
1367
|
}),
|
|
1440
|
-
/* @__PURE__ */
|
|
1441
|
-
children: /* @__PURE__ */
|
|
1368
|
+
/* @__PURE__ */ jsx16("li", {
|
|
1369
|
+
children: /* @__PURE__ */ jsx16("code", {
|
|
1442
1370
|
children: '"egl"'
|
|
1443
1371
|
})
|
|
1444
1372
|
}),
|
|
1445
|
-
/* @__PURE__ */
|
|
1446
|
-
children: /* @__PURE__ */
|
|
1373
|
+
/* @__PURE__ */ jsx16("li", {
|
|
1374
|
+
children: /* @__PURE__ */ jsx16("code", {
|
|
1447
1375
|
children: '"swiftshader"'
|
|
1448
1376
|
})
|
|
1449
1377
|
}),
|
|
1450
|
-
/* @__PURE__ */
|
|
1451
|
-
children: /* @__PURE__ */
|
|
1378
|
+
/* @__PURE__ */ jsx16("li", {
|
|
1379
|
+
children: /* @__PURE__ */ jsx16("code", {
|
|
1452
1380
|
children: '"swangle"'
|
|
1453
1381
|
})
|
|
1454
1382
|
}),
|
|
1455
|
-
/* @__PURE__ */
|
|
1383
|
+
/* @__PURE__ */ jsxs13("li", {
|
|
1456
1384
|
children: [
|
|
1457
|
-
/* @__PURE__ */
|
|
1385
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1458
1386
|
children: '"vulkan"'
|
|
1459
1387
|
}),
|
|
1460
1388
|
" (",
|
|
1461
|
-
/* @__PURE__ */
|
|
1389
|
+
/* @__PURE__ */ jsx16("em", {
|
|
1462
1390
|
children: "from Remotion v4.0.41"
|
|
1463
1391
|
}),
|
|
1464
1392
|
")"
|
|
1465
1393
|
]
|
|
1466
1394
|
}),
|
|
1467
|
-
/* @__PURE__ */
|
|
1395
|
+
/* @__PURE__ */ jsxs13("li", {
|
|
1468
1396
|
children: [
|
|
1469
|
-
/* @__PURE__ */
|
|
1397
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1470
1398
|
children: '"angle-egl"'
|
|
1471
1399
|
}),
|
|
1472
1400
|
" (",
|
|
1473
|
-
/* @__PURE__ */
|
|
1401
|
+
/* @__PURE__ */ jsx16("em", {
|
|
1474
1402
|
children: "from Remotion v4.0.51"
|
|
1475
1403
|
}),
|
|
1476
1404
|
")"
|
|
@@ -1478,14 +1406,14 @@ var glOption = {
|
|
|
1478
1406
|
})
|
|
1479
1407
|
]
|
|
1480
1408
|
}),
|
|
1481
|
-
/* @__PURE__ */
|
|
1409
|
+
/* @__PURE__ */ jsxs13("p", {
|
|
1482
1410
|
children: [
|
|
1483
1411
|
"The default is ",
|
|
1484
|
-
/* @__PURE__ */
|
|
1412
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1485
1413
|
children: "null"
|
|
1486
1414
|
}),
|
|
1487
1415
|
", letting Chrome decide, except on Lambda where the default is ",
|
|
1488
|
-
/* @__PURE__ */
|
|
1416
|
+
/* @__PURE__ */ jsx16("code", {
|
|
1489
1417
|
children: '"swangle"'
|
|
1490
1418
|
})
|
|
1491
1419
|
]
|
|
@@ -1579,24 +1507,24 @@ var hardwareAccelerationOption = {
|
|
|
1579
1507
|
};
|
|
1580
1508
|
|
|
1581
1509
|
// src/options/headless.tsx
|
|
1582
|
-
|
|
1510
|
+
import { jsx as jsx17, jsxs as jsxs14, Fragment as Fragment17 } from "react/jsx-runtime";
|
|
1583
1511
|
var DEFAULT4 = true;
|
|
1584
1512
|
var headlessMode = DEFAULT4;
|
|
1585
1513
|
var cliFlag21 = "disable-headless";
|
|
1586
1514
|
var headlessOption = {
|
|
1587
1515
|
name: "Disable Headless Mode",
|
|
1588
1516
|
cliFlag: cliFlag21,
|
|
1589
|
-
description: () => /* @__PURE__ */
|
|
1517
|
+
description: () => /* @__PURE__ */ jsxs14(Fragment17, {
|
|
1590
1518
|
children: [
|
|
1591
1519
|
"Deprecated - will be removed in 5.0.0. With the migration to",
|
|
1592
1520
|
" ",
|
|
1593
|
-
/* @__PURE__ */
|
|
1521
|
+
/* @__PURE__ */ jsx17("a", {
|
|
1594
1522
|
href: "/docs/miscellaneous/chrome-headless-shell",
|
|
1595
1523
|
children: "Chrome Headless Shell"
|
|
1596
1524
|
}),
|
|
1597
1525
|
", this option is not functional anymore.",
|
|
1598
|
-
/* @__PURE__ */
|
|
1599
|
-
/* @__PURE__ */
|
|
1526
|
+
/* @__PURE__ */ jsx17("br", {}),
|
|
1527
|
+
/* @__PURE__ */ jsx17("br", {}),
|
|
1600
1528
|
" If disabled, the render will open an actual Chrome window where you can see the render happen. The default is headless mode."
|
|
1601
1529
|
]
|
|
1602
1530
|
}),
|
|
@@ -1627,7 +1555,7 @@ var headlessOption = {
|
|
|
1627
1555
|
};
|
|
1628
1556
|
|
|
1629
1557
|
// src/options/jpeg-quality.tsx
|
|
1630
|
-
|
|
1558
|
+
import { jsx as jsx18, Fragment as Fragment18 } from "react/jsx-runtime";
|
|
1631
1559
|
var defaultValue = DEFAULT_JPEG_QUALITY;
|
|
1632
1560
|
var quality = defaultValue;
|
|
1633
1561
|
var setJpegQuality = (q) => {
|
|
@@ -1642,7 +1570,7 @@ var cliFlag22 = "jpeg-quality";
|
|
|
1642
1570
|
var jpegQualityOption = {
|
|
1643
1571
|
name: "JPEG Quality",
|
|
1644
1572
|
cliFlag: cliFlag22,
|
|
1645
|
-
description: () => /* @__PURE__ */
|
|
1573
|
+
description: () => /* @__PURE__ */ jsx18(Fragment18, {
|
|
1646
1574
|
children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
|
|
1647
1575
|
}),
|
|
1648
1576
|
ssrName: "jpegQuality",
|
|
@@ -1671,43 +1599,43 @@ var jpegQualityOption = {
|
|
|
1671
1599
|
};
|
|
1672
1600
|
|
|
1673
1601
|
// src/options/log-level.tsx
|
|
1674
|
-
|
|
1602
|
+
import { jsx as jsx19, jsxs as jsxs15, Fragment as Fragment19 } from "react/jsx-runtime";
|
|
1675
1603
|
var logLevel = "info";
|
|
1676
1604
|
var cliFlag23 = "log";
|
|
1677
1605
|
var logLevelOption = {
|
|
1678
1606
|
cliFlag: cliFlag23,
|
|
1679
1607
|
name: "Log Level",
|
|
1680
1608
|
ssrName: "logLevel",
|
|
1681
|
-
description: () => /* @__PURE__ */
|
|
1609
|
+
description: () => /* @__PURE__ */ jsxs15(Fragment19, {
|
|
1682
1610
|
children: [
|
|
1683
1611
|
"One of ",
|
|
1684
|
-
/* @__PURE__ */
|
|
1612
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1685
1613
|
children: "trace"
|
|
1686
1614
|
}),
|
|
1687
1615
|
", ",
|
|
1688
|
-
/* @__PURE__ */
|
|
1616
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1689
1617
|
children: "verbose"
|
|
1690
1618
|
}),
|
|
1691
1619
|
", ",
|
|
1692
|
-
/* @__PURE__ */
|
|
1620
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1693
1621
|
children: "info"
|
|
1694
1622
|
}),
|
|
1695
1623
|
",",
|
|
1696
1624
|
" ",
|
|
1697
|
-
/* @__PURE__ */
|
|
1625
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1698
1626
|
children: "warn"
|
|
1699
1627
|
}),
|
|
1700
1628
|
", ",
|
|
1701
|
-
/* @__PURE__ */
|
|
1629
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1702
1630
|
children: "error"
|
|
1703
1631
|
}),
|
|
1704
1632
|
".",
|
|
1705
|
-
/* @__PURE__ */
|
|
1633
|
+
/* @__PURE__ */ jsx19("br", {}),
|
|
1706
1634
|
" Determines how much info is being logged to the console.",
|
|
1707
|
-
/* @__PURE__ */
|
|
1708
|
-
/* @__PURE__ */
|
|
1635
|
+
/* @__PURE__ */ jsx19("br", {}),
|
|
1636
|
+
/* @__PURE__ */ jsx19("br", {}),
|
|
1709
1637
|
" Default ",
|
|
1710
|
-
/* @__PURE__ */
|
|
1638
|
+
/* @__PURE__ */ jsx19("code", {
|
|
1711
1639
|
children: "info"
|
|
1712
1640
|
}),
|
|
1713
1641
|
"."
|
|
@@ -1733,7 +1661,7 @@ var logLevelOption = {
|
|
|
1733
1661
|
};
|
|
1734
1662
|
|
|
1735
1663
|
// src/options/metadata.tsx
|
|
1736
|
-
|
|
1664
|
+
import { jsx as jsx20, jsxs as jsxs16, Fragment as Fragment20 } from "react/jsx-runtime";
|
|
1737
1665
|
var metadata = {};
|
|
1738
1666
|
var cliFlag24 = "metadata";
|
|
1739
1667
|
var metadataOption = {
|
|
@@ -1741,11 +1669,11 @@ var metadataOption = {
|
|
|
1741
1669
|
cliFlag: cliFlag24,
|
|
1742
1670
|
description: (mode) => {
|
|
1743
1671
|
if (mode === "ssr") {
|
|
1744
|
-
return /* @__PURE__ */
|
|
1672
|
+
return /* @__PURE__ */ jsxs16(Fragment20, {
|
|
1745
1673
|
children: [
|
|
1746
1674
|
"An object containing metadata to be embedded in the video. See",
|
|
1747
1675
|
" ",
|
|
1748
|
-
/* @__PURE__ */
|
|
1676
|
+
/* @__PURE__ */ jsx20("a", {
|
|
1749
1677
|
href: "/docs/metadata",
|
|
1750
1678
|
children: "here"
|
|
1751
1679
|
}),
|
|
@@ -1753,18 +1681,18 @@ var metadataOption = {
|
|
|
1753
1681
|
]
|
|
1754
1682
|
});
|
|
1755
1683
|
}
|
|
1756
|
-
return /* @__PURE__ */
|
|
1684
|
+
return /* @__PURE__ */ jsxs16(Fragment20, {
|
|
1757
1685
|
children: [
|
|
1758
1686
|
"Metadata to be embedded in the video. See",
|
|
1759
1687
|
" ",
|
|
1760
|
-
/* @__PURE__ */
|
|
1688
|
+
/* @__PURE__ */ jsx20("a", {
|
|
1761
1689
|
href: "/docs/metadata",
|
|
1762
1690
|
children: "here"
|
|
1763
1691
|
}),
|
|
1764
1692
|
" for which metadata is accepted.",
|
|
1765
|
-
/* @__PURE__ */
|
|
1693
|
+
/* @__PURE__ */ jsx20("br", {}),
|
|
1766
1694
|
"The parameter must be in the format of ",
|
|
1767
|
-
/* @__PURE__ */
|
|
1695
|
+
/* @__PURE__ */ jsx20("code", {
|
|
1768
1696
|
children: "--metadata key=value"
|
|
1769
1697
|
}),
|
|
1770
1698
|
" ",
|
|
@@ -1806,14 +1734,14 @@ var metadataOption = {
|
|
|
1806
1734
|
};
|
|
1807
1735
|
|
|
1808
1736
|
// src/options/mute.tsx
|
|
1809
|
-
|
|
1737
|
+
import { jsx as jsx21, Fragment as Fragment21 } from "react/jsx-runtime";
|
|
1810
1738
|
var DEFAULT_MUTED_STATE = false;
|
|
1811
1739
|
var mutedState = DEFAULT_MUTED_STATE;
|
|
1812
1740
|
var cliFlag25 = "muted";
|
|
1813
1741
|
var mutedOption = {
|
|
1814
1742
|
name: "Muted",
|
|
1815
1743
|
cliFlag: cliFlag25,
|
|
1816
|
-
description: () => /* @__PURE__ */
|
|
1744
|
+
description: () => /* @__PURE__ */ jsx21(Fragment21, {
|
|
1817
1745
|
children: "The Audio of the video will be omitted."
|
|
1818
1746
|
}),
|
|
1819
1747
|
ssrName: "muted",
|
|
@@ -1843,7 +1771,7 @@ var mutedOption = {
|
|
|
1843
1771
|
};
|
|
1844
1772
|
|
|
1845
1773
|
// src/options/number-of-gif-loops.tsx
|
|
1846
|
-
|
|
1774
|
+
import { jsx as jsx22, jsxs as jsxs17, Fragment as Fragment22 } from "react/jsx-runtime";
|
|
1847
1775
|
var currentLoop = null;
|
|
1848
1776
|
var validate = (newLoop) => {
|
|
1849
1777
|
if (newLoop !== null && typeof newLoop !== "number") {
|
|
@@ -1855,38 +1783,38 @@ var numberOfGifLoopsOption = {
|
|
|
1855
1783
|
name: "Number of GIF loops",
|
|
1856
1784
|
cliFlag: cliFlag26,
|
|
1857
1785
|
description: () => {
|
|
1858
|
-
return /* @__PURE__ */
|
|
1786
|
+
return /* @__PURE__ */ jsxs17(Fragment22, {
|
|
1859
1787
|
children: [
|
|
1860
1788
|
"Allows you to set the number of loops as follows:",
|
|
1861
|
-
/* @__PURE__ */
|
|
1789
|
+
/* @__PURE__ */ jsxs17("ul", {
|
|
1862
1790
|
children: [
|
|
1863
|
-
/* @__PURE__ */
|
|
1791
|
+
/* @__PURE__ */ jsxs17("li", {
|
|
1864
1792
|
children: [
|
|
1865
|
-
/* @__PURE__ */
|
|
1793
|
+
/* @__PURE__ */ jsx22("code", {
|
|
1866
1794
|
children: "null"
|
|
1867
1795
|
}),
|
|
1868
1796
|
" (or omitting in the CLI) plays the GIF indefinitely."
|
|
1869
1797
|
]
|
|
1870
1798
|
}),
|
|
1871
|
-
/* @__PURE__ */
|
|
1799
|
+
/* @__PURE__ */ jsxs17("li", {
|
|
1872
1800
|
children: [
|
|
1873
|
-
/* @__PURE__ */
|
|
1801
|
+
/* @__PURE__ */ jsx22("code", {
|
|
1874
1802
|
children: "0"
|
|
1875
1803
|
}),
|
|
1876
1804
|
" disables looping"
|
|
1877
1805
|
]
|
|
1878
1806
|
}),
|
|
1879
|
-
/* @__PURE__ */
|
|
1807
|
+
/* @__PURE__ */ jsxs17("li", {
|
|
1880
1808
|
children: [
|
|
1881
|
-
/* @__PURE__ */
|
|
1809
|
+
/* @__PURE__ */ jsx22("code", {
|
|
1882
1810
|
children: "1"
|
|
1883
1811
|
}),
|
|
1884
1812
|
" loops the GIF once (plays twice in total)"
|
|
1885
1813
|
]
|
|
1886
1814
|
}),
|
|
1887
|
-
/* @__PURE__ */
|
|
1815
|
+
/* @__PURE__ */ jsxs17("li", {
|
|
1888
1816
|
children: [
|
|
1889
|
-
/* @__PURE__ */
|
|
1817
|
+
/* @__PURE__ */ jsx22("code", {
|
|
1890
1818
|
children: "2"
|
|
1891
1819
|
}),
|
|
1892
1820
|
" loops the GIF twice (plays three times in total) and so on."
|
|
@@ -1926,35 +1854,35 @@ var numberOfGifLoopsOption = {
|
|
|
1926
1854
|
};
|
|
1927
1855
|
|
|
1928
1856
|
// src/options/offthreadvideo-cache-size.tsx
|
|
1929
|
-
|
|
1857
|
+
import { jsx as jsx23, jsxs as jsxs18, Fragment as Fragment23 } from "react/jsx-runtime";
|
|
1930
1858
|
var offthreadVideoCacheSizeInBytes = null;
|
|
1931
1859
|
var cliFlag27 = "offthreadvideo-cache-size-in-bytes";
|
|
1932
1860
|
var offthreadVideoCacheSizeInBytesOption = {
|
|
1933
1861
|
name: "OffthreadVideo cache size",
|
|
1934
1862
|
cliFlag: cliFlag27,
|
|
1935
|
-
description: () => /* @__PURE__ */
|
|
1863
|
+
description: () => /* @__PURE__ */ jsxs18(Fragment23, {
|
|
1936
1864
|
children: [
|
|
1937
1865
|
"From v4.0, Remotion has a cache for",
|
|
1938
1866
|
" ",
|
|
1939
|
-
/* @__PURE__ */
|
|
1867
|
+
/* @__PURE__ */ jsx23("a", {
|
|
1940
1868
|
href: "https://remotion.dev/docs/offthreadvideo",
|
|
1941
|
-
children: /* @__PURE__ */
|
|
1869
|
+
children: /* @__PURE__ */ jsx23("code", {
|
|
1942
1870
|
children: "<OffthreadVideo>"
|
|
1943
1871
|
})
|
|
1944
1872
|
}),
|
|
1945
1873
|
" ",
|
|
1946
1874
|
"frames. The default is ",
|
|
1947
|
-
/* @__PURE__ */
|
|
1875
|
+
/* @__PURE__ */ jsx23("code", {
|
|
1948
1876
|
children: "null"
|
|
1949
1877
|
}),
|
|
1950
1878
|
", corresponding to half of the system memory available when the render starts.",
|
|
1951
|
-
/* @__PURE__ */
|
|
1879
|
+
/* @__PURE__ */ jsx23("br", {}),
|
|
1952
1880
|
" This option allows to override the size of the cache. The higher it is, the faster the render will be, but the more memory will be used.",
|
|
1953
|
-
/* @__PURE__ */
|
|
1881
|
+
/* @__PURE__ */ jsx23("br", {}),
|
|
1954
1882
|
"The used value will be printed when running in verbose mode.",
|
|
1955
|
-
/* @__PURE__ */
|
|
1883
|
+
/* @__PURE__ */ jsx23("br", {}),
|
|
1956
1884
|
"Default: ",
|
|
1957
|
-
/* @__PURE__ */
|
|
1885
|
+
/* @__PURE__ */ jsx23("code", {
|
|
1958
1886
|
children: "null"
|
|
1959
1887
|
})
|
|
1960
1888
|
]
|
|
@@ -1986,18 +1914,18 @@ var offthreadVideoCacheSizeInBytesOption = {
|
|
|
1986
1914
|
};
|
|
1987
1915
|
|
|
1988
1916
|
// src/options/offthreadvideo-threads.tsx
|
|
1989
|
-
|
|
1917
|
+
import { jsx as jsx24, jsxs as jsxs19, Fragment as Fragment24 } from "react/jsx-runtime";
|
|
1990
1918
|
var value = null;
|
|
1991
1919
|
var cliFlag28 = "offthreadvideo-video-threads";
|
|
1992
1920
|
var offthreadVideoThreadsOption = {
|
|
1993
1921
|
name: "OffthreadVideo threads",
|
|
1994
1922
|
cliFlag: cliFlag28,
|
|
1995
|
-
description: () => /* @__PURE__ */
|
|
1923
|
+
description: () => /* @__PURE__ */ jsxs19(Fragment24, {
|
|
1996
1924
|
children: [
|
|
1997
1925
|
"The number of threads that",
|
|
1998
|
-
/* @__PURE__ */
|
|
1926
|
+
/* @__PURE__ */ jsx24("a", {
|
|
1999
1927
|
href: "https://remotion.dev/docs/offthreadvideo",
|
|
2000
|
-
children: /* @__PURE__ */
|
|
1928
|
+
children: /* @__PURE__ */ jsx24("code", {
|
|
2001
1929
|
children: "<OffthreadVideo>"
|
|
2002
1930
|
})
|
|
2003
1931
|
}),
|
|
@@ -2036,16 +1964,16 @@ var offthreadVideoThreadsOption = {
|
|
|
2036
1964
|
var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
|
|
2037
1965
|
|
|
2038
1966
|
// src/options/on-browser-download.tsx
|
|
2039
|
-
|
|
1967
|
+
import { jsx as jsx25, jsxs as jsxs20, Fragment as Fragment25 } from "react/jsx-runtime";
|
|
2040
1968
|
var cliFlag29 = "on-browser-download";
|
|
2041
1969
|
var onBrowserDownloadOption = {
|
|
2042
1970
|
name: "Browser download callback function",
|
|
2043
1971
|
cliFlag: cliFlag29,
|
|
2044
|
-
description: () => /* @__PURE__ */
|
|
1972
|
+
description: () => /* @__PURE__ */ jsxs20(Fragment25, {
|
|
2045
1973
|
children: [
|
|
2046
1974
|
"Gets called when no compatible local browser is detected on the system and this API needs to download a browser. Return a callback to observe progress.",
|
|
2047
1975
|
" ",
|
|
2048
|
-
/* @__PURE__ */
|
|
1976
|
+
/* @__PURE__ */ jsx25("a", {
|
|
2049
1977
|
href: "/docs/renderer/ensure-browser#onbrowserdownload",
|
|
2050
1978
|
children: "See here for how to use this option."
|
|
2051
1979
|
})
|
|
@@ -2063,7 +1991,7 @@ var onBrowserDownloadOption = {
|
|
|
2063
1991
|
};
|
|
2064
1992
|
|
|
2065
1993
|
// src/options/overwrite.tsx
|
|
2066
|
-
|
|
1994
|
+
import { jsx as jsx26, jsxs as jsxs21, Fragment as Fragment26 } from "react/jsx-runtime";
|
|
2067
1995
|
var shouldOverwrite = null;
|
|
2068
1996
|
var cliFlag30 = "overwrite";
|
|
2069
1997
|
var validate2 = (value2) => {
|
|
@@ -2074,14 +2002,14 @@ var validate2 = (value2) => {
|
|
|
2074
2002
|
var overwriteOption = {
|
|
2075
2003
|
name: "Overwrite output",
|
|
2076
2004
|
cliFlag: cliFlag30,
|
|
2077
|
-
description: () => /* @__PURE__ */
|
|
2005
|
+
description: () => /* @__PURE__ */ jsxs21(Fragment26, {
|
|
2078
2006
|
children: [
|
|
2079
2007
|
"If set to ",
|
|
2080
|
-
/* @__PURE__ */
|
|
2008
|
+
/* @__PURE__ */ jsx26("code", {
|
|
2081
2009
|
children: "false"
|
|
2082
2010
|
}),
|
|
2083
2011
|
", will prevent rendering to a path that already exists. Default is ",
|
|
2084
|
-
/* @__PURE__ */
|
|
2012
|
+
/* @__PURE__ */ jsx26("code", {
|
|
2085
2013
|
children: "true"
|
|
2086
2014
|
}),
|
|
2087
2015
|
"."
|
|
@@ -2116,21 +2044,21 @@ var overwriteOption = {
|
|
|
2116
2044
|
};
|
|
2117
2045
|
|
|
2118
2046
|
// src/options/prefer-lossless.tsx
|
|
2119
|
-
|
|
2047
|
+
import { jsx as jsx27, jsxs as jsxs22, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
2120
2048
|
var cliFlag31 = "prefer-lossless";
|
|
2121
2049
|
var input = false;
|
|
2122
2050
|
var preferLosslessAudioOption = {
|
|
2123
2051
|
name: "Prefer lossless",
|
|
2124
2052
|
cliFlag: cliFlag31,
|
|
2125
|
-
description: () => /* @__PURE__ */
|
|
2053
|
+
description: () => /* @__PURE__ */ jsxs22(Fragment27, {
|
|
2126
2054
|
children: [
|
|
2127
2055
|
"Uses a lossless audio codec, if one is available for the codec. If you set",
|
|
2128
|
-
/* @__PURE__ */
|
|
2056
|
+
/* @__PURE__ */ jsx27("code", {
|
|
2129
2057
|
children: "audioCodec"
|
|
2130
2058
|
}),
|
|
2131
2059
|
", it takes priority over",
|
|
2132
2060
|
" ",
|
|
2133
|
-
/* @__PURE__ */
|
|
2061
|
+
/* @__PURE__ */ jsx27("code", {
|
|
2134
2062
|
children: "preferLossless"
|
|
2135
2063
|
}),
|
|
2136
2064
|
"."
|
|
@@ -2154,20 +2082,20 @@ var preferLosslessAudioOption = {
|
|
|
2154
2082
|
};
|
|
2155
2083
|
|
|
2156
2084
|
// src/options/public-dir.tsx
|
|
2157
|
-
|
|
2085
|
+
import { jsx as jsx28, jsxs as jsxs23, Fragment as Fragment28 } from "react/jsx-runtime";
|
|
2158
2086
|
var cliFlag32 = "public-dir";
|
|
2159
2087
|
var currentPublicDir = null;
|
|
2160
2088
|
var publicDirOption = {
|
|
2161
2089
|
name: "Public Directory",
|
|
2162
2090
|
cliFlag: cliFlag32,
|
|
2163
2091
|
description: () => {
|
|
2164
|
-
return /* @__PURE__ */
|
|
2092
|
+
return /* @__PURE__ */ jsxs23(Fragment28, {
|
|
2165
2093
|
children: [
|
|
2166
2094
|
"Define the location of the",
|
|
2167
2095
|
" ",
|
|
2168
|
-
/* @__PURE__ */
|
|
2096
|
+
/* @__PURE__ */ jsx28("a", {
|
|
2169
2097
|
href: "/docs/terminology/public-dir",
|
|
2170
|
-
children: /* @__PURE__ */
|
|
2098
|
+
children: /* @__PURE__ */ jsx28("code", {
|
|
2171
2099
|
children: "public/ directory"
|
|
2172
2100
|
})
|
|
2173
2101
|
}),
|
|
@@ -2202,25 +2130,25 @@ var publicDirOption = {
|
|
|
2202
2130
|
};
|
|
2203
2131
|
|
|
2204
2132
|
// src/options/public-path.tsx
|
|
2205
|
-
|
|
2133
|
+
import { jsx as jsx29, jsxs as jsxs24, Fragment as Fragment29 } from "react/jsx-runtime";
|
|
2206
2134
|
var cliFlag33 = "public-path";
|
|
2207
2135
|
var currentPublicPath = null;
|
|
2208
2136
|
var publicPathOption = {
|
|
2209
2137
|
name: "Public Path",
|
|
2210
2138
|
cliFlag: cliFlag33,
|
|
2211
2139
|
description: () => {
|
|
2212
|
-
return /* @__PURE__ */
|
|
2140
|
+
return /* @__PURE__ */ jsxs24(Fragment29, {
|
|
2213
2141
|
children: [
|
|
2214
2142
|
"The path of the URL where the bundle is going to be hosted. By default it is ",
|
|
2215
|
-
/* @__PURE__ */
|
|
2143
|
+
/* @__PURE__ */ jsx29("code", {
|
|
2216
2144
|
children: "/"
|
|
2217
2145
|
}),
|
|
2218
2146
|
", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
|
|
2219
|
-
/* @__PURE__ */
|
|
2147
|
+
/* @__PURE__ */ jsx29("code", {
|
|
2220
2148
|
children: "https://localhost:3000/"
|
|
2221
2149
|
}),
|
|
2222
2150
|
"). If you are deploying to a subdirectory (e.g. ",
|
|
2223
|
-
/* @__PURE__ */
|
|
2151
|
+
/* @__PURE__ */ jsx29("code", {
|
|
2224
2152
|
children: "/sites/my-site/"
|
|
2225
2153
|
}),
|
|
2226
2154
|
"), you should set this to the subdirectory."
|
|
@@ -2254,7 +2182,7 @@ var publicPathOption = {
|
|
|
2254
2182
|
};
|
|
2255
2183
|
|
|
2256
2184
|
// src/options/repro.tsx
|
|
2257
|
-
|
|
2185
|
+
import { jsx as jsx30, Fragment as Fragment30 } from "react/jsx-runtime";
|
|
2258
2186
|
var enableRepro = false;
|
|
2259
2187
|
var setRepro = (should) => {
|
|
2260
2188
|
enableRepro = should;
|
|
@@ -2263,7 +2191,7 @@ var cliFlag34 = "repro";
|
|
|
2263
2191
|
var reproOption = {
|
|
2264
2192
|
name: "Create reproduction",
|
|
2265
2193
|
cliFlag: cliFlag34,
|
|
2266
|
-
description: () => /* @__PURE__ */
|
|
2194
|
+
description: () => /* @__PURE__ */ jsx30(Fragment30, {
|
|
2267
2195
|
children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
|
|
2268
2196
|
}),
|
|
2269
2197
|
ssrName: "repro",
|
|
@@ -2291,7 +2219,7 @@ var reproOption = {
|
|
|
2291
2219
|
};
|
|
2292
2220
|
|
|
2293
2221
|
// src/options/scale.tsx
|
|
2294
|
-
|
|
2222
|
+
import { jsx as jsx31, jsxs as jsxs25, Fragment as Fragment31 } from "react/jsx-runtime";
|
|
2295
2223
|
var currentScale = 1;
|
|
2296
2224
|
var cliFlag35 = "scale";
|
|
2297
2225
|
var validateScale = (value2) => {
|
|
@@ -2302,10 +2230,10 @@ var validateScale = (value2) => {
|
|
|
2302
2230
|
var scaleOption = {
|
|
2303
2231
|
name: "Scale",
|
|
2304
2232
|
cliFlag: cliFlag35,
|
|
2305
|
-
description: () => /* @__PURE__ */
|
|
2233
|
+
description: () => /* @__PURE__ */ jsxs25(Fragment31, {
|
|
2306
2234
|
children: [
|
|
2307
2235
|
"Scales the output by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
|
|
2308
|
-
/* @__PURE__ */
|
|
2236
|
+
/* @__PURE__ */ jsx31("code", {
|
|
2309
2237
|
children: "1.5"
|
|
2310
2238
|
}),
|
|
2311
2239
|
". Vector elements like fonts and HTML markups will be rendered with extra details."
|
|
@@ -2366,7 +2294,7 @@ var throwIfSiteExistsOption = {
|
|
|
2366
2294
|
};
|
|
2367
2295
|
|
|
2368
2296
|
// src/options/timeout.tsx
|
|
2369
|
-
|
|
2297
|
+
import { jsx as jsx32, jsxs as jsxs26, Fragment as Fragment32 } from "react/jsx-runtime";
|
|
2370
2298
|
var currentTimeout = DEFAULT_TIMEOUT;
|
|
2371
2299
|
var validate3 = (value2) => {
|
|
2372
2300
|
if (typeof value2 !== "number") {
|
|
@@ -2377,24 +2305,24 @@ var cliFlag37 = "timeout";
|
|
|
2377
2305
|
var delayRenderTimeoutInMillisecondsOption = {
|
|
2378
2306
|
name: "delayRender() timeout",
|
|
2379
2307
|
cliFlag: cliFlag37,
|
|
2380
|
-
description: () => /* @__PURE__ */
|
|
2308
|
+
description: () => /* @__PURE__ */ jsxs26(Fragment32, {
|
|
2381
2309
|
children: [
|
|
2382
2310
|
"A number describing how long the render may take to resolve all",
|
|
2383
2311
|
" ",
|
|
2384
|
-
/* @__PURE__ */
|
|
2312
|
+
/* @__PURE__ */ jsx32("a", {
|
|
2385
2313
|
href: "https://remotion.dev/docs/delay-render",
|
|
2386
|
-
children: /* @__PURE__ */
|
|
2314
|
+
children: /* @__PURE__ */ jsx32("code", {
|
|
2387
2315
|
children: "delayRender()"
|
|
2388
2316
|
})
|
|
2389
2317
|
}),
|
|
2390
2318
|
" ",
|
|
2391
2319
|
"calls ",
|
|
2392
|
-
/* @__PURE__ */
|
|
2320
|
+
/* @__PURE__ */ jsx32("a", {
|
|
2393
2321
|
href: "https://remotion.dev/docs/timeout",
|
|
2394
2322
|
children: "before it times out"
|
|
2395
2323
|
}),
|
|
2396
2324
|
". Default: ",
|
|
2397
|
-
/* @__PURE__ */
|
|
2325
|
+
/* @__PURE__ */ jsx32("code", {
|
|
2398
2326
|
children: "30000"
|
|
2399
2327
|
})
|
|
2400
2328
|
]
|
|
@@ -2428,26 +2356,26 @@ var delayRenderTimeoutInMillisecondsOption = {
|
|
|
2428
2356
|
};
|
|
2429
2357
|
|
|
2430
2358
|
// src/options/video-bitrate.tsx
|
|
2431
|
-
|
|
2359
|
+
import { jsx as jsx33, jsxs as jsxs27, Fragment as Fragment33 } from "react/jsx-runtime";
|
|
2432
2360
|
var videoBitrate = null;
|
|
2433
2361
|
var cliFlag38 = "video-bitrate";
|
|
2434
2362
|
var videoBitrateOption = {
|
|
2435
2363
|
name: "Video Bitrate",
|
|
2436
2364
|
cliFlag: cliFlag38,
|
|
2437
|
-
description: () => /* @__PURE__ */
|
|
2365
|
+
description: () => /* @__PURE__ */ jsxs27(Fragment33, {
|
|
2438
2366
|
children: [
|
|
2439
2367
|
"Specify the target bitrate for the generated video. The syntax for FFmpeg",
|
|
2440
2368
|
"'",
|
|
2441
2369
|
"s",
|
|
2442
|
-
/* @__PURE__ */
|
|
2370
|
+
/* @__PURE__ */ jsx33("code", {
|
|
2443
2371
|
children: "-b:v"
|
|
2444
2372
|
}),
|
|
2445
2373
|
" parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
|
|
2446
|
-
/* @__PURE__ */
|
|
2374
|
+
/* @__PURE__ */ jsx33("code", {
|
|
2447
2375
|
children: "512K"
|
|
2448
2376
|
}),
|
|
2449
2377
|
" for 512 kbps, ",
|
|
2450
|
-
/* @__PURE__ */
|
|
2378
|
+
/* @__PURE__ */ jsx33("code", {
|
|
2451
2379
|
children: "1M"
|
|
2452
2380
|
}),
|
|
2453
2381
|
" for 1 Mbps."
|
|
@@ -2596,7 +2524,7 @@ var getExtensionOfFilename = (filename) => {
|
|
|
2596
2524
|
};
|
|
2597
2525
|
|
|
2598
2526
|
// src/options/video-codec.tsx
|
|
2599
|
-
|
|
2527
|
+
import { jsx as jsx34, Fragment as Fragment34 } from "react/jsx-runtime";
|
|
2600
2528
|
var codec;
|
|
2601
2529
|
var setCodec = (newCodec) => {
|
|
2602
2530
|
if (newCodec === undefined) {
|
|
@@ -2624,7 +2552,7 @@ var cliFlag39 = "codec";
|
|
|
2624
2552
|
var videoCodecOption = {
|
|
2625
2553
|
name: "Codec",
|
|
2626
2554
|
cliFlag: cliFlag39,
|
|
2627
|
-
description: () => /* @__PURE__ */
|
|
2555
|
+
description: () => /* @__PURE__ */ jsx34(Fragment34, {
|
|
2628
2556
|
children: "H264 works well in most cases, but sometimes it's worth going for a different codec. WebM achieves higher compression but is slower to render. WebM, GIF and ProRes support transparency."
|
|
2629
2557
|
}),
|
|
2630
2558
|
ssrName: "codec",
|
|
@@ -2684,12 +2612,12 @@ var videoCodecOption = {
|
|
|
2684
2612
|
};
|
|
2685
2613
|
|
|
2686
2614
|
// src/options/webhook-custom-data.tsx
|
|
2687
|
-
|
|
2615
|
+
import { jsxs as jsxs28, Fragment as Fragment35 } from "react/jsx-runtime";
|
|
2688
2616
|
var cliFlag40 = "webhook-custom-data";
|
|
2689
2617
|
var webhookCustomDataOption = {
|
|
2690
2618
|
name: "Webhook custom data",
|
|
2691
2619
|
cliFlag: cliFlag40,
|
|
2692
|
-
description: (type) => /* @__PURE__ */
|
|
2620
|
+
description: (type) => /* @__PURE__ */ jsxs28(Fragment35, {
|
|
2693
2621
|
children: [
|
|
2694
2622
|
"Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
|
|
2695
2623
|
" ",
|
|
@@ -2708,7 +2636,7 @@ var webhookCustomDataOption = {
|
|
|
2708
2636
|
};
|
|
2709
2637
|
|
|
2710
2638
|
// src/options/x264-preset.tsx
|
|
2711
|
-
|
|
2639
|
+
import { jsx as jsx35, jsxs as jsxs29, Fragment as Fragment36 } from "react/jsx-runtime";
|
|
2712
2640
|
var x264PresetOptions = [
|
|
2713
2641
|
"ultrafast",
|
|
2714
2642
|
"superfast",
|
|
@@ -2727,58 +2655,58 @@ var DEFAULT_PRESET = "medium";
|
|
|
2727
2655
|
var x264Option = {
|
|
2728
2656
|
name: "x264 Preset",
|
|
2729
2657
|
cliFlag: cliFlag41,
|
|
2730
|
-
description: () => /* @__PURE__ */
|
|
2658
|
+
description: () => /* @__PURE__ */ jsxs29(Fragment36, {
|
|
2731
2659
|
children: [
|
|
2732
2660
|
"Sets a x264 preset profile. Only applies to videos rendered with",
|
|
2733
2661
|
" ",
|
|
2734
|
-
/* @__PURE__ */
|
|
2662
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2735
2663
|
children: "h264"
|
|
2736
2664
|
}),
|
|
2737
2665
|
" codec.",
|
|
2738
|
-
/* @__PURE__ */
|
|
2666
|
+
/* @__PURE__ */ jsx35("br", {}),
|
|
2739
2667
|
"Possible values: ",
|
|
2740
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2741
2669
|
children: "superfast"
|
|
2742
2670
|
}),
|
|
2743
2671
|
", ",
|
|
2744
|
-
/* @__PURE__ */
|
|
2672
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2745
2673
|
children: "veryfast"
|
|
2746
2674
|
}),
|
|
2747
2675
|
",",
|
|
2748
2676
|
" ",
|
|
2749
|
-
/* @__PURE__ */
|
|
2677
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2750
2678
|
children: "faster"
|
|
2751
2679
|
}),
|
|
2752
2680
|
", ",
|
|
2753
|
-
/* @__PURE__ */
|
|
2681
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2754
2682
|
children: "fast"
|
|
2755
2683
|
}),
|
|
2756
2684
|
", ",
|
|
2757
|
-
/* @__PURE__ */
|
|
2685
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2758
2686
|
children: "medium"
|
|
2759
2687
|
}),
|
|
2760
2688
|
",",
|
|
2761
2689
|
" ",
|
|
2762
|
-
/* @__PURE__ */
|
|
2690
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2763
2691
|
children: "slow"
|
|
2764
2692
|
}),
|
|
2765
2693
|
", ",
|
|
2766
|
-
/* @__PURE__ */
|
|
2694
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2767
2695
|
children: "slower"
|
|
2768
2696
|
}),
|
|
2769
2697
|
", ",
|
|
2770
|
-
/* @__PURE__ */
|
|
2698
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2771
2699
|
children: "veryslow"
|
|
2772
2700
|
}),
|
|
2773
2701
|
",",
|
|
2774
2702
|
" ",
|
|
2775
|
-
/* @__PURE__ */
|
|
2703
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2776
2704
|
children: "placebo"
|
|
2777
2705
|
}),
|
|
2778
2706
|
".",
|
|
2779
|
-
/* @__PURE__ */
|
|
2707
|
+
/* @__PURE__ */ jsx35("br", {}),
|
|
2780
2708
|
"Default: ",
|
|
2781
|
-
/* @__PURE__ */
|
|
2709
|
+
/* @__PURE__ */ jsx35("code", {
|
|
2782
2710
|
children: DEFAULT_PRESET
|
|
2783
2711
|
})
|
|
2784
2712
|
]
|