@remotion/renderer 4.0.429 → 4.0.430

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.
@@ -640,35 +640,71 @@ var beepOnFinishOption = {
640
640
  id: cliFlag6
641
641
  };
642
642
 
643
- // src/options/binaries-directory.tsx
643
+ // src/options/benchmark-concurrencies.tsx
644
644
  import { jsx as jsx5, jsxs as jsxs3, Fragment as Fragment5 } from "react/jsx-runtime";
645
- var cliFlag7 = "binaries-directory";
645
+ var currentConcurrencies = null;
646
+ var cliFlag7 = "concurrencies";
647
+ var benchmarkConcurrenciesOption = {
648
+ name: "Benchmark concurrencies",
649
+ cliFlag: cliFlag7,
650
+ description: () => /* @__PURE__ */ jsxs3(Fragment5, {
651
+ children: [
652
+ "Specify which concurrency values should be used while benchmarking. Multiple values can be passed separated by comma. Learn more about",
653
+ " ",
654
+ /* @__PURE__ */ jsx5("a", {
655
+ href: "https://remotion.dev/docs/terminology/concurrency",
656
+ children: "concurrency"
657
+ }),
658
+ "."
659
+ ]
660
+ }),
661
+ ssrName: null,
662
+ docLink: "https://www.remotion.dev/docs/cli/benchmark#--concurrencies",
663
+ type: null,
664
+ getValue: ({ commandLine }) => {
665
+ if (commandLine[cliFlag7] !== undefined) {
666
+ return { value: commandLine[cliFlag7], source: "cli" };
667
+ }
668
+ if (currentConcurrencies !== null) {
669
+ return { value: currentConcurrencies, source: "config" };
670
+ }
671
+ return { value: null, source: "default" };
672
+ },
673
+ setConfig: (value) => {
674
+ currentConcurrencies = value;
675
+ },
676
+ id: cliFlag7
677
+ };
678
+
679
+ // src/options/binaries-directory.tsx
680
+ import { jsx as jsx6, jsxs as jsxs4, Fragment as Fragment6 } from "react/jsx-runtime";
681
+ var cliFlag8 = "binaries-directory";
646
682
  var currentDirectory = null;
647
683
  var binariesDirectoryOption = {
648
684
  name: "Binaries Directory",
649
- cliFlag: cliFlag7,
650
- description: () => /* @__PURE__ */ jsxs3(Fragment5, {
685
+ cliFlag: cliFlag8,
686
+ description: () => /* @__PURE__ */ jsxs4(Fragment6, {
651
687
  children: [
652
688
  "The directory where the platform-specific binaries and libraries that Remotion needs are located. Those include an ",
653
- /* @__PURE__ */ jsx5("code", {
689
+ /* @__PURE__ */ jsx6("code", {
654
690
  children: "ffmpeg"
655
691
  }),
656
692
  " and",
657
693
  " ",
658
- /* @__PURE__ */ jsx5("code", {
694
+ /* @__PURE__ */ jsx6("code", {
659
695
  children: "ffprobe"
660
696
  }),
661
697
  " binary, a Rust binary for various tasks, and various shared libraries. If the value is set to ",
662
- /* @__PURE__ */ jsx5("code", {
698
+ /* @__PURE__ */ jsx6("code", {
663
699
  children: "null"
664
700
  }),
665
701
  ", which is the default, then the path of a platform-specific package located at",
666
702
  " ",
667
- /* @__PURE__ */ jsx5("code", {
703
+ /* @__PURE__ */ jsx6("code", {
668
704
  children: "node_modules/@remotion/compositor-*"
669
705
  }),
670
706
  " is selected.",
671
- /* @__PURE__ */ jsx5("br", {}),
707
+ /* @__PURE__ */ jsx6("br", {}),
672
708
  "This option is useful in environments where Remotion is not officially supported to run like bundled serverless functions or Electron."
673
709
  ]
674
710
  }),
@@ -676,10 +712,10 @@ var binariesDirectoryOption = {
676
712
  docLink: "https://www.remotion.dev/docs/renderer",
677
713
  type: "",
678
714
  getValue: ({ commandLine }) => {
679
- if (commandLine[cliFlag7] !== undefined) {
715
+ if (commandLine[cliFlag8] !== undefined) {
680
716
  return {
681
717
  source: "cli",
682
- value: commandLine[cliFlag7]
718
+ value: commandLine[cliFlag8]
683
719
  };
684
720
  }
685
721
  if (currentDirectory !== null) {
@@ -696,20 +732,20 @@ var binariesDirectoryOption = {
696
732
  setConfig: (value) => {
697
733
  currentDirectory = value;
698
734
  },
699
- id: cliFlag7
735
+ id: cliFlag8
700
736
  };
701
737
 
702
738
  // src/options/browser.tsx
703
- import { jsx as jsx6, jsxs as jsxs4, Fragment as Fragment6 } from "react/jsx-runtime";
704
- var cliFlag8 = "browser";
739
+ import { jsx as jsx7, jsxs as jsxs5, Fragment as Fragment7 } from "react/jsx-runtime";
740
+ var cliFlag9 = "browser";
705
741
  var browserOption = {
706
742
  name: "Browser",
707
- cliFlag: cliFlag8,
708
- description: () => /* @__PURE__ */ jsxs4(Fragment6, {
743
+ cliFlag: cliFlag9,
744
+ description: () => /* @__PURE__ */ jsxs5(Fragment7, {
709
745
  children: [
710
746
  "Specify the browser which should be used for opening a tab. The default browser will be used by default. Pass an absolute path or",
711
747
  " ",
712
- /* @__PURE__ */ jsx6("code", {
748
+ /* @__PURE__ */ jsx7("code", {
713
749
  children: '"chrome"'
714
750
  }),
715
751
  " to use Chrome. If Chrome is selected as the browser and you are on macOS, Remotion will try to reuse an existing tab."
@@ -718,10 +754,10 @@ var browserOption = {
718
754
  ssrName: null,
719
755
  docLink: "https://www.remotion.dev/docs/cli/studio#--browser",
720
756
  getValue: ({ commandLine }) => {
721
- if (commandLine[cliFlag8] !== undefined) {
757
+ if (commandLine[cliFlag9] !== undefined) {
722
758
  return {
723
759
  source: "cli",
724
- value: commandLine[cliFlag8]
760
+ value: commandLine[cliFlag9]
725
761
  };
726
762
  }
727
763
  return {
@@ -733,27 +769,27 @@ var browserOption = {
733
769
  throw new Error("setBrowser is not supported. Pass --browser via the CLI instead.");
734
770
  },
735
771
  type: "",
736
- id: cliFlag8
772
+ id: cliFlag9
737
773
  };
738
774
 
739
775
  // src/options/browser-executable.tsx
740
- import { jsx as jsx7, Fragment as Fragment7 } from "react/jsx-runtime";
776
+ import { jsx as jsx8, Fragment as Fragment8 } from "react/jsx-runtime";
741
777
  var currentBrowserExecutablePath = null;
742
- var cliFlag9 = "browser-executable";
778
+ var cliFlag10 = "browser-executable";
743
779
  var browserExecutableOption = {
744
780
  name: "Browser executable",
745
- cliFlag: cliFlag9,
746
- description: () => /* @__PURE__ */ jsx7(Fragment7, {
781
+ cliFlag: cliFlag10,
782
+ description: () => /* @__PURE__ */ jsx8(Fragment8, {
747
783
  children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec."
748
784
  }),
749
785
  ssrName: "browserExecutable",
750
786
  docLink: "https://www.remotion.dev/docs/config#setbrowserexecutable",
751
787
  type: null,
752
788
  getValue: ({ commandLine }) => {
753
- if (commandLine[cliFlag9] !== undefined) {
789
+ if (commandLine[cliFlag10] !== undefined) {
754
790
  return {
755
791
  source: "cli",
756
- value: commandLine[cliFlag9]
792
+ value: commandLine[cliFlag10]
757
793
  };
758
794
  }
759
795
  if (currentBrowserExecutablePath !== null) {
@@ -770,21 +806,21 @@ var browserExecutableOption = {
770
806
  setConfig: (value) => {
771
807
  currentBrowserExecutablePath = value;
772
808
  },
773
- id: cliFlag9
809
+ id: cliFlag10
774
810
  };
775
811
 
776
812
  // src/options/bundle-cache.tsx
777
- import { jsx as jsx8, jsxs as jsxs5, Fragment as Fragment8 } from "react/jsx-runtime";
778
- var cliFlag10 = "bundle-cache";
813
+ import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment9 } from "react/jsx-runtime";
814
+ var cliFlag11 = "bundle-cache";
779
815
  var cachingEnabled = true;
780
816
  var bundleCacheOption = {
781
817
  name: "Webpack Bundle Caching",
782
- cliFlag: cliFlag10,
783
- description: () => /* @__PURE__ */ jsxs5(Fragment8, {
818
+ cliFlag: cliFlag11,
819
+ description: () => /* @__PURE__ */ jsxs6(Fragment9, {
784
820
  children: [
785
821
  "Enable or disable Webpack caching. This flag is enabled by default, use",
786
822
  " ",
787
- /* @__PURE__ */ jsx8("code", {
823
+ /* @__PURE__ */ jsx9("code", {
788
824
  children: "--bundle-cache=false"
789
825
  }),
790
826
  " to disable caching."
@@ -793,10 +829,10 @@ var bundleCacheOption = {
793
829
  ssrName: null,
794
830
  docLink: "https://www.remotion.dev/docs/config#setcachingenabled",
795
831
  getValue: ({ commandLine }) => {
796
- if (commandLine[cliFlag10] !== undefined && commandLine[cliFlag10] !== null) {
832
+ if (commandLine[cliFlag11] !== undefined && commandLine[cliFlag11] !== null) {
797
833
  return {
798
834
  source: "cli",
799
- value: Boolean(commandLine[cliFlag10])
835
+ value: Boolean(commandLine[cliFlag11])
800
836
  };
801
837
  }
802
838
  return {
@@ -806,48 +842,48 @@ var bundleCacheOption = {
806
842
  },
807
843
  setConfig: (value) => {
808
844
  if (typeof value !== "boolean") {
809
- throw new TypeError(`Value for "${cliFlag10}" must be a boolean, but got ${typeof value}.`);
845
+ throw new TypeError(`Value for "${cliFlag11}" must be a boolean, but got ${typeof value}.`);
810
846
  }
811
847
  cachingEnabled = value;
812
848
  },
813
849
  type: true,
814
- id: cliFlag10
850
+ id: cliFlag11
815
851
  };
816
852
 
817
853
  // src/options/chrome-mode.tsx
818
- import { jsx as jsx9, jsxs as jsxs6, Fragment as Fragment9 } from "react/jsx-runtime";
854
+ import { jsx as jsx10, jsxs as jsxs7, Fragment as Fragment10 } from "react/jsx-runtime";
819
855
  var validChromeModeOptions = [
820
856
  "headless-shell",
821
857
  "chrome-for-testing"
822
858
  ];
823
- var cliFlag11 = "chrome-mode";
859
+ var cliFlag12 = "chrome-mode";
824
860
  var configSelection = null;
825
861
  var chromeModeOption = {
826
- cliFlag: cliFlag11,
862
+ cliFlag: cliFlag12,
827
863
  name: "Chrome Mode",
828
864
  ssrName: "chromeMode",
829
865
  description: () => {
830
- return /* @__PURE__ */ jsxs6(Fragment9, {
866
+ return /* @__PURE__ */ jsxs7(Fragment10, {
831
867
  children: [
832
868
  "One of",
833
869
  " ",
834
- validChromeModeOptions.map((option, i) => /* @__PURE__ */ jsxs6("code", {
870
+ validChromeModeOptions.map((option, i) => /* @__PURE__ */ jsxs7("code", {
835
871
  children: [
836
872
  option,
837
873
  i === validChromeModeOptions.length - 1 ? "" : ", "
838
874
  ]
839
875
  }, option)),
840
876
  ". Default ",
841
- /* @__PURE__ */ jsx9("code", {
877
+ /* @__PURE__ */ jsx10("code", {
842
878
  children: "headless-shell"
843
879
  }),
844
880
  ".",
845
881
  " ",
846
- /* @__PURE__ */ jsxs6("a", {
882
+ /* @__PURE__ */ jsxs7("a", {
847
883
  href: "https://remotion.dev/docs/miscellaneous/chrome-headless-shell",
848
884
  children: [
849
885
  "Use ",
850
- /* @__PURE__ */ jsx9("code", {
886
+ /* @__PURE__ */ jsx10("code", {
851
887
  children: "chrome-for-testing"
852
888
  }),
853
889
  " to take advantage of GPU drivers on Linux."
@@ -858,12 +894,12 @@ var chromeModeOption = {
858
894
  },
859
895
  docLink: "https://www.remotion.dev/chrome-for-testing",
860
896
  getValue: ({ commandLine }) => {
861
- if (commandLine[cliFlag11]) {
862
- if (!validChromeModeOptions.includes(commandLine[cliFlag11])) {
863
- throw new Error(`Invalid \`--${cliFlag11}\` value passed. Accepted values: ${validChromeModeOptions.map((l) => `'${l}'`).join(", ")}.`);
897
+ if (commandLine[cliFlag12]) {
898
+ if (!validChromeModeOptions.includes(commandLine[cliFlag12])) {
899
+ throw new Error(`Invalid \`--${cliFlag12}\` value passed. Accepted values: ${validChromeModeOptions.map((l) => `'${l}'`).join(", ")}.`);
864
900
  }
865
901
  return {
866
- value: commandLine[cliFlag11],
902
+ value: commandLine[cliFlag12],
867
903
  source: "cli"
868
904
  };
869
905
  }
@@ -882,26 +918,26 @@ var chromeModeOption = {
882
918
  configSelection = newChromeMode;
883
919
  },
884
920
  type: "headless-shell",
885
- id: cliFlag11
921
+ id: cliFlag12
886
922
  };
887
923
 
888
924
  // src/options/color-space.tsx
889
925
  import { NoReactInternals } from "remotion/no-react";
890
- import { jsx as jsx10, jsxs as jsxs7, Fragment as Fragment10 } from "react/jsx-runtime";
926
+ import { jsx as jsx11, jsxs as jsxs8, Fragment as Fragment11 } from "react/jsx-runtime";
891
927
  var validV4ColorSpaces = ["default", "bt601", "bt709", "bt2020-ncl"];
892
928
  var validV5ColorSpaces = ["bt601", "bt709", "bt2020-ncl"];
893
929
  var validColorSpaces = NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? validV5ColorSpaces : validV4ColorSpaces;
894
930
  var DEFAULT_COLOR_SPACE = NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? "bt709" : "default";
895
931
  var colorSpace = DEFAULT_COLOR_SPACE;
896
- var cliFlag12 = "color-space";
932
+ var cliFlag13 = "color-space";
897
933
  var colorSpaceOption = {
898
934
  name: "Color space",
899
935
  cliFlag: "color-space",
900
- description: () => /* @__PURE__ */ jsxs7(Fragment10, {
936
+ description: () => /* @__PURE__ */ jsxs8(Fragment11, {
901
937
  children: [
902
938
  "Color space to use for the video. Acceptable values:",
903
939
  " ",
904
- /* @__PURE__ */ jsxs7("code", {
940
+ /* @__PURE__ */ jsxs8("code", {
905
941
  children: [
906
942
  '"',
907
943
  DEFAULT_COLOR_SPACE,
@@ -910,16 +946,16 @@ var colorSpaceOption = {
910
946
  }),
911
947
  "(default since 5.0),",
912
948
  " ",
913
- NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs7("code", {
949
+ NoReactInternals.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs8("code", {
914
950
  children: [
915
951
  '"',
916
952
  "bt601",
917
953
  '"',
918
954
  ", "
919
955
  ]
920
- }) : /* @__PURE__ */ jsxs7(Fragment10, {
956
+ }) : /* @__PURE__ */ jsxs8(Fragment11, {
921
957
  children: [
922
- /* @__PURE__ */ jsxs7("code", {
958
+ /* @__PURE__ */ jsxs8("code", {
923
959
  children: [
924
960
  '"',
925
961
  "bt601",
@@ -929,7 +965,7 @@ var colorSpaceOption = {
929
965
  " ",
930
966
  "(same as",
931
967
  " ",
932
- /* @__PURE__ */ jsxs7("code", {
968
+ /* @__PURE__ */ jsxs8("code", {
933
969
  children: [
934
970
  '"',
935
971
  "default",
@@ -938,7 +974,7 @@ var colorSpaceOption = {
938
974
  }),
939
975
  ", since v4.0.424),",
940
976
  " ",
941
- /* @__PURE__ */ jsxs7("code", {
977
+ /* @__PURE__ */ jsxs8("code", {
942
978
  children: [
943
979
  '"',
944
980
  "bt709",
@@ -950,7 +986,7 @@ var colorSpaceOption = {
950
986
  " "
951
987
  ]
952
988
  }),
953
- /* @__PURE__ */ jsxs7("code", {
989
+ /* @__PURE__ */ jsxs8("code", {
954
990
  children: [
955
991
  '"',
956
992
  "bt2020-ncl",
@@ -960,7 +996,7 @@ var colorSpaceOption = {
960
996
  " ",
961
997
  "(since v4.0.88),",
962
998
  " ",
963
- /* @__PURE__ */ jsxs7("code", {
999
+ /* @__PURE__ */ jsxs8("code", {
964
1000
  children: [
965
1001
  '"',
966
1002
  "bt2020-cl",
@@ -969,10 +1005,10 @@ var colorSpaceOption = {
969
1005
  }),
970
1006
  " ",
971
1007
  "(since v4.0.88), .",
972
- /* @__PURE__ */ jsx10("br", {}),
1008
+ /* @__PURE__ */ jsx11("br", {}),
973
1009
  "For best color accuracy, it is recommended to also use",
974
1010
  " ",
975
- /* @__PURE__ */ jsxs7("code", {
1011
+ /* @__PURE__ */ jsxs8("code", {
976
1012
  children: [
977
1013
  '"',
978
1014
  "png",
@@ -981,7 +1017,7 @@ var colorSpaceOption = {
981
1017
  }),
982
1018
  " ",
983
1019
  "as the image format to have accurate color transformations throughout.",
984
- /* @__PURE__ */ jsx10("br", {}),
1020
+ /* @__PURE__ */ jsx11("br", {}),
985
1021
  "Only since v4.0.83, colorspace conversion is actually performed, previously it would only tag the metadata of the video."
986
1022
  ]
987
1023
  }),
@@ -989,10 +1025,10 @@ var colorSpaceOption = {
989
1025
  ssrName: "colorSpace",
990
1026
  type: DEFAULT_COLOR_SPACE,
991
1027
  getValue: ({ commandLine }) => {
992
- if (commandLine[cliFlag12] !== undefined) {
1028
+ if (commandLine[cliFlag13] !== undefined) {
993
1029
  return {
994
1030
  source: "cli",
995
- value: commandLine[cliFlag12]
1031
+ value: commandLine[cliFlag13]
996
1032
  };
997
1033
  }
998
1034
  if (colorSpace !== DEFAULT_COLOR_SPACE) {
@@ -1009,13 +1045,13 @@ var colorSpaceOption = {
1009
1045
  setConfig: (value) => {
1010
1046
  colorSpace = value ?? DEFAULT_COLOR_SPACE;
1011
1047
  },
1012
- id: cliFlag12
1048
+ id: cliFlag13
1013
1049
  };
1014
1050
 
1015
1051
  // src/options/concurrency.tsx
1016
- import { jsx as jsx11, jsxs as jsxs8, Fragment as Fragment11 } from "react/jsx-runtime";
1052
+ import { jsx as jsx12, jsxs as jsxs9, Fragment as Fragment12 } from "react/jsx-runtime";
1017
1053
  var currentConcurrency = null;
1018
- var cliFlag13 = "concurrency";
1054
+ var cliFlag14 = "concurrency";
1019
1055
  var validateConcurrencyValue = (value, setting) => {
1020
1056
  if (typeof value === "undefined" || value === null) {
1021
1057
  return;
@@ -1033,15 +1069,15 @@ var validateConcurrencyValue = (value, setting) => {
1033
1069
  };
1034
1070
  var concurrencyOption = {
1035
1071
  name: "Concurrency",
1036
- cliFlag: cliFlag13,
1037
- description: () => /* @__PURE__ */ jsxs8(Fragment11, {
1072
+ cliFlag: cliFlag14,
1073
+ description: () => /* @__PURE__ */ jsxs9(Fragment12, {
1038
1074
  children: [
1039
1075
  "How many CPU threads to use. Minimum 1. The maximum is the amount of threads you have (In Node.JS ",
1040
- /* @__PURE__ */ jsx11("code", {
1076
+ /* @__PURE__ */ jsx12("code", {
1041
1077
  children: "os.cpus().length"
1042
1078
  }),
1043
1079
  "). You can also provide a percentage value (e.g. ",
1044
- /* @__PURE__ */ jsx11("code", {
1080
+ /* @__PURE__ */ jsx12("code", {
1045
1081
  children: "50%"
1046
1082
  }),
1047
1083
  ")."
@@ -1051,8 +1087,8 @@ var concurrencyOption = {
1051
1087
  docLink: "https://www.remotion.dev/docs/config#setconcurrency",
1052
1088
  type: null,
1053
1089
  getValue: ({ commandLine }) => {
1054
- if (commandLine[cliFlag13] !== undefined) {
1055
- const value = commandLine[cliFlag13];
1090
+ if (commandLine[cliFlag14] !== undefined) {
1091
+ const value = commandLine[cliFlag14];
1056
1092
  validateConcurrencyValue(value, "concurrency");
1057
1093
  return {
1058
1094
  source: "cli",
@@ -1074,25 +1110,25 @@ var concurrencyOption = {
1074
1110
  validateConcurrencyValue(value, "Config.setConcurrency");
1075
1111
  currentConcurrency = value;
1076
1112
  },
1077
- id: cliFlag13
1113
+ id: cliFlag14
1078
1114
  };
1079
1115
 
1080
1116
  // src/options/config.tsx
1081
- import { jsx as jsx12, Fragment as Fragment12 } from "react/jsx-runtime";
1082
- var cliFlag14 = "config";
1117
+ import { jsx as jsx13, Fragment as Fragment13 } from "react/jsx-runtime";
1118
+ var cliFlag15 = "config";
1083
1119
  var configOption = {
1084
1120
  name: "Config file",
1085
- cliFlag: cliFlag14,
1086
- description: () => /* @__PURE__ */ jsx12(Fragment12, {
1121
+ cliFlag: cliFlag15,
1122
+ description: () => /* @__PURE__ */ jsx13(Fragment13, {
1087
1123
  children: "Specify a location for the Remotion config file."
1088
1124
  }),
1089
1125
  ssrName: null,
1090
1126
  docLink: "https://www.remotion.dev/docs/config",
1091
1127
  getValue: ({ commandLine }) => {
1092
- if (commandLine[cliFlag14] !== undefined) {
1128
+ if (commandLine[cliFlag15] !== undefined) {
1093
1129
  return {
1094
1130
  source: "cli",
1095
- value: commandLine[cliFlag14]
1131
+ value: commandLine[cliFlag15]
1096
1132
  };
1097
1133
  }
1098
1134
  return {
@@ -1104,33 +1140,33 @@ var configOption = {
1104
1140
  throw new Error("setConfig is not supported. Pass --config via the CLI instead.");
1105
1141
  },
1106
1142
  type: "",
1107
- id: cliFlag14
1143
+ id: cliFlag15
1108
1144
  };
1109
1145
 
1110
1146
  // src/options/crf.tsx
1111
- import { jsx as jsx13, Fragment as Fragment13 } from "react/jsx-runtime";
1147
+ import { jsx as jsx14, Fragment as Fragment14 } from "react/jsx-runtime";
1112
1148
  var currentCrf;
1113
1149
  var validateCrf = (newCrf) => {
1114
1150
  if (typeof newCrf !== "number" && newCrf !== undefined) {
1115
1151
  throw new TypeError("The CRF must be a number or undefined.");
1116
1152
  }
1117
1153
  };
1118
- var cliFlag15 = "crf";
1154
+ var cliFlag16 = "crf";
1119
1155
  var crfOption = {
1120
1156
  name: "CRF",
1121
- cliFlag: cliFlag15,
1122
- description: () => /* @__PURE__ */ jsx13(Fragment13, {
1157
+ cliFlag: cliFlag16,
1158
+ description: () => /* @__PURE__ */ jsx14(Fragment14, {
1123
1159
  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."
1124
1160
  }),
1125
1161
  ssrName: "crf",
1126
1162
  docLink: "https://www.remotion.dev/docs/encoding/#controlling-quality-using-the-crf-setting",
1127
1163
  type: 0,
1128
1164
  getValue: ({ commandLine }) => {
1129
- if (commandLine[cliFlag15] !== undefined) {
1130
- validateCrf(commandLine[cliFlag15]);
1165
+ if (commandLine[cliFlag16] !== undefined) {
1166
+ validateCrf(commandLine[cliFlag16]);
1131
1167
  return {
1132
1168
  source: "cli",
1133
- value: commandLine[cliFlag15]
1169
+ value: commandLine[cliFlag16]
1134
1170
  };
1135
1171
  }
1136
1172
  if (currentCrf !== null) {
@@ -1148,21 +1184,21 @@ var crfOption = {
1148
1184
  validateCrf(crf);
1149
1185
  currentCrf = crf;
1150
1186
  },
1151
- id: cliFlag15
1187
+ id: cliFlag16
1152
1188
  };
1153
1189
 
1154
1190
  // src/options/cross-site-isolation.tsx
1155
- import { jsx as jsx14, jsxs as jsxs9, Fragment as Fragment14 } from "react/jsx-runtime";
1191
+ import { jsx as jsx15, jsxs as jsxs10, Fragment as Fragment15 } from "react/jsx-runtime";
1156
1192
  var enableCrossSiteIsolation = false;
1157
- var cliFlag16 = "cross-site-isolation";
1193
+ var cliFlag17 = "cross-site-isolation";
1158
1194
  var enableCrossSiteIsolationOption = {
1159
1195
  name: "Enable Cross-Site Isolation",
1160
- cliFlag: cliFlag16,
1161
- description: () => /* @__PURE__ */ jsxs9(Fragment14, {
1196
+ cliFlag: cliFlag17,
1197
+ description: () => /* @__PURE__ */ jsxs10(Fragment15, {
1162
1198
  children: [
1163
1199
  "Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for",
1164
1200
  " ",
1165
- /* @__PURE__ */ jsx14("code", {
1201
+ /* @__PURE__ */ jsx15("code", {
1166
1202
  children: "@remotion/whisper-web"
1167
1203
  }),
1168
1204
  ")."
@@ -1172,9 +1208,9 @@ var enableCrossSiteIsolationOption = {
1172
1208
  docLink: "https://www.remotion.dev/docs/config#setenablecrosssiteisolation",
1173
1209
  type: false,
1174
1210
  getValue: ({ commandLine }) => {
1175
- if (commandLine[cliFlag16] !== undefined) {
1211
+ if (commandLine[cliFlag17] !== undefined) {
1176
1212
  return {
1177
- value: commandLine[cliFlag16],
1213
+ value: commandLine[cliFlag17],
1178
1214
  source: "cli"
1179
1215
  };
1180
1216
  }
@@ -1186,22 +1222,22 @@ var enableCrossSiteIsolationOption = {
1186
1222
  setConfig(value) {
1187
1223
  enableCrossSiteIsolation = value;
1188
1224
  },
1189
- id: cliFlag16
1225
+ id: cliFlag17
1190
1226
  };
1191
1227
 
1192
1228
  // src/options/dark-mode.tsx
1193
- import { jsx as jsx15, jsxs as jsxs10, Fragment as Fragment15 } from "react/jsx-runtime";
1229
+ import { jsx as jsx16, jsxs as jsxs11, Fragment as Fragment16 } from "react/jsx-runtime";
1194
1230
  var DEFAULT_VALUE = false;
1195
1231
  var darkMode = DEFAULT_VALUE;
1196
- var cliFlag17 = "dark-mode";
1232
+ var cliFlag18 = "dark-mode";
1197
1233
  var darkModeOption = {
1198
1234
  name: "Dark Mode",
1199
- cliFlag: cliFlag17,
1200
- description: () => /* @__PURE__ */ jsxs10(Fragment15, {
1235
+ cliFlag: cliFlag18,
1236
+ description: () => /* @__PURE__ */ jsxs11(Fragment16, {
1201
1237
  children: [
1202
1238
  "Whether Chromium should pretend to be in dark mode by emulating the media feature 'prefers-color-scheme: dark'. Default is",
1203
1239
  " ",
1204
- /* @__PURE__ */ jsx15("code", {
1240
+ /* @__PURE__ */ jsx16("code", {
1205
1241
  children: String(DEFAULT_VALUE)
1206
1242
  }),
1207
1243
  "."
@@ -1211,10 +1247,10 @@ var darkModeOption = {
1211
1247
  docLink: "https://www.remotion.dev/docs/chromium-flags#--dark-mode",
1212
1248
  type: false,
1213
1249
  getValue: ({ commandLine }) => {
1214
- if (commandLine[cliFlag17] !== undefined) {
1250
+ if (commandLine[cliFlag18] !== undefined) {
1215
1251
  return {
1216
1252
  source: "cli",
1217
- value: commandLine[cliFlag17]
1253
+ value: commandLine[cliFlag18]
1218
1254
  };
1219
1255
  }
1220
1256
  if (darkMode !== DEFAULT_VALUE) {
@@ -1231,41 +1267,41 @@ var darkModeOption = {
1231
1267
  setConfig: (value) => {
1232
1268
  darkMode = value;
1233
1269
  },
1234
- id: cliFlag17
1270
+ id: cliFlag18
1235
1271
  };
1236
1272
 
1237
1273
  // src/options/delete-after.tsx
1238
- import { jsx as jsx16, jsxs as jsxs11, Fragment as Fragment16 } from "react/jsx-runtime";
1239
- var cliFlag18 = "delete-after";
1274
+ import { jsx as jsx17, jsxs as jsxs12, Fragment as Fragment17 } from "react/jsx-runtime";
1275
+ var cliFlag19 = "delete-after";
1240
1276
  var deleteAfter = null;
1241
1277
  var deleteAfterOption = {
1242
1278
  name: "Lambda render expiration",
1243
- cliFlag: cliFlag18,
1279
+ cliFlag: cliFlag19,
1244
1280
  description: () => {
1245
- return /* @__PURE__ */ jsxs11(Fragment16, {
1281
+ return /* @__PURE__ */ jsxs12(Fragment17, {
1246
1282
  children: [
1247
1283
  "Automatically delete the render after a certain period. Accepted values are ",
1248
- /* @__PURE__ */ jsx16("code", {
1284
+ /* @__PURE__ */ jsx17("code", {
1249
1285
  children: "1-day"
1250
1286
  }),
1251
1287
  ", ",
1252
- /* @__PURE__ */ jsx16("code", {
1288
+ /* @__PURE__ */ jsx17("code", {
1253
1289
  children: "3-days"
1254
1290
  }),
1255
1291
  ", ",
1256
- /* @__PURE__ */ jsx16("code", {
1292
+ /* @__PURE__ */ jsx17("code", {
1257
1293
  children: "7-days"
1258
1294
  }),
1259
1295
  " and",
1260
1296
  " ",
1261
- /* @__PURE__ */ jsx16("code", {
1297
+ /* @__PURE__ */ jsx17("code", {
1262
1298
  children: "30-days"
1263
1299
  }),
1264
1300
  ".",
1265
- /* @__PURE__ */ jsx16("br", {}),
1301
+ /* @__PURE__ */ jsx17("br", {}),
1266
1302
  " For this to work, your bucket needs to have",
1267
1303
  " ",
1268
- /* @__PURE__ */ jsx16("a", {
1304
+ /* @__PURE__ */ jsx17("a", {
1269
1305
  href: "/docs/lambda/autodelete",
1270
1306
  children: "lifecycles enabled"
1271
1307
  }),
@@ -1277,10 +1313,10 @@ var deleteAfterOption = {
1277
1313
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1278
1314
  type: "1-day",
1279
1315
  getValue: ({ commandLine }) => {
1280
- if (commandLine[cliFlag18] !== undefined) {
1316
+ if (commandLine[cliFlag19] !== undefined) {
1281
1317
  return {
1282
1318
  source: "cli",
1283
- value: commandLine[cliFlag18]
1319
+ value: commandLine[cliFlag19]
1284
1320
  };
1285
1321
  }
1286
1322
  if (deleteAfter !== null) {
@@ -1297,21 +1333,21 @@ var deleteAfterOption = {
1297
1333
  setConfig: (value) => {
1298
1334
  deleteAfter = value;
1299
1335
  },
1300
- id: cliFlag18
1336
+ id: cliFlag19
1301
1337
  };
1302
1338
 
1303
1339
  // src/options/disable-git-source.tsx
1304
1340
  var DEFAULT2 = false;
1305
- var cliFlag19 = "disable-git-source";
1341
+ var cliFlag20 = "disable-git-source";
1306
1342
  var disableGitSourceOption = {
1307
- cliFlag: cliFlag19,
1343
+ cliFlag: cliFlag20,
1308
1344
  description: () => `Disables the Git Source being connected to the Remotion Studio. Clicking on stack traces and certain menu items will be disabled.`,
1309
1345
  docLink: "https://remotion.dev/docs/bundle",
1310
1346
  getValue: ({ commandLine }) => {
1311
- if (commandLine[cliFlag19]) {
1347
+ if (commandLine[cliFlag20]) {
1312
1348
  return {
1313
1349
  source: "cli",
1314
- value: commandLine[cliFlag19]
1350
+ value: commandLine[cliFlag20]
1315
1351
  };
1316
1352
  }
1317
1353
  return {
@@ -1325,27 +1361,27 @@ var disableGitSourceOption = {
1325
1361
  },
1326
1362
  ssrName: "disableGitSource",
1327
1363
  type: false,
1328
- id: cliFlag19
1364
+ id: cliFlag20
1329
1365
  };
1330
1366
 
1331
1367
  // src/options/disable-web-security.tsx
1332
- import { jsx as jsx17, Fragment as Fragment17 } from "react/jsx-runtime";
1368
+ import { jsx as jsx18, Fragment as Fragment18 } from "react/jsx-runtime";
1333
1369
  var disableWebSecurity = false;
1334
- var cliFlag20 = "disable-web-security";
1370
+ var cliFlag21 = "disable-web-security";
1335
1371
  var disableWebSecurityOption = {
1336
1372
  name: "Disable web security",
1337
- cliFlag: cliFlag20,
1338
- description: () => /* @__PURE__ */ jsx17(Fragment17, {
1373
+ cliFlag: cliFlag21,
1374
+ description: () => /* @__PURE__ */ jsx18(Fragment18, {
1339
1375
  children: "This will most notably disable CORS in Chrome among other security features."
1340
1376
  }),
1341
1377
  ssrName: "disableWebSecurity",
1342
1378
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-web-security",
1343
1379
  type: false,
1344
1380
  getValue: ({ commandLine }) => {
1345
- if (commandLine[cliFlag20] !== undefined) {
1381
+ if (commandLine[cliFlag21] !== undefined) {
1346
1382
  return {
1347
1383
  source: "cli",
1348
- value: Boolean(commandLine[cliFlag20])
1384
+ value: Boolean(commandLine[cliFlag21])
1349
1385
  };
1350
1386
  }
1351
1387
  if (disableWebSecurity) {
@@ -1362,26 +1398,26 @@ var disableWebSecurityOption = {
1362
1398
  setConfig: (value) => {
1363
1399
  disableWebSecurity = value;
1364
1400
  },
1365
- id: cliFlag20
1401
+ id: cliFlag21
1366
1402
  };
1367
1403
 
1368
1404
  // src/options/disallow-parallel-encoding.tsx
1369
- import { jsx as jsx18, Fragment as Fragment18 } from "react/jsx-runtime";
1405
+ import { jsx as jsx19, Fragment as Fragment19 } from "react/jsx-runtime";
1370
1406
  var disallowParallelEncoding = false;
1371
- var cliFlag21 = "disallow-parallel-encoding";
1407
+ var cliFlag22 = "disallow-parallel-encoding";
1372
1408
  var disallowParallelEncodingOption = {
1373
1409
  name: "Disallow parallel encoding",
1374
- cliFlag: cliFlag21,
1375
- description: () => /* @__PURE__ */ jsx18(Fragment18, {
1410
+ cliFlag: cliFlag22,
1411
+ description: () => /* @__PURE__ */ jsx19(Fragment19, {
1376
1412
  children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower."
1377
1413
  }),
1378
1414
  ssrName: "disallowParallelEncoding",
1379
1415
  docLink: "https://www.remotion.dev/docs/config#setdisallowparallelencoding",
1380
1416
  type: false,
1381
1417
  getValue: ({ commandLine }) => {
1382
- if (commandLine[cliFlag21] !== undefined) {
1418
+ if (commandLine[cliFlag22] !== undefined) {
1383
1419
  return {
1384
- value: commandLine[cliFlag21],
1420
+ value: commandLine[cliFlag22],
1385
1421
  source: "cli"
1386
1422
  };
1387
1423
  }
@@ -1399,21 +1435,21 @@ var disallowParallelEncodingOption = {
1399
1435
  setConfig(value) {
1400
1436
  disallowParallelEncoding = value;
1401
1437
  },
1402
- id: cliFlag21
1438
+ id: cliFlag22
1403
1439
  };
1404
1440
 
1405
1441
  // src/options/enable-lambda-insights.tsx
1406
- import { jsx as jsx19, jsxs as jsxs12, Fragment as Fragment19 } from "react/jsx-runtime";
1407
- var cliFlag22 = "enable-lambda-insights";
1442
+ import { jsx as jsx20, jsxs as jsxs13, Fragment as Fragment20 } from "react/jsx-runtime";
1443
+ var cliFlag23 = "enable-lambda-insights";
1408
1444
  var option = false;
1409
1445
  var enableLambdaInsights = {
1410
1446
  name: "Enable Lambda Insights",
1411
- cliFlag: cliFlag22,
1412
- description: () => /* @__PURE__ */ jsxs12(Fragment19, {
1447
+ cliFlag: cliFlag23,
1448
+ description: () => /* @__PURE__ */ jsxs13(Fragment20, {
1413
1449
  children: [
1414
1450
  "Enable",
1415
1451
  " ",
1416
- /* @__PURE__ */ jsx19("a", {
1452
+ /* @__PURE__ */ jsx20("a", {
1417
1453
  href: "https://remotion.dev/docs/lambda/insights",
1418
1454
  children: "Lambda Insights in AWS CloudWatch"
1419
1455
  }),
@@ -1427,9 +1463,9 @@ var enableLambdaInsights = {
1427
1463
  option = value;
1428
1464
  },
1429
1465
  getValue: ({ commandLine }) => {
1430
- if (commandLine[cliFlag22] !== undefined) {
1466
+ if (commandLine[cliFlag23] !== undefined) {
1431
1467
  return {
1432
- value: commandLine[cliFlag22],
1468
+ value: commandLine[cliFlag23],
1433
1469
  source: "cli"
1434
1470
  };
1435
1471
  }
@@ -1444,41 +1480,41 @@ var enableLambdaInsights = {
1444
1480
  source: "default"
1445
1481
  };
1446
1482
  },
1447
- id: cliFlag22
1483
+ id: cliFlag23
1448
1484
  };
1449
1485
 
1450
1486
  // src/options/enable-multiprocess-on-linux.tsx
1451
- import { jsx as jsx20, jsxs as jsxs13, Fragment as Fragment20 } from "react/jsx-runtime";
1487
+ import { jsx as jsx21, jsxs as jsxs14, Fragment as Fragment21 } from "react/jsx-runtime";
1452
1488
  var DEFAULT_VALUE2 = true;
1453
1489
  var multiProcessOnLinux = DEFAULT_VALUE2;
1454
- var cliFlag23 = "enable-multiprocess-on-linux";
1490
+ var cliFlag24 = "enable-multiprocess-on-linux";
1455
1491
  var enableMultiprocessOnLinuxOption = {
1456
1492
  name: "Enable Multiprocess on Linux",
1457
- cliFlag: cliFlag23,
1458
- description: () => /* @__PURE__ */ jsxs13(Fragment20, {
1493
+ cliFlag: cliFlag24,
1494
+ description: () => /* @__PURE__ */ jsxs14(Fragment21, {
1459
1495
  children: [
1460
1496
  "Removes the ",
1461
- /* @__PURE__ */ jsx20("code", {
1497
+ /* @__PURE__ */ jsx21("code", {
1462
1498
  children: "--single-process"
1463
1499
  }),
1464
1500
  " 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.",
1465
- /* @__PURE__ */ jsx20("br", {}),
1501
+ /* @__PURE__ */ jsx21("br", {}),
1466
1502
  "Default: ",
1467
- /* @__PURE__ */ jsx20("code", {
1503
+ /* @__PURE__ */ jsx21("code", {
1468
1504
  children: "false"
1469
1505
  }),
1470
1506
  " until v4.0.136, then ",
1471
- /* @__PURE__ */ jsx20("code", {
1507
+ /* @__PURE__ */ jsx21("code", {
1472
1508
  children: "true"
1473
1509
  }),
1474
1510
  " from v4.0.137 on because newer Chrome versions ",
1475
1511
  "don't",
1476
1512
  " allow rendering with the ",
1477
- /* @__PURE__ */ jsx20("code", {
1513
+ /* @__PURE__ */ jsx21("code", {
1478
1514
  children: "--single-process"
1479
1515
  }),
1480
1516
  " flag. ",
1481
- /* @__PURE__ */ jsx20("br", {}),
1517
+ /* @__PURE__ */ jsx21("br", {}),
1482
1518
  "This flag will be removed in Remotion v5.0."
1483
1519
  ]
1484
1520
  }),
@@ -1486,10 +1522,10 @@ var enableMultiprocessOnLinuxOption = {
1486
1522
  docLink: "https://www.remotion.dev/docs/chromium-flags",
1487
1523
  type: false,
1488
1524
  getValue: ({ commandLine }) => {
1489
- if (commandLine[cliFlag23] !== undefined) {
1525
+ if (commandLine[cliFlag24] !== undefined) {
1490
1526
  return {
1491
1527
  source: "cli",
1492
- value: commandLine[cliFlag23]
1528
+ value: commandLine[cliFlag24]
1493
1529
  };
1494
1530
  }
1495
1531
  if (multiProcessOnLinux !== false) {
@@ -1506,23 +1542,23 @@ var enableMultiprocessOnLinuxOption = {
1506
1542
  setConfig: (value) => {
1507
1543
  multiProcessOnLinux = value;
1508
1544
  },
1509
- id: cliFlag23
1545
+ id: cliFlag24
1510
1546
  };
1511
1547
 
1512
1548
  // src/options/encoding-buffer-size.tsx
1513
- import { jsx as jsx21, jsxs as jsxs14, Fragment as Fragment21 } from "react/jsx-runtime";
1549
+ import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment22 } from "react/jsx-runtime";
1514
1550
  var encodingBufferSize = null;
1515
1551
  var setEncodingBufferSize = (bitrate) => {
1516
1552
  encodingBufferSize = bitrate;
1517
1553
  };
1518
- var cliFlag24 = "buffer-size";
1554
+ var cliFlag25 = "buffer-size";
1519
1555
  var encodingBufferSizeOption = {
1520
1556
  name: "FFmpeg -bufsize flag",
1521
- cliFlag: cliFlag24,
1522
- description: () => /* @__PURE__ */ jsxs14(Fragment21, {
1557
+ cliFlag: cliFlag25,
1558
+ description: () => /* @__PURE__ */ jsxs15(Fragment22, {
1523
1559
  children: [
1524
1560
  "The value for the ",
1525
- /* @__PURE__ */ jsx21("code", {
1561
+ /* @__PURE__ */ jsx22("code", {
1526
1562
  children: "-bufsize"
1527
1563
  }),
1528
1564
  " flag of FFmpeg. Should be used in conjunction with the encoding max rate flag."
@@ -1532,9 +1568,9 @@ var encodingBufferSizeOption = {
1532
1568
  docLink: "https://www.remotion.dev/docs/renderer/render-media#encodingbuffersize",
1533
1569
  type: "",
1534
1570
  getValue: ({ commandLine }) => {
1535
- if (commandLine[cliFlag24] !== undefined) {
1571
+ if (commandLine[cliFlag25] !== undefined) {
1536
1572
  return {
1537
- value: commandLine[cliFlag24],
1573
+ value: commandLine[cliFlag25],
1538
1574
  source: "cli"
1539
1575
  };
1540
1576
  }
@@ -1550,20 +1586,20 @@ var encodingBufferSizeOption = {
1550
1586
  };
1551
1587
  },
1552
1588
  setConfig: setEncodingBufferSize,
1553
- id: cliFlag24
1589
+ id: cliFlag25
1554
1590
  };
1555
1591
 
1556
1592
  // src/options/encoding-max-rate.tsx
1557
- import { jsx as jsx22, jsxs as jsxs15, Fragment as Fragment22 } from "react/jsx-runtime";
1593
+ import { jsx as jsx23, jsxs as jsxs16, Fragment as Fragment23 } from "react/jsx-runtime";
1558
1594
  var encodingMaxRate = null;
1559
- var cliFlag25 = "max-rate";
1595
+ var cliFlag26 = "max-rate";
1560
1596
  var encodingMaxRateOption = {
1561
1597
  name: "FFmpeg -maxrate flag",
1562
- cliFlag: cliFlag25,
1563
- description: () => /* @__PURE__ */ jsxs15(Fragment22, {
1598
+ cliFlag: cliFlag26,
1599
+ description: () => /* @__PURE__ */ jsxs16(Fragment23, {
1564
1600
  children: [
1565
1601
  "The value for the ",
1566
- /* @__PURE__ */ jsx22("code", {
1602
+ /* @__PURE__ */ jsx23("code", {
1567
1603
  children: "-maxrate"
1568
1604
  }),
1569
1605
  " flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag."
@@ -1573,9 +1609,9 @@ var encodingMaxRateOption = {
1573
1609
  docLink: "https://www.remotion.dev/docs/renderer/render-media#encodingmaxrate",
1574
1610
  type: "",
1575
1611
  getValue: ({ commandLine }) => {
1576
- if (commandLine[cliFlag25] !== undefined) {
1612
+ if (commandLine[cliFlag26] !== undefined) {
1577
1613
  return {
1578
- value: commandLine[cliFlag25],
1614
+ value: commandLine[cliFlag26],
1579
1615
  source: "cli"
1580
1616
  };
1581
1617
  }
@@ -1593,25 +1629,25 @@ var encodingMaxRateOption = {
1593
1629
  setConfig: (newMaxRate) => {
1594
1630
  encodingMaxRate = newMaxRate;
1595
1631
  },
1596
- id: cliFlag25
1632
+ id: cliFlag26
1597
1633
  };
1598
1634
 
1599
1635
  // src/options/enforce-audio.tsx
1600
- import { jsx as jsx23, Fragment as Fragment23 } from "react/jsx-runtime";
1636
+ import { jsx as jsx24, Fragment as Fragment24 } from "react/jsx-runtime";
1601
1637
  var DEFAULT_ENFORCE_AUDIO_TRACK = false;
1602
1638
  var enforceAudioTrackState = DEFAULT_ENFORCE_AUDIO_TRACK;
1603
- var cliFlag26 = "enforce-audio-track";
1639
+ var cliFlag27 = "enforce-audio-track";
1604
1640
  var enforceAudioOption = {
1605
1641
  name: "Enforce Audio Track",
1606
- cliFlag: cliFlag26,
1607
- description: () => /* @__PURE__ */ jsx23(Fragment23, {
1642
+ cliFlag: cliFlag27,
1643
+ description: () => /* @__PURE__ */ jsx24(Fragment24, {
1608
1644
  children: "Render a silent audio track if there would be none otherwise."
1609
1645
  }),
1610
1646
  ssrName: "enforceAudioTrack",
1611
1647
  docLink: "https://www.remotion.dev/docs/config#setenforceaudiotrack-",
1612
1648
  type: false,
1613
1649
  getValue: ({ commandLine }) => {
1614
- if (commandLine[cliFlag26]) {
1650
+ if (commandLine[cliFlag27]) {
1615
1651
  return {
1616
1652
  source: "cli",
1617
1653
  value: true
@@ -1631,20 +1667,20 @@ var enforceAudioOption = {
1631
1667
  setConfig: (value) => {
1632
1668
  enforceAudioTrackState = value;
1633
1669
  },
1634
- id: cliFlag26
1670
+ id: cliFlag27
1635
1671
  };
1636
1672
 
1637
1673
  // src/options/env-file.tsx
1638
- import { jsx as jsx24, jsxs as jsxs16, Fragment as Fragment24 } from "react/jsx-runtime";
1639
- var cliFlag27 = "env-file";
1674
+ import { jsx as jsx25, jsxs as jsxs17, Fragment as Fragment25 } from "react/jsx-runtime";
1675
+ var cliFlag28 = "env-file";
1640
1676
  var envFileLocation = null;
1641
1677
  var envFileOption = {
1642
1678
  name: "Env File",
1643
- cliFlag: cliFlag27,
1644
- description: () => /* @__PURE__ */ jsxs16(Fragment24, {
1679
+ cliFlag: cliFlag28,
1680
+ description: () => /* @__PURE__ */ jsxs17(Fragment25, {
1645
1681
  children: [
1646
1682
  "Specify a location for a dotenv file. Default ",
1647
- /* @__PURE__ */ jsx24("code", {
1683
+ /* @__PURE__ */ jsx25("code", {
1648
1684
  children: ".env"
1649
1685
  }),
1650
1686
  "."
@@ -1653,10 +1689,10 @@ var envFileOption = {
1653
1689
  ssrName: null,
1654
1690
  docLink: "https://www.remotion.dev/docs/cli/render#--env-file",
1655
1691
  getValue: ({ commandLine }) => {
1656
- if (commandLine[cliFlag27] !== undefined) {
1692
+ if (commandLine[cliFlag28] !== undefined) {
1657
1693
  return {
1658
1694
  source: "cli",
1659
- value: commandLine[cliFlag27]
1695
+ value: commandLine[cliFlag28]
1660
1696
  };
1661
1697
  }
1662
1698
  if (envFileLocation !== null) {
@@ -1674,30 +1710,30 @@ var envFileOption = {
1674
1710
  envFileLocation = value;
1675
1711
  },
1676
1712
  type: "",
1677
- id: cliFlag27
1713
+ id: cliFlag28
1678
1714
  };
1679
1715
 
1680
1716
  // src/options/every-nth-frame.tsx
1681
- import { jsx as jsx25, jsxs as jsxs17, Fragment as Fragment25 } from "react/jsx-runtime";
1717
+ import { jsx as jsx26, jsxs as jsxs18, Fragment as Fragment26 } from "react/jsx-runtime";
1682
1718
  var DEFAULT_EVERY_NTH_FRAME = 1;
1683
1719
  var everyNthFrame = DEFAULT_EVERY_NTH_FRAME;
1684
- var cliFlag28 = "every-nth-frame";
1720
+ var cliFlag29 = "every-nth-frame";
1685
1721
  var everyNthFrameOption = {
1686
1722
  name: "Every nth frame",
1687
- cliFlag: cliFlag28,
1688
- description: () => /* @__PURE__ */ jsxs17(Fragment25, {
1723
+ cliFlag: cliFlag29,
1724
+ description: () => /* @__PURE__ */ jsxs18(Fragment26, {
1689
1725
  children: [
1690
1726
  "This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the ",
1691
- /* @__PURE__ */ jsx25("code", {
1727
+ /* @__PURE__ */ jsx26("code", {
1692
1728
  children: "fps"
1693
1729
  }),
1694
1730
  " is 30, and",
1695
1731
  " ",
1696
- /* @__PURE__ */ jsx25("code", {
1732
+ /* @__PURE__ */ jsx26("code", {
1697
1733
  children: "everyNthFrame"
1698
1734
  }),
1699
1735
  " is 2, the FPS of the GIF is ",
1700
- /* @__PURE__ */ jsx25("code", {
1736
+ /* @__PURE__ */ jsx26("code", {
1701
1737
  children: "15"
1702
1738
  }),
1703
1739
  "."
@@ -1707,10 +1743,10 @@ var everyNthFrameOption = {
1707
1743
  docLink: "https://www.remotion.dev/docs/config#seteverynthframe",
1708
1744
  type: DEFAULT_EVERY_NTH_FRAME,
1709
1745
  getValue: ({ commandLine }) => {
1710
- if (commandLine[cliFlag28] !== undefined) {
1746
+ if (commandLine[cliFlag29] !== undefined) {
1711
1747
  return {
1712
1748
  source: "cli",
1713
- value: commandLine[cliFlag28]
1749
+ value: commandLine[cliFlag29]
1714
1750
  };
1715
1751
  }
1716
1752
  if (everyNthFrame !== DEFAULT_EVERY_NTH_FRAME) {
@@ -1727,26 +1763,26 @@ var everyNthFrameOption = {
1727
1763
  setConfig: (value) => {
1728
1764
  everyNthFrame = value;
1729
1765
  },
1730
- id: cliFlag28
1766
+ id: cliFlag29
1731
1767
  };
1732
1768
 
1733
1769
  // src/options/experimental-client-side-rendering.tsx
1734
- import { jsx as jsx26, Fragment as Fragment26 } from "react/jsx-runtime";
1770
+ import { jsx as jsx27, Fragment as Fragment27 } from "react/jsx-runtime";
1735
1771
  var experimentalClientSideRenderingEnabled = false;
1736
- var cliFlag29 = "enable-experimental-client-side-rendering";
1772
+ var cliFlag30 = "enable-experimental-client-side-rendering";
1737
1773
  var experimentalClientSideRenderingOption = {
1738
1774
  name: "Enable Experimental Client-Side Rendering",
1739
- cliFlag: cliFlag29,
1740
- description: () => /* @__PURE__ */ jsx26(Fragment26, {
1775
+ cliFlag: cliFlag30,
1776
+ description: () => /* @__PURE__ */ jsx27(Fragment27, {
1741
1777
  children: "Enable WIP client-side rendering in the Remotion Studio. See https://www.remotion.dev/docs/client-side-rendering/ for notes."
1742
1778
  }),
1743
1779
  ssrName: null,
1744
1780
  docLink: "https://www.remotion.dev/docs/client-side-rendering",
1745
1781
  type: false,
1746
1782
  getValue: ({ commandLine }) => {
1747
- if (commandLine[cliFlag29] !== null) {
1783
+ if (commandLine[cliFlag30] !== null) {
1748
1784
  return {
1749
- value: commandLine[cliFlag29],
1785
+ value: commandLine[cliFlag30],
1750
1786
  source: "cli"
1751
1787
  };
1752
1788
  }
@@ -1758,26 +1794,26 @@ var experimentalClientSideRenderingOption = {
1758
1794
  setConfig(value) {
1759
1795
  experimentalClientSideRenderingEnabled = value;
1760
1796
  },
1761
- id: cliFlag29
1797
+ id: cliFlag30
1762
1798
  };
1763
1799
 
1764
1800
  // src/options/experimental-visual-mode.tsx
1765
- import { jsx as jsx27, Fragment as Fragment27 } from "react/jsx-runtime";
1801
+ import { jsx as jsx28, Fragment as Fragment28 } from "react/jsx-runtime";
1766
1802
  var experimentalVisualModeEnabled = false;
1767
- var cliFlag30 = "experimental-visual-mode";
1803
+ var cliFlag31 = "experimental-visual-mode";
1768
1804
  var experimentalVisualModeOption = {
1769
1805
  name: "Experimental Visual Mode",
1770
- cliFlag: cliFlag30,
1771
- description: () => /* @__PURE__ */ jsx27(Fragment27, {
1806
+ cliFlag: cliFlag31,
1807
+ description: () => /* @__PURE__ */ jsx28(Fragment28, {
1772
1808
  children: "Nothing here yet, but this is our playground for experiments."
1773
1809
  }),
1774
1810
  ssrName: null,
1775
1811
  docLink: "https://www.remotion.dev/docs/config#setexperimentalvisualmode",
1776
1812
  type: false,
1777
1813
  getValue: ({ commandLine }) => {
1778
- if (commandLine[cliFlag30] !== null) {
1814
+ if (commandLine[cliFlag31] !== null) {
1779
1815
  return {
1780
- value: commandLine[cliFlag30],
1816
+ value: commandLine[cliFlag31],
1781
1817
  source: "cli"
1782
1818
  };
1783
1819
  }
@@ -1789,26 +1825,26 @@ var experimentalVisualModeOption = {
1789
1825
  setConfig(value) {
1790
1826
  experimentalVisualModeEnabled = value;
1791
1827
  },
1792
- id: cliFlag30
1828
+ id: cliFlag31
1793
1829
  };
1794
1830
 
1795
1831
  // src/options/folder-expiry.tsx
1796
- import { jsx as jsx28, jsxs as jsxs18, Fragment as Fragment28 } from "react/jsx-runtime";
1832
+ import { jsx as jsx29, jsxs as jsxs19, Fragment as Fragment29 } from "react/jsx-runtime";
1797
1833
  var enableFolderExpiry = null;
1798
- var cliFlag31 = "enable-folder-expiry";
1834
+ var cliFlag32 = "enable-folder-expiry";
1799
1835
  var folderExpiryOption = {
1800
1836
  name: "Lambda render expiration",
1801
- cliFlag: cliFlag31,
1837
+ cliFlag: cliFlag32,
1802
1838
  description: () => {
1803
- return /* @__PURE__ */ jsxs18(Fragment28, {
1839
+ return /* @__PURE__ */ jsxs19(Fragment29, {
1804
1840
  children: [
1805
1841
  "When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
1806
1842
  " ",
1807
- /* @__PURE__ */ jsx28("code", {
1843
+ /* @__PURE__ */ jsx29("code", {
1808
1844
  children: "null"
1809
1845
  }),
1810
1846
  ", which does not change any lifecycle policies of the S3 bucket. See: ",
1811
- /* @__PURE__ */ jsx28("a", {
1847
+ /* @__PURE__ */ jsx29("a", {
1812
1848
  href: "/docs/lambda/autodelete",
1813
1849
  children: "Lambda autodelete"
1814
1850
  }),
@@ -1820,10 +1856,10 @@ var folderExpiryOption = {
1820
1856
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1821
1857
  type: false,
1822
1858
  getValue: ({ commandLine }) => {
1823
- if (commandLine[cliFlag31] !== undefined) {
1859
+ if (commandLine[cliFlag32] !== undefined) {
1824
1860
  return {
1825
1861
  source: "cli",
1826
- value: commandLine[cliFlag31]
1862
+ value: commandLine[cliFlag32]
1827
1863
  };
1828
1864
  }
1829
1865
  if (enableFolderExpiry !== null) {
@@ -1840,28 +1876,28 @@ var folderExpiryOption = {
1840
1876
  setConfig: (value) => {
1841
1877
  enableFolderExpiry = value;
1842
1878
  },
1843
- id: cliFlag31
1879
+ id: cliFlag32
1844
1880
  };
1845
1881
 
1846
1882
  // src/options/for-seamless-aac-concatenation.tsx
1847
- import { jsx as jsx29, jsxs as jsxs19, Fragment as Fragment29 } from "react/jsx-runtime";
1883
+ import { jsx as jsx30, jsxs as jsxs20, Fragment as Fragment30 } from "react/jsx-runtime";
1848
1884
  var DEFAULT3 = false;
1849
1885
  var forSeamlessAacConcatenation = DEFAULT3;
1850
- var cliFlag32 = "for-seamless-aac-concatenation";
1886
+ var cliFlag33 = "for-seamless-aac-concatenation";
1851
1887
  var forSeamlessAacConcatenationOption = {
1852
1888
  name: "For seamless AAC concatenation",
1853
- cliFlag: cliFlag32,
1854
- description: () => /* @__PURE__ */ jsxs19(Fragment29, {
1889
+ cliFlag: cliFlag33,
1890
+ description: () => /* @__PURE__ */ jsxs20(Fragment30, {
1855
1891
  children: [
1856
1892
  "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.",
1857
- /* @__PURE__ */ jsx29("br", {}),
1858
- /* @__PURE__ */ jsx29("br", {}),
1893
+ /* @__PURE__ */ jsx30("br", {}),
1894
+ /* @__PURE__ */ jsx30("br", {}),
1859
1895
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
1860
1896
  ]
1861
1897
  }),
1862
1898
  docLink: "https://remotion.dev/docs/renderer",
1863
1899
  getValue: ({ commandLine }) => {
1864
- if (commandLine[cliFlag32]) {
1900
+ if (commandLine[cliFlag33]) {
1865
1901
  return {
1866
1902
  source: "cli",
1867
1903
  value: true
@@ -1883,26 +1919,26 @@ var forSeamlessAacConcatenationOption = {
1883
1919
  },
1884
1920
  ssrName: "forSeamlessAacConcatenation",
1885
1921
  type: false,
1886
- id: cliFlag32
1922
+ id: cliFlag33
1887
1923
  };
1888
1924
 
1889
1925
  // src/options/force-new-studio.tsx
1890
- import { jsx as jsx30, Fragment as Fragment30 } from "react/jsx-runtime";
1926
+ import { jsx as jsx31, Fragment as Fragment31 } from "react/jsx-runtime";
1891
1927
  var forceNewEnabled = false;
1892
- var cliFlag33 = "force-new";
1928
+ var cliFlag34 = "force-new";
1893
1929
  var forceNewStudioOption = {
1894
1930
  name: "Force New Studio",
1895
- cliFlag: cliFlag33,
1896
- description: () => /* @__PURE__ */ jsx30(Fragment30, {
1931
+ cliFlag: cliFlag34,
1932
+ description: () => /* @__PURE__ */ jsx31(Fragment31, {
1897
1933
  children: "Forces starting a new Studio instance even if one is already running on the same port for the same project."
1898
1934
  }),
1899
1935
  ssrName: null,
1900
1936
  docLink: "https://www.remotion.dev/docs/config#setforcenewstudioenabled",
1901
1937
  type: false,
1902
1938
  getValue: ({ commandLine }) => {
1903
- if (commandLine[cliFlag33] !== undefined) {
1939
+ if (commandLine[cliFlag34] !== undefined) {
1904
1940
  return {
1905
- value: commandLine[cliFlag33],
1941
+ value: commandLine[cliFlag34],
1906
1942
  source: "cli"
1907
1943
  };
1908
1944
  }
@@ -1914,7 +1950,7 @@ var forceNewStudioOption = {
1914
1950
  setConfig(value) {
1915
1951
  forceNewEnabled = value;
1916
1952
  },
1917
- id: cliFlag33
1953
+ id: cliFlag34
1918
1954
  };
1919
1955
 
1920
1956
  // src/frame-range.ts
@@ -1975,8 +2011,8 @@ var validateFrameRange = (frameRange) => {
1975
2011
  };
1976
2012
 
1977
2013
  // src/options/frames.tsx
1978
- import { jsx as jsx31, jsxs as jsxs20, Fragment as Fragment31 } from "react/jsx-runtime";
1979
- var cliFlag34 = "frames";
2014
+ import { jsx as jsx32, jsxs as jsxs21, Fragment as Fragment32 } from "react/jsx-runtime";
2015
+ var cliFlag35 = "frames";
1980
2016
  var frameRange = null;
1981
2017
  var parseFrameRangeFromCli = (newFrameRange) => {
1982
2018
  if (typeof newFrameRange === "number") {
@@ -2024,16 +2060,16 @@ var parseFrameRangeFromCli = (newFrameRange) => {
2024
2060
  };
2025
2061
  var framesOption = {
2026
2062
  name: "Frame Range",
2027
- cliFlag: cliFlag34,
2028
- description: () => /* @__PURE__ */ jsxs20(Fragment31, {
2063
+ cliFlag: cliFlag35,
2064
+ description: () => /* @__PURE__ */ jsxs21(Fragment32, {
2029
2065
  children: [
2030
2066
  "Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
2031
- /* @__PURE__ */ jsx31("code", {
2067
+ /* @__PURE__ */ jsx32("code", {
2032
2068
  children: "0-9"
2033
2069
  }),
2034
2070
  ") to render a subset of frames. Pass",
2035
2071
  " ",
2036
- /* @__PURE__ */ jsx31("code", {
2072
+ /* @__PURE__ */ jsx32("code", {
2037
2073
  children: "100-"
2038
2074
  }),
2039
2075
  " to render from frame 100 to the end."
@@ -2043,8 +2079,8 @@ var framesOption = {
2043
2079
  docLink: "https://www.remotion.dev/docs/config#setframerange",
2044
2080
  type: null,
2045
2081
  getValue: ({ commandLine }) => {
2046
- if (commandLine[cliFlag34] !== undefined) {
2047
- const value = parseFrameRangeFromCli(commandLine[cliFlag34]);
2082
+ if (commandLine[cliFlag35] !== undefined) {
2083
+ const value = parseFrameRangeFromCli(commandLine[cliFlag35]);
2048
2084
  validateFrameRange(value);
2049
2085
  return {
2050
2086
  source: "cli",
@@ -2062,11 +2098,11 @@ var framesOption = {
2062
2098
  }
2063
2099
  frameRange = value;
2064
2100
  },
2065
- id: cliFlag34
2101
+ id: cliFlag35
2066
2102
  };
2067
2103
 
2068
2104
  // src/options/gl.tsx
2069
- import { jsx as jsx32, jsxs as jsxs21, Fragment as Fragment32 } from "react/jsx-runtime";
2105
+ import { jsx as jsx33, jsxs as jsxs22, Fragment as Fragment33 } from "react/jsx-runtime";
2070
2106
  var validOpenGlRenderers = [
2071
2107
  "swangle",
2072
2108
  "angle",
@@ -2078,33 +2114,33 @@ var validOpenGlRenderers = [
2078
2114
  var DEFAULT_OPENGL_RENDERER = null;
2079
2115
  var openGlRenderer = DEFAULT_OPENGL_RENDERER;
2080
2116
  var AngleChangelog = () => {
2081
- return /* @__PURE__ */ jsxs21("details", {
2117
+ return /* @__PURE__ */ jsxs22("details", {
2082
2118
  style: { fontSize: "0.9em", marginBottom: "1em" },
2083
2119
  children: [
2084
- /* @__PURE__ */ jsx32("summary", {
2120
+ /* @__PURE__ */ jsx33("summary", {
2085
2121
  children: "Changelog"
2086
2122
  }),
2087
- /* @__PURE__ */ jsxs21("ul", {
2123
+ /* @__PURE__ */ jsxs22("ul", {
2088
2124
  children: [
2089
- /* @__PURE__ */ jsxs21("li", {
2125
+ /* @__PURE__ */ jsxs22("li", {
2090
2126
  children: [
2091
2127
  "From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
2092
2128
  " ",
2093
- /* @__PURE__ */ jsx32("code", {
2129
+ /* @__PURE__ */ jsx33("code", {
2094
2130
  children: "swiftshader"
2095
2131
  }),
2096
2132
  ", but from v3.0.8 the default is",
2097
2133
  " ",
2098
- /* @__PURE__ */ jsx32("code", {
2134
+ /* @__PURE__ */ jsx33("code", {
2099
2135
  children: "swangle"
2100
2136
  }),
2101
2137
  " (Swiftshader on Angle) since Chrome 101 added support for it."
2102
2138
  ]
2103
2139
  }),
2104
- /* @__PURE__ */ jsxs21("li", {
2140
+ /* @__PURE__ */ jsxs22("li", {
2105
2141
  children: [
2106
2142
  "From Remotion v2.4.3 until v2.6.6, the default was ",
2107
- /* @__PURE__ */ jsx32("code", {
2143
+ /* @__PURE__ */ jsx33("code", {
2108
2144
  children: "angle"
2109
2145
  }),
2110
2146
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
@@ -2115,65 +2151,65 @@ var AngleChangelog = () => {
2115
2151
  ]
2116
2152
  });
2117
2153
  };
2118
- var cliFlag35 = "gl";
2154
+ var cliFlag36 = "gl";
2119
2155
  var glOption = {
2120
- cliFlag: cliFlag35,
2156
+ cliFlag: cliFlag36,
2121
2157
  docLink: "https://www.remotion.dev/docs/chromium-flags#--gl",
2122
2158
  name: "OpenGL renderer",
2123
2159
  type: "angle",
2124
2160
  ssrName: "gl",
2125
2161
  description: () => {
2126
- return /* @__PURE__ */ jsxs21(Fragment32, {
2162
+ return /* @__PURE__ */ jsxs22(Fragment33, {
2127
2163
  children: [
2128
- /* @__PURE__ */ jsx32(AngleChangelog, {}),
2129
- /* @__PURE__ */ jsxs21("p", {
2164
+ /* @__PURE__ */ jsx33(AngleChangelog, {}),
2165
+ /* @__PURE__ */ jsxs22("p", {
2130
2166
  children: [
2131
2167
  "Select the OpenGL renderer backend for Chromium. ",
2132
- /* @__PURE__ */ jsx32("br", {}),
2168
+ /* @__PURE__ */ jsx33("br", {}),
2133
2169
  "Accepted values:"
2134
2170
  ]
2135
2171
  }),
2136
- /* @__PURE__ */ jsxs21("ul", {
2172
+ /* @__PURE__ */ jsxs22("ul", {
2137
2173
  children: [
2138
- /* @__PURE__ */ jsx32("li", {
2139
- children: /* @__PURE__ */ jsx32("code", {
2174
+ /* @__PURE__ */ jsx33("li", {
2175
+ children: /* @__PURE__ */ jsx33("code", {
2140
2176
  children: '"angle"'
2141
2177
  })
2142
2178
  }),
2143
- /* @__PURE__ */ jsx32("li", {
2144
- children: /* @__PURE__ */ jsx32("code", {
2179
+ /* @__PURE__ */ jsx33("li", {
2180
+ children: /* @__PURE__ */ jsx33("code", {
2145
2181
  children: '"egl"'
2146
2182
  })
2147
2183
  }),
2148
- /* @__PURE__ */ jsx32("li", {
2149
- children: /* @__PURE__ */ jsx32("code", {
2184
+ /* @__PURE__ */ jsx33("li", {
2185
+ children: /* @__PURE__ */ jsx33("code", {
2150
2186
  children: '"swiftshader"'
2151
2187
  })
2152
2188
  }),
2153
- /* @__PURE__ */ jsx32("li", {
2154
- children: /* @__PURE__ */ jsx32("code", {
2189
+ /* @__PURE__ */ jsx33("li", {
2190
+ children: /* @__PURE__ */ jsx33("code", {
2155
2191
  children: '"swangle"'
2156
2192
  })
2157
2193
  }),
2158
- /* @__PURE__ */ jsxs21("li", {
2194
+ /* @__PURE__ */ jsxs22("li", {
2159
2195
  children: [
2160
- /* @__PURE__ */ jsx32("code", {
2196
+ /* @__PURE__ */ jsx33("code", {
2161
2197
  children: '"vulkan"'
2162
2198
  }),
2163
2199
  " (",
2164
- /* @__PURE__ */ jsx32("em", {
2200
+ /* @__PURE__ */ jsx33("em", {
2165
2201
  children: "from Remotion v4.0.41"
2166
2202
  }),
2167
2203
  ")"
2168
2204
  ]
2169
2205
  }),
2170
- /* @__PURE__ */ jsxs21("li", {
2206
+ /* @__PURE__ */ jsxs22("li", {
2171
2207
  children: [
2172
- /* @__PURE__ */ jsx32("code", {
2208
+ /* @__PURE__ */ jsx33("code", {
2173
2209
  children: '"angle-egl"'
2174
2210
  }),
2175
2211
  " (",
2176
- /* @__PURE__ */ jsx32("em", {
2212
+ /* @__PURE__ */ jsx33("em", {
2177
2213
  children: "from Remotion v4.0.51"
2178
2214
  }),
2179
2215
  ")"
@@ -2181,14 +2217,14 @@ var glOption = {
2181
2217
  })
2182
2218
  ]
2183
2219
  }),
2184
- /* @__PURE__ */ jsxs21("p", {
2220
+ /* @__PURE__ */ jsxs22("p", {
2185
2221
  children: [
2186
2222
  "The default is ",
2187
- /* @__PURE__ */ jsx32("code", {
2223
+ /* @__PURE__ */ jsx33("code", {
2188
2224
  children: "null"
2189
2225
  }),
2190
2226
  ", letting Chrome decide, except on Lambda where the default is ",
2191
- /* @__PURE__ */ jsx32("code", {
2227
+ /* @__PURE__ */ jsx33("code", {
2192
2228
  children: '"swangle"'
2193
2229
  })
2194
2230
  ]
@@ -2197,10 +2233,10 @@ var glOption = {
2197
2233
  });
2198
2234
  },
2199
2235
  getValue: ({ commandLine }) => {
2200
- if (commandLine[cliFlag35]) {
2201
- validateOpenGlRenderer(commandLine[cliFlag35]);
2236
+ if (commandLine[cliFlag36]) {
2237
+ validateOpenGlRenderer(commandLine[cliFlag36]);
2202
2238
  return {
2203
- value: commandLine[cliFlag35],
2239
+ value: commandLine[cliFlag36],
2204
2240
  source: "cli"
2205
2241
  };
2206
2242
  }
@@ -2219,7 +2255,7 @@ var glOption = {
2219
2255
  validateOpenGlRenderer(value);
2220
2256
  openGlRenderer = value;
2221
2257
  },
2222
- id: cliFlag35
2258
+ id: cliFlag36
2223
2259
  };
2224
2260
  var validateOpenGlRenderer = (option2) => {
2225
2261
  if (option2 === null) {
@@ -2237,11 +2273,11 @@ var hardwareAccelerationOptions = [
2237
2273
  "if-possible",
2238
2274
  "required"
2239
2275
  ];
2240
- var cliFlag36 = "hardware-acceleration";
2276
+ var cliFlag37 = "hardware-acceleration";
2241
2277
  var currentValue = null;
2242
2278
  var hardwareAccelerationOption = {
2243
2279
  name: "Hardware Acceleration",
2244
- cliFlag: cliFlag36,
2280
+ cliFlag: cliFlag37,
2245
2281
  description: () => `
2246
2282
  One of
2247
2283
  ${new Intl.ListFormat("en", { type: "disjunction" }).format(hardwareAccelerationOptions.map((a) => JSON.stringify(a)))}
@@ -2253,10 +2289,10 @@ var hardwareAccelerationOption = {
2253
2289
  docLink: "https://www.remotion.dev/docs/encoding",
2254
2290
  type: "disable",
2255
2291
  getValue: ({ commandLine }) => {
2256
- if (commandLine[cliFlag36] !== undefined) {
2257
- const value = commandLine[cliFlag36];
2292
+ if (commandLine[cliFlag37] !== undefined) {
2293
+ const value = commandLine[cliFlag37];
2258
2294
  if (!hardwareAccelerationOptions.includes(value)) {
2259
- throw new Error(`Invalid value for --${cliFlag36}: ${value}`);
2295
+ throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2260
2296
  }
2261
2297
  return {
2262
2298
  source: "cli",
@@ -2276,32 +2312,32 @@ var hardwareAccelerationOption = {
2276
2312
  },
2277
2313
  setConfig: (value) => {
2278
2314
  if (!hardwareAccelerationOptions.includes(value)) {
2279
- throw new Error(`Invalid value for --${cliFlag36}: ${value}`);
2315
+ throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2280
2316
  }
2281
2317
  currentValue = value;
2282
2318
  },
2283
- id: cliFlag36
2319
+ id: cliFlag37
2284
2320
  };
2285
2321
 
2286
2322
  // src/options/headless.tsx
2287
- import { jsx as jsx33, jsxs as jsxs22, Fragment as Fragment33 } from "react/jsx-runtime";
2323
+ import { jsx as jsx34, jsxs as jsxs23, Fragment as Fragment34 } from "react/jsx-runtime";
2288
2324
  var DEFAULT4 = true;
2289
2325
  var headlessMode = DEFAULT4;
2290
- var cliFlag37 = "disable-headless";
2326
+ var cliFlag38 = "disable-headless";
2291
2327
  var headlessOption = {
2292
2328
  name: "Disable Headless Mode",
2293
- cliFlag: cliFlag37,
2294
- description: () => /* @__PURE__ */ jsxs22(Fragment33, {
2329
+ cliFlag: cliFlag38,
2330
+ description: () => /* @__PURE__ */ jsxs23(Fragment34, {
2295
2331
  children: [
2296
2332
  "Deprecated - will be removed in 5.0.0. With the migration to",
2297
2333
  " ",
2298
- /* @__PURE__ */ jsx33("a", {
2334
+ /* @__PURE__ */ jsx34("a", {
2299
2335
  href: "/docs/miscellaneous/chrome-headless-shell",
2300
2336
  children: "Chrome Headless Shell"
2301
2337
  }),
2302
2338
  ", this option is not functional anymore.",
2303
- /* @__PURE__ */ jsx33("br", {}),
2304
- /* @__PURE__ */ jsx33("br", {}),
2339
+ /* @__PURE__ */ jsx34("br", {}),
2340
+ /* @__PURE__ */ jsx34("br", {}),
2305
2341
  " If disabled, the render will open an actual Chrome window where you can see the render happen. The default is headless mode."
2306
2342
  ]
2307
2343
  }),
@@ -2309,10 +2345,10 @@ var headlessOption = {
2309
2345
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-headless",
2310
2346
  type: false,
2311
2347
  getValue: ({ commandLine }) => {
2312
- if (commandLine[cliFlag37] !== undefined) {
2348
+ if (commandLine[cliFlag38] !== undefined) {
2313
2349
  return {
2314
2350
  source: "cli",
2315
- value: !commandLine[cliFlag37]
2351
+ value: !commandLine[cliFlag38]
2316
2352
  };
2317
2353
  }
2318
2354
  if (headlessMode !== DEFAULT4) {
@@ -2329,27 +2365,27 @@ var headlessOption = {
2329
2365
  setConfig: (value) => {
2330
2366
  headlessMode = value;
2331
2367
  },
2332
- id: cliFlag37
2368
+ id: cliFlag38
2333
2369
  };
2334
2370
 
2335
2371
  // src/options/ignore-certificate-errors.tsx
2336
- import { jsx as jsx34, Fragment as Fragment34 } from "react/jsx-runtime";
2372
+ import { jsx as jsx35, Fragment as Fragment35 } from "react/jsx-runtime";
2337
2373
  var ignoreCertificateErrors = false;
2338
- var cliFlag38 = "ignore-certificate-errors";
2374
+ var cliFlag39 = "ignore-certificate-errors";
2339
2375
  var ignoreCertificateErrorsOption = {
2340
2376
  name: "Ignore certificate errors",
2341
- cliFlag: cliFlag38,
2342
- description: () => /* @__PURE__ */ jsx34(Fragment34, {
2377
+ cliFlag: cliFlag39,
2378
+ description: () => /* @__PURE__ */ jsx35(Fragment35, {
2343
2379
  children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored."
2344
2380
  }),
2345
2381
  ssrName: "ignoreCertificateErrors",
2346
2382
  docLink: "https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors",
2347
2383
  type: false,
2348
2384
  getValue: ({ commandLine }) => {
2349
- if (commandLine[cliFlag38] !== undefined) {
2385
+ if (commandLine[cliFlag39] !== undefined) {
2350
2386
  return {
2351
2387
  source: "cli",
2352
- value: Boolean(commandLine[cliFlag38])
2388
+ value: Boolean(commandLine[cliFlag39])
2353
2389
  };
2354
2390
  }
2355
2391
  if (ignoreCertificateErrors) {
@@ -2366,23 +2402,23 @@ var ignoreCertificateErrorsOption = {
2366
2402
  setConfig: (value) => {
2367
2403
  ignoreCertificateErrors = value;
2368
2404
  },
2369
- id: cliFlag38
2405
+ id: cliFlag39
2370
2406
  };
2371
2407
 
2372
2408
  // src/options/image-sequence.tsx
2373
- import { jsx as jsx35, jsxs as jsxs23, Fragment as Fragment35 } from "react/jsx-runtime";
2374
- var cliFlag39 = "sequence";
2409
+ import { jsx as jsx36, jsxs as jsxs24, Fragment as Fragment36 } from "react/jsx-runtime";
2410
+ var cliFlag40 = "sequence";
2375
2411
  var imageSequence = false;
2376
2412
  var imageSequenceOption = {
2377
2413
  name: "Image Sequence",
2378
- cliFlag: cliFlag39,
2379
- description: () => /* @__PURE__ */ jsxs23(Fragment35, {
2414
+ cliFlag: cliFlag40,
2415
+ description: () => /* @__PURE__ */ jsxs24(Fragment36, {
2380
2416
  children: [
2381
2417
  "Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See",
2382
2418
  " ",
2383
- /* @__PURE__ */ jsx35("a", {
2419
+ /* @__PURE__ */ jsx36("a", {
2384
2420
  href: "/docs/config#setimagesequence",
2385
- children: /* @__PURE__ */ jsx35("code", {
2421
+ children: /* @__PURE__ */ jsx36("code", {
2386
2422
  children: "setImageSequence()"
2387
2423
  })
2388
2424
  }),
@@ -2393,10 +2429,10 @@ var imageSequenceOption = {
2393
2429
  ssrName: null,
2394
2430
  docLink: "https://www.remotion.dev/docs/config#setimagesequence",
2395
2431
  getValue: ({ commandLine }) => {
2396
- if (commandLine[cliFlag39] !== undefined) {
2432
+ if (commandLine[cliFlag40] !== undefined) {
2397
2433
  return {
2398
2434
  source: "cli",
2399
- value: Boolean(commandLine[cliFlag39])
2435
+ value: Boolean(commandLine[cliFlag40])
2400
2436
  };
2401
2437
  }
2402
2438
  return {
@@ -2408,25 +2444,25 @@ var imageSequenceOption = {
2408
2444
  imageSequence = value;
2409
2445
  },
2410
2446
  type: false,
2411
- id: cliFlag39
2447
+ id: cliFlag40
2412
2448
  };
2413
2449
 
2414
2450
  // src/options/image-sequence-pattern.tsx
2415
- import { jsx as jsx36, jsxs as jsxs24, Fragment as Fragment36 } from "react/jsx-runtime";
2416
- var cliFlag40 = "image-sequence-pattern";
2451
+ import { jsx as jsx37, jsxs as jsxs25, Fragment as Fragment37 } from "react/jsx-runtime";
2452
+ var cliFlag41 = "image-sequence-pattern";
2417
2453
  var currentImageSequencePattern = null;
2418
2454
  var imageSequencePatternOption = {
2419
2455
  name: "Image Sequence Pattern",
2420
- cliFlag: cliFlag40,
2456
+ cliFlag: cliFlag41,
2421
2457
  ssrName: "imageSequencePattern",
2422
- description: () => /* @__PURE__ */ jsxs24(Fragment36, {
2458
+ description: () => /* @__PURE__ */ jsxs25(Fragment37, {
2423
2459
  children: [
2424
2460
  "Pattern for naming image sequence files. Supports ",
2425
- /* @__PURE__ */ jsx36("code", {
2461
+ /* @__PURE__ */ jsx37("code", {
2426
2462
  children: "[frame]"
2427
2463
  }),
2428
2464
  " for the zero-padded frame number and ",
2429
- /* @__PURE__ */ jsx36("code", {
2465
+ /* @__PURE__ */ jsx37("code", {
2430
2466
  children: "[ext]"
2431
2467
  }),
2432
2468
  " for the file extension."
@@ -2442,33 +2478,33 @@ var imageSequencePatternOption = {
2442
2478
  };
2443
2479
  }
2444
2480
  return {
2445
- value: commandLine[cliFlag40],
2481
+ value: commandLine[cliFlag41],
2446
2482
  source: "cli"
2447
2483
  };
2448
2484
  },
2449
2485
  setConfig: (pattern) => {
2450
2486
  currentImageSequencePattern = pattern;
2451
2487
  },
2452
- id: cliFlag40
2488
+ id: cliFlag41
2453
2489
  };
2454
2490
 
2455
2491
  // src/options/ipv4.tsx
2456
- import { jsx as jsx37, Fragment as Fragment37 } from "react/jsx-runtime";
2492
+ import { jsx as jsx38, Fragment as Fragment38 } from "react/jsx-runtime";
2457
2493
  var forceIPv4 = false;
2458
- var cliFlag41 = "ipv4";
2494
+ var cliFlag42 = "ipv4";
2459
2495
  var ipv4Option = {
2460
2496
  name: "IPv4",
2461
- cliFlag: cliFlag41,
2462
- description: () => /* @__PURE__ */ jsx37(Fragment37, {
2497
+ cliFlag: cliFlag42,
2498
+ description: () => /* @__PURE__ */ jsx38(Fragment38, {
2463
2499
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
2464
2500
  }),
2465
2501
  ssrName: null,
2466
2502
  docLink: "https://www.remotion.dev/docs/cli/studio",
2467
2503
  type: false,
2468
2504
  getValue: ({ commandLine }) => {
2469
- if (commandLine[cliFlag41] !== undefined) {
2505
+ if (commandLine[cliFlag42] !== undefined) {
2470
2506
  return {
2471
- value: commandLine[cliFlag41],
2507
+ value: commandLine[cliFlag42],
2472
2508
  source: "cli"
2473
2509
  };
2474
2510
  }
@@ -2480,25 +2516,25 @@ var ipv4Option = {
2480
2516
  setConfig(value) {
2481
2517
  forceIPv4 = value;
2482
2518
  },
2483
- id: cliFlag41
2519
+ id: cliFlag42
2484
2520
  };
2485
2521
 
2486
2522
  // src/options/is-production.tsx
2487
- import { jsx as jsx38, jsxs as jsxs25, Fragment as Fragment38 } from "react/jsx-runtime";
2488
- var cliFlag42 = "is-production";
2523
+ import { jsx as jsx39, jsxs as jsxs26, Fragment as Fragment39 } from "react/jsx-runtime";
2524
+ var cliFlag43 = "is-production";
2489
2525
  var currentIsProductionKey = null;
2490
2526
  var isProductionOption = {
2491
2527
  name: "Is Production",
2492
- cliFlag: cliFlag42,
2493
- description: () => /* @__PURE__ */ jsxs25(Fragment38, {
2528
+ cliFlag: cliFlag43,
2529
+ description: () => /* @__PURE__ */ jsxs26(Fragment39, {
2494
2530
  children: [
2495
2531
  "Pass ",
2496
- /* @__PURE__ */ jsx38("code", {
2532
+ /* @__PURE__ */ jsx39("code", {
2497
2533
  children: "false"
2498
2534
  }),
2499
2535
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
2500
2536
  " ",
2501
- /* @__PURE__ */ jsx38("code", {
2537
+ /* @__PURE__ */ jsx39("code", {
2502
2538
  children: "licenseKey"
2503
2539
  }),
2504
2540
  "."
@@ -2507,10 +2543,10 @@ var isProductionOption = {
2507
2543
  ssrName: "isProduction",
2508
2544
  docLink: "https://www.remotion.dev/docs/licensing",
2509
2545
  getValue: ({ commandLine }) => {
2510
- if (commandLine[cliFlag42] !== undefined) {
2546
+ if (commandLine[cliFlag43] !== undefined) {
2511
2547
  return {
2512
2548
  source: "cli",
2513
- value: commandLine[cliFlag42]
2549
+ value: commandLine[cliFlag43]
2514
2550
  };
2515
2551
  }
2516
2552
  if (currentIsProductionKey !== null) {
@@ -2528,11 +2564,11 @@ var isProductionOption = {
2528
2564
  currentIsProductionKey = value;
2529
2565
  },
2530
2566
  type: false,
2531
- id: cliFlag42
2567
+ id: cliFlag43
2532
2568
  };
2533
2569
 
2534
2570
  // src/options/jpeg-quality.tsx
2535
- import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2571
+ import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2536
2572
  var defaultValue = DEFAULT_JPEG_QUALITY;
2537
2573
  var quality = defaultValue;
2538
2574
  var setJpegQuality = (q) => {
@@ -2543,11 +2579,11 @@ var setJpegQuality = (q) => {
2543
2579
  }
2544
2580
  quality = q;
2545
2581
  };
2546
- var cliFlag43 = "jpeg-quality";
2582
+ var cliFlag44 = "jpeg-quality";
2547
2583
  var jpegQualityOption = {
2548
2584
  name: "JPEG Quality",
2549
- cliFlag: cliFlag43,
2550
- description: () => /* @__PURE__ */ jsx39(Fragment39, {
2585
+ cliFlag: cliFlag44,
2586
+ description: () => /* @__PURE__ */ jsx40(Fragment40, {
2551
2587
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
2552
2588
  }),
2553
2589
  ssrName: "jpegQuality",
@@ -2555,11 +2591,11 @@ var jpegQualityOption = {
2555
2591
  type: 0,
2556
2592
  setConfig: setJpegQuality,
2557
2593
  getValue: ({ commandLine }) => {
2558
- if (commandLine[cliFlag43] !== undefined) {
2559
- validateJpegQuality(commandLine[cliFlag43]);
2594
+ if (commandLine[cliFlag44] !== undefined) {
2595
+ validateJpegQuality(commandLine[cliFlag44]);
2560
2596
  return {
2561
2597
  source: "cli",
2562
- value: commandLine[cliFlag43]
2598
+ value: commandLine[cliFlag44]
2563
2599
  };
2564
2600
  }
2565
2601
  if (quality !== defaultValue) {
@@ -2573,25 +2609,25 @@ var jpegQualityOption = {
2573
2609
  value: defaultValue
2574
2610
  };
2575
2611
  },
2576
- id: cliFlag43
2612
+ id: cliFlag44
2577
2613
  };
2578
2614
 
2579
2615
  // src/options/keyboard-shortcuts.tsx
2580
- import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2616
+ import { jsx as jsx41, Fragment as Fragment41 } from "react/jsx-runtime";
2581
2617
  var keyboardShortcutsEnabled = true;
2582
- var cliFlag44 = "disable-keyboard-shortcuts";
2618
+ var cliFlag45 = "disable-keyboard-shortcuts";
2583
2619
  var keyboardShortcutsOption = {
2584
2620
  name: "Disable or Enable keyboard shortcuts",
2585
- cliFlag: cliFlag44,
2586
- description: () => /* @__PURE__ */ jsx40(Fragment40, {
2621
+ cliFlag: cliFlag45,
2622
+ description: () => /* @__PURE__ */ jsx41(Fragment41, {
2587
2623
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
2588
2624
  }),
2589
2625
  ssrName: null,
2590
2626
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2591
2627
  type: false,
2592
2628
  getValue: ({ commandLine }) => {
2593
- if (commandLine[cliFlag44] !== undefined) {
2594
- keyboardShortcutsEnabled = commandLine[cliFlag44] === false;
2629
+ if (commandLine[cliFlag45] !== undefined) {
2630
+ keyboardShortcutsEnabled = commandLine[cliFlag45] === false;
2595
2631
  return {
2596
2632
  value: keyboardShortcutsEnabled,
2597
2633
  source: "cli"
@@ -2605,42 +2641,42 @@ var keyboardShortcutsOption = {
2605
2641
  setConfig(value) {
2606
2642
  keyboardShortcutsEnabled = value;
2607
2643
  },
2608
- id: cliFlag44
2644
+ id: cliFlag45
2609
2645
  };
2610
2646
 
2611
2647
  // src/options/latency-hint.tsx
2612
- import { jsx as jsx41, jsxs as jsxs26, Fragment as Fragment41 } from "react/jsx-runtime";
2613
- var cliFlag45 = "audio-latency-hint";
2648
+ import { jsx as jsx42, jsxs as jsxs27, Fragment as Fragment42 } from "react/jsx-runtime";
2649
+ var cliFlag46 = "audio-latency-hint";
2614
2650
  var value = null;
2615
2651
  var audioLatencyHintOption = {
2616
2652
  name: "Audio Latency Hint",
2617
- cliFlag: cliFlag45,
2618
- description: () => /* @__PURE__ */ jsxs26(Fragment41, {
2653
+ cliFlag: cliFlag46,
2654
+ description: () => /* @__PURE__ */ jsxs27(Fragment42, {
2619
2655
  children: [
2620
2656
  "Sets the",
2621
2657
  " ",
2622
- /* @__PURE__ */ jsx41("a", {
2658
+ /* @__PURE__ */ jsx42("a", {
2623
2659
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
2624
2660
  children: "audio latency"
2625
2661
  }),
2626
2662
  " ",
2627
2663
  "hint for the global ",
2628
- /* @__PURE__ */ jsx41("code", {
2664
+ /* @__PURE__ */ jsx42("code", {
2629
2665
  children: "AudioContext"
2630
2666
  }),
2631
2667
  " context that Remotion uses to play audio.",
2632
- /* @__PURE__ */ jsx41("br", {}),
2668
+ /* @__PURE__ */ jsx42("br", {}),
2633
2669
  "Possible values: ",
2634
- /* @__PURE__ */ jsx41("code", {
2670
+ /* @__PURE__ */ jsx42("code", {
2635
2671
  children: "interactive"
2636
2672
  }),
2637
2673
  ", ",
2638
- /* @__PURE__ */ jsx41("code", {
2674
+ /* @__PURE__ */ jsx42("code", {
2639
2675
  children: "balanced"
2640
2676
  }),
2641
2677
  ",",
2642
2678
  " ",
2643
- /* @__PURE__ */ jsx41("code", {
2679
+ /* @__PURE__ */ jsx42("code", {
2644
2680
  children: "playback"
2645
2681
  })
2646
2682
  ]
@@ -2649,7 +2685,7 @@ var audioLatencyHintOption = {
2649
2685
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2650
2686
  type: "interactive",
2651
2687
  getValue: ({ commandLine }) => {
2652
- const val = commandLine[cliFlag45];
2688
+ const val = commandLine[cliFlag46];
2653
2689
  if (typeof val !== "undefined") {
2654
2690
  return { value: val, source: "cli" };
2655
2691
  }
@@ -2661,21 +2697,21 @@ var audioLatencyHintOption = {
2661
2697
  setConfig: (profile) => {
2662
2698
  value = profile;
2663
2699
  },
2664
- id: cliFlag45
2700
+ id: cliFlag46
2665
2701
  };
2666
2702
 
2667
2703
  // src/options/license-key.tsx
2668
- import { jsx as jsx42, jsxs as jsxs27, Fragment as Fragment42 } from "react/jsx-runtime";
2704
+ import { jsx as jsx43, jsxs as jsxs28, Fragment as Fragment43 } from "react/jsx-runtime";
2669
2705
  var currentLicenseKey = null;
2670
- var cliFlag46 = "license-key";
2706
+ var cliFlag47 = "license-key";
2671
2707
  var licenseKeyOption = {
2672
2708
  name: "License key",
2673
- cliFlag: cliFlag46,
2674
- description: () => /* @__PURE__ */ jsxs27(Fragment42, {
2709
+ cliFlag: cliFlag47,
2710
+ description: () => /* @__PURE__ */ jsxs28(Fragment43, {
2675
2711
  children: [
2676
2712
  "License key for sending a usage event using",
2677
2713
  " ",
2678
- /* @__PURE__ */ jsx42("code", {
2714
+ /* @__PURE__ */ jsx43("code", {
2679
2715
  children: "@remotion/licensing"
2680
2716
  }),
2681
2717
  "."
@@ -2685,10 +2721,10 @@ var licenseKeyOption = {
2685
2721
  docLink: "https://www.remotion.dev/docs/licensing",
2686
2722
  type: null,
2687
2723
  getValue: ({ commandLine }) => {
2688
- if (commandLine[cliFlag46] !== undefined) {
2724
+ if (commandLine[cliFlag47] !== undefined) {
2689
2725
  return {
2690
2726
  source: "cli",
2691
- value: commandLine[cliFlag46]
2727
+ value: commandLine[cliFlag47]
2692
2728
  };
2693
2729
  }
2694
2730
  return {
@@ -2699,47 +2735,47 @@ var licenseKeyOption = {
2699
2735
  setConfig: (value2) => {
2700
2736
  currentLicenseKey = value2;
2701
2737
  },
2702
- id: cliFlag46
2738
+ id: cliFlag47
2703
2739
  };
2704
2740
 
2705
2741
  // src/options/log-level.tsx
2706
- import { jsx as jsx43, jsxs as jsxs28, Fragment as Fragment43 } from "react/jsx-runtime";
2742
+ import { jsx as jsx44, jsxs as jsxs29, Fragment as Fragment44 } from "react/jsx-runtime";
2707
2743
  var logLevel = "info";
2708
- var cliFlag47 = "log";
2744
+ var cliFlag48 = "log";
2709
2745
  var logLevelOption = {
2710
- cliFlag: cliFlag47,
2746
+ cliFlag: cliFlag48,
2711
2747
  name: "Log Level",
2712
2748
  ssrName: "logLevel",
2713
- description: () => /* @__PURE__ */ jsxs28(Fragment43, {
2749
+ description: () => /* @__PURE__ */ jsxs29(Fragment44, {
2714
2750
  children: [
2715
2751
  "One of ",
2716
- /* @__PURE__ */ jsx43("code", {
2752
+ /* @__PURE__ */ jsx44("code", {
2717
2753
  children: "trace"
2718
2754
  }),
2719
2755
  ", ",
2720
- /* @__PURE__ */ jsx43("code", {
2756
+ /* @__PURE__ */ jsx44("code", {
2721
2757
  children: "verbose"
2722
2758
  }),
2723
2759
  ", ",
2724
- /* @__PURE__ */ jsx43("code", {
2760
+ /* @__PURE__ */ jsx44("code", {
2725
2761
  children: "info"
2726
2762
  }),
2727
2763
  ",",
2728
2764
  " ",
2729
- /* @__PURE__ */ jsx43("code", {
2765
+ /* @__PURE__ */ jsx44("code", {
2730
2766
  children: "warn"
2731
2767
  }),
2732
2768
  ", ",
2733
- /* @__PURE__ */ jsx43("code", {
2769
+ /* @__PURE__ */ jsx44("code", {
2734
2770
  children: "error"
2735
2771
  }),
2736
2772
  ".",
2737
- /* @__PURE__ */ jsx43("br", {}),
2773
+ /* @__PURE__ */ jsx44("br", {}),
2738
2774
  " Determines how much info is being logged to the console.",
2739
- /* @__PURE__ */ jsx43("br", {}),
2740
- /* @__PURE__ */ jsx43("br", {}),
2775
+ /* @__PURE__ */ jsx44("br", {}),
2776
+ /* @__PURE__ */ jsx44("br", {}),
2741
2777
  " Default ",
2742
- /* @__PURE__ */ jsx43("code", {
2778
+ /* @__PURE__ */ jsx44("code", {
2743
2779
  children: "info"
2744
2780
  }),
2745
2781
  "."
@@ -2747,11 +2783,11 @@ var logLevelOption = {
2747
2783
  }),
2748
2784
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
2749
2785
  getValue: ({ commandLine }) => {
2750
- if (commandLine[cliFlag47]) {
2751
- if (!isValidLogLevel(commandLine[cliFlag47])) {
2786
+ if (commandLine[cliFlag48]) {
2787
+ if (!isValidLogLevel(commandLine[cliFlag48])) {
2752
2788
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
2753
2789
  }
2754
- return { value: commandLine[cliFlag47], source: "cli" };
2790
+ return { value: commandLine[cliFlag48], source: "cli" };
2755
2791
  }
2756
2792
  if (logLevel !== "info") {
2757
2793
  return { value: logLevel, source: "config" };
@@ -2762,23 +2798,23 @@ var logLevelOption = {
2762
2798
  logLevel = newLogLevel;
2763
2799
  },
2764
2800
  type: "error",
2765
- id: cliFlag47
2801
+ id: cliFlag48
2766
2802
  };
2767
2803
 
2768
2804
  // src/options/metadata.tsx
2769
- import { jsx as jsx44, jsxs as jsxs29, Fragment as Fragment44 } from "react/jsx-runtime";
2805
+ import { jsx as jsx45, jsxs as jsxs30, Fragment as Fragment45 } from "react/jsx-runtime";
2770
2806
  var metadata = {};
2771
- var cliFlag48 = "metadata";
2807
+ var cliFlag49 = "metadata";
2772
2808
  var metadataOption = {
2773
2809
  name: "Metadata",
2774
- cliFlag: cliFlag48,
2810
+ cliFlag: cliFlag49,
2775
2811
  description: (mode) => {
2776
2812
  if (mode === "ssr") {
2777
- return /* @__PURE__ */ jsxs29(Fragment44, {
2813
+ return /* @__PURE__ */ jsxs30(Fragment45, {
2778
2814
  children: [
2779
2815
  "An object containing metadata to be embedded in the video. See",
2780
2816
  " ",
2781
- /* @__PURE__ */ jsx44("a", {
2817
+ /* @__PURE__ */ jsx45("a", {
2782
2818
  href: "/docs/metadata",
2783
2819
  children: "here"
2784
2820
  }),
@@ -2786,18 +2822,18 @@ var metadataOption = {
2786
2822
  ]
2787
2823
  });
2788
2824
  }
2789
- return /* @__PURE__ */ jsxs29(Fragment44, {
2825
+ return /* @__PURE__ */ jsxs30(Fragment45, {
2790
2826
  children: [
2791
2827
  "Metadata to be embedded in the video. See",
2792
2828
  " ",
2793
- /* @__PURE__ */ jsx44("a", {
2829
+ /* @__PURE__ */ jsx45("a", {
2794
2830
  href: "/docs/metadata",
2795
2831
  children: "here"
2796
2832
  }),
2797
2833
  " for which metadata is accepted.",
2798
- /* @__PURE__ */ jsx44("br", {}),
2834
+ /* @__PURE__ */ jsx45("br", {}),
2799
2835
  "The parameter must be in the format of ",
2800
- /* @__PURE__ */ jsx44("code", {
2836
+ /* @__PURE__ */ jsx45("code", {
2801
2837
  children: "--metadata key=value"
2802
2838
  }),
2803
2839
  " ",
@@ -2808,8 +2844,8 @@ var metadataOption = {
2808
2844
  docLink: "https://www.remotion.dev/docs/metadata",
2809
2845
  type: {},
2810
2846
  getValue: ({ commandLine }) => {
2811
- if (commandLine[cliFlag48] !== undefined) {
2812
- const val = commandLine[cliFlag48];
2847
+ if (commandLine[cliFlag49] !== undefined) {
2848
+ const val = commandLine[cliFlag49];
2813
2849
  const array = typeof val === "string" ? [val] : val;
2814
2850
  const keyValues = array.map((a) => {
2815
2851
  if (!a.includes("=")) {
@@ -2836,28 +2872,28 @@ var metadataOption = {
2836
2872
  metadata = newMetadata;
2837
2873
  },
2838
2874
  ssrName: "metadata",
2839
- id: cliFlag48
2875
+ id: cliFlag49
2840
2876
  };
2841
2877
 
2842
2878
  // src/options/mute.tsx
2843
- import { jsx as jsx45, Fragment as Fragment45 } from "react/jsx-runtime";
2879
+ import { jsx as jsx46, Fragment as Fragment46 } from "react/jsx-runtime";
2844
2880
  var DEFAULT_MUTED_STATE = false;
2845
2881
  var mutedState = DEFAULT_MUTED_STATE;
2846
- var cliFlag49 = "muted";
2882
+ var cliFlag50 = "muted";
2847
2883
  var mutedOption = {
2848
2884
  name: "Muted",
2849
- cliFlag: cliFlag49,
2850
- description: () => /* @__PURE__ */ jsx45(Fragment45, {
2885
+ cliFlag: cliFlag50,
2886
+ description: () => /* @__PURE__ */ jsx46(Fragment46, {
2851
2887
  children: "The Audio of the video will be omitted."
2852
2888
  }),
2853
2889
  ssrName: "muted",
2854
2890
  docLink: "https://www.remotion.dev/docs/audio/muting",
2855
2891
  type: false,
2856
2892
  getValue: ({ commandLine }) => {
2857
- if (commandLine[cliFlag49] !== null) {
2893
+ if (commandLine[cliFlag50] !== null) {
2858
2894
  return {
2859
2895
  source: "cli",
2860
- value: commandLine[cliFlag49]
2896
+ value: commandLine[cliFlag50]
2861
2897
  };
2862
2898
  }
2863
2899
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -2874,17 +2910,17 @@ var mutedOption = {
2874
2910
  setConfig: () => {
2875
2911
  mutedState = true;
2876
2912
  },
2877
- id: cliFlag49
2913
+ id: cliFlag50
2878
2914
  };
2879
2915
 
2880
2916
  // src/options/no-open.tsx
2881
- import { jsx as jsx46, Fragment as Fragment46 } from "react/jsx-runtime";
2917
+ import { jsx as jsx47, Fragment as Fragment47 } from "react/jsx-runtime";
2882
2918
  var shouldOpenBrowser = true;
2883
- var cliFlag50 = "no-open";
2919
+ var cliFlag51 = "no-open";
2884
2920
  var noOpenOption = {
2885
2921
  name: "Disable browser auto-open",
2886
- cliFlag: cliFlag50,
2887
- description: () => /* @__PURE__ */ jsx46(Fragment46, {
2922
+ cliFlag: cliFlag51,
2923
+ description: () => /* @__PURE__ */ jsx47(Fragment47, {
2888
2924
  children: "If specified, Remotion will not open a browser window when starting the Studio."
2889
2925
  }),
2890
2926
  ssrName: null,
@@ -2903,54 +2939,54 @@ var noOpenOption = {
2903
2939
  setConfig: (shouldOpen) => {
2904
2940
  shouldOpenBrowser = shouldOpen;
2905
2941
  },
2906
- id: cliFlag50
2942
+ id: cliFlag51
2907
2943
  };
2908
2944
 
2909
2945
  // src/options/number-of-gif-loops.tsx
2910
- import { jsx as jsx47, jsxs as jsxs30, Fragment as Fragment47 } from "react/jsx-runtime";
2946
+ import { jsx as jsx48, jsxs as jsxs31, Fragment as Fragment48 } from "react/jsx-runtime";
2911
2947
  var currentLoop = null;
2912
2948
  var validate = (newLoop) => {
2913
2949
  if (newLoop !== null && typeof newLoop !== "number") {
2914
2950
  throw new Error("--number-of-gif-loops flag must be a number.");
2915
2951
  }
2916
2952
  };
2917
- var cliFlag51 = "number-of-gif-loops";
2953
+ var cliFlag52 = "number-of-gif-loops";
2918
2954
  var numberOfGifLoopsOption = {
2919
2955
  name: "Number of GIF loops",
2920
- cliFlag: cliFlag51,
2956
+ cliFlag: cliFlag52,
2921
2957
  description: () => {
2922
- return /* @__PURE__ */ jsxs30(Fragment47, {
2958
+ return /* @__PURE__ */ jsxs31(Fragment48, {
2923
2959
  children: [
2924
2960
  "Allows you to set the number of loops as follows:",
2925
- /* @__PURE__ */ jsxs30("ul", {
2961
+ /* @__PURE__ */ jsxs31("ul", {
2926
2962
  children: [
2927
- /* @__PURE__ */ jsxs30("li", {
2963
+ /* @__PURE__ */ jsxs31("li", {
2928
2964
  children: [
2929
- /* @__PURE__ */ jsx47("code", {
2965
+ /* @__PURE__ */ jsx48("code", {
2930
2966
  children: "null"
2931
2967
  }),
2932
2968
  " (or omitting in the CLI) plays the GIF indefinitely."
2933
2969
  ]
2934
2970
  }),
2935
- /* @__PURE__ */ jsxs30("li", {
2971
+ /* @__PURE__ */ jsxs31("li", {
2936
2972
  children: [
2937
- /* @__PURE__ */ jsx47("code", {
2973
+ /* @__PURE__ */ jsx48("code", {
2938
2974
  children: "0"
2939
2975
  }),
2940
2976
  " disables looping"
2941
2977
  ]
2942
2978
  }),
2943
- /* @__PURE__ */ jsxs30("li", {
2979
+ /* @__PURE__ */ jsxs31("li", {
2944
2980
  children: [
2945
- /* @__PURE__ */ jsx47("code", {
2981
+ /* @__PURE__ */ jsx48("code", {
2946
2982
  children: "1"
2947
2983
  }),
2948
2984
  " loops the GIF once (plays twice in total)"
2949
2985
  ]
2950
2986
  }),
2951
- /* @__PURE__ */ jsxs30("li", {
2987
+ /* @__PURE__ */ jsxs31("li", {
2952
2988
  children: [
2953
- /* @__PURE__ */ jsx47("code", {
2989
+ /* @__PURE__ */ jsx48("code", {
2954
2990
  children: "2"
2955
2991
  }),
2956
2992
  " loops the GIF twice (plays three times in total) and so on."
@@ -2965,10 +3001,10 @@ var numberOfGifLoopsOption = {
2965
3001
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
2966
3002
  type: 0,
2967
3003
  getValue: ({ commandLine }) => {
2968
- if (commandLine[cliFlag51] !== undefined) {
2969
- validate(commandLine[cliFlag51]);
3004
+ if (commandLine[cliFlag52] !== undefined) {
3005
+ validate(commandLine[cliFlag52]);
2970
3006
  return {
2971
- value: commandLine[cliFlag51],
3007
+ value: commandLine[cliFlag52],
2972
3008
  source: "cli"
2973
3009
  };
2974
3010
  }
@@ -2987,21 +3023,21 @@ var numberOfGifLoopsOption = {
2987
3023
  validate(newLoop);
2988
3024
  currentLoop = newLoop;
2989
3025
  },
2990
- id: cliFlag51
3026
+ id: cliFlag52
2991
3027
  };
2992
3028
 
2993
3029
  // src/options/number-of-shared-audio-tags.tsx
2994
- import { jsx as jsx48, jsxs as jsxs31, Fragment as Fragment48 } from "react/jsx-runtime";
3030
+ import { jsx as jsx49, jsxs as jsxs32, Fragment as Fragment49 } from "react/jsx-runtime";
2995
3031
  var numberOfSharedAudioTags = 0;
2996
- var cliFlag52 = "number-of-shared-audio-tags";
3032
+ var cliFlag53 = "number-of-shared-audio-tags";
2997
3033
  var numberOfSharedAudioTagsOption = {
2998
3034
  name: "Number of shared audio tags",
2999
- cliFlag: cliFlag52,
3000
- description: () => /* @__PURE__ */ jsxs31(Fragment48, {
3035
+ cliFlag: cliFlag53,
3036
+ description: () => /* @__PURE__ */ jsxs32(Fragment49, {
3001
3037
  children: [
3002
3038
  "Set number of shared audio tags. See",
3003
3039
  " ",
3004
- /* @__PURE__ */ jsx48("a", {
3040
+ /* @__PURE__ */ jsx49("a", {
3005
3041
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
3006
3042
  children: "Using the numberOfSharedAudioTags prop"
3007
3043
  }),
@@ -3013,9 +3049,9 @@ var numberOfSharedAudioTagsOption = {
3013
3049
  docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
3014
3050
  type: 0,
3015
3051
  getValue: ({ commandLine }) => {
3016
- if (commandLine[cliFlag52] !== undefined) {
3052
+ if (commandLine[cliFlag53] !== undefined) {
3017
3053
  return {
3018
- value: commandLine[cliFlag52],
3054
+ value: commandLine[cliFlag53],
3019
3055
  source: "cli"
3020
3056
  };
3021
3057
  }
@@ -3027,39 +3063,39 @@ var numberOfSharedAudioTagsOption = {
3027
3063
  setConfig(value2) {
3028
3064
  numberOfSharedAudioTags = value2;
3029
3065
  },
3030
- id: cliFlag52
3066
+ id: cliFlag53
3031
3067
  };
3032
3068
 
3033
3069
  // src/options/offthreadvideo-cache-size.tsx
3034
- import { jsx as jsx49, jsxs as jsxs32, Fragment as Fragment49 } from "react/jsx-runtime";
3070
+ import { jsx as jsx50, jsxs as jsxs33, Fragment as Fragment50 } from "react/jsx-runtime";
3035
3071
  var offthreadVideoCacheSizeInBytes = null;
3036
- var cliFlag53 = "offthreadvideo-cache-size-in-bytes";
3072
+ var cliFlag54 = "offthreadvideo-cache-size-in-bytes";
3037
3073
  var offthreadVideoCacheSizeInBytesOption = {
3038
3074
  name: "OffthreadVideo cache size",
3039
- cliFlag: cliFlag53,
3040
- description: () => /* @__PURE__ */ jsxs32(Fragment49, {
3075
+ cliFlag: cliFlag54,
3076
+ description: () => /* @__PURE__ */ jsxs33(Fragment50, {
3041
3077
  children: [
3042
3078
  "From v4.0, Remotion has a cache for",
3043
3079
  " ",
3044
- /* @__PURE__ */ jsx49("a", {
3080
+ /* @__PURE__ */ jsx50("a", {
3045
3081
  href: "https://remotion.dev/docs/offthreadvideo",
3046
- children: /* @__PURE__ */ jsx49("code", {
3082
+ children: /* @__PURE__ */ jsx50("code", {
3047
3083
  children: "<OffthreadVideo>"
3048
3084
  })
3049
3085
  }),
3050
3086
  " ",
3051
3087
  "frames. The default is ",
3052
- /* @__PURE__ */ jsx49("code", {
3088
+ /* @__PURE__ */ jsx50("code", {
3053
3089
  children: "null"
3054
3090
  }),
3055
3091
  ", corresponding to half of the system memory available when the render starts.",
3056
- /* @__PURE__ */ jsx49("br", {}),
3092
+ /* @__PURE__ */ jsx50("br", {}),
3057
3093
  " 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.",
3058
- /* @__PURE__ */ jsx49("br", {}),
3094
+ /* @__PURE__ */ jsx50("br", {}),
3059
3095
  "The used value will be printed when running in verbose mode.",
3060
- /* @__PURE__ */ jsx49("br", {}),
3096
+ /* @__PURE__ */ jsx50("br", {}),
3061
3097
  "Default: ",
3062
- /* @__PURE__ */ jsx49("code", {
3098
+ /* @__PURE__ */ jsx50("code", {
3063
3099
  children: "null"
3064
3100
  })
3065
3101
  ]
@@ -3068,10 +3104,10 @@ var offthreadVideoCacheSizeInBytesOption = {
3068
3104
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3069
3105
  type: 0,
3070
3106
  getValue: ({ commandLine }) => {
3071
- if (commandLine[cliFlag53] !== undefined) {
3107
+ if (commandLine[cliFlag54] !== undefined) {
3072
3108
  return {
3073
3109
  source: "cli",
3074
- value: commandLine[cliFlag53]
3110
+ value: commandLine[cliFlag54]
3075
3111
  };
3076
3112
  }
3077
3113
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -3088,22 +3124,22 @@ var offthreadVideoCacheSizeInBytesOption = {
3088
3124
  setConfig: (size) => {
3089
3125
  offthreadVideoCacheSizeInBytes = size ?? null;
3090
3126
  },
3091
- id: cliFlag53
3127
+ id: cliFlag54
3092
3128
  };
3093
3129
 
3094
3130
  // src/options/offthreadvideo-threads.tsx
3095
- import { jsx as jsx50, jsxs as jsxs33, Fragment as Fragment50 } from "react/jsx-runtime";
3131
+ import { jsx as jsx51, jsxs as jsxs34, Fragment as Fragment51 } from "react/jsx-runtime";
3096
3132
  var value2 = null;
3097
- var cliFlag54 = "offthreadvideo-video-threads";
3133
+ var cliFlag55 = "offthreadvideo-video-threads";
3098
3134
  var offthreadVideoThreadsOption = {
3099
3135
  name: "OffthreadVideo threads",
3100
- cliFlag: cliFlag54,
3101
- description: () => /* @__PURE__ */ jsxs33(Fragment50, {
3136
+ cliFlag: cliFlag55,
3137
+ description: () => /* @__PURE__ */ jsxs34(Fragment51, {
3102
3138
  children: [
3103
3139
  "The number of threads that",
3104
- /* @__PURE__ */ jsx50("a", {
3140
+ /* @__PURE__ */ jsx51("a", {
3105
3141
  href: "https://remotion.dev/docs/offthreadvideo",
3106
- children: /* @__PURE__ */ jsx50("code", {
3142
+ children: /* @__PURE__ */ jsx51("code", {
3107
3143
  children: "<OffthreadVideo>"
3108
3144
  })
3109
3145
  }),
@@ -3118,10 +3154,10 @@ var offthreadVideoThreadsOption = {
3118
3154
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3119
3155
  type: 0,
3120
3156
  getValue: ({ commandLine }) => {
3121
- if (commandLine[cliFlag54] !== undefined) {
3157
+ if (commandLine[cliFlag55] !== undefined) {
3122
3158
  return {
3123
3159
  source: "cli",
3124
- value: commandLine[cliFlag54]
3160
+ value: commandLine[cliFlag55]
3125
3161
  };
3126
3162
  }
3127
3163
  if (value2 !== null) {
@@ -3138,21 +3174,21 @@ var offthreadVideoThreadsOption = {
3138
3174
  setConfig: (size) => {
3139
3175
  value2 = size ?? null;
3140
3176
  },
3141
- id: cliFlag54
3177
+ id: cliFlag55
3142
3178
  };
3143
3179
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
3144
3180
 
3145
3181
  // src/options/on-browser-download.tsx
3146
- import { jsx as jsx51, jsxs as jsxs34, Fragment as Fragment51 } from "react/jsx-runtime";
3147
- var cliFlag55 = "on-browser-download";
3182
+ import { jsx as jsx52, jsxs as jsxs35, Fragment as Fragment52 } from "react/jsx-runtime";
3183
+ var cliFlag56 = "on-browser-download";
3148
3184
  var onBrowserDownloadOption = {
3149
3185
  name: "Browser download callback function",
3150
- cliFlag: cliFlag55,
3151
- description: () => /* @__PURE__ */ jsxs34(Fragment51, {
3186
+ cliFlag: cliFlag56,
3187
+ description: () => /* @__PURE__ */ jsxs35(Fragment52, {
3152
3188
  children: [
3153
3189
  "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.",
3154
3190
  " ",
3155
- /* @__PURE__ */ jsx51("a", {
3191
+ /* @__PURE__ */ jsx52("a", {
3156
3192
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
3157
3193
  children: "See here for how to use this option."
3158
3194
  })
@@ -3167,26 +3203,26 @@ var onBrowserDownloadOption = {
3167
3203
  setConfig: () => {
3168
3204
  throw new Error("does not support config file");
3169
3205
  },
3170
- id: cliFlag55
3206
+ id: cliFlag56
3171
3207
  };
3172
3208
 
3173
3209
  // src/options/out-dir.tsx
3174
- import { jsx as jsx52, jsxs as jsxs35, Fragment as Fragment52 } from "react/jsx-runtime";
3175
- var cliFlag56 = "out-dir";
3210
+ import { jsx as jsx53, jsxs as jsxs36, Fragment as Fragment53 } from "react/jsx-runtime";
3211
+ var cliFlag57 = "out-dir";
3176
3212
  var currentOutDir = null;
3177
3213
  var outDirOption = {
3178
3214
  name: "Output Directory",
3179
- cliFlag: cliFlag56,
3215
+ cliFlag: cliFlag57,
3180
3216
  description: () => {
3181
- return /* @__PURE__ */ jsxs35(Fragment52, {
3217
+ return /* @__PURE__ */ jsxs36(Fragment53, {
3182
3218
  children: [
3183
3219
  "Define the location of the resulting bundle. By default it is a folder called ",
3184
- /* @__PURE__ */ jsx52("code", {
3220
+ /* @__PURE__ */ jsx53("code", {
3185
3221
  children: "build"
3186
3222
  }),
3187
3223
  ", adjacent to the",
3188
3224
  " ",
3189
- /* @__PURE__ */ jsx52("a", {
3225
+ /* @__PURE__ */ jsx53("a", {
3190
3226
  href: "/docs/terminology/remotion-root",
3191
3227
  children: "Remotion Root"
3192
3228
  }),
@@ -3197,10 +3233,10 @@ var outDirOption = {
3197
3233
  ssrName: "outDir",
3198
3234
  docLink: "https://www.remotion.dev/docs/cli/bundle#--out-dir",
3199
3235
  getValue: ({ commandLine }) => {
3200
- if (commandLine[cliFlag56] !== undefined) {
3236
+ if (commandLine[cliFlag57] !== undefined) {
3201
3237
  return {
3202
3238
  source: "cli",
3203
- value: commandLine[cliFlag56]
3239
+ value: commandLine[cliFlag57]
3204
3240
  };
3205
3241
  }
3206
3242
  if (currentOutDir !== null) {
@@ -3218,7 +3254,7 @@ var outDirOption = {
3218
3254
  currentOutDir = value3;
3219
3255
  },
3220
3256
  type: "",
3221
- id: cliFlag56
3257
+ id: cliFlag57
3222
3258
  };
3223
3259
 
3224
3260
  // src/validate.ts
@@ -3228,21 +3264,21 @@ var validateDimension = NoReactInternals2.validateDimension;
3228
3264
  var validateDurationInFrames = NoReactInternals2.validateDurationInFrames;
3229
3265
 
3230
3266
  // src/options/override-duration.tsx
3231
- import { jsx as jsx53, Fragment as Fragment53 } from "react/jsx-runtime";
3267
+ import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3232
3268
  var currentDuration = null;
3233
- var cliFlag57 = "duration";
3269
+ var cliFlag58 = "duration";
3234
3270
  var overrideDurationOption = {
3235
3271
  name: "Override Duration",
3236
- cliFlag: cliFlag57,
3237
- description: () => /* @__PURE__ */ jsx53(Fragment53, {
3272
+ cliFlag: cliFlag58,
3273
+ description: () => /* @__PURE__ */ jsx54(Fragment54, {
3238
3274
  children: "Overrides the duration in frames of the composition."
3239
3275
  }),
3240
3276
  ssrName: null,
3241
3277
  docLink: "https://www.remotion.dev/docs/config#overrideduration",
3242
3278
  type: null,
3243
3279
  getValue: ({ commandLine }) => {
3244
- if (commandLine[cliFlag57] !== undefined) {
3245
- const value3 = commandLine[cliFlag57];
3280
+ if (commandLine[cliFlag58] !== undefined) {
3281
+ const value3 = commandLine[cliFlag58];
3246
3282
  validateDurationInFrames(value3, {
3247
3283
  component: "in --duration flag",
3248
3284
  allowFloats: false
@@ -3270,25 +3306,25 @@ var overrideDurationOption = {
3270
3306
  });
3271
3307
  currentDuration = duration;
3272
3308
  },
3273
- id: cliFlag57
3309
+ id: cliFlag58
3274
3310
  };
3275
3311
 
3276
3312
  // src/options/override-fps.tsx
3277
- import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3313
+ import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3278
3314
  var currentFps = null;
3279
- var cliFlag58 = "fps";
3315
+ var cliFlag59 = "fps";
3280
3316
  var overrideFpsOption = {
3281
3317
  name: "Override FPS",
3282
- cliFlag: cliFlag58,
3283
- description: () => /* @__PURE__ */ jsx54(Fragment54, {
3318
+ cliFlag: cliFlag59,
3319
+ description: () => /* @__PURE__ */ jsx55(Fragment55, {
3284
3320
  children: "Overrides the frames per second of the composition."
3285
3321
  }),
3286
3322
  ssrName: null,
3287
3323
  docLink: "https://www.remotion.dev/docs/config#overridefps",
3288
3324
  type: null,
3289
3325
  getValue: ({ commandLine }) => {
3290
- if (commandLine[cliFlag58] !== undefined) {
3291
- const value3 = commandLine[cliFlag58];
3326
+ if (commandLine[cliFlag59] !== undefined) {
3327
+ const value3 = commandLine[cliFlag59];
3292
3328
  validateFps(value3, "in --fps flag", false);
3293
3329
  return {
3294
3330
  source: "cli",
@@ -3310,25 +3346,25 @@ var overrideFpsOption = {
3310
3346
  validateFps(fps, "in Config.overrideFps()", false);
3311
3347
  currentFps = fps;
3312
3348
  },
3313
- id: cliFlag58
3349
+ id: cliFlag59
3314
3350
  };
3315
3351
 
3316
3352
  // src/options/override-height.tsx
3317
- import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3353
+ import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3318
3354
  var currentHeight = null;
3319
- var cliFlag59 = "height";
3355
+ var cliFlag60 = "height";
3320
3356
  var overrideHeightOption = {
3321
3357
  name: "Override Height",
3322
- cliFlag: cliFlag59,
3323
- description: () => /* @__PURE__ */ jsx55(Fragment55, {
3358
+ cliFlag: cliFlag60,
3359
+ description: () => /* @__PURE__ */ jsx56(Fragment56, {
3324
3360
  children: "Overrides the height of the composition."
3325
3361
  }),
3326
3362
  ssrName: null,
3327
3363
  docLink: "https://www.remotion.dev/docs/config#overrideheight",
3328
3364
  type: null,
3329
3365
  getValue: ({ commandLine }) => {
3330
- if (commandLine[cliFlag59] !== undefined) {
3331
- const value3 = commandLine[cliFlag59];
3366
+ if (commandLine[cliFlag60] !== undefined) {
3367
+ const value3 = commandLine[cliFlag60];
3332
3368
  validateDimension(value3, "height", "in --height flag");
3333
3369
  return {
3334
3370
  source: "cli",
@@ -3350,25 +3386,25 @@ var overrideHeightOption = {
3350
3386
  validateDimension(height, "height", "in Config.overrideHeight()");
3351
3387
  currentHeight = height;
3352
3388
  },
3353
- id: cliFlag59
3389
+ id: cliFlag60
3354
3390
  };
3355
3391
 
3356
3392
  // src/options/override-width.tsx
3357
- import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3393
+ import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3358
3394
  var currentWidth = null;
3359
- var cliFlag60 = "width";
3395
+ var cliFlag61 = "width";
3360
3396
  var overrideWidthOption = {
3361
3397
  name: "Override Width",
3362
- cliFlag: cliFlag60,
3363
- description: () => /* @__PURE__ */ jsx56(Fragment56, {
3398
+ cliFlag: cliFlag61,
3399
+ description: () => /* @__PURE__ */ jsx57(Fragment57, {
3364
3400
  children: "Overrides the width of the composition."
3365
3401
  }),
3366
3402
  ssrName: null,
3367
3403
  docLink: "https://www.remotion.dev/docs/config#overridewidth",
3368
3404
  type: null,
3369
3405
  getValue: ({ commandLine }) => {
3370
- if (commandLine[cliFlag60] !== undefined) {
3371
- const value3 = commandLine[cliFlag60];
3406
+ if (commandLine[cliFlag61] !== undefined) {
3407
+ const value3 = commandLine[cliFlag61];
3372
3408
  validateDimension(value3, "width", "in --width flag");
3373
3409
  return {
3374
3410
  source: "cli",
@@ -3390,13 +3426,13 @@ var overrideWidthOption = {
3390
3426
  validateDimension(width, "width", "in Config.overrideWidth()");
3391
3427
  currentWidth = width;
3392
3428
  },
3393
- id: cliFlag60
3429
+ id: cliFlag61
3394
3430
  };
3395
3431
 
3396
3432
  // src/options/overwrite.tsx
3397
- import { jsx as jsx57, jsxs as jsxs36, Fragment as Fragment57 } from "react/jsx-runtime";
3433
+ import { jsx as jsx58, jsxs as jsxs37, Fragment as Fragment58 } from "react/jsx-runtime";
3398
3434
  var shouldOverwrite = null;
3399
- var cliFlag61 = "overwrite";
3435
+ var cliFlag62 = "overwrite";
3400
3436
  var validate2 = (value3) => {
3401
3437
  if (typeof value3 !== "boolean") {
3402
3438
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -3404,15 +3440,15 @@ var validate2 = (value3) => {
3404
3440
  };
3405
3441
  var overwriteOption = {
3406
3442
  name: "Overwrite output",
3407
- cliFlag: cliFlag61,
3408
- description: () => /* @__PURE__ */ jsxs36(Fragment57, {
3443
+ cliFlag: cliFlag62,
3444
+ description: () => /* @__PURE__ */ jsxs37(Fragment58, {
3409
3445
  children: [
3410
3446
  "If set to ",
3411
- /* @__PURE__ */ jsx57("code", {
3447
+ /* @__PURE__ */ jsx58("code", {
3412
3448
  children: "false"
3413
3449
  }),
3414
3450
  ", will prevent rendering to a path that already exists. Default is ",
3415
- /* @__PURE__ */ jsx57("code", {
3451
+ /* @__PURE__ */ jsx58("code", {
3416
3452
  children: "true"
3417
3453
  }),
3418
3454
  "."
@@ -3422,11 +3458,11 @@ var overwriteOption = {
3422
3458
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3423
3459
  type: false,
3424
3460
  getValue: ({ commandLine }, defaultValue2) => {
3425
- if (commandLine[cliFlag61] !== undefined) {
3426
- validate2(commandLine[cliFlag61]);
3461
+ if (commandLine[cliFlag62] !== undefined) {
3462
+ validate2(commandLine[cliFlag62]);
3427
3463
  return {
3428
3464
  source: "cli",
3429
- value: commandLine[cliFlag61]
3465
+ value: commandLine[cliFlag62]
3430
3466
  };
3431
3467
  }
3432
3468
  if (shouldOverwrite !== null) {
@@ -3444,36 +3480,36 @@ var overwriteOption = {
3444
3480
  validate2(value3);
3445
3481
  shouldOverwrite = value3;
3446
3482
  },
3447
- id: cliFlag61
3483
+ id: cliFlag62
3448
3484
  };
3449
3485
 
3450
3486
  // src/options/package-manager.tsx
3451
- import { jsx as jsx58, jsxs as jsxs37, Fragment as Fragment58 } from "react/jsx-runtime";
3452
- var cliFlag62 = "package-manager";
3487
+ import { jsx as jsx59, jsxs as jsxs38, Fragment as Fragment59 } from "react/jsx-runtime";
3488
+ var cliFlag63 = "package-manager";
3453
3489
  var currentPackageManager = null;
3454
3490
  var packageManagerOption = {
3455
3491
  name: "Package Manager",
3456
- cliFlag: cliFlag62,
3492
+ cliFlag: cliFlag63,
3457
3493
  description: () => {
3458
- return /* @__PURE__ */ jsxs37(Fragment58, {
3494
+ return /* @__PURE__ */ jsxs38(Fragment59, {
3459
3495
  children: [
3460
3496
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
3461
- /* @__PURE__ */ jsx58("br", {}),
3497
+ /* @__PURE__ */ jsx59("br", {}),
3462
3498
  "Acceptable values are ",
3463
- /* @__PURE__ */ jsx58("code", {
3499
+ /* @__PURE__ */ jsx59("code", {
3464
3500
  children: "npm"
3465
3501
  }),
3466
3502
  ", ",
3467
- /* @__PURE__ */ jsx58("code", {
3503
+ /* @__PURE__ */ jsx59("code", {
3468
3504
  children: "yarn"
3469
3505
  }),
3470
3506
  ",",
3471
3507
  " ",
3472
- /* @__PURE__ */ jsx58("code", {
3508
+ /* @__PURE__ */ jsx59("code", {
3473
3509
  children: "pnpm"
3474
3510
  }),
3475
3511
  " and ",
3476
- /* @__PURE__ */ jsx58("code", {
3512
+ /* @__PURE__ */ jsx59("code", {
3477
3513
  children: "bun"
3478
3514
  }),
3479
3515
  "."
@@ -3483,10 +3519,10 @@ var packageManagerOption = {
3483
3519
  ssrName: "packageManager",
3484
3520
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--package-manager",
3485
3521
  getValue: ({ commandLine }) => {
3486
- if (commandLine[cliFlag62] !== undefined) {
3522
+ if (commandLine[cliFlag63] !== undefined) {
3487
3523
  return {
3488
3524
  source: "cli",
3489
- value: commandLine[cliFlag62]
3525
+ value: commandLine[cliFlag63]
3490
3526
  };
3491
3527
  }
3492
3528
  if (currentPackageManager !== null) {
@@ -3504,7 +3540,7 @@ var packageManagerOption = {
3504
3540
  currentPackageManager = value3;
3505
3541
  },
3506
3542
  type: "",
3507
- id: cliFlag62
3543
+ id: cliFlag63
3508
3544
  };
3509
3545
 
3510
3546
  // src/pixel-format.ts
@@ -3527,17 +3563,17 @@ var validPixelFormatsForCodec = (codec) => {
3527
3563
  };
3528
3564
 
3529
3565
  // src/options/pixel-format.tsx
3530
- import { jsx as jsx59, jsxs as jsxs38, Fragment as Fragment59 } from "react/jsx-runtime";
3566
+ import { jsx as jsx60, jsxs as jsxs39, Fragment as Fragment60 } from "react/jsx-runtime";
3531
3567
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
3532
- var cliFlag63 = "pixel-format";
3568
+ var cliFlag64 = "pixel-format";
3533
3569
  var pixelFormatOption = {
3534
3570
  name: "Pixel format",
3535
- cliFlag: cliFlag63,
3536
- description: () => /* @__PURE__ */ jsxs38(Fragment59, {
3571
+ cliFlag: cliFlag64,
3572
+ description: () => /* @__PURE__ */ jsxs39(Fragment60, {
3537
3573
  children: [
3538
3574
  "Sets the pixel format in FFmpeg. See",
3539
3575
  " ",
3540
- /* @__PURE__ */ jsx59("a", {
3576
+ /* @__PURE__ */ jsx60("a", {
3541
3577
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
3542
3578
  children: "the FFmpeg docs for an explanation"
3543
3579
  }),
@@ -3550,10 +3586,10 @@ var pixelFormatOption = {
3550
3586
  docLink: "https://www.remotion.dev/docs/config#setpixelformat",
3551
3587
  type: DEFAULT_PIXEL_FORMAT,
3552
3588
  getValue: ({ commandLine }) => {
3553
- if (commandLine[cliFlag63] !== undefined) {
3589
+ if (commandLine[cliFlag64] !== undefined) {
3554
3590
  return {
3555
3591
  source: "cli",
3556
- value: commandLine[cliFlag63]
3592
+ value: commandLine[cliFlag64]
3557
3593
  };
3558
3594
  }
3559
3595
  if (currentPixelFormat !== DEFAULT_PIXEL_FORMAT) {
@@ -3573,26 +3609,26 @@ var pixelFormatOption = {
3573
3609
  }
3574
3610
  currentPixelFormat = value3;
3575
3611
  },
3576
- id: cliFlag63
3612
+ id: cliFlag64
3577
3613
  };
3578
3614
 
3579
3615
  // src/options/port.tsx
3580
- import { jsx as jsx60, Fragment as Fragment60 } from "react/jsx-runtime";
3581
- var cliFlag64 = "port";
3616
+ import { jsx as jsx61, Fragment as Fragment61 } from "react/jsx-runtime";
3617
+ var cliFlag65 = "port";
3582
3618
  var currentPort = null;
3583
3619
  var portOption = {
3584
3620
  name: "Port",
3585
- cliFlag: cliFlag64,
3586
- description: () => /* @__PURE__ */ jsx60(Fragment60, {
3621
+ cliFlag: cliFlag65,
3622
+ description: () => /* @__PURE__ */ jsx61(Fragment61, {
3587
3623
  children: "Set a custom HTTP server port for the Studio or the render process. If not defined, Remotion will try to find a free port."
3588
3624
  }),
3589
3625
  ssrName: null,
3590
3626
  docLink: "https://www.remotion.dev/docs/config#setstudioport",
3591
3627
  getValue: ({ commandLine }) => {
3592
- if (commandLine[cliFlag64] !== undefined) {
3628
+ if (commandLine[cliFlag65] !== undefined) {
3593
3629
  return {
3594
3630
  source: "cli",
3595
- value: commandLine[cliFlag64]
3631
+ value: commandLine[cliFlag65]
3596
3632
  };
3597
3633
  }
3598
3634
  if (currentPort !== null) {
@@ -3610,25 +3646,25 @@ var portOption = {
3610
3646
  currentPort = value3;
3611
3647
  },
3612
3648
  type: 0,
3613
- id: cliFlag64
3649
+ id: cliFlag65
3614
3650
  };
3615
3651
 
3616
3652
  // src/options/prefer-lossless.tsx
3617
- import { jsx as jsx61, jsxs as jsxs39, Fragment as Fragment61 } from "react/jsx-runtime";
3618
- var cliFlag65 = "prefer-lossless";
3653
+ import { jsx as jsx62, jsxs as jsxs40, Fragment as Fragment62 } from "react/jsx-runtime";
3654
+ var cliFlag66 = "prefer-lossless";
3619
3655
  var input = false;
3620
3656
  var preferLosslessAudioOption = {
3621
3657
  name: "Prefer lossless",
3622
- cliFlag: cliFlag65,
3623
- description: () => /* @__PURE__ */ jsxs39(Fragment61, {
3658
+ cliFlag: cliFlag66,
3659
+ description: () => /* @__PURE__ */ jsxs40(Fragment62, {
3624
3660
  children: [
3625
3661
  "Uses a lossless audio codec, if one is available for the codec. If you set",
3626
- /* @__PURE__ */ jsx61("code", {
3662
+ /* @__PURE__ */ jsx62("code", {
3627
3663
  children: "audioCodec"
3628
3664
  }),
3629
3665
  ", it takes priority over",
3630
3666
  " ",
3631
- /* @__PURE__ */ jsx61("code", {
3667
+ /* @__PURE__ */ jsx62("code", {
3632
3668
  children: "preferLossless"
3633
3669
  }),
3634
3670
  "."
@@ -3638,7 +3674,7 @@ var preferLosslessAudioOption = {
3638
3674
  type: false,
3639
3675
  ssrName: "preferLossless",
3640
3676
  getValue: ({ commandLine }) => {
3641
- if (commandLine[cliFlag65]) {
3677
+ if (commandLine[cliFlag66]) {
3642
3678
  return { value: true, source: "cli" };
3643
3679
  }
3644
3680
  if (input === true) {
@@ -3649,19 +3685,19 @@ var preferLosslessAudioOption = {
3649
3685
  setConfig: (val) => {
3650
3686
  input = val;
3651
3687
  },
3652
- id: cliFlag65
3688
+ id: cliFlag66
3653
3689
  };
3654
3690
 
3655
3691
  // src/options/props.tsx
3656
- import { jsx as jsx62, jsxs as jsxs40, Fragment as Fragment62 } from "react/jsx-runtime";
3657
- var cliFlag66 = "props";
3692
+ import { jsx as jsx63, jsxs as jsxs41, Fragment as Fragment63 } from "react/jsx-runtime";
3693
+ var cliFlag67 = "props";
3658
3694
  var propsOption = {
3659
3695
  name: "Input Props",
3660
- cliFlag: cliFlag66,
3661
- description: () => /* @__PURE__ */ jsxs40(Fragment62, {
3696
+ cliFlag: cliFlag67,
3697
+ description: () => /* @__PURE__ */ jsxs41(Fragment63, {
3662
3698
  children: [
3663
3699
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
3664
- /* @__PURE__ */ jsxs40("code", {
3700
+ /* @__PURE__ */ jsxs41("code", {
3665
3701
  children: [
3666
3702
  "--props='",
3667
3703
  "{",
@@ -3671,7 +3707,7 @@ var propsOption = {
3671
3707
  ]
3672
3708
  }),
3673
3709
  ") or a path to a JSON file (",
3674
- /* @__PURE__ */ jsx62("code", {
3710
+ /* @__PURE__ */ jsx63("code", {
3675
3711
  children: "./path/to/props.json"
3676
3712
  }),
3677
3713
  ")."
@@ -3680,10 +3716,10 @@ var propsOption = {
3680
3716
  ssrName: null,
3681
3717
  docLink: "https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli",
3682
3718
  getValue: ({ commandLine }) => {
3683
- if (commandLine[cliFlag66] !== undefined) {
3719
+ if (commandLine[cliFlag67] !== undefined) {
3684
3720
  return {
3685
3721
  source: "cli",
3686
- value: commandLine[cliFlag66]
3722
+ value: commandLine[cliFlag67]
3687
3723
  };
3688
3724
  }
3689
3725
  return {
@@ -3695,11 +3731,11 @@ var propsOption = {
3695
3731
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
3696
3732
  },
3697
3733
  type: "",
3698
- id: cliFlag66
3734
+ id: cliFlag67
3699
3735
  };
3700
3736
 
3701
3737
  // src/options/prores-profile.tsx
3702
- import { jsx as jsx63, jsxs as jsxs41, Fragment as Fragment63 } from "react/jsx-runtime";
3738
+ import { jsx as jsx64, jsxs as jsxs42, Fragment as Fragment64 } from "react/jsx-runtime";
3703
3739
  var validProResProfiles = [
3704
3740
  "4444-xq",
3705
3741
  "4444",
@@ -3709,14 +3745,14 @@ var validProResProfiles = [
3709
3745
  "proxy"
3710
3746
  ];
3711
3747
  var proResProfile;
3712
- var cliFlag67 = "prores-profile";
3748
+ var cliFlag68 = "prores-profile";
3713
3749
  var proResProfileOption = {
3714
3750
  name: "ProRes profile",
3715
- cliFlag: cliFlag67,
3716
- description: () => /* @__PURE__ */ jsxs41(Fragment63, {
3751
+ cliFlag: cliFlag68,
3752
+ description: () => /* @__PURE__ */ jsxs42(Fragment64, {
3717
3753
  children: [
3718
3754
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
3719
- /* @__PURE__ */ jsx63("code", {
3755
+ /* @__PURE__ */ jsx64("code", {
3720
3756
  children: "prores"
3721
3757
  }),
3722
3758
  ". Possible values:",
@@ -3724,12 +3760,12 @@ var proResProfileOption = {
3724
3760
  validProResProfiles.map((p) => `"${p}"`).join(", "),
3725
3761
  ". Default:",
3726
3762
  " ",
3727
- /* @__PURE__ */ jsx63("code", {
3763
+ /* @__PURE__ */ jsx64("code", {
3728
3764
  children: '"hq"'
3729
3765
  }),
3730
3766
  ". See",
3731
3767
  " ",
3732
- /* @__PURE__ */ jsx63("a", {
3768
+ /* @__PURE__ */ jsx64("a", {
3733
3769
  href: "https://video.stackexchange.com/a/14715",
3734
3770
  children: "here"
3735
3771
  }),
@@ -3740,10 +3776,10 @@ var proResProfileOption = {
3740
3776
  docLink: "https://www.remotion.dev/docs/config#setproresprofile",
3741
3777
  type: undefined,
3742
3778
  getValue: ({ commandLine }) => {
3743
- if (commandLine[cliFlag67] !== undefined) {
3779
+ if (commandLine[cliFlag68] !== undefined) {
3744
3780
  return {
3745
3781
  source: "cli",
3746
- value: String(commandLine[cliFlag67])
3782
+ value: String(commandLine[cliFlag68])
3747
3783
  };
3748
3784
  }
3749
3785
  if (proResProfile !== undefined) {
@@ -3760,24 +3796,24 @@ var proResProfileOption = {
3760
3796
  setConfig: (value3) => {
3761
3797
  proResProfile = value3;
3762
3798
  },
3763
- id: cliFlag67
3799
+ id: cliFlag68
3764
3800
  };
3765
3801
 
3766
3802
  // src/options/public-dir.tsx
3767
- import { jsx as jsx64, jsxs as jsxs42, Fragment as Fragment64 } from "react/jsx-runtime";
3768
- var cliFlag68 = "public-dir";
3803
+ import { jsx as jsx65, jsxs as jsxs43, Fragment as Fragment65 } from "react/jsx-runtime";
3804
+ var cliFlag69 = "public-dir";
3769
3805
  var currentPublicDir = null;
3770
3806
  var publicDirOption = {
3771
3807
  name: "Public Directory",
3772
- cliFlag: cliFlag68,
3808
+ cliFlag: cliFlag69,
3773
3809
  description: () => {
3774
- return /* @__PURE__ */ jsxs42(Fragment64, {
3810
+ return /* @__PURE__ */ jsxs43(Fragment65, {
3775
3811
  children: [
3776
3812
  "Define the location of the",
3777
3813
  " ",
3778
- /* @__PURE__ */ jsx64("a", {
3814
+ /* @__PURE__ */ jsx65("a", {
3779
3815
  href: "/docs/terminology/public-dir",
3780
- children: /* @__PURE__ */ jsx64("code", {
3816
+ children: /* @__PURE__ */ jsx65("code", {
3781
3817
  children: "public/ directory"
3782
3818
  })
3783
3819
  }),
@@ -3788,10 +3824,10 @@ var publicDirOption = {
3788
3824
  ssrName: "publicDir",
3789
3825
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
3790
3826
  getValue: ({ commandLine }) => {
3791
- if (commandLine[cliFlag68] !== undefined) {
3827
+ if (commandLine[cliFlag69] !== undefined) {
3792
3828
  return {
3793
3829
  source: "cli",
3794
- value: commandLine[cliFlag68]
3830
+ value: commandLine[cliFlag69]
3795
3831
  };
3796
3832
  }
3797
3833
  if (currentPublicDir !== null) {
@@ -3809,20 +3845,20 @@ var publicDirOption = {
3809
3845
  currentPublicDir = value3;
3810
3846
  },
3811
3847
  type: "",
3812
- id: cliFlag68
3848
+ id: cliFlag69
3813
3849
  };
3814
3850
 
3815
3851
  // src/options/public-license-key.tsx
3816
- import { jsx as jsx65, jsxs as jsxs43, Fragment as Fragment65 } from "react/jsx-runtime";
3817
- var cliFlag69 = "public-license-key";
3852
+ import { jsx as jsx66, jsxs as jsxs44, Fragment as Fragment66 } from "react/jsx-runtime";
3853
+ var cliFlag70 = "public-license-key";
3818
3854
  var currentPublicLicenseKey = null;
3819
3855
  var publicLicenseKeyOption = {
3820
3856
  name: "Public License Key",
3821
- cliFlag: cliFlag69,
3822
- description: () => /* @__PURE__ */ jsxs43(Fragment65, {
3857
+ cliFlag: cliFlag70,
3858
+ description: () => /* @__PURE__ */ jsxs44(Fragment66, {
3823
3859
  children: [
3824
3860
  'The public license key for your company license, obtained from the "Usage" tab on ',
3825
- /* @__PURE__ */ jsx65("a", {
3861
+ /* @__PURE__ */ jsx66("a", {
3826
3862
  href: "https://remotion.pro/dashboard",
3827
3863
  children: "remotion.pro"
3828
3864
  }),
@@ -3832,10 +3868,10 @@ var publicLicenseKeyOption = {
3832
3868
  ssrName: "publicLicenseKey",
3833
3869
  docLink: "https://www.remotion.dev/docs/licensing",
3834
3870
  getValue: ({ commandLine }) => {
3835
- if (commandLine[cliFlag69] !== undefined) {
3871
+ if (commandLine[cliFlag70] !== undefined) {
3836
3872
  return {
3837
3873
  source: "cli",
3838
- value: commandLine[cliFlag69]
3874
+ value: commandLine[cliFlag70]
3839
3875
  };
3840
3876
  }
3841
3877
  if (currentPublicLicenseKey !== null) {
@@ -3856,29 +3892,29 @@ var publicLicenseKeyOption = {
3856
3892
  currentPublicLicenseKey = value3;
3857
3893
  },
3858
3894
  type: null,
3859
- id: cliFlag69
3895
+ id: cliFlag70
3860
3896
  };
3861
3897
 
3862
3898
  // src/options/public-path.tsx
3863
- import { jsx as jsx66, jsxs as jsxs44, Fragment as Fragment66 } from "react/jsx-runtime";
3864
- var cliFlag70 = "public-path";
3899
+ import { jsx as jsx67, jsxs as jsxs45, Fragment as Fragment67 } from "react/jsx-runtime";
3900
+ var cliFlag71 = "public-path";
3865
3901
  var currentPublicPath = null;
3866
3902
  var publicPathOption = {
3867
3903
  name: "Public Path",
3868
- cliFlag: cliFlag70,
3904
+ cliFlag: cliFlag71,
3869
3905
  description: () => {
3870
- return /* @__PURE__ */ jsxs44(Fragment66, {
3906
+ return /* @__PURE__ */ jsxs45(Fragment67, {
3871
3907
  children: [
3872
3908
  "The path of the URL where the bundle is going to be hosted. By default it is ",
3873
- /* @__PURE__ */ jsx66("code", {
3909
+ /* @__PURE__ */ jsx67("code", {
3874
3910
  children: "/"
3875
3911
  }),
3876
3912
  ", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
3877
- /* @__PURE__ */ jsx66("code", {
3913
+ /* @__PURE__ */ jsx67("code", {
3878
3914
  children: "https://localhost:3000/"
3879
3915
  }),
3880
3916
  "). If you are deploying to a subdirectory (e.g. ",
3881
- /* @__PURE__ */ jsx66("code", {
3917
+ /* @__PURE__ */ jsx67("code", {
3882
3918
  children: "/sites/my-site/"
3883
3919
  }),
3884
3920
  "), you should set this to the subdirectory."
@@ -3888,10 +3924,10 @@ var publicPathOption = {
3888
3924
  ssrName: "publicPath",
3889
3925
  docLink: "https://www.remotion.dev/docs/renderer",
3890
3926
  getValue: ({ commandLine }) => {
3891
- if (commandLine[cliFlag70] !== undefined) {
3927
+ if (commandLine[cliFlag71] !== undefined) {
3892
3928
  return {
3893
3929
  source: "cli",
3894
- value: commandLine[cliFlag70]
3930
+ value: commandLine[cliFlag71]
3895
3931
  };
3896
3932
  }
3897
3933
  if (currentPublicPath !== null) {
@@ -3909,29 +3945,29 @@ var publicPathOption = {
3909
3945
  currentPublicPath = value3;
3910
3946
  },
3911
3947
  type: "",
3912
- id: cliFlag70
3948
+ id: cliFlag71
3913
3949
  };
3914
3950
 
3915
3951
  // src/options/repro.tsx
3916
- import { jsx as jsx67, Fragment as Fragment67 } from "react/jsx-runtime";
3952
+ import { jsx as jsx68, Fragment as Fragment68 } from "react/jsx-runtime";
3917
3953
  var enableRepro = false;
3918
3954
  var setRepro = (should) => {
3919
3955
  enableRepro = should;
3920
3956
  };
3921
- var cliFlag71 = "repro";
3957
+ var cliFlag72 = "repro";
3922
3958
  var reproOption = {
3923
3959
  name: "Create reproduction",
3924
- cliFlag: cliFlag71,
3925
- description: () => /* @__PURE__ */ jsx67(Fragment67, {
3960
+ cliFlag: cliFlag72,
3961
+ description: () => /* @__PURE__ */ jsx68(Fragment68, {
3926
3962
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
3927
3963
  }),
3928
3964
  ssrName: "repro",
3929
3965
  docLink: "https://www.remotion.dev/docs/render-media#repro",
3930
3966
  type: false,
3931
3967
  getValue: ({ commandLine }) => {
3932
- if (commandLine[cliFlag71] !== undefined) {
3968
+ if (commandLine[cliFlag72] !== undefined) {
3933
3969
  return {
3934
- value: commandLine[cliFlag71],
3970
+ value: commandLine[cliFlag72],
3935
3971
  source: "cli"
3936
3972
  };
3937
3973
  }
@@ -3947,27 +3983,27 @@ var reproOption = {
3947
3983
  };
3948
3984
  },
3949
3985
  setConfig: setRepro,
3950
- id: cliFlag71
3986
+ id: cliFlag72
3951
3987
  };
3952
3988
 
3953
3989
  // src/options/rspack.tsx
3954
- import { jsx as jsx68, Fragment as Fragment68 } from "react/jsx-runtime";
3990
+ import { jsx as jsx69, Fragment as Fragment69 } from "react/jsx-runtime";
3955
3991
  var rspackEnabled = false;
3956
- var cliFlag72 = "experimental-rspack";
3992
+ var cliFlag73 = "experimental-rspack";
3957
3993
  var rspackOption = {
3958
3994
  name: "Experimental Rspack",
3959
- cliFlag: cliFlag72,
3960
- description: () => /* @__PURE__ */ jsx68(Fragment68, {
3995
+ cliFlag: cliFlag73,
3996
+ description: () => /* @__PURE__ */ jsx69(Fragment69, {
3961
3997
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
3962
3998
  }),
3963
3999
  ssrName: null,
3964
4000
  docLink: null,
3965
4001
  type: false,
3966
4002
  getValue: ({ commandLine }) => {
3967
- if (commandLine[cliFlag72] !== undefined) {
4003
+ if (commandLine[cliFlag73] !== undefined) {
3968
4004
  rspackEnabled = true;
3969
4005
  return {
3970
- value: commandLine[cliFlag72],
4006
+ value: commandLine[cliFlag73],
3971
4007
  source: "cli"
3972
4008
  };
3973
4009
  }
@@ -3979,21 +4015,21 @@ var rspackOption = {
3979
4015
  setConfig(value3) {
3980
4016
  rspackEnabled = value3;
3981
4017
  },
3982
- id: cliFlag72
4018
+ id: cliFlag73
3983
4019
  };
3984
4020
 
3985
4021
  // src/options/runs.tsx
3986
- import { jsx as jsx69, jsxs as jsxs45, Fragment as Fragment69 } from "react/jsx-runtime";
4022
+ import { jsx as jsx70, jsxs as jsxs46, Fragment as Fragment70 } from "react/jsx-runtime";
3987
4023
  var DEFAULT_RUNS = 3;
3988
4024
  var currentRuns = DEFAULT_RUNS;
3989
- var cliFlag73 = "runs";
4025
+ var cliFlag74 = "runs";
3990
4026
  var runsOption = {
3991
4027
  name: "Benchmark runs",
3992
- cliFlag: cliFlag73,
3993
- description: () => /* @__PURE__ */ jsxs45(Fragment69, {
4028
+ cliFlag: cliFlag74,
4029
+ description: () => /* @__PURE__ */ jsxs46(Fragment70, {
3994
4030
  children: [
3995
4031
  "Specify how many times the video should be rendered during a benchmark. Default ",
3996
- /* @__PURE__ */ jsx69("code", {
4032
+ /* @__PURE__ */ jsx70("code", {
3997
4033
  children: DEFAULT_RUNS
3998
4034
  }),
3999
4035
  "."
@@ -4003,10 +4039,10 @@ var runsOption = {
4003
4039
  docLink: "https://www.remotion.dev/docs/cli/benchmark#--runs",
4004
4040
  type: DEFAULT_RUNS,
4005
4041
  getValue: ({ commandLine }) => {
4006
- if (commandLine[cliFlag73] !== undefined) {
4007
- const value3 = Number(commandLine[cliFlag73]);
4042
+ if (commandLine[cliFlag74] !== undefined) {
4043
+ const value3 = Number(commandLine[cliFlag74]);
4008
4044
  if (isNaN(value3) || value3 < 1) {
4009
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag73]}`);
4045
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag74]}`);
4010
4046
  }
4011
4047
  return { value: value3, source: "cli" };
4012
4048
  }
@@ -4021,13 +4057,13 @@ var runsOption = {
4021
4057
  }
4022
4058
  currentRuns = value3;
4023
4059
  },
4024
- id: cliFlag73
4060
+ id: cliFlag74
4025
4061
  };
4026
4062
 
4027
4063
  // src/options/scale.tsx
4028
- import { jsx as jsx70, jsxs as jsxs46, Fragment as Fragment70 } from "react/jsx-runtime";
4064
+ import { jsx as jsx71, jsxs as jsxs47, Fragment as Fragment71 } from "react/jsx-runtime";
4029
4065
  var currentScale = 1;
4030
- var cliFlag74 = "scale";
4066
+ var cliFlag75 = "scale";
4031
4067
  var validateScale = (value3) => {
4032
4068
  if (typeof value3 !== "number") {
4033
4069
  throw new Error("scale must be a number.");
@@ -4035,15 +4071,15 @@ var validateScale = (value3) => {
4035
4071
  };
4036
4072
  var scaleOption = {
4037
4073
  name: "Scale",
4038
- cliFlag: cliFlag74,
4039
- description: () => /* @__PURE__ */ jsxs46(Fragment70, {
4074
+ cliFlag: cliFlag75,
4075
+ description: () => /* @__PURE__ */ jsxs47(Fragment71, {
4040
4076
  children: [
4041
4077
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
4042
- /* @__PURE__ */ jsx70("code", {
4078
+ /* @__PURE__ */ jsx71("code", {
4043
4079
  children: "1.5"
4044
4080
  }),
4045
4081
  ". See ",
4046
- /* @__PURE__ */ jsx70("a", {
4082
+ /* @__PURE__ */ jsx71("a", {
4047
4083
  href: "https://www.remotion.dev/docs/scaling",
4048
4084
  children: "Scaling"
4049
4085
  }),
@@ -4054,11 +4090,11 @@ var scaleOption = {
4054
4090
  docLink: "https://www.remotion.dev/docs/scaling",
4055
4091
  type: 0,
4056
4092
  getValue: ({ commandLine }) => {
4057
- if (commandLine[cliFlag74] !== undefined) {
4058
- validateScale(commandLine[cliFlag74]);
4093
+ if (commandLine[cliFlag75] !== undefined) {
4094
+ validateScale(commandLine[cliFlag75]);
4059
4095
  return {
4060
4096
  source: "cli",
4061
- value: commandLine[cliFlag74]
4097
+ value: commandLine[cliFlag75]
4062
4098
  };
4063
4099
  }
4064
4100
  if (currentScale !== null) {
@@ -4075,13 +4111,13 @@ var scaleOption = {
4075
4111
  setConfig: (scale) => {
4076
4112
  currentScale = scale;
4077
4113
  },
4078
- id: cliFlag74
4114
+ id: cliFlag75
4079
4115
  };
4080
4116
 
4081
4117
  // src/options/still-frame.tsx
4082
4118
  import { NoReactInternals as NoReactInternals3 } from "remotion/no-react";
4083
- import { jsx as jsx71, jsxs as jsxs47, Fragment as Fragment71 } from "react/jsx-runtime";
4084
- var cliFlag75 = "frame";
4119
+ import { jsx as jsx72, jsxs as jsxs48, Fragment as Fragment72 } from "react/jsx-runtime";
4120
+ var cliFlag76 = "frame";
4085
4121
  var currentFrame = null;
4086
4122
  var validate3 = (frame) => {
4087
4123
  NoReactInternals3.validateFrame({
@@ -4092,17 +4128,17 @@ var validate3 = (frame) => {
4092
4128
  };
4093
4129
  var stillFrameOption = {
4094
4130
  name: "Frame",
4095
- cliFlag: cliFlag75,
4096
- description: () => /* @__PURE__ */ jsxs47(Fragment71, {
4131
+ cliFlag: cliFlag76,
4132
+ description: () => /* @__PURE__ */ jsxs48(Fragment72, {
4097
4133
  children: [
4098
4134
  "Which frame should be rendered when rendering a still. Default",
4099
4135
  " ",
4100
- /* @__PURE__ */ jsx71("code", {
4136
+ /* @__PURE__ */ jsx72("code", {
4101
4137
  children: "0"
4102
4138
  }),
4103
4139
  ". From v3.2.27, negative values are allowed, with",
4104
4140
  " ",
4105
- /* @__PURE__ */ jsx71("code", {
4141
+ /* @__PURE__ */ jsx72("code", {
4106
4142
  children: "-1"
4107
4143
  }),
4108
4144
  " being the last frame."
@@ -4111,8 +4147,8 @@ var stillFrameOption = {
4111
4147
  ssrName: "frame",
4112
4148
  docLink: "https://www.remotion.dev/docs/cli/still#--frame",
4113
4149
  getValue: ({ commandLine }) => {
4114
- if (commandLine[cliFlag75] !== undefined) {
4115
- const frame = Number(commandLine[cliFlag75]);
4150
+ if (commandLine[cliFlag76] !== undefined) {
4151
+ const frame = Number(commandLine[cliFlag76]);
4116
4152
  validate3(frame);
4117
4153
  return {
4118
4154
  source: "cli",
@@ -4137,24 +4173,24 @@ var stillFrameOption = {
4137
4173
  currentFrame = value3;
4138
4174
  },
4139
4175
  type: 0,
4140
- id: cliFlag75
4176
+ id: cliFlag76
4141
4177
  };
4142
4178
 
4143
4179
  // src/options/still-image-format.tsx
4144
- import { jsx as jsx72, jsxs as jsxs48, Fragment as Fragment72 } from "react/jsx-runtime";
4180
+ import { jsx as jsx73, jsxs as jsxs49, Fragment as Fragment73 } from "react/jsx-runtime";
4145
4181
  var currentStillImageFormat = null;
4146
- var cliFlag76 = "image-format";
4182
+ var cliFlag77 = "image-format";
4147
4183
  var stillImageFormatOption = {
4148
4184
  name: "Still Image Format",
4149
- cliFlag: cliFlag76,
4150
- description: () => /* @__PURE__ */ jsxs48(Fragment72, {
4185
+ cliFlag: cliFlag77,
4186
+ description: () => /* @__PURE__ */ jsxs49(Fragment73, {
4151
4187
  children: [
4152
4188
  "The image format to use when rendering a still. Must be one of",
4153
4189
  " ",
4154
4190
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
4155
4191
  ". Default:",
4156
4192
  " ",
4157
- /* @__PURE__ */ jsx72("code", {
4193
+ /* @__PURE__ */ jsx73("code", {
4158
4194
  children: '"png"'
4159
4195
  }),
4160
4196
  "."
@@ -4164,8 +4200,8 @@ var stillImageFormatOption = {
4164
4200
  docLink: "https://www.remotion.dev/docs/renderer/render-still#imageformat",
4165
4201
  type: null,
4166
4202
  getValue: ({ commandLine }) => {
4167
- if (commandLine[cliFlag76] !== undefined) {
4168
- const value3 = commandLine[cliFlag76];
4203
+ if (commandLine[cliFlag77] !== undefined) {
4204
+ const value3 = commandLine[cliFlag77];
4169
4205
  if (!validStillImageFormats.includes(value3)) {
4170
4206
  throw new Error(`Invalid still image format: ${value3}. Must be one of: ${validStillImageFormats.join(", ")}`);
4171
4207
  }
@@ -4203,16 +4239,16 @@ var stillImageFormatOption = {
4203
4239
 
4204
4240
  // src/options/throw-if-site-exists.tsx
4205
4241
  var DEFAULT5 = false;
4206
- var cliFlag77 = "throw-if-site-exists";
4242
+ var cliFlag78 = "throw-if-site-exists";
4207
4243
  var throwIfSiteExistsOption = {
4208
- cliFlag: cliFlag77,
4244
+ cliFlag: cliFlag78,
4209
4245
  description: () => `Prevents accidential update of an existing site. If there are any files in the subfolder where the site should be placed, the function will throw.`,
4210
4246
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
4211
4247
  getValue: ({ commandLine }) => {
4212
- if (commandLine[cliFlag77]) {
4248
+ if (commandLine[cliFlag78]) {
4213
4249
  return {
4214
4250
  source: "cli",
4215
- value: commandLine[cliFlag77]
4251
+ value: commandLine[cliFlag78]
4216
4252
  };
4217
4253
  }
4218
4254
  return {
@@ -4226,41 +4262,41 @@ var throwIfSiteExistsOption = {
4226
4262
  },
4227
4263
  ssrName: "throwIfSiteExists",
4228
4264
  type: false,
4229
- id: cliFlag77
4265
+ id: cliFlag78
4230
4266
  };
4231
4267
 
4232
4268
  // src/options/timeout.tsx
4233
- import { jsx as jsx73, jsxs as jsxs49, Fragment as Fragment73 } from "react/jsx-runtime";
4269
+ import { jsx as jsx74, jsxs as jsxs50, Fragment as Fragment74 } from "react/jsx-runtime";
4234
4270
  var currentTimeout = DEFAULT_TIMEOUT;
4235
4271
  var validate4 = (value3) => {
4236
4272
  if (typeof value3 !== "number") {
4237
4273
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
4238
4274
  }
4239
4275
  };
4240
- var cliFlag78 = "timeout";
4276
+ var cliFlag79 = "timeout";
4241
4277
  var delayRenderTimeoutInMillisecondsOption = {
4242
4278
  name: "delayRender() timeout",
4243
- cliFlag: cliFlag78,
4244
- description: () => /* @__PURE__ */ jsxs49(Fragment73, {
4279
+ cliFlag: cliFlag79,
4280
+ description: () => /* @__PURE__ */ jsxs50(Fragment74, {
4245
4281
  children: [
4246
4282
  "A number describing how long the render may take to resolve all",
4247
4283
  " ",
4248
- /* @__PURE__ */ jsx73("a", {
4284
+ /* @__PURE__ */ jsx74("a", {
4249
4285
  href: "https://remotion.dev/docs/delay-render",
4250
- children: /* @__PURE__ */ jsx73("code", {
4286
+ children: /* @__PURE__ */ jsx74("code", {
4251
4287
  children: "delayRender()"
4252
4288
  })
4253
4289
  }),
4254
4290
  " ",
4255
4291
  "calls",
4256
4292
  " ",
4257
- /* @__PURE__ */ jsx73("a", {
4293
+ /* @__PURE__ */ jsx74("a", {
4258
4294
  style: { fontSize: "inherit" },
4259
4295
  href: "https://remotion.dev/docs/timeout",
4260
4296
  children: "before it times out"
4261
4297
  }),
4262
4298
  ". Default: ",
4263
- /* @__PURE__ */ jsx73("code", {
4299
+ /* @__PURE__ */ jsx74("code", {
4264
4300
  children: "30000"
4265
4301
  })
4266
4302
  ]
@@ -4269,10 +4305,10 @@ var delayRenderTimeoutInMillisecondsOption = {
4269
4305
  docLink: "https://www.remotion.dev/docs/timeout",
4270
4306
  type: 0,
4271
4307
  getValue: ({ commandLine }) => {
4272
- if (commandLine[cliFlag78] !== undefined) {
4308
+ if (commandLine[cliFlag79] !== undefined) {
4273
4309
  return {
4274
4310
  source: "cli",
4275
- value: commandLine[cliFlag78]
4311
+ value: commandLine[cliFlag79]
4276
4312
  };
4277
4313
  }
4278
4314
  if (currentTimeout !== null) {
@@ -4291,27 +4327,27 @@ var delayRenderTimeoutInMillisecondsOption = {
4291
4327
  validate4(value3);
4292
4328
  currentTimeout = value3;
4293
4329
  },
4294
- id: cliFlag78
4330
+ id: cliFlag79
4295
4331
  };
4296
4332
 
4297
4333
  // src/options/user-agent.tsx
4298
- import { jsx as jsx74, Fragment as Fragment74 } from "react/jsx-runtime";
4334
+ import { jsx as jsx75, Fragment as Fragment75 } from "react/jsx-runtime";
4299
4335
  var userAgent = null;
4300
- var cliFlag79 = "user-agent";
4336
+ var cliFlag80 = "user-agent";
4301
4337
  var userAgentOption = {
4302
4338
  name: "User agent",
4303
- cliFlag: cliFlag79,
4304
- description: () => /* @__PURE__ */ jsx74(Fragment74, {
4339
+ cliFlag: cliFlag80,
4340
+ description: () => /* @__PURE__ */ jsx75(Fragment75, {
4305
4341
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
4306
4342
  }),
4307
4343
  ssrName: "userAgent",
4308
4344
  docLink: "https://www.remotion.dev/docs/chromium-flags#--user-agent",
4309
4345
  type: null,
4310
4346
  getValue: ({ commandLine }) => {
4311
- if (commandLine[cliFlag79] !== undefined) {
4347
+ if (commandLine[cliFlag80] !== undefined) {
4312
4348
  return {
4313
4349
  source: "cli",
4314
- value: commandLine[cliFlag79]
4350
+ value: commandLine[cliFlag80]
4315
4351
  };
4316
4352
  }
4317
4353
  if (userAgent !== null) {
@@ -4328,25 +4364,25 @@ var userAgentOption = {
4328
4364
  setConfig: (value3) => {
4329
4365
  userAgent = value3;
4330
4366
  },
4331
- id: cliFlag79
4367
+ id: cliFlag80
4332
4368
  };
4333
4369
 
4334
4370
  // src/options/version-flag.tsx
4335
- import { jsx as jsx75, Fragment as Fragment75 } from "react/jsx-runtime";
4336
- var cliFlag80 = "version";
4371
+ import { jsx as jsx76, Fragment as Fragment76 } from "react/jsx-runtime";
4372
+ var cliFlag81 = "version";
4337
4373
  var versionFlagOption = {
4338
4374
  name: "Version",
4339
- cliFlag: cliFlag80,
4340
- description: () => /* @__PURE__ */ jsx75(Fragment75, {
4375
+ cliFlag: cliFlag81,
4376
+ description: () => /* @__PURE__ */ jsx76(Fragment76, {
4341
4377
  children: "Install a specific version. Also enables downgrading to an older version."
4342
4378
  }),
4343
4379
  ssrName: null,
4344
4380
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--version",
4345
4381
  getValue: ({ commandLine }) => {
4346
- if (commandLine[cliFlag80] !== undefined) {
4382
+ if (commandLine[cliFlag81] !== undefined) {
4347
4383
  return {
4348
4384
  source: "cli",
4349
- value: String(commandLine[cliFlag80])
4385
+ value: String(commandLine[cliFlag81])
4350
4386
  };
4351
4387
  }
4352
4388
  return {
@@ -4358,30 +4394,30 @@ var versionFlagOption = {
4358
4394
  throw new Error("Cannot set version via config file");
4359
4395
  },
4360
4396
  type: "",
4361
- id: cliFlag80
4397
+ id: cliFlag81
4362
4398
  };
4363
4399
 
4364
4400
  // src/options/video-bitrate.tsx
4365
- import { jsx as jsx76, jsxs as jsxs50, Fragment as Fragment76 } from "react/jsx-runtime";
4401
+ import { jsx as jsx77, jsxs as jsxs51, Fragment as Fragment77 } from "react/jsx-runtime";
4366
4402
  var videoBitrate = null;
4367
- var cliFlag81 = "video-bitrate";
4403
+ var cliFlag82 = "video-bitrate";
4368
4404
  var videoBitrateOption = {
4369
4405
  name: "Video Bitrate",
4370
- cliFlag: cliFlag81,
4371
- description: () => /* @__PURE__ */ jsxs50(Fragment76, {
4406
+ cliFlag: cliFlag82,
4407
+ description: () => /* @__PURE__ */ jsxs51(Fragment77, {
4372
4408
  children: [
4373
4409
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
4374
4410
  "'",
4375
4411
  "s",
4376
- /* @__PURE__ */ jsx76("code", {
4412
+ /* @__PURE__ */ jsx77("code", {
4377
4413
  children: "-b:v"
4378
4414
  }),
4379
4415
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
4380
- /* @__PURE__ */ jsx76("code", {
4416
+ /* @__PURE__ */ jsx77("code", {
4381
4417
  children: "512K"
4382
4418
  }),
4383
4419
  " for 512 kbps, ",
4384
- /* @__PURE__ */ jsx76("code", {
4420
+ /* @__PURE__ */ jsx77("code", {
4385
4421
  children: "1M"
4386
4422
  }),
4387
4423
  " for 1 Mbps."
@@ -4391,10 +4427,10 @@ var videoBitrateOption = {
4391
4427
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
4392
4428
  type: "",
4393
4429
  getValue: ({ commandLine }) => {
4394
- if (commandLine[cliFlag81] !== undefined) {
4430
+ if (commandLine[cliFlag82] !== undefined) {
4395
4431
  return {
4396
4432
  source: "cli",
4397
- value: commandLine[cliFlag81]
4433
+ value: commandLine[cliFlag82]
4398
4434
  };
4399
4435
  }
4400
4436
  if (videoBitrate !== null) {
@@ -4411,33 +4447,33 @@ var videoBitrateOption = {
4411
4447
  setConfig: (bitrate) => {
4412
4448
  videoBitrate = bitrate;
4413
4449
  },
4414
- id: cliFlag81
4450
+ id: cliFlag82
4415
4451
  };
4416
4452
 
4417
4453
  // src/options/video-cache-size.tsx
4418
- import { jsx as jsx77, jsxs as jsxs51, Fragment as Fragment77 } from "react/jsx-runtime";
4454
+ import { jsx as jsx78, jsxs as jsxs52, Fragment as Fragment78 } from "react/jsx-runtime";
4419
4455
  var mediaCacheSizeInBytes = null;
4420
- var cliFlag82 = "media-cache-size-in-bytes";
4456
+ var cliFlag83 = "media-cache-size-in-bytes";
4421
4457
  var mediaCacheSizeInBytesOption = {
4422
4458
  name: "@remotion/media cache size",
4423
- cliFlag: cliFlag82,
4424
- description: () => /* @__PURE__ */ jsxs51(Fragment77, {
4459
+ cliFlag: cliFlag83,
4460
+ description: () => /* @__PURE__ */ jsxs52(Fragment78, {
4425
4461
  children: [
4426
4462
  "Specify the maximum size of the cache that ",
4427
- /* @__PURE__ */ jsx77("code", {
4463
+ /* @__PURE__ */ jsx78("code", {
4428
4464
  children: "<Video>"
4429
4465
  }),
4430
4466
  " and",
4431
4467
  " ",
4432
- /* @__PURE__ */ jsx77("code", {
4468
+ /* @__PURE__ */ jsx78("code", {
4433
4469
  children: "<Audio>"
4434
4470
  }),
4435
4471
  " from ",
4436
- /* @__PURE__ */ jsx77("code", {
4472
+ /* @__PURE__ */ jsx78("code", {
4437
4473
  children: "@remotion/media"
4438
4474
  }),
4439
4475
  " may use combined, in bytes. ",
4440
- /* @__PURE__ */ jsx77("br", {}),
4476
+ /* @__PURE__ */ jsx78("br", {}),
4441
4477
  "The default is half of the available system memory when the render starts."
4442
4478
  ]
4443
4479
  }),
@@ -4445,10 +4481,10 @@ var mediaCacheSizeInBytesOption = {
4445
4481
  docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
4446
4482
  type: 0,
4447
4483
  getValue: ({ commandLine }) => {
4448
- if (commandLine[cliFlag82] !== undefined) {
4484
+ if (commandLine[cliFlag83] !== undefined) {
4449
4485
  return {
4450
4486
  source: "cli",
4451
- value: commandLine[cliFlag82]
4487
+ value: commandLine[cliFlag83]
4452
4488
  };
4453
4489
  }
4454
4490
  if (mediaCacheSizeInBytes !== null) {
@@ -4465,7 +4501,7 @@ var mediaCacheSizeInBytesOption = {
4465
4501
  setConfig: (size) => {
4466
4502
  mediaCacheSizeInBytes = size ?? null;
4467
4503
  },
4468
- id: cliFlag82
4504
+ id: cliFlag83
4469
4505
  };
4470
4506
 
4471
4507
  // src/path-normalize.ts
@@ -4584,7 +4620,7 @@ var getExtensionOfFilename = (filename) => {
4584
4620
  };
4585
4621
 
4586
4622
  // src/options/video-codec.tsx
4587
- import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4623
+ import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4588
4624
  var codec;
4589
4625
  var setCodec = (newCodec) => {
4590
4626
  if (newCodec === undefined) {
@@ -4608,11 +4644,11 @@ var deriveCodecsFromFilename = (extension) => {
4608
4644
  possible: makeFileExtensionMap()[extension] ?? []
4609
4645
  };
4610
4646
  };
4611
- var cliFlag83 = "codec";
4647
+ var cliFlag84 = "codec";
4612
4648
  var videoCodecOption = {
4613
4649
  name: "Codec",
4614
- cliFlag: cliFlag83,
4615
- description: () => /* @__PURE__ */ jsx78(Fragment78, {
4650
+ cliFlag: cliFlag84,
4651
+ description: () => /* @__PURE__ */ jsx79(Fragment79, {
4616
4652
  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."
4617
4653
  }),
4618
4654
  ssrName: "codec",
@@ -4635,7 +4671,7 @@ var videoCodecOption = {
4635
4671
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
4636
4672
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
4637
4673
  }
4638
- const cliArgument = commandLine[cliFlag83];
4674
+ const cliArgument = commandLine[cliFlag84];
4639
4675
  if (cliArgument) {
4640
4676
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
4641
4677
  throw new TypeError(`The download name is ${downloadName} but --codec=${cliArgument} was passed. The download name implies a codec of ${derivedDownloadCodecs.possible.join(" or ")} which does not align with the --codec flag.`);
@@ -4681,24 +4717,24 @@ var videoCodecOption = {
4681
4717
  return { value: DEFAULT_CODEC, source: "default" };
4682
4718
  },
4683
4719
  setConfig: setCodec,
4684
- id: cliFlag83
4720
+ id: cliFlag84
4685
4721
  };
4686
4722
 
4687
4723
  // src/options/video-image-format.tsx
4688
- import { jsx as jsx79, jsxs as jsxs52, Fragment as Fragment79 } from "react/jsx-runtime";
4724
+ import { jsx as jsx80, jsxs as jsxs53, Fragment as Fragment80 } from "react/jsx-runtime";
4689
4725
  var currentVideoImageFormat = null;
4690
- var cliFlag84 = "image-format";
4726
+ var cliFlag85 = "image-format";
4691
4727
  var videoImageFormatOption = {
4692
4728
  name: "Video Image Format",
4693
- cliFlag: cliFlag84,
4694
- description: () => /* @__PURE__ */ jsxs52(Fragment79, {
4729
+ cliFlag: cliFlag85,
4730
+ description: () => /* @__PURE__ */ jsxs53(Fragment80, {
4695
4731
  children: [
4696
4732
  "The image format to use when rendering frames for a video. Must be one of",
4697
4733
  " ",
4698
4734
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
4699
4735
  ". Default:",
4700
4736
  " ",
4701
- /* @__PURE__ */ jsx79("code", {
4737
+ /* @__PURE__ */ jsx80("code", {
4702
4738
  children: '"jpeg"'
4703
4739
  }),
4704
4740
  ". JPEG is faster, but does not support transparency."
@@ -4708,8 +4744,8 @@ var videoImageFormatOption = {
4708
4744
  docLink: "https://www.remotion.dev/docs/renderer/render-media#imageformat",
4709
4745
  type: null,
4710
4746
  getValue: ({ commandLine }) => {
4711
- if (commandLine[cliFlag84] !== undefined) {
4712
- const value3 = commandLine[cliFlag84];
4747
+ if (commandLine[cliFlag85] !== undefined) {
4748
+ const value3 = commandLine[cliFlag85];
4713
4749
  if (!validVideoImageFormats.includes(value3)) {
4714
4750
  throw new Error(`Invalid video image format: ${value3}. Must be one of: ${validVideoImageFormats.join(", ")}`);
4715
4751
  }
@@ -4746,12 +4782,12 @@ var videoImageFormatOption = {
4746
4782
  };
4747
4783
 
4748
4784
  // src/options/webhook-custom-data.tsx
4749
- import { jsxs as jsxs53, Fragment as Fragment80 } from "react/jsx-runtime";
4750
- var cliFlag85 = "webhook-custom-data";
4785
+ import { jsxs as jsxs54, Fragment as Fragment81 } from "react/jsx-runtime";
4786
+ var cliFlag86 = "webhook-custom-data";
4751
4787
  var webhookCustomDataOption = {
4752
4788
  name: "Webhook custom data",
4753
- cliFlag: cliFlag85,
4754
- description: (type) => /* @__PURE__ */ jsxs53(Fragment80, {
4789
+ cliFlag: cliFlag86,
4790
+ description: (type) => /* @__PURE__ */ jsxs54(Fragment81, {
4755
4791
  children: [
4756
4792
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
4757
4793
  " ",
@@ -4767,24 +4803,24 @@ var webhookCustomDataOption = {
4767
4803
  setConfig: () => {
4768
4804
  throw new Error("Not implemented");
4769
4805
  },
4770
- id: cliFlag85
4806
+ id: cliFlag86
4771
4807
  };
4772
4808
 
4773
4809
  // src/options/webpack-poll.tsx
4774
- import { jsx as jsx80, Fragment as Fragment81 } from "react/jsx-runtime";
4775
- var cliFlag86 = "webpack-poll";
4810
+ import { jsx as jsx81, Fragment as Fragment82 } from "react/jsx-runtime";
4811
+ var cliFlag87 = "webpack-poll";
4776
4812
  var webpackPolling = null;
4777
4813
  var webpackPollOption = {
4778
4814
  name: "Webpack Polling",
4779
- cliFlag: cliFlag86,
4780
- description: () => /* @__PURE__ */ jsx80(Fragment81, {
4815
+ cliFlag: cliFlag87,
4816
+ description: () => /* @__PURE__ */ jsx81(Fragment82, {
4781
4817
  children: "Enables Webpack polling instead of the file system event listeners for hot reloading. This is useful if you are inside a virtual machine or have a remote file system. Pass a value in milliseconds."
4782
4818
  }),
4783
4819
  ssrName: null,
4784
4820
  docLink: "https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds",
4785
4821
  getValue: ({ commandLine }) => {
4786
- if (commandLine[cliFlag86] !== undefined) {
4787
- const val = commandLine[cliFlag86];
4822
+ if (commandLine[cliFlag87] !== undefined) {
4823
+ const val = commandLine[cliFlag87];
4788
4824
  if (typeof val !== "number") {
4789
4825
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
4790
4826
  }
@@ -4811,11 +4847,11 @@ var webpackPollOption = {
4811
4847
  webpackPolling = value3;
4812
4848
  },
4813
4849
  type: 0,
4814
- id: cliFlag86
4850
+ id: cliFlag87
4815
4851
  };
4816
4852
 
4817
4853
  // src/options/x264-preset.tsx
4818
- import { jsx as jsx81, jsxs as jsxs54, Fragment as Fragment82 } from "react/jsx-runtime";
4854
+ import { jsx as jsx82, jsxs as jsxs55, Fragment as Fragment83 } from "react/jsx-runtime";
4819
4855
  var x264PresetOptions = [
4820
4856
  "ultrafast",
4821
4857
  "superfast",
@@ -4829,63 +4865,63 @@ var x264PresetOptions = [
4829
4865
  "placebo"
4830
4866
  ];
4831
4867
  var preset = null;
4832
- var cliFlag87 = "x264-preset";
4868
+ var cliFlag88 = "x264-preset";
4833
4869
  var DEFAULT_PRESET = "medium";
4834
4870
  var x264Option = {
4835
4871
  name: "x264 Preset",
4836
- cliFlag: cliFlag87,
4837
- description: () => /* @__PURE__ */ jsxs54(Fragment82, {
4872
+ cliFlag: cliFlag88,
4873
+ description: () => /* @__PURE__ */ jsxs55(Fragment83, {
4838
4874
  children: [
4839
4875
  "Sets a x264 preset profile. Only applies to videos rendered with",
4840
4876
  " ",
4841
- /* @__PURE__ */ jsx81("code", {
4877
+ /* @__PURE__ */ jsx82("code", {
4842
4878
  children: "h264"
4843
4879
  }),
4844
4880
  " codec.",
4845
- /* @__PURE__ */ jsx81("br", {}),
4881
+ /* @__PURE__ */ jsx82("br", {}),
4846
4882
  "Possible values: ",
4847
- /* @__PURE__ */ jsx81("code", {
4883
+ /* @__PURE__ */ jsx82("code", {
4848
4884
  children: "superfast"
4849
4885
  }),
4850
4886
  ", ",
4851
- /* @__PURE__ */ jsx81("code", {
4887
+ /* @__PURE__ */ jsx82("code", {
4852
4888
  children: "veryfast"
4853
4889
  }),
4854
4890
  ",",
4855
4891
  " ",
4856
- /* @__PURE__ */ jsx81("code", {
4892
+ /* @__PURE__ */ jsx82("code", {
4857
4893
  children: "faster"
4858
4894
  }),
4859
4895
  ", ",
4860
- /* @__PURE__ */ jsx81("code", {
4896
+ /* @__PURE__ */ jsx82("code", {
4861
4897
  children: "fast"
4862
4898
  }),
4863
4899
  ", ",
4864
- /* @__PURE__ */ jsx81("code", {
4900
+ /* @__PURE__ */ jsx82("code", {
4865
4901
  children: "medium"
4866
4902
  }),
4867
4903
  ",",
4868
4904
  " ",
4869
- /* @__PURE__ */ jsx81("code", {
4905
+ /* @__PURE__ */ jsx82("code", {
4870
4906
  children: "slow"
4871
4907
  }),
4872
4908
  ", ",
4873
- /* @__PURE__ */ jsx81("code", {
4909
+ /* @__PURE__ */ jsx82("code", {
4874
4910
  children: "slower"
4875
4911
  }),
4876
4912
  ", ",
4877
- /* @__PURE__ */ jsx81("code", {
4913
+ /* @__PURE__ */ jsx82("code", {
4878
4914
  children: "veryslow"
4879
4915
  }),
4880
4916
  ",",
4881
4917
  " ",
4882
- /* @__PURE__ */ jsx81("code", {
4918
+ /* @__PURE__ */ jsx82("code", {
4883
4919
  children: "placebo"
4884
4920
  }),
4885
4921
  ".",
4886
- /* @__PURE__ */ jsx81("br", {}),
4922
+ /* @__PURE__ */ jsx82("br", {}),
4887
4923
  "Default: ",
4888
- /* @__PURE__ */ jsx81("code", {
4924
+ /* @__PURE__ */ jsx82("code", {
4889
4925
  children: DEFAULT_PRESET
4890
4926
  })
4891
4927
  ]
@@ -4894,7 +4930,7 @@ var x264Option = {
4894
4930
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
4895
4931
  type: "fast",
4896
4932
  getValue: ({ commandLine }) => {
4897
- const value3 = commandLine[cliFlag87];
4933
+ const value3 = commandLine[cliFlag88];
4898
4934
  if (typeof value3 !== "undefined") {
4899
4935
  return { value: value3, source: "cli" };
4900
4936
  }
@@ -4906,12 +4942,13 @@ var x264Option = {
4906
4942
  setConfig: (profile) => {
4907
4943
  preset = profile;
4908
4944
  },
4909
- id: cliFlag87
4945
+ id: cliFlag88
4910
4946
  };
4911
4947
 
4912
4948
  // src/options/index.tsx
4913
4949
  var allOptions = {
4914
4950
  audioCodecOption,
4951
+ benchmarkConcurrenciesOption,
4915
4952
  browserExecutableOption,
4916
4953
  concurrencyOption,
4917
4954
  scaleOption,