@remotion/renderer 4.0.427 → 4.0.429

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +7 -7
  2. package/dist/browser/BrowserFetcher.js +1 -1
  3. package/dist/browser/BrowserPage.d.ts +1 -1
  4. package/dist/browser/BrowserPage.js +1 -1
  5. package/dist/browser/BrowserRunner.js +1 -1
  6. package/dist/browser/FrameManager.d.ts +1 -1
  7. package/dist/browser/FrameManager.js +2 -2
  8. package/dist/browser/handle-failed-resource.d.ts +1 -1
  9. package/dist/call-ffmpeg.d.ts +1 -1
  10. package/dist/call-ffmpeg.js +1 -1
  11. package/dist/client.d.ts +16 -0
  12. package/dist/compositor/compositor.js +1 -1
  13. package/dist/ensure-browser.js +1 -1
  14. package/dist/esm/client.mjs +546 -514
  15. package/dist/esm/index.mjs +13 -13
  16. package/dist/get-compositions.js +1 -1
  17. package/dist/options/{private-license-key.d.ts → browser-args.d.ts} +7 -6
  18. package/dist/options/browser-args.js +25 -0
  19. package/dist/options/concurrencies.d.ts +16 -0
  20. package/dist/options/concurrencies.js +37 -0
  21. package/dist/options/experimental-visual-mode.d.ts +16 -0
  22. package/dist/options/experimental-visual-mode.js +30 -0
  23. package/dist/options/force.d.ts +16 -0
  24. package/dist/options/force.js +24 -0
  25. package/dist/options/help.d.ts +16 -0
  26. package/dist/options/help.js +26 -0
  27. package/dist/options/image-format.d.ts +11 -0
  28. package/dist/options/image-format.js +18 -0
  29. package/dist/options/index.d.ts +16 -0
  30. package/dist/options/index.js +2 -0
  31. package/dist/options/{image-format-option.d.ts → output.d.ts} +7 -6
  32. package/dist/options/output.js +38 -0
  33. package/dist/options/png.d.ts +11 -0
  34. package/dist/options/png.js +18 -0
  35. package/dist/options/q.d.ts +19 -0
  36. package/dist/options/q.js +26 -0
  37. package/dist/options/quality.d.ts +11 -0
  38. package/dist/options/quality.js +20 -0
  39. package/dist/options/quiet.d.ts +19 -0
  40. package/dist/options/quiet.js +26 -0
  41. package/dist/render-frames.js +1 -1
  42. package/dist/render-media.js +2 -2
  43. package/dist/render-still.js +2 -2
  44. package/dist/select-composition.js +1 -1
  45. package/package.json +14 -14
  46. package/types/ws/index.d.ts +76 -64
  47. package/dist/options/image-format-option.js +0 -33
  48. package/dist/options/private-license-key.js +0 -35
@@ -1761,23 +1761,54 @@ var experimentalClientSideRenderingOption = {
1761
1761
  id: cliFlag29
1762
1762
  };
1763
1763
 
1764
+ // src/options/experimental-visual-mode.tsx
1765
+ import { jsx as jsx27, Fragment as Fragment27 } from "react/jsx-runtime";
1766
+ var experimentalVisualModeEnabled = false;
1767
+ var cliFlag30 = "experimental-visual-mode";
1768
+ var experimentalVisualModeOption = {
1769
+ name: "Experimental Visual Mode",
1770
+ cliFlag: cliFlag30,
1771
+ description: () => /* @__PURE__ */ jsx27(Fragment27, {
1772
+ children: "Nothing here yet, but this is our playground for experiments."
1773
+ }),
1774
+ ssrName: null,
1775
+ docLink: "https://www.remotion.dev/docs/config#setexperimentalvisualmode",
1776
+ type: false,
1777
+ getValue: ({ commandLine }) => {
1778
+ if (commandLine[cliFlag30] !== null) {
1779
+ return {
1780
+ value: commandLine[cliFlag30],
1781
+ source: "cli"
1782
+ };
1783
+ }
1784
+ return {
1785
+ value: experimentalVisualModeEnabled,
1786
+ source: "config"
1787
+ };
1788
+ },
1789
+ setConfig(value) {
1790
+ experimentalVisualModeEnabled = value;
1791
+ },
1792
+ id: cliFlag30
1793
+ };
1794
+
1764
1795
  // src/options/folder-expiry.tsx
1765
- import { jsx as jsx27, jsxs as jsxs18, Fragment as Fragment27 } from "react/jsx-runtime";
1796
+ import { jsx as jsx28, jsxs as jsxs18, Fragment as Fragment28 } from "react/jsx-runtime";
1766
1797
  var enableFolderExpiry = null;
1767
- var cliFlag30 = "enable-folder-expiry";
1798
+ var cliFlag31 = "enable-folder-expiry";
1768
1799
  var folderExpiryOption = {
1769
1800
  name: "Lambda render expiration",
1770
- cliFlag: cliFlag30,
1801
+ cliFlag: cliFlag31,
1771
1802
  description: () => {
1772
- return /* @__PURE__ */ jsxs18(Fragment27, {
1803
+ return /* @__PURE__ */ jsxs18(Fragment28, {
1773
1804
  children: [
1774
1805
  "When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
1775
1806
  " ",
1776
- /* @__PURE__ */ jsx27("code", {
1807
+ /* @__PURE__ */ jsx28("code", {
1777
1808
  children: "null"
1778
1809
  }),
1779
1810
  ", which does not change any lifecycle policies of the S3 bucket. See: ",
1780
- /* @__PURE__ */ jsx27("a", {
1811
+ /* @__PURE__ */ jsx28("a", {
1781
1812
  href: "/docs/lambda/autodelete",
1782
1813
  children: "Lambda autodelete"
1783
1814
  }),
@@ -1789,10 +1820,10 @@ var folderExpiryOption = {
1789
1820
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1790
1821
  type: false,
1791
1822
  getValue: ({ commandLine }) => {
1792
- if (commandLine[cliFlag30] !== undefined) {
1823
+ if (commandLine[cliFlag31] !== undefined) {
1793
1824
  return {
1794
1825
  source: "cli",
1795
- value: commandLine[cliFlag30]
1826
+ value: commandLine[cliFlag31]
1796
1827
  };
1797
1828
  }
1798
1829
  if (enableFolderExpiry !== null) {
@@ -1809,28 +1840,28 @@ var folderExpiryOption = {
1809
1840
  setConfig: (value) => {
1810
1841
  enableFolderExpiry = value;
1811
1842
  },
1812
- id: cliFlag30
1843
+ id: cliFlag31
1813
1844
  };
1814
1845
 
1815
1846
  // src/options/for-seamless-aac-concatenation.tsx
1816
- import { jsx as jsx28, jsxs as jsxs19, Fragment as Fragment28 } from "react/jsx-runtime";
1847
+ import { jsx as jsx29, jsxs as jsxs19, Fragment as Fragment29 } from "react/jsx-runtime";
1817
1848
  var DEFAULT3 = false;
1818
1849
  var forSeamlessAacConcatenation = DEFAULT3;
1819
- var cliFlag31 = "for-seamless-aac-concatenation";
1850
+ var cliFlag32 = "for-seamless-aac-concatenation";
1820
1851
  var forSeamlessAacConcatenationOption = {
1821
1852
  name: "For seamless AAC concatenation",
1822
- cliFlag: cliFlag31,
1823
- description: () => /* @__PURE__ */ jsxs19(Fragment28, {
1853
+ cliFlag: cliFlag32,
1854
+ description: () => /* @__PURE__ */ jsxs19(Fragment29, {
1824
1855
  children: [
1825
1856
  "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.",
1826
- /* @__PURE__ */ jsx28("br", {}),
1827
- /* @__PURE__ */ jsx28("br", {}),
1857
+ /* @__PURE__ */ jsx29("br", {}),
1858
+ /* @__PURE__ */ jsx29("br", {}),
1828
1859
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
1829
1860
  ]
1830
1861
  }),
1831
1862
  docLink: "https://remotion.dev/docs/renderer",
1832
1863
  getValue: ({ commandLine }) => {
1833
- if (commandLine[cliFlag31]) {
1864
+ if (commandLine[cliFlag32]) {
1834
1865
  return {
1835
1866
  source: "cli",
1836
1867
  value: true
@@ -1852,26 +1883,26 @@ var forSeamlessAacConcatenationOption = {
1852
1883
  },
1853
1884
  ssrName: "forSeamlessAacConcatenation",
1854
1885
  type: false,
1855
- id: cliFlag31
1886
+ id: cliFlag32
1856
1887
  };
1857
1888
 
1858
1889
  // src/options/force-new-studio.tsx
1859
- import { jsx as jsx29, Fragment as Fragment29 } from "react/jsx-runtime";
1890
+ import { jsx as jsx30, Fragment as Fragment30 } from "react/jsx-runtime";
1860
1891
  var forceNewEnabled = false;
1861
- var cliFlag32 = "force-new";
1892
+ var cliFlag33 = "force-new";
1862
1893
  var forceNewStudioOption = {
1863
1894
  name: "Force New Studio",
1864
- cliFlag: cliFlag32,
1865
- description: () => /* @__PURE__ */ jsx29(Fragment29, {
1895
+ cliFlag: cliFlag33,
1896
+ description: () => /* @__PURE__ */ jsx30(Fragment30, {
1866
1897
  children: "Forces starting a new Studio instance even if one is already running on the same port for the same project."
1867
1898
  }),
1868
1899
  ssrName: null,
1869
1900
  docLink: "https://www.remotion.dev/docs/config#setforcenewstudioenabled",
1870
1901
  type: false,
1871
1902
  getValue: ({ commandLine }) => {
1872
- if (commandLine[cliFlag32] !== undefined) {
1903
+ if (commandLine[cliFlag33] !== undefined) {
1873
1904
  return {
1874
- value: commandLine[cliFlag32],
1905
+ value: commandLine[cliFlag33],
1875
1906
  source: "cli"
1876
1907
  };
1877
1908
  }
@@ -1883,7 +1914,7 @@ var forceNewStudioOption = {
1883
1914
  setConfig(value) {
1884
1915
  forceNewEnabled = value;
1885
1916
  },
1886
- id: cliFlag32
1917
+ id: cliFlag33
1887
1918
  };
1888
1919
 
1889
1920
  // src/frame-range.ts
@@ -1944,8 +1975,8 @@ var validateFrameRange = (frameRange) => {
1944
1975
  };
1945
1976
 
1946
1977
  // src/options/frames.tsx
1947
- import { jsx as jsx30, jsxs as jsxs20, Fragment as Fragment30 } from "react/jsx-runtime";
1948
- var cliFlag33 = "frames";
1978
+ import { jsx as jsx31, jsxs as jsxs20, Fragment as Fragment31 } from "react/jsx-runtime";
1979
+ var cliFlag34 = "frames";
1949
1980
  var frameRange = null;
1950
1981
  var parseFrameRangeFromCli = (newFrameRange) => {
1951
1982
  if (typeof newFrameRange === "number") {
@@ -1993,16 +2024,16 @@ var parseFrameRangeFromCli = (newFrameRange) => {
1993
2024
  };
1994
2025
  var framesOption = {
1995
2026
  name: "Frame Range",
1996
- cliFlag: cliFlag33,
1997
- description: () => /* @__PURE__ */ jsxs20(Fragment30, {
2027
+ cliFlag: cliFlag34,
2028
+ description: () => /* @__PURE__ */ jsxs20(Fragment31, {
1998
2029
  children: [
1999
2030
  "Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
2000
- /* @__PURE__ */ jsx30("code", {
2031
+ /* @__PURE__ */ jsx31("code", {
2001
2032
  children: "0-9"
2002
2033
  }),
2003
2034
  ") to render a subset of frames. Pass",
2004
2035
  " ",
2005
- /* @__PURE__ */ jsx30("code", {
2036
+ /* @__PURE__ */ jsx31("code", {
2006
2037
  children: "100-"
2007
2038
  }),
2008
2039
  " to render from frame 100 to the end."
@@ -2012,8 +2043,8 @@ var framesOption = {
2012
2043
  docLink: "https://www.remotion.dev/docs/config#setframerange",
2013
2044
  type: null,
2014
2045
  getValue: ({ commandLine }) => {
2015
- if (commandLine[cliFlag33] !== undefined) {
2016
- const value = parseFrameRangeFromCli(commandLine[cliFlag33]);
2046
+ if (commandLine[cliFlag34] !== undefined) {
2047
+ const value = parseFrameRangeFromCli(commandLine[cliFlag34]);
2017
2048
  validateFrameRange(value);
2018
2049
  return {
2019
2050
  source: "cli",
@@ -2031,11 +2062,11 @@ var framesOption = {
2031
2062
  }
2032
2063
  frameRange = value;
2033
2064
  },
2034
- id: cliFlag33
2065
+ id: cliFlag34
2035
2066
  };
2036
2067
 
2037
2068
  // src/options/gl.tsx
2038
- import { jsx as jsx31, jsxs as jsxs21, Fragment as Fragment31 } from "react/jsx-runtime";
2069
+ import { jsx as jsx32, jsxs as jsxs21, Fragment as Fragment32 } from "react/jsx-runtime";
2039
2070
  var validOpenGlRenderers = [
2040
2071
  "swangle",
2041
2072
  "angle",
@@ -2050,7 +2081,7 @@ var AngleChangelog = () => {
2050
2081
  return /* @__PURE__ */ jsxs21("details", {
2051
2082
  style: { fontSize: "0.9em", marginBottom: "1em" },
2052
2083
  children: [
2053
- /* @__PURE__ */ jsx31("summary", {
2084
+ /* @__PURE__ */ jsx32("summary", {
2054
2085
  children: "Changelog"
2055
2086
  }),
2056
2087
  /* @__PURE__ */ jsxs21("ul", {
@@ -2059,12 +2090,12 @@ var AngleChangelog = () => {
2059
2090
  children: [
2060
2091
  "From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
2061
2092
  " ",
2062
- /* @__PURE__ */ jsx31("code", {
2093
+ /* @__PURE__ */ jsx32("code", {
2063
2094
  children: "swiftshader"
2064
2095
  }),
2065
2096
  ", but from v3.0.8 the default is",
2066
2097
  " ",
2067
- /* @__PURE__ */ jsx31("code", {
2098
+ /* @__PURE__ */ jsx32("code", {
2068
2099
  children: "swangle"
2069
2100
  }),
2070
2101
  " (Swiftshader on Angle) since Chrome 101 added support for it."
@@ -2073,7 +2104,7 @@ var AngleChangelog = () => {
2073
2104
  /* @__PURE__ */ jsxs21("li", {
2074
2105
  children: [
2075
2106
  "From Remotion v2.4.3 until v2.6.6, the default was ",
2076
- /* @__PURE__ */ jsx31("code", {
2107
+ /* @__PURE__ */ jsx32("code", {
2077
2108
  children: "angle"
2078
2109
  }),
2079
2110
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
@@ -2084,53 +2115,53 @@ var AngleChangelog = () => {
2084
2115
  ]
2085
2116
  });
2086
2117
  };
2087
- var cliFlag34 = "gl";
2118
+ var cliFlag35 = "gl";
2088
2119
  var glOption = {
2089
- cliFlag: cliFlag34,
2120
+ cliFlag: cliFlag35,
2090
2121
  docLink: "https://www.remotion.dev/docs/chromium-flags#--gl",
2091
2122
  name: "OpenGL renderer",
2092
2123
  type: "angle",
2093
2124
  ssrName: "gl",
2094
2125
  description: () => {
2095
- return /* @__PURE__ */ jsxs21(Fragment31, {
2126
+ return /* @__PURE__ */ jsxs21(Fragment32, {
2096
2127
  children: [
2097
- /* @__PURE__ */ jsx31(AngleChangelog, {}),
2128
+ /* @__PURE__ */ jsx32(AngleChangelog, {}),
2098
2129
  /* @__PURE__ */ jsxs21("p", {
2099
2130
  children: [
2100
2131
  "Select the OpenGL renderer backend for Chromium. ",
2101
- /* @__PURE__ */ jsx31("br", {}),
2132
+ /* @__PURE__ */ jsx32("br", {}),
2102
2133
  "Accepted values:"
2103
2134
  ]
2104
2135
  }),
2105
2136
  /* @__PURE__ */ jsxs21("ul", {
2106
2137
  children: [
2107
- /* @__PURE__ */ jsx31("li", {
2108
- children: /* @__PURE__ */ jsx31("code", {
2138
+ /* @__PURE__ */ jsx32("li", {
2139
+ children: /* @__PURE__ */ jsx32("code", {
2109
2140
  children: '"angle"'
2110
2141
  })
2111
2142
  }),
2112
- /* @__PURE__ */ jsx31("li", {
2113
- children: /* @__PURE__ */ jsx31("code", {
2143
+ /* @__PURE__ */ jsx32("li", {
2144
+ children: /* @__PURE__ */ jsx32("code", {
2114
2145
  children: '"egl"'
2115
2146
  })
2116
2147
  }),
2117
- /* @__PURE__ */ jsx31("li", {
2118
- children: /* @__PURE__ */ jsx31("code", {
2148
+ /* @__PURE__ */ jsx32("li", {
2149
+ children: /* @__PURE__ */ jsx32("code", {
2119
2150
  children: '"swiftshader"'
2120
2151
  })
2121
2152
  }),
2122
- /* @__PURE__ */ jsx31("li", {
2123
- children: /* @__PURE__ */ jsx31("code", {
2153
+ /* @__PURE__ */ jsx32("li", {
2154
+ children: /* @__PURE__ */ jsx32("code", {
2124
2155
  children: '"swangle"'
2125
2156
  })
2126
2157
  }),
2127
2158
  /* @__PURE__ */ jsxs21("li", {
2128
2159
  children: [
2129
- /* @__PURE__ */ jsx31("code", {
2160
+ /* @__PURE__ */ jsx32("code", {
2130
2161
  children: '"vulkan"'
2131
2162
  }),
2132
2163
  " (",
2133
- /* @__PURE__ */ jsx31("em", {
2164
+ /* @__PURE__ */ jsx32("em", {
2134
2165
  children: "from Remotion v4.0.41"
2135
2166
  }),
2136
2167
  ")"
@@ -2138,11 +2169,11 @@ var glOption = {
2138
2169
  }),
2139
2170
  /* @__PURE__ */ jsxs21("li", {
2140
2171
  children: [
2141
- /* @__PURE__ */ jsx31("code", {
2172
+ /* @__PURE__ */ jsx32("code", {
2142
2173
  children: '"angle-egl"'
2143
2174
  }),
2144
2175
  " (",
2145
- /* @__PURE__ */ jsx31("em", {
2176
+ /* @__PURE__ */ jsx32("em", {
2146
2177
  children: "from Remotion v4.0.51"
2147
2178
  }),
2148
2179
  ")"
@@ -2153,11 +2184,11 @@ var glOption = {
2153
2184
  /* @__PURE__ */ jsxs21("p", {
2154
2185
  children: [
2155
2186
  "The default is ",
2156
- /* @__PURE__ */ jsx31("code", {
2187
+ /* @__PURE__ */ jsx32("code", {
2157
2188
  children: "null"
2158
2189
  }),
2159
2190
  ", letting Chrome decide, except on Lambda where the default is ",
2160
- /* @__PURE__ */ jsx31("code", {
2191
+ /* @__PURE__ */ jsx32("code", {
2161
2192
  children: '"swangle"'
2162
2193
  })
2163
2194
  ]
@@ -2166,10 +2197,10 @@ var glOption = {
2166
2197
  });
2167
2198
  },
2168
2199
  getValue: ({ commandLine }) => {
2169
- if (commandLine[cliFlag34]) {
2170
- validateOpenGlRenderer(commandLine[cliFlag34]);
2200
+ if (commandLine[cliFlag35]) {
2201
+ validateOpenGlRenderer(commandLine[cliFlag35]);
2171
2202
  return {
2172
- value: commandLine[cliFlag34],
2203
+ value: commandLine[cliFlag35],
2173
2204
  source: "cli"
2174
2205
  };
2175
2206
  }
@@ -2188,7 +2219,7 @@ var glOption = {
2188
2219
  validateOpenGlRenderer(value);
2189
2220
  openGlRenderer = value;
2190
2221
  },
2191
- id: cliFlag34
2222
+ id: cliFlag35
2192
2223
  };
2193
2224
  var validateOpenGlRenderer = (option2) => {
2194
2225
  if (option2 === null) {
@@ -2206,11 +2237,11 @@ var hardwareAccelerationOptions = [
2206
2237
  "if-possible",
2207
2238
  "required"
2208
2239
  ];
2209
- var cliFlag35 = "hardware-acceleration";
2240
+ var cliFlag36 = "hardware-acceleration";
2210
2241
  var currentValue = null;
2211
2242
  var hardwareAccelerationOption = {
2212
2243
  name: "Hardware Acceleration",
2213
- cliFlag: cliFlag35,
2244
+ cliFlag: cliFlag36,
2214
2245
  description: () => `
2215
2246
  One of
2216
2247
  ${new Intl.ListFormat("en", { type: "disjunction" }).format(hardwareAccelerationOptions.map((a) => JSON.stringify(a)))}
@@ -2222,10 +2253,10 @@ var hardwareAccelerationOption = {
2222
2253
  docLink: "https://www.remotion.dev/docs/encoding",
2223
2254
  type: "disable",
2224
2255
  getValue: ({ commandLine }) => {
2225
- if (commandLine[cliFlag35] !== undefined) {
2226
- const value = commandLine[cliFlag35];
2256
+ if (commandLine[cliFlag36] !== undefined) {
2257
+ const value = commandLine[cliFlag36];
2227
2258
  if (!hardwareAccelerationOptions.includes(value)) {
2228
- throw new Error(`Invalid value for --${cliFlag35}: ${value}`);
2259
+ throw new Error(`Invalid value for --${cliFlag36}: ${value}`);
2229
2260
  }
2230
2261
  return {
2231
2262
  source: "cli",
@@ -2245,32 +2276,32 @@ var hardwareAccelerationOption = {
2245
2276
  },
2246
2277
  setConfig: (value) => {
2247
2278
  if (!hardwareAccelerationOptions.includes(value)) {
2248
- throw new Error(`Invalid value for --${cliFlag35}: ${value}`);
2279
+ throw new Error(`Invalid value for --${cliFlag36}: ${value}`);
2249
2280
  }
2250
2281
  currentValue = value;
2251
2282
  },
2252
- id: cliFlag35
2283
+ id: cliFlag36
2253
2284
  };
2254
2285
 
2255
2286
  // src/options/headless.tsx
2256
- import { jsx as jsx32, jsxs as jsxs22, Fragment as Fragment32 } from "react/jsx-runtime";
2287
+ import { jsx as jsx33, jsxs as jsxs22, Fragment as Fragment33 } from "react/jsx-runtime";
2257
2288
  var DEFAULT4 = true;
2258
2289
  var headlessMode = DEFAULT4;
2259
- var cliFlag36 = "disable-headless";
2290
+ var cliFlag37 = "disable-headless";
2260
2291
  var headlessOption = {
2261
2292
  name: "Disable Headless Mode",
2262
- cliFlag: cliFlag36,
2263
- description: () => /* @__PURE__ */ jsxs22(Fragment32, {
2293
+ cliFlag: cliFlag37,
2294
+ description: () => /* @__PURE__ */ jsxs22(Fragment33, {
2264
2295
  children: [
2265
2296
  "Deprecated - will be removed in 5.0.0. With the migration to",
2266
2297
  " ",
2267
- /* @__PURE__ */ jsx32("a", {
2298
+ /* @__PURE__ */ jsx33("a", {
2268
2299
  href: "/docs/miscellaneous/chrome-headless-shell",
2269
2300
  children: "Chrome Headless Shell"
2270
2301
  }),
2271
2302
  ", this option is not functional anymore.",
2272
- /* @__PURE__ */ jsx32("br", {}),
2273
- /* @__PURE__ */ jsx32("br", {}),
2303
+ /* @__PURE__ */ jsx33("br", {}),
2304
+ /* @__PURE__ */ jsx33("br", {}),
2274
2305
  " If disabled, the render will open an actual Chrome window where you can see the render happen. The default is headless mode."
2275
2306
  ]
2276
2307
  }),
@@ -2278,10 +2309,10 @@ var headlessOption = {
2278
2309
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-headless",
2279
2310
  type: false,
2280
2311
  getValue: ({ commandLine }) => {
2281
- if (commandLine[cliFlag36] !== undefined) {
2312
+ if (commandLine[cliFlag37] !== undefined) {
2282
2313
  return {
2283
2314
  source: "cli",
2284
- value: !commandLine[cliFlag36]
2315
+ value: !commandLine[cliFlag37]
2285
2316
  };
2286
2317
  }
2287
2318
  if (headlessMode !== DEFAULT4) {
@@ -2298,27 +2329,27 @@ var headlessOption = {
2298
2329
  setConfig: (value) => {
2299
2330
  headlessMode = value;
2300
2331
  },
2301
- id: cliFlag36
2332
+ id: cliFlag37
2302
2333
  };
2303
2334
 
2304
2335
  // src/options/ignore-certificate-errors.tsx
2305
- import { jsx as jsx33, Fragment as Fragment33 } from "react/jsx-runtime";
2336
+ import { jsx as jsx34, Fragment as Fragment34 } from "react/jsx-runtime";
2306
2337
  var ignoreCertificateErrors = false;
2307
- var cliFlag37 = "ignore-certificate-errors";
2338
+ var cliFlag38 = "ignore-certificate-errors";
2308
2339
  var ignoreCertificateErrorsOption = {
2309
2340
  name: "Ignore certificate errors",
2310
- cliFlag: cliFlag37,
2311
- description: () => /* @__PURE__ */ jsx33(Fragment33, {
2341
+ cliFlag: cliFlag38,
2342
+ description: () => /* @__PURE__ */ jsx34(Fragment34, {
2312
2343
  children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored."
2313
2344
  }),
2314
2345
  ssrName: "ignoreCertificateErrors",
2315
2346
  docLink: "https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors",
2316
2347
  type: false,
2317
2348
  getValue: ({ commandLine }) => {
2318
- if (commandLine[cliFlag37] !== undefined) {
2349
+ if (commandLine[cliFlag38] !== undefined) {
2319
2350
  return {
2320
2351
  source: "cli",
2321
- value: Boolean(commandLine[cliFlag37])
2352
+ value: Boolean(commandLine[cliFlag38])
2322
2353
  };
2323
2354
  }
2324
2355
  if (ignoreCertificateErrors) {
@@ -2335,23 +2366,23 @@ var ignoreCertificateErrorsOption = {
2335
2366
  setConfig: (value) => {
2336
2367
  ignoreCertificateErrors = value;
2337
2368
  },
2338
- id: cliFlag37
2369
+ id: cliFlag38
2339
2370
  };
2340
2371
 
2341
2372
  // src/options/image-sequence.tsx
2342
- import { jsx as jsx34, jsxs as jsxs23, Fragment as Fragment34 } from "react/jsx-runtime";
2343
- var cliFlag38 = "sequence";
2373
+ import { jsx as jsx35, jsxs as jsxs23, Fragment as Fragment35 } from "react/jsx-runtime";
2374
+ var cliFlag39 = "sequence";
2344
2375
  var imageSequence = false;
2345
2376
  var imageSequenceOption = {
2346
2377
  name: "Image Sequence",
2347
- cliFlag: cliFlag38,
2348
- description: () => /* @__PURE__ */ jsxs23(Fragment34, {
2378
+ cliFlag: cliFlag39,
2379
+ description: () => /* @__PURE__ */ jsxs23(Fragment35, {
2349
2380
  children: [
2350
2381
  "Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See",
2351
2382
  " ",
2352
- /* @__PURE__ */ jsx34("a", {
2383
+ /* @__PURE__ */ jsx35("a", {
2353
2384
  href: "/docs/config#setimagesequence",
2354
- children: /* @__PURE__ */ jsx34("code", {
2385
+ children: /* @__PURE__ */ jsx35("code", {
2355
2386
  children: "setImageSequence()"
2356
2387
  })
2357
2388
  }),
@@ -2362,10 +2393,10 @@ var imageSequenceOption = {
2362
2393
  ssrName: null,
2363
2394
  docLink: "https://www.remotion.dev/docs/config#setimagesequence",
2364
2395
  getValue: ({ commandLine }) => {
2365
- if (commandLine[cliFlag38] !== undefined) {
2396
+ if (commandLine[cliFlag39] !== undefined) {
2366
2397
  return {
2367
2398
  source: "cli",
2368
- value: Boolean(commandLine[cliFlag38])
2399
+ value: Boolean(commandLine[cliFlag39])
2369
2400
  };
2370
2401
  }
2371
2402
  return {
@@ -2377,25 +2408,25 @@ var imageSequenceOption = {
2377
2408
  imageSequence = value;
2378
2409
  },
2379
2410
  type: false,
2380
- id: cliFlag38
2411
+ id: cliFlag39
2381
2412
  };
2382
2413
 
2383
2414
  // src/options/image-sequence-pattern.tsx
2384
- import { jsx as jsx35, jsxs as jsxs24, Fragment as Fragment35 } from "react/jsx-runtime";
2385
- var cliFlag39 = "image-sequence-pattern";
2415
+ import { jsx as jsx36, jsxs as jsxs24, Fragment as Fragment36 } from "react/jsx-runtime";
2416
+ var cliFlag40 = "image-sequence-pattern";
2386
2417
  var currentImageSequencePattern = null;
2387
2418
  var imageSequencePatternOption = {
2388
2419
  name: "Image Sequence Pattern",
2389
- cliFlag: cliFlag39,
2420
+ cliFlag: cliFlag40,
2390
2421
  ssrName: "imageSequencePattern",
2391
- description: () => /* @__PURE__ */ jsxs24(Fragment35, {
2422
+ description: () => /* @__PURE__ */ jsxs24(Fragment36, {
2392
2423
  children: [
2393
2424
  "Pattern for naming image sequence files. Supports ",
2394
- /* @__PURE__ */ jsx35("code", {
2425
+ /* @__PURE__ */ jsx36("code", {
2395
2426
  children: "[frame]"
2396
2427
  }),
2397
2428
  " for the zero-padded frame number and ",
2398
- /* @__PURE__ */ jsx35("code", {
2429
+ /* @__PURE__ */ jsx36("code", {
2399
2430
  children: "[ext]"
2400
2431
  }),
2401
2432
  " for the file extension."
@@ -2411,33 +2442,33 @@ var imageSequencePatternOption = {
2411
2442
  };
2412
2443
  }
2413
2444
  return {
2414
- value: commandLine[cliFlag39],
2445
+ value: commandLine[cliFlag40],
2415
2446
  source: "cli"
2416
2447
  };
2417
2448
  },
2418
2449
  setConfig: (pattern) => {
2419
2450
  currentImageSequencePattern = pattern;
2420
2451
  },
2421
- id: cliFlag39
2452
+ id: cliFlag40
2422
2453
  };
2423
2454
 
2424
2455
  // src/options/ipv4.tsx
2425
- import { jsx as jsx36, Fragment as Fragment36 } from "react/jsx-runtime";
2456
+ import { jsx as jsx37, Fragment as Fragment37 } from "react/jsx-runtime";
2426
2457
  var forceIPv4 = false;
2427
- var cliFlag40 = "ipv4";
2458
+ var cliFlag41 = "ipv4";
2428
2459
  var ipv4Option = {
2429
2460
  name: "IPv4",
2430
- cliFlag: cliFlag40,
2431
- description: () => /* @__PURE__ */ jsx36(Fragment36, {
2461
+ cliFlag: cliFlag41,
2462
+ description: () => /* @__PURE__ */ jsx37(Fragment37, {
2432
2463
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
2433
2464
  }),
2434
2465
  ssrName: null,
2435
2466
  docLink: "https://www.remotion.dev/docs/cli/studio",
2436
2467
  type: false,
2437
2468
  getValue: ({ commandLine }) => {
2438
- if (commandLine[cliFlag40] !== undefined) {
2469
+ if (commandLine[cliFlag41] !== undefined) {
2439
2470
  return {
2440
- value: commandLine[cliFlag40],
2471
+ value: commandLine[cliFlag41],
2441
2472
  source: "cli"
2442
2473
  };
2443
2474
  }
@@ -2449,25 +2480,25 @@ var ipv4Option = {
2449
2480
  setConfig(value) {
2450
2481
  forceIPv4 = value;
2451
2482
  },
2452
- id: cliFlag40
2483
+ id: cliFlag41
2453
2484
  };
2454
2485
 
2455
2486
  // src/options/is-production.tsx
2456
- import { jsx as jsx37, jsxs as jsxs25, Fragment as Fragment37 } from "react/jsx-runtime";
2457
- var cliFlag41 = "is-production";
2487
+ import { jsx as jsx38, jsxs as jsxs25, Fragment as Fragment38 } from "react/jsx-runtime";
2488
+ var cliFlag42 = "is-production";
2458
2489
  var currentIsProductionKey = null;
2459
2490
  var isProductionOption = {
2460
2491
  name: "Is Production",
2461
- cliFlag: cliFlag41,
2462
- description: () => /* @__PURE__ */ jsxs25(Fragment37, {
2492
+ cliFlag: cliFlag42,
2493
+ description: () => /* @__PURE__ */ jsxs25(Fragment38, {
2463
2494
  children: [
2464
2495
  "Pass ",
2465
- /* @__PURE__ */ jsx37("code", {
2496
+ /* @__PURE__ */ jsx38("code", {
2466
2497
  children: "false"
2467
2498
  }),
2468
2499
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
2469
2500
  " ",
2470
- /* @__PURE__ */ jsx37("code", {
2501
+ /* @__PURE__ */ jsx38("code", {
2471
2502
  children: "licenseKey"
2472
2503
  }),
2473
2504
  "."
@@ -2476,10 +2507,10 @@ var isProductionOption = {
2476
2507
  ssrName: "isProduction",
2477
2508
  docLink: "https://www.remotion.dev/docs/licensing",
2478
2509
  getValue: ({ commandLine }) => {
2479
- if (commandLine[cliFlag41] !== undefined) {
2510
+ if (commandLine[cliFlag42] !== undefined) {
2480
2511
  return {
2481
2512
  source: "cli",
2482
- value: commandLine[cliFlag41]
2513
+ value: commandLine[cliFlag42]
2483
2514
  };
2484
2515
  }
2485
2516
  if (currentIsProductionKey !== null) {
@@ -2497,11 +2528,11 @@ var isProductionOption = {
2497
2528
  currentIsProductionKey = value;
2498
2529
  },
2499
2530
  type: false,
2500
- id: cliFlag41
2531
+ id: cliFlag42
2501
2532
  };
2502
2533
 
2503
2534
  // src/options/jpeg-quality.tsx
2504
- import { jsx as jsx38, Fragment as Fragment38 } from "react/jsx-runtime";
2535
+ import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2505
2536
  var defaultValue = DEFAULT_JPEG_QUALITY;
2506
2537
  var quality = defaultValue;
2507
2538
  var setJpegQuality = (q) => {
@@ -2512,11 +2543,11 @@ var setJpegQuality = (q) => {
2512
2543
  }
2513
2544
  quality = q;
2514
2545
  };
2515
- var cliFlag42 = "jpeg-quality";
2546
+ var cliFlag43 = "jpeg-quality";
2516
2547
  var jpegQualityOption = {
2517
2548
  name: "JPEG Quality",
2518
- cliFlag: cliFlag42,
2519
- description: () => /* @__PURE__ */ jsx38(Fragment38, {
2549
+ cliFlag: cliFlag43,
2550
+ description: () => /* @__PURE__ */ jsx39(Fragment39, {
2520
2551
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
2521
2552
  }),
2522
2553
  ssrName: "jpegQuality",
@@ -2524,11 +2555,11 @@ var jpegQualityOption = {
2524
2555
  type: 0,
2525
2556
  setConfig: setJpegQuality,
2526
2557
  getValue: ({ commandLine }) => {
2527
- if (commandLine[cliFlag42] !== undefined) {
2528
- validateJpegQuality(commandLine[cliFlag42]);
2558
+ if (commandLine[cliFlag43] !== undefined) {
2559
+ validateJpegQuality(commandLine[cliFlag43]);
2529
2560
  return {
2530
2561
  source: "cli",
2531
- value: commandLine[cliFlag42]
2562
+ value: commandLine[cliFlag43]
2532
2563
  };
2533
2564
  }
2534
2565
  if (quality !== defaultValue) {
@@ -2542,25 +2573,25 @@ var jpegQualityOption = {
2542
2573
  value: defaultValue
2543
2574
  };
2544
2575
  },
2545
- id: cliFlag42
2576
+ id: cliFlag43
2546
2577
  };
2547
2578
 
2548
2579
  // src/options/keyboard-shortcuts.tsx
2549
- import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2580
+ import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2550
2581
  var keyboardShortcutsEnabled = true;
2551
- var cliFlag43 = "disable-keyboard-shortcuts";
2582
+ var cliFlag44 = "disable-keyboard-shortcuts";
2552
2583
  var keyboardShortcutsOption = {
2553
2584
  name: "Disable or Enable keyboard shortcuts",
2554
- cliFlag: cliFlag43,
2555
- description: () => /* @__PURE__ */ jsx39(Fragment39, {
2585
+ cliFlag: cliFlag44,
2586
+ description: () => /* @__PURE__ */ jsx40(Fragment40, {
2556
2587
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
2557
2588
  }),
2558
2589
  ssrName: null,
2559
2590
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2560
2591
  type: false,
2561
2592
  getValue: ({ commandLine }) => {
2562
- if (commandLine[cliFlag43] !== undefined) {
2563
- keyboardShortcutsEnabled = commandLine[cliFlag43] === false;
2593
+ if (commandLine[cliFlag44] !== undefined) {
2594
+ keyboardShortcutsEnabled = commandLine[cliFlag44] === false;
2564
2595
  return {
2565
2596
  value: keyboardShortcutsEnabled,
2566
2597
  source: "cli"
@@ -2574,42 +2605,42 @@ var keyboardShortcutsOption = {
2574
2605
  setConfig(value) {
2575
2606
  keyboardShortcutsEnabled = value;
2576
2607
  },
2577
- id: cliFlag43
2608
+ id: cliFlag44
2578
2609
  };
2579
2610
 
2580
2611
  // src/options/latency-hint.tsx
2581
- import { jsx as jsx40, jsxs as jsxs26, Fragment as Fragment40 } from "react/jsx-runtime";
2582
- var cliFlag44 = "audio-latency-hint";
2612
+ import { jsx as jsx41, jsxs as jsxs26, Fragment as Fragment41 } from "react/jsx-runtime";
2613
+ var cliFlag45 = "audio-latency-hint";
2583
2614
  var value = null;
2584
2615
  var audioLatencyHintOption = {
2585
2616
  name: "Audio Latency Hint",
2586
- cliFlag: cliFlag44,
2587
- description: () => /* @__PURE__ */ jsxs26(Fragment40, {
2617
+ cliFlag: cliFlag45,
2618
+ description: () => /* @__PURE__ */ jsxs26(Fragment41, {
2588
2619
  children: [
2589
2620
  "Sets the",
2590
2621
  " ",
2591
- /* @__PURE__ */ jsx40("a", {
2622
+ /* @__PURE__ */ jsx41("a", {
2592
2623
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
2593
2624
  children: "audio latency"
2594
2625
  }),
2595
2626
  " ",
2596
2627
  "hint for the global ",
2597
- /* @__PURE__ */ jsx40("code", {
2628
+ /* @__PURE__ */ jsx41("code", {
2598
2629
  children: "AudioContext"
2599
2630
  }),
2600
2631
  " context that Remotion uses to play audio.",
2601
- /* @__PURE__ */ jsx40("br", {}),
2632
+ /* @__PURE__ */ jsx41("br", {}),
2602
2633
  "Possible values: ",
2603
- /* @__PURE__ */ jsx40("code", {
2634
+ /* @__PURE__ */ jsx41("code", {
2604
2635
  children: "interactive"
2605
2636
  }),
2606
2637
  ", ",
2607
- /* @__PURE__ */ jsx40("code", {
2638
+ /* @__PURE__ */ jsx41("code", {
2608
2639
  children: "balanced"
2609
2640
  }),
2610
2641
  ",",
2611
2642
  " ",
2612
- /* @__PURE__ */ jsx40("code", {
2643
+ /* @__PURE__ */ jsx41("code", {
2613
2644
  children: "playback"
2614
2645
  })
2615
2646
  ]
@@ -2618,7 +2649,7 @@ var audioLatencyHintOption = {
2618
2649
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2619
2650
  type: "interactive",
2620
2651
  getValue: ({ commandLine }) => {
2621
- const val = commandLine[cliFlag44];
2652
+ const val = commandLine[cliFlag45];
2622
2653
  if (typeof val !== "undefined") {
2623
2654
  return { value: val, source: "cli" };
2624
2655
  }
@@ -2630,21 +2661,21 @@ var audioLatencyHintOption = {
2630
2661
  setConfig: (profile) => {
2631
2662
  value = profile;
2632
2663
  },
2633
- id: cliFlag44
2664
+ id: cliFlag45
2634
2665
  };
2635
2666
 
2636
2667
  // src/options/license-key.tsx
2637
- import { jsx as jsx41, jsxs as jsxs27, Fragment as Fragment41 } from "react/jsx-runtime";
2668
+ import { jsx as jsx42, jsxs as jsxs27, Fragment as Fragment42 } from "react/jsx-runtime";
2638
2669
  var currentLicenseKey = null;
2639
- var cliFlag45 = "license-key";
2670
+ var cliFlag46 = "license-key";
2640
2671
  var licenseKeyOption = {
2641
2672
  name: "License key",
2642
- cliFlag: cliFlag45,
2643
- description: () => /* @__PURE__ */ jsxs27(Fragment41, {
2673
+ cliFlag: cliFlag46,
2674
+ description: () => /* @__PURE__ */ jsxs27(Fragment42, {
2644
2675
  children: [
2645
2676
  "License key for sending a usage event using",
2646
2677
  " ",
2647
- /* @__PURE__ */ jsx41("code", {
2678
+ /* @__PURE__ */ jsx42("code", {
2648
2679
  children: "@remotion/licensing"
2649
2680
  }),
2650
2681
  "."
@@ -2654,10 +2685,10 @@ var licenseKeyOption = {
2654
2685
  docLink: "https://www.remotion.dev/docs/licensing",
2655
2686
  type: null,
2656
2687
  getValue: ({ commandLine }) => {
2657
- if (commandLine[cliFlag45] !== undefined) {
2688
+ if (commandLine[cliFlag46] !== undefined) {
2658
2689
  return {
2659
2690
  source: "cli",
2660
- value: commandLine[cliFlag45]
2691
+ value: commandLine[cliFlag46]
2661
2692
  };
2662
2693
  }
2663
2694
  return {
@@ -2668,47 +2699,47 @@ var licenseKeyOption = {
2668
2699
  setConfig: (value2) => {
2669
2700
  currentLicenseKey = value2;
2670
2701
  },
2671
- id: cliFlag45
2702
+ id: cliFlag46
2672
2703
  };
2673
2704
 
2674
2705
  // src/options/log-level.tsx
2675
- import { jsx as jsx42, jsxs as jsxs28, Fragment as Fragment42 } from "react/jsx-runtime";
2706
+ import { jsx as jsx43, jsxs as jsxs28, Fragment as Fragment43 } from "react/jsx-runtime";
2676
2707
  var logLevel = "info";
2677
- var cliFlag46 = "log";
2708
+ var cliFlag47 = "log";
2678
2709
  var logLevelOption = {
2679
- cliFlag: cliFlag46,
2710
+ cliFlag: cliFlag47,
2680
2711
  name: "Log Level",
2681
2712
  ssrName: "logLevel",
2682
- description: () => /* @__PURE__ */ jsxs28(Fragment42, {
2713
+ description: () => /* @__PURE__ */ jsxs28(Fragment43, {
2683
2714
  children: [
2684
2715
  "One of ",
2685
- /* @__PURE__ */ jsx42("code", {
2716
+ /* @__PURE__ */ jsx43("code", {
2686
2717
  children: "trace"
2687
2718
  }),
2688
2719
  ", ",
2689
- /* @__PURE__ */ jsx42("code", {
2720
+ /* @__PURE__ */ jsx43("code", {
2690
2721
  children: "verbose"
2691
2722
  }),
2692
2723
  ", ",
2693
- /* @__PURE__ */ jsx42("code", {
2724
+ /* @__PURE__ */ jsx43("code", {
2694
2725
  children: "info"
2695
2726
  }),
2696
2727
  ",",
2697
2728
  " ",
2698
- /* @__PURE__ */ jsx42("code", {
2729
+ /* @__PURE__ */ jsx43("code", {
2699
2730
  children: "warn"
2700
2731
  }),
2701
2732
  ", ",
2702
- /* @__PURE__ */ jsx42("code", {
2733
+ /* @__PURE__ */ jsx43("code", {
2703
2734
  children: "error"
2704
2735
  }),
2705
2736
  ".",
2706
- /* @__PURE__ */ jsx42("br", {}),
2737
+ /* @__PURE__ */ jsx43("br", {}),
2707
2738
  " Determines how much info is being logged to the console.",
2708
- /* @__PURE__ */ jsx42("br", {}),
2709
- /* @__PURE__ */ jsx42("br", {}),
2739
+ /* @__PURE__ */ jsx43("br", {}),
2740
+ /* @__PURE__ */ jsx43("br", {}),
2710
2741
  " Default ",
2711
- /* @__PURE__ */ jsx42("code", {
2742
+ /* @__PURE__ */ jsx43("code", {
2712
2743
  children: "info"
2713
2744
  }),
2714
2745
  "."
@@ -2716,11 +2747,11 @@ var logLevelOption = {
2716
2747
  }),
2717
2748
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
2718
2749
  getValue: ({ commandLine }) => {
2719
- if (commandLine[cliFlag46]) {
2720
- if (!isValidLogLevel(commandLine[cliFlag46])) {
2750
+ if (commandLine[cliFlag47]) {
2751
+ if (!isValidLogLevel(commandLine[cliFlag47])) {
2721
2752
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
2722
2753
  }
2723
- return { value: commandLine[cliFlag46], source: "cli" };
2754
+ return { value: commandLine[cliFlag47], source: "cli" };
2724
2755
  }
2725
2756
  if (logLevel !== "info") {
2726
2757
  return { value: logLevel, source: "config" };
@@ -2731,23 +2762,23 @@ var logLevelOption = {
2731
2762
  logLevel = newLogLevel;
2732
2763
  },
2733
2764
  type: "error",
2734
- id: cliFlag46
2765
+ id: cliFlag47
2735
2766
  };
2736
2767
 
2737
2768
  // src/options/metadata.tsx
2738
- import { jsx as jsx43, jsxs as jsxs29, Fragment as Fragment43 } from "react/jsx-runtime";
2769
+ import { jsx as jsx44, jsxs as jsxs29, Fragment as Fragment44 } from "react/jsx-runtime";
2739
2770
  var metadata = {};
2740
- var cliFlag47 = "metadata";
2771
+ var cliFlag48 = "metadata";
2741
2772
  var metadataOption = {
2742
2773
  name: "Metadata",
2743
- cliFlag: cliFlag47,
2774
+ cliFlag: cliFlag48,
2744
2775
  description: (mode) => {
2745
2776
  if (mode === "ssr") {
2746
- return /* @__PURE__ */ jsxs29(Fragment43, {
2777
+ return /* @__PURE__ */ jsxs29(Fragment44, {
2747
2778
  children: [
2748
2779
  "An object containing metadata to be embedded in the video. See",
2749
2780
  " ",
2750
- /* @__PURE__ */ jsx43("a", {
2781
+ /* @__PURE__ */ jsx44("a", {
2751
2782
  href: "/docs/metadata",
2752
2783
  children: "here"
2753
2784
  }),
@@ -2755,18 +2786,18 @@ var metadataOption = {
2755
2786
  ]
2756
2787
  });
2757
2788
  }
2758
- return /* @__PURE__ */ jsxs29(Fragment43, {
2789
+ return /* @__PURE__ */ jsxs29(Fragment44, {
2759
2790
  children: [
2760
2791
  "Metadata to be embedded in the video. See",
2761
2792
  " ",
2762
- /* @__PURE__ */ jsx43("a", {
2793
+ /* @__PURE__ */ jsx44("a", {
2763
2794
  href: "/docs/metadata",
2764
2795
  children: "here"
2765
2796
  }),
2766
2797
  " for which metadata is accepted.",
2767
- /* @__PURE__ */ jsx43("br", {}),
2798
+ /* @__PURE__ */ jsx44("br", {}),
2768
2799
  "The parameter must be in the format of ",
2769
- /* @__PURE__ */ jsx43("code", {
2800
+ /* @__PURE__ */ jsx44("code", {
2770
2801
  children: "--metadata key=value"
2771
2802
  }),
2772
2803
  " ",
@@ -2777,8 +2808,8 @@ var metadataOption = {
2777
2808
  docLink: "https://www.remotion.dev/docs/metadata",
2778
2809
  type: {},
2779
2810
  getValue: ({ commandLine }) => {
2780
- if (commandLine[cliFlag47] !== undefined) {
2781
- const val = commandLine[cliFlag47];
2811
+ if (commandLine[cliFlag48] !== undefined) {
2812
+ const val = commandLine[cliFlag48];
2782
2813
  const array = typeof val === "string" ? [val] : val;
2783
2814
  const keyValues = array.map((a) => {
2784
2815
  if (!a.includes("=")) {
@@ -2805,28 +2836,28 @@ var metadataOption = {
2805
2836
  metadata = newMetadata;
2806
2837
  },
2807
2838
  ssrName: "metadata",
2808
- id: cliFlag47
2839
+ id: cliFlag48
2809
2840
  };
2810
2841
 
2811
2842
  // src/options/mute.tsx
2812
- import { jsx as jsx44, Fragment as Fragment44 } from "react/jsx-runtime";
2843
+ import { jsx as jsx45, Fragment as Fragment45 } from "react/jsx-runtime";
2813
2844
  var DEFAULT_MUTED_STATE = false;
2814
2845
  var mutedState = DEFAULT_MUTED_STATE;
2815
- var cliFlag48 = "muted";
2846
+ var cliFlag49 = "muted";
2816
2847
  var mutedOption = {
2817
2848
  name: "Muted",
2818
- cliFlag: cliFlag48,
2819
- description: () => /* @__PURE__ */ jsx44(Fragment44, {
2849
+ cliFlag: cliFlag49,
2850
+ description: () => /* @__PURE__ */ jsx45(Fragment45, {
2820
2851
  children: "The Audio of the video will be omitted."
2821
2852
  }),
2822
2853
  ssrName: "muted",
2823
2854
  docLink: "https://www.remotion.dev/docs/audio/muting",
2824
2855
  type: false,
2825
2856
  getValue: ({ commandLine }) => {
2826
- if (commandLine[cliFlag48] !== null) {
2857
+ if (commandLine[cliFlag49] !== null) {
2827
2858
  return {
2828
2859
  source: "cli",
2829
- value: commandLine[cliFlag48]
2860
+ value: commandLine[cliFlag49]
2830
2861
  };
2831
2862
  }
2832
2863
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -2843,17 +2874,17 @@ var mutedOption = {
2843
2874
  setConfig: () => {
2844
2875
  mutedState = true;
2845
2876
  },
2846
- id: cliFlag48
2877
+ id: cliFlag49
2847
2878
  };
2848
2879
 
2849
2880
  // src/options/no-open.tsx
2850
- import { jsx as jsx45, Fragment as Fragment45 } from "react/jsx-runtime";
2881
+ import { jsx as jsx46, Fragment as Fragment46 } from "react/jsx-runtime";
2851
2882
  var shouldOpenBrowser = true;
2852
- var cliFlag49 = "no-open";
2883
+ var cliFlag50 = "no-open";
2853
2884
  var noOpenOption = {
2854
2885
  name: "Disable browser auto-open",
2855
- cliFlag: cliFlag49,
2856
- description: () => /* @__PURE__ */ jsx45(Fragment45, {
2886
+ cliFlag: cliFlag50,
2887
+ description: () => /* @__PURE__ */ jsx46(Fragment46, {
2857
2888
  children: "If specified, Remotion will not open a browser window when starting the Studio."
2858
2889
  }),
2859
2890
  ssrName: null,
@@ -2872,30 +2903,30 @@ var noOpenOption = {
2872
2903
  setConfig: (shouldOpen) => {
2873
2904
  shouldOpenBrowser = shouldOpen;
2874
2905
  },
2875
- id: cliFlag49
2906
+ id: cliFlag50
2876
2907
  };
2877
2908
 
2878
2909
  // src/options/number-of-gif-loops.tsx
2879
- import { jsx as jsx46, jsxs as jsxs30, Fragment as Fragment46 } from "react/jsx-runtime";
2910
+ import { jsx as jsx47, jsxs as jsxs30, Fragment as Fragment47 } from "react/jsx-runtime";
2880
2911
  var currentLoop = null;
2881
2912
  var validate = (newLoop) => {
2882
2913
  if (newLoop !== null && typeof newLoop !== "number") {
2883
2914
  throw new Error("--number-of-gif-loops flag must be a number.");
2884
2915
  }
2885
2916
  };
2886
- var cliFlag50 = "number-of-gif-loops";
2917
+ var cliFlag51 = "number-of-gif-loops";
2887
2918
  var numberOfGifLoopsOption = {
2888
2919
  name: "Number of GIF loops",
2889
- cliFlag: cliFlag50,
2920
+ cliFlag: cliFlag51,
2890
2921
  description: () => {
2891
- return /* @__PURE__ */ jsxs30(Fragment46, {
2922
+ return /* @__PURE__ */ jsxs30(Fragment47, {
2892
2923
  children: [
2893
2924
  "Allows you to set the number of loops as follows:",
2894
2925
  /* @__PURE__ */ jsxs30("ul", {
2895
2926
  children: [
2896
2927
  /* @__PURE__ */ jsxs30("li", {
2897
2928
  children: [
2898
- /* @__PURE__ */ jsx46("code", {
2929
+ /* @__PURE__ */ jsx47("code", {
2899
2930
  children: "null"
2900
2931
  }),
2901
2932
  " (or omitting in the CLI) plays the GIF indefinitely."
@@ -2903,7 +2934,7 @@ var numberOfGifLoopsOption = {
2903
2934
  }),
2904
2935
  /* @__PURE__ */ jsxs30("li", {
2905
2936
  children: [
2906
- /* @__PURE__ */ jsx46("code", {
2937
+ /* @__PURE__ */ jsx47("code", {
2907
2938
  children: "0"
2908
2939
  }),
2909
2940
  " disables looping"
@@ -2911,7 +2942,7 @@ var numberOfGifLoopsOption = {
2911
2942
  }),
2912
2943
  /* @__PURE__ */ jsxs30("li", {
2913
2944
  children: [
2914
- /* @__PURE__ */ jsx46("code", {
2945
+ /* @__PURE__ */ jsx47("code", {
2915
2946
  children: "1"
2916
2947
  }),
2917
2948
  " loops the GIF once (plays twice in total)"
@@ -2919,7 +2950,7 @@ var numberOfGifLoopsOption = {
2919
2950
  }),
2920
2951
  /* @__PURE__ */ jsxs30("li", {
2921
2952
  children: [
2922
- /* @__PURE__ */ jsx46("code", {
2953
+ /* @__PURE__ */ jsx47("code", {
2923
2954
  children: "2"
2924
2955
  }),
2925
2956
  " loops the GIF twice (plays three times in total) and so on."
@@ -2934,10 +2965,10 @@ var numberOfGifLoopsOption = {
2934
2965
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
2935
2966
  type: 0,
2936
2967
  getValue: ({ commandLine }) => {
2937
- if (commandLine[cliFlag50] !== undefined) {
2938
- validate(commandLine[cliFlag50]);
2968
+ if (commandLine[cliFlag51] !== undefined) {
2969
+ validate(commandLine[cliFlag51]);
2939
2970
  return {
2940
- value: commandLine[cliFlag50],
2971
+ value: commandLine[cliFlag51],
2941
2972
  source: "cli"
2942
2973
  };
2943
2974
  }
@@ -2956,21 +2987,21 @@ var numberOfGifLoopsOption = {
2956
2987
  validate(newLoop);
2957
2988
  currentLoop = newLoop;
2958
2989
  },
2959
- id: cliFlag50
2990
+ id: cliFlag51
2960
2991
  };
2961
2992
 
2962
2993
  // src/options/number-of-shared-audio-tags.tsx
2963
- import { jsx as jsx47, jsxs as jsxs31, Fragment as Fragment47 } from "react/jsx-runtime";
2994
+ import { jsx as jsx48, jsxs as jsxs31, Fragment as Fragment48 } from "react/jsx-runtime";
2964
2995
  var numberOfSharedAudioTags = 0;
2965
- var cliFlag51 = "number-of-shared-audio-tags";
2996
+ var cliFlag52 = "number-of-shared-audio-tags";
2966
2997
  var numberOfSharedAudioTagsOption = {
2967
2998
  name: "Number of shared audio tags",
2968
- cliFlag: cliFlag51,
2969
- description: () => /* @__PURE__ */ jsxs31(Fragment47, {
2999
+ cliFlag: cliFlag52,
3000
+ description: () => /* @__PURE__ */ jsxs31(Fragment48, {
2970
3001
  children: [
2971
3002
  "Set number of shared audio tags. See",
2972
3003
  " ",
2973
- /* @__PURE__ */ jsx47("a", {
3004
+ /* @__PURE__ */ jsx48("a", {
2974
3005
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
2975
3006
  children: "Using the numberOfSharedAudioTags prop"
2976
3007
  }),
@@ -2982,9 +3013,9 @@ var numberOfSharedAudioTagsOption = {
2982
3013
  docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
2983
3014
  type: 0,
2984
3015
  getValue: ({ commandLine }) => {
2985
- if (commandLine[cliFlag51] !== undefined) {
3016
+ if (commandLine[cliFlag52] !== undefined) {
2986
3017
  return {
2987
- value: commandLine[cliFlag51],
3018
+ value: commandLine[cliFlag52],
2988
3019
  source: "cli"
2989
3020
  };
2990
3021
  }
@@ -2996,39 +3027,39 @@ var numberOfSharedAudioTagsOption = {
2996
3027
  setConfig(value2) {
2997
3028
  numberOfSharedAudioTags = value2;
2998
3029
  },
2999
- id: cliFlag51
3030
+ id: cliFlag52
3000
3031
  };
3001
3032
 
3002
3033
  // src/options/offthreadvideo-cache-size.tsx
3003
- import { jsx as jsx48, jsxs as jsxs32, Fragment as Fragment48 } from "react/jsx-runtime";
3034
+ import { jsx as jsx49, jsxs as jsxs32, Fragment as Fragment49 } from "react/jsx-runtime";
3004
3035
  var offthreadVideoCacheSizeInBytes = null;
3005
- var cliFlag52 = "offthreadvideo-cache-size-in-bytes";
3036
+ var cliFlag53 = "offthreadvideo-cache-size-in-bytes";
3006
3037
  var offthreadVideoCacheSizeInBytesOption = {
3007
3038
  name: "OffthreadVideo cache size",
3008
- cliFlag: cliFlag52,
3009
- description: () => /* @__PURE__ */ jsxs32(Fragment48, {
3039
+ cliFlag: cliFlag53,
3040
+ description: () => /* @__PURE__ */ jsxs32(Fragment49, {
3010
3041
  children: [
3011
3042
  "From v4.0, Remotion has a cache for",
3012
3043
  " ",
3013
- /* @__PURE__ */ jsx48("a", {
3044
+ /* @__PURE__ */ jsx49("a", {
3014
3045
  href: "https://remotion.dev/docs/offthreadvideo",
3015
- children: /* @__PURE__ */ jsx48("code", {
3046
+ children: /* @__PURE__ */ jsx49("code", {
3016
3047
  children: "<OffthreadVideo>"
3017
3048
  })
3018
3049
  }),
3019
3050
  " ",
3020
3051
  "frames. The default is ",
3021
- /* @__PURE__ */ jsx48("code", {
3052
+ /* @__PURE__ */ jsx49("code", {
3022
3053
  children: "null"
3023
3054
  }),
3024
3055
  ", corresponding to half of the system memory available when the render starts.",
3025
- /* @__PURE__ */ jsx48("br", {}),
3056
+ /* @__PURE__ */ jsx49("br", {}),
3026
3057
  " 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.",
3027
- /* @__PURE__ */ jsx48("br", {}),
3058
+ /* @__PURE__ */ jsx49("br", {}),
3028
3059
  "The used value will be printed when running in verbose mode.",
3029
- /* @__PURE__ */ jsx48("br", {}),
3060
+ /* @__PURE__ */ jsx49("br", {}),
3030
3061
  "Default: ",
3031
- /* @__PURE__ */ jsx48("code", {
3062
+ /* @__PURE__ */ jsx49("code", {
3032
3063
  children: "null"
3033
3064
  })
3034
3065
  ]
@@ -3037,10 +3068,10 @@ var offthreadVideoCacheSizeInBytesOption = {
3037
3068
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3038
3069
  type: 0,
3039
3070
  getValue: ({ commandLine }) => {
3040
- if (commandLine[cliFlag52] !== undefined) {
3071
+ if (commandLine[cliFlag53] !== undefined) {
3041
3072
  return {
3042
3073
  source: "cli",
3043
- value: commandLine[cliFlag52]
3074
+ value: commandLine[cliFlag53]
3044
3075
  };
3045
3076
  }
3046
3077
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -3057,22 +3088,22 @@ var offthreadVideoCacheSizeInBytesOption = {
3057
3088
  setConfig: (size) => {
3058
3089
  offthreadVideoCacheSizeInBytes = size ?? null;
3059
3090
  },
3060
- id: cliFlag52
3091
+ id: cliFlag53
3061
3092
  };
3062
3093
 
3063
3094
  // src/options/offthreadvideo-threads.tsx
3064
- import { jsx as jsx49, jsxs as jsxs33, Fragment as Fragment49 } from "react/jsx-runtime";
3095
+ import { jsx as jsx50, jsxs as jsxs33, Fragment as Fragment50 } from "react/jsx-runtime";
3065
3096
  var value2 = null;
3066
- var cliFlag53 = "offthreadvideo-video-threads";
3097
+ var cliFlag54 = "offthreadvideo-video-threads";
3067
3098
  var offthreadVideoThreadsOption = {
3068
3099
  name: "OffthreadVideo threads",
3069
- cliFlag: cliFlag53,
3070
- description: () => /* @__PURE__ */ jsxs33(Fragment49, {
3100
+ cliFlag: cliFlag54,
3101
+ description: () => /* @__PURE__ */ jsxs33(Fragment50, {
3071
3102
  children: [
3072
3103
  "The number of threads that",
3073
- /* @__PURE__ */ jsx49("a", {
3104
+ /* @__PURE__ */ jsx50("a", {
3074
3105
  href: "https://remotion.dev/docs/offthreadvideo",
3075
- children: /* @__PURE__ */ jsx49("code", {
3106
+ children: /* @__PURE__ */ jsx50("code", {
3076
3107
  children: "<OffthreadVideo>"
3077
3108
  })
3078
3109
  }),
@@ -3087,10 +3118,10 @@ var offthreadVideoThreadsOption = {
3087
3118
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3088
3119
  type: 0,
3089
3120
  getValue: ({ commandLine }) => {
3090
- if (commandLine[cliFlag53] !== undefined) {
3121
+ if (commandLine[cliFlag54] !== undefined) {
3091
3122
  return {
3092
3123
  source: "cli",
3093
- value: commandLine[cliFlag53]
3124
+ value: commandLine[cliFlag54]
3094
3125
  };
3095
3126
  }
3096
3127
  if (value2 !== null) {
@@ -3107,21 +3138,21 @@ var offthreadVideoThreadsOption = {
3107
3138
  setConfig: (size) => {
3108
3139
  value2 = size ?? null;
3109
3140
  },
3110
- id: cliFlag53
3141
+ id: cliFlag54
3111
3142
  };
3112
3143
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
3113
3144
 
3114
3145
  // src/options/on-browser-download.tsx
3115
- import { jsx as jsx50, jsxs as jsxs34, Fragment as Fragment50 } from "react/jsx-runtime";
3116
- var cliFlag54 = "on-browser-download";
3146
+ import { jsx as jsx51, jsxs as jsxs34, Fragment as Fragment51 } from "react/jsx-runtime";
3147
+ var cliFlag55 = "on-browser-download";
3117
3148
  var onBrowserDownloadOption = {
3118
3149
  name: "Browser download callback function",
3119
- cliFlag: cliFlag54,
3120
- description: () => /* @__PURE__ */ jsxs34(Fragment50, {
3150
+ cliFlag: cliFlag55,
3151
+ description: () => /* @__PURE__ */ jsxs34(Fragment51, {
3121
3152
  children: [
3122
3153
  "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.",
3123
3154
  " ",
3124
- /* @__PURE__ */ jsx50("a", {
3155
+ /* @__PURE__ */ jsx51("a", {
3125
3156
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
3126
3157
  children: "See here for how to use this option."
3127
3158
  })
@@ -3136,26 +3167,26 @@ var onBrowserDownloadOption = {
3136
3167
  setConfig: () => {
3137
3168
  throw new Error("does not support config file");
3138
3169
  },
3139
- id: cliFlag54
3170
+ id: cliFlag55
3140
3171
  };
3141
3172
 
3142
3173
  // src/options/out-dir.tsx
3143
- import { jsx as jsx51, jsxs as jsxs35, Fragment as Fragment51 } from "react/jsx-runtime";
3144
- var cliFlag55 = "out-dir";
3174
+ import { jsx as jsx52, jsxs as jsxs35, Fragment as Fragment52 } from "react/jsx-runtime";
3175
+ var cliFlag56 = "out-dir";
3145
3176
  var currentOutDir = null;
3146
3177
  var outDirOption = {
3147
3178
  name: "Output Directory",
3148
- cliFlag: cliFlag55,
3179
+ cliFlag: cliFlag56,
3149
3180
  description: () => {
3150
- return /* @__PURE__ */ jsxs35(Fragment51, {
3181
+ return /* @__PURE__ */ jsxs35(Fragment52, {
3151
3182
  children: [
3152
3183
  "Define the location of the resulting bundle. By default it is a folder called ",
3153
- /* @__PURE__ */ jsx51("code", {
3184
+ /* @__PURE__ */ jsx52("code", {
3154
3185
  children: "build"
3155
3186
  }),
3156
3187
  ", adjacent to the",
3157
3188
  " ",
3158
- /* @__PURE__ */ jsx51("a", {
3189
+ /* @__PURE__ */ jsx52("a", {
3159
3190
  href: "/docs/terminology/remotion-root",
3160
3191
  children: "Remotion Root"
3161
3192
  }),
@@ -3166,10 +3197,10 @@ var outDirOption = {
3166
3197
  ssrName: "outDir",
3167
3198
  docLink: "https://www.remotion.dev/docs/cli/bundle#--out-dir",
3168
3199
  getValue: ({ commandLine }) => {
3169
- if (commandLine[cliFlag55] !== undefined) {
3200
+ if (commandLine[cliFlag56] !== undefined) {
3170
3201
  return {
3171
3202
  source: "cli",
3172
- value: commandLine[cliFlag55]
3203
+ value: commandLine[cliFlag56]
3173
3204
  };
3174
3205
  }
3175
3206
  if (currentOutDir !== null) {
@@ -3187,7 +3218,7 @@ var outDirOption = {
3187
3218
  currentOutDir = value3;
3188
3219
  },
3189
3220
  type: "",
3190
- id: cliFlag55
3221
+ id: cliFlag56
3191
3222
  };
3192
3223
 
3193
3224
  // src/validate.ts
@@ -3197,21 +3228,21 @@ var validateDimension = NoReactInternals2.validateDimension;
3197
3228
  var validateDurationInFrames = NoReactInternals2.validateDurationInFrames;
3198
3229
 
3199
3230
  // src/options/override-duration.tsx
3200
- import { jsx as jsx52, Fragment as Fragment52 } from "react/jsx-runtime";
3231
+ import { jsx as jsx53, Fragment as Fragment53 } from "react/jsx-runtime";
3201
3232
  var currentDuration = null;
3202
- var cliFlag56 = "duration";
3233
+ var cliFlag57 = "duration";
3203
3234
  var overrideDurationOption = {
3204
3235
  name: "Override Duration",
3205
- cliFlag: cliFlag56,
3206
- description: () => /* @__PURE__ */ jsx52(Fragment52, {
3236
+ cliFlag: cliFlag57,
3237
+ description: () => /* @__PURE__ */ jsx53(Fragment53, {
3207
3238
  children: "Overrides the duration in frames of the composition."
3208
3239
  }),
3209
3240
  ssrName: null,
3210
3241
  docLink: "https://www.remotion.dev/docs/config#overrideduration",
3211
3242
  type: null,
3212
3243
  getValue: ({ commandLine }) => {
3213
- if (commandLine[cliFlag56] !== undefined) {
3214
- const value3 = commandLine[cliFlag56];
3244
+ if (commandLine[cliFlag57] !== undefined) {
3245
+ const value3 = commandLine[cliFlag57];
3215
3246
  validateDurationInFrames(value3, {
3216
3247
  component: "in --duration flag",
3217
3248
  allowFloats: false
@@ -3239,25 +3270,25 @@ var overrideDurationOption = {
3239
3270
  });
3240
3271
  currentDuration = duration;
3241
3272
  },
3242
- id: cliFlag56
3273
+ id: cliFlag57
3243
3274
  };
3244
3275
 
3245
3276
  // src/options/override-fps.tsx
3246
- import { jsx as jsx53, Fragment as Fragment53 } from "react/jsx-runtime";
3277
+ import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3247
3278
  var currentFps = null;
3248
- var cliFlag57 = "fps";
3279
+ var cliFlag58 = "fps";
3249
3280
  var overrideFpsOption = {
3250
3281
  name: "Override FPS",
3251
- cliFlag: cliFlag57,
3252
- description: () => /* @__PURE__ */ jsx53(Fragment53, {
3282
+ cliFlag: cliFlag58,
3283
+ description: () => /* @__PURE__ */ jsx54(Fragment54, {
3253
3284
  children: "Overrides the frames per second of the composition."
3254
3285
  }),
3255
3286
  ssrName: null,
3256
3287
  docLink: "https://www.remotion.dev/docs/config#overridefps",
3257
3288
  type: null,
3258
3289
  getValue: ({ commandLine }) => {
3259
- if (commandLine[cliFlag57] !== undefined) {
3260
- const value3 = commandLine[cliFlag57];
3290
+ if (commandLine[cliFlag58] !== undefined) {
3291
+ const value3 = commandLine[cliFlag58];
3261
3292
  validateFps(value3, "in --fps flag", false);
3262
3293
  return {
3263
3294
  source: "cli",
@@ -3279,25 +3310,25 @@ var overrideFpsOption = {
3279
3310
  validateFps(fps, "in Config.overrideFps()", false);
3280
3311
  currentFps = fps;
3281
3312
  },
3282
- id: cliFlag57
3313
+ id: cliFlag58
3283
3314
  };
3284
3315
 
3285
3316
  // src/options/override-height.tsx
3286
- import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3317
+ import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3287
3318
  var currentHeight = null;
3288
- var cliFlag58 = "height";
3319
+ var cliFlag59 = "height";
3289
3320
  var overrideHeightOption = {
3290
3321
  name: "Override Height",
3291
- cliFlag: cliFlag58,
3292
- description: () => /* @__PURE__ */ jsx54(Fragment54, {
3322
+ cliFlag: cliFlag59,
3323
+ description: () => /* @__PURE__ */ jsx55(Fragment55, {
3293
3324
  children: "Overrides the height of the composition."
3294
3325
  }),
3295
3326
  ssrName: null,
3296
3327
  docLink: "https://www.remotion.dev/docs/config#overrideheight",
3297
3328
  type: null,
3298
3329
  getValue: ({ commandLine }) => {
3299
- if (commandLine[cliFlag58] !== undefined) {
3300
- const value3 = commandLine[cliFlag58];
3330
+ if (commandLine[cliFlag59] !== undefined) {
3331
+ const value3 = commandLine[cliFlag59];
3301
3332
  validateDimension(value3, "height", "in --height flag");
3302
3333
  return {
3303
3334
  source: "cli",
@@ -3319,25 +3350,25 @@ var overrideHeightOption = {
3319
3350
  validateDimension(height, "height", "in Config.overrideHeight()");
3320
3351
  currentHeight = height;
3321
3352
  },
3322
- id: cliFlag58
3353
+ id: cliFlag59
3323
3354
  };
3324
3355
 
3325
3356
  // src/options/override-width.tsx
3326
- import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3357
+ import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3327
3358
  var currentWidth = null;
3328
- var cliFlag59 = "width";
3359
+ var cliFlag60 = "width";
3329
3360
  var overrideWidthOption = {
3330
3361
  name: "Override Width",
3331
- cliFlag: cliFlag59,
3332
- description: () => /* @__PURE__ */ jsx55(Fragment55, {
3362
+ cliFlag: cliFlag60,
3363
+ description: () => /* @__PURE__ */ jsx56(Fragment56, {
3333
3364
  children: "Overrides the width of the composition."
3334
3365
  }),
3335
3366
  ssrName: null,
3336
3367
  docLink: "https://www.remotion.dev/docs/config#overridewidth",
3337
3368
  type: null,
3338
3369
  getValue: ({ commandLine }) => {
3339
- if (commandLine[cliFlag59] !== undefined) {
3340
- const value3 = commandLine[cliFlag59];
3370
+ if (commandLine[cliFlag60] !== undefined) {
3371
+ const value3 = commandLine[cliFlag60];
3341
3372
  validateDimension(value3, "width", "in --width flag");
3342
3373
  return {
3343
3374
  source: "cli",
@@ -3359,13 +3390,13 @@ var overrideWidthOption = {
3359
3390
  validateDimension(width, "width", "in Config.overrideWidth()");
3360
3391
  currentWidth = width;
3361
3392
  },
3362
- id: cliFlag59
3393
+ id: cliFlag60
3363
3394
  };
3364
3395
 
3365
3396
  // src/options/overwrite.tsx
3366
- import { jsx as jsx56, jsxs as jsxs36, Fragment as Fragment56 } from "react/jsx-runtime";
3397
+ import { jsx as jsx57, jsxs as jsxs36, Fragment as Fragment57 } from "react/jsx-runtime";
3367
3398
  var shouldOverwrite = null;
3368
- var cliFlag60 = "overwrite";
3399
+ var cliFlag61 = "overwrite";
3369
3400
  var validate2 = (value3) => {
3370
3401
  if (typeof value3 !== "boolean") {
3371
3402
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -3373,15 +3404,15 @@ var validate2 = (value3) => {
3373
3404
  };
3374
3405
  var overwriteOption = {
3375
3406
  name: "Overwrite output",
3376
- cliFlag: cliFlag60,
3377
- description: () => /* @__PURE__ */ jsxs36(Fragment56, {
3407
+ cliFlag: cliFlag61,
3408
+ description: () => /* @__PURE__ */ jsxs36(Fragment57, {
3378
3409
  children: [
3379
3410
  "If set to ",
3380
- /* @__PURE__ */ jsx56("code", {
3411
+ /* @__PURE__ */ jsx57("code", {
3381
3412
  children: "false"
3382
3413
  }),
3383
3414
  ", will prevent rendering to a path that already exists. Default is ",
3384
- /* @__PURE__ */ jsx56("code", {
3415
+ /* @__PURE__ */ jsx57("code", {
3385
3416
  children: "true"
3386
3417
  }),
3387
3418
  "."
@@ -3391,11 +3422,11 @@ var overwriteOption = {
3391
3422
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3392
3423
  type: false,
3393
3424
  getValue: ({ commandLine }, defaultValue2) => {
3394
- if (commandLine[cliFlag60] !== undefined) {
3395
- validate2(commandLine[cliFlag60]);
3425
+ if (commandLine[cliFlag61] !== undefined) {
3426
+ validate2(commandLine[cliFlag61]);
3396
3427
  return {
3397
3428
  source: "cli",
3398
- value: commandLine[cliFlag60]
3429
+ value: commandLine[cliFlag61]
3399
3430
  };
3400
3431
  }
3401
3432
  if (shouldOverwrite !== null) {
@@ -3413,36 +3444,36 @@ var overwriteOption = {
3413
3444
  validate2(value3);
3414
3445
  shouldOverwrite = value3;
3415
3446
  },
3416
- id: cliFlag60
3447
+ id: cliFlag61
3417
3448
  };
3418
3449
 
3419
3450
  // src/options/package-manager.tsx
3420
- import { jsx as jsx57, jsxs as jsxs37, Fragment as Fragment57 } from "react/jsx-runtime";
3421
- var cliFlag61 = "package-manager";
3451
+ import { jsx as jsx58, jsxs as jsxs37, Fragment as Fragment58 } from "react/jsx-runtime";
3452
+ var cliFlag62 = "package-manager";
3422
3453
  var currentPackageManager = null;
3423
3454
  var packageManagerOption = {
3424
3455
  name: "Package Manager",
3425
- cliFlag: cliFlag61,
3456
+ cliFlag: cliFlag62,
3426
3457
  description: () => {
3427
- return /* @__PURE__ */ jsxs37(Fragment57, {
3458
+ return /* @__PURE__ */ jsxs37(Fragment58, {
3428
3459
  children: [
3429
3460
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
3430
- /* @__PURE__ */ jsx57("br", {}),
3461
+ /* @__PURE__ */ jsx58("br", {}),
3431
3462
  "Acceptable values are ",
3432
- /* @__PURE__ */ jsx57("code", {
3463
+ /* @__PURE__ */ jsx58("code", {
3433
3464
  children: "npm"
3434
3465
  }),
3435
3466
  ", ",
3436
- /* @__PURE__ */ jsx57("code", {
3467
+ /* @__PURE__ */ jsx58("code", {
3437
3468
  children: "yarn"
3438
3469
  }),
3439
3470
  ",",
3440
3471
  " ",
3441
- /* @__PURE__ */ jsx57("code", {
3472
+ /* @__PURE__ */ jsx58("code", {
3442
3473
  children: "pnpm"
3443
3474
  }),
3444
3475
  " and ",
3445
- /* @__PURE__ */ jsx57("code", {
3476
+ /* @__PURE__ */ jsx58("code", {
3446
3477
  children: "bun"
3447
3478
  }),
3448
3479
  "."
@@ -3452,10 +3483,10 @@ var packageManagerOption = {
3452
3483
  ssrName: "packageManager",
3453
3484
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--package-manager",
3454
3485
  getValue: ({ commandLine }) => {
3455
- if (commandLine[cliFlag61] !== undefined) {
3486
+ if (commandLine[cliFlag62] !== undefined) {
3456
3487
  return {
3457
3488
  source: "cli",
3458
- value: commandLine[cliFlag61]
3489
+ value: commandLine[cliFlag62]
3459
3490
  };
3460
3491
  }
3461
3492
  if (currentPackageManager !== null) {
@@ -3473,7 +3504,7 @@ var packageManagerOption = {
3473
3504
  currentPackageManager = value3;
3474
3505
  },
3475
3506
  type: "",
3476
- id: cliFlag61
3507
+ id: cliFlag62
3477
3508
  };
3478
3509
 
3479
3510
  // src/pixel-format.ts
@@ -3496,17 +3527,17 @@ var validPixelFormatsForCodec = (codec) => {
3496
3527
  };
3497
3528
 
3498
3529
  // src/options/pixel-format.tsx
3499
- import { jsx as jsx58, jsxs as jsxs38, Fragment as Fragment58 } from "react/jsx-runtime";
3530
+ import { jsx as jsx59, jsxs as jsxs38, Fragment as Fragment59 } from "react/jsx-runtime";
3500
3531
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
3501
- var cliFlag62 = "pixel-format";
3532
+ var cliFlag63 = "pixel-format";
3502
3533
  var pixelFormatOption = {
3503
3534
  name: "Pixel format",
3504
- cliFlag: cliFlag62,
3505
- description: () => /* @__PURE__ */ jsxs38(Fragment58, {
3535
+ cliFlag: cliFlag63,
3536
+ description: () => /* @__PURE__ */ jsxs38(Fragment59, {
3506
3537
  children: [
3507
3538
  "Sets the pixel format in FFmpeg. See",
3508
3539
  " ",
3509
- /* @__PURE__ */ jsx58("a", {
3540
+ /* @__PURE__ */ jsx59("a", {
3510
3541
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
3511
3542
  children: "the FFmpeg docs for an explanation"
3512
3543
  }),
@@ -3519,10 +3550,10 @@ var pixelFormatOption = {
3519
3550
  docLink: "https://www.remotion.dev/docs/config#setpixelformat",
3520
3551
  type: DEFAULT_PIXEL_FORMAT,
3521
3552
  getValue: ({ commandLine }) => {
3522
- if (commandLine[cliFlag62] !== undefined) {
3553
+ if (commandLine[cliFlag63] !== undefined) {
3523
3554
  return {
3524
3555
  source: "cli",
3525
- value: commandLine[cliFlag62]
3556
+ value: commandLine[cliFlag63]
3526
3557
  };
3527
3558
  }
3528
3559
  if (currentPixelFormat !== DEFAULT_PIXEL_FORMAT) {
@@ -3542,26 +3573,26 @@ var pixelFormatOption = {
3542
3573
  }
3543
3574
  currentPixelFormat = value3;
3544
3575
  },
3545
- id: cliFlag62
3576
+ id: cliFlag63
3546
3577
  };
3547
3578
 
3548
3579
  // src/options/port.tsx
3549
- import { jsx as jsx59, Fragment as Fragment59 } from "react/jsx-runtime";
3550
- var cliFlag63 = "port";
3580
+ import { jsx as jsx60, Fragment as Fragment60 } from "react/jsx-runtime";
3581
+ var cliFlag64 = "port";
3551
3582
  var currentPort = null;
3552
3583
  var portOption = {
3553
3584
  name: "Port",
3554
- cliFlag: cliFlag63,
3555
- description: () => /* @__PURE__ */ jsx59(Fragment59, {
3585
+ cliFlag: cliFlag64,
3586
+ description: () => /* @__PURE__ */ jsx60(Fragment60, {
3556
3587
  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."
3557
3588
  }),
3558
3589
  ssrName: null,
3559
3590
  docLink: "https://www.remotion.dev/docs/config#setstudioport",
3560
3591
  getValue: ({ commandLine }) => {
3561
- if (commandLine[cliFlag63] !== undefined) {
3592
+ if (commandLine[cliFlag64] !== undefined) {
3562
3593
  return {
3563
3594
  source: "cli",
3564
- value: commandLine[cliFlag63]
3595
+ value: commandLine[cliFlag64]
3565
3596
  };
3566
3597
  }
3567
3598
  if (currentPort !== null) {
@@ -3579,25 +3610,25 @@ var portOption = {
3579
3610
  currentPort = value3;
3580
3611
  },
3581
3612
  type: 0,
3582
- id: cliFlag63
3613
+ id: cliFlag64
3583
3614
  };
3584
3615
 
3585
3616
  // src/options/prefer-lossless.tsx
3586
- import { jsx as jsx60, jsxs as jsxs39, Fragment as Fragment60 } from "react/jsx-runtime";
3587
- var cliFlag64 = "prefer-lossless";
3617
+ import { jsx as jsx61, jsxs as jsxs39, Fragment as Fragment61 } from "react/jsx-runtime";
3618
+ var cliFlag65 = "prefer-lossless";
3588
3619
  var input = false;
3589
3620
  var preferLosslessAudioOption = {
3590
3621
  name: "Prefer lossless",
3591
- cliFlag: cliFlag64,
3592
- description: () => /* @__PURE__ */ jsxs39(Fragment60, {
3622
+ cliFlag: cliFlag65,
3623
+ description: () => /* @__PURE__ */ jsxs39(Fragment61, {
3593
3624
  children: [
3594
3625
  "Uses a lossless audio codec, if one is available for the codec. If you set",
3595
- /* @__PURE__ */ jsx60("code", {
3626
+ /* @__PURE__ */ jsx61("code", {
3596
3627
  children: "audioCodec"
3597
3628
  }),
3598
3629
  ", it takes priority over",
3599
3630
  " ",
3600
- /* @__PURE__ */ jsx60("code", {
3631
+ /* @__PURE__ */ jsx61("code", {
3601
3632
  children: "preferLossless"
3602
3633
  }),
3603
3634
  "."
@@ -3607,7 +3638,7 @@ var preferLosslessAudioOption = {
3607
3638
  type: false,
3608
3639
  ssrName: "preferLossless",
3609
3640
  getValue: ({ commandLine }) => {
3610
- if (commandLine[cliFlag64]) {
3641
+ if (commandLine[cliFlag65]) {
3611
3642
  return { value: true, source: "cli" };
3612
3643
  }
3613
3644
  if (input === true) {
@@ -3618,16 +3649,16 @@ var preferLosslessAudioOption = {
3618
3649
  setConfig: (val) => {
3619
3650
  input = val;
3620
3651
  },
3621
- id: cliFlag64
3652
+ id: cliFlag65
3622
3653
  };
3623
3654
 
3624
3655
  // src/options/props.tsx
3625
- import { jsx as jsx61, jsxs as jsxs40, Fragment as Fragment61 } from "react/jsx-runtime";
3626
- var cliFlag65 = "props";
3656
+ import { jsx as jsx62, jsxs as jsxs40, Fragment as Fragment62 } from "react/jsx-runtime";
3657
+ var cliFlag66 = "props";
3627
3658
  var propsOption = {
3628
3659
  name: "Input Props",
3629
- cliFlag: cliFlag65,
3630
- description: () => /* @__PURE__ */ jsxs40(Fragment61, {
3660
+ cliFlag: cliFlag66,
3661
+ description: () => /* @__PURE__ */ jsxs40(Fragment62, {
3631
3662
  children: [
3632
3663
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
3633
3664
  /* @__PURE__ */ jsxs40("code", {
@@ -3640,7 +3671,7 @@ var propsOption = {
3640
3671
  ]
3641
3672
  }),
3642
3673
  ") or a path to a JSON file (",
3643
- /* @__PURE__ */ jsx61("code", {
3674
+ /* @__PURE__ */ jsx62("code", {
3644
3675
  children: "./path/to/props.json"
3645
3676
  }),
3646
3677
  ")."
@@ -3649,10 +3680,10 @@ var propsOption = {
3649
3680
  ssrName: null,
3650
3681
  docLink: "https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli",
3651
3682
  getValue: ({ commandLine }) => {
3652
- if (commandLine[cliFlag65] !== undefined) {
3683
+ if (commandLine[cliFlag66] !== undefined) {
3653
3684
  return {
3654
3685
  source: "cli",
3655
- value: commandLine[cliFlag65]
3686
+ value: commandLine[cliFlag66]
3656
3687
  };
3657
3688
  }
3658
3689
  return {
@@ -3664,11 +3695,11 @@ var propsOption = {
3664
3695
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
3665
3696
  },
3666
3697
  type: "",
3667
- id: cliFlag65
3698
+ id: cliFlag66
3668
3699
  };
3669
3700
 
3670
3701
  // src/options/prores-profile.tsx
3671
- import { jsx as jsx62, jsxs as jsxs41, Fragment as Fragment62 } from "react/jsx-runtime";
3702
+ import { jsx as jsx63, jsxs as jsxs41, Fragment as Fragment63 } from "react/jsx-runtime";
3672
3703
  var validProResProfiles = [
3673
3704
  "4444-xq",
3674
3705
  "4444",
@@ -3678,14 +3709,14 @@ var validProResProfiles = [
3678
3709
  "proxy"
3679
3710
  ];
3680
3711
  var proResProfile;
3681
- var cliFlag66 = "prores-profile";
3712
+ var cliFlag67 = "prores-profile";
3682
3713
  var proResProfileOption = {
3683
3714
  name: "ProRes profile",
3684
- cliFlag: cliFlag66,
3685
- description: () => /* @__PURE__ */ jsxs41(Fragment62, {
3715
+ cliFlag: cliFlag67,
3716
+ description: () => /* @__PURE__ */ jsxs41(Fragment63, {
3686
3717
  children: [
3687
3718
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
3688
- /* @__PURE__ */ jsx62("code", {
3719
+ /* @__PURE__ */ jsx63("code", {
3689
3720
  children: "prores"
3690
3721
  }),
3691
3722
  ". Possible values:",
@@ -3693,12 +3724,12 @@ var proResProfileOption = {
3693
3724
  validProResProfiles.map((p) => `"${p}"`).join(", "),
3694
3725
  ". Default:",
3695
3726
  " ",
3696
- /* @__PURE__ */ jsx62("code", {
3727
+ /* @__PURE__ */ jsx63("code", {
3697
3728
  children: '"hq"'
3698
3729
  }),
3699
3730
  ". See",
3700
3731
  " ",
3701
- /* @__PURE__ */ jsx62("a", {
3732
+ /* @__PURE__ */ jsx63("a", {
3702
3733
  href: "https://video.stackexchange.com/a/14715",
3703
3734
  children: "here"
3704
3735
  }),
@@ -3709,10 +3740,10 @@ var proResProfileOption = {
3709
3740
  docLink: "https://www.remotion.dev/docs/config#setproresprofile",
3710
3741
  type: undefined,
3711
3742
  getValue: ({ commandLine }) => {
3712
- if (commandLine[cliFlag66] !== undefined) {
3743
+ if (commandLine[cliFlag67] !== undefined) {
3713
3744
  return {
3714
3745
  source: "cli",
3715
- value: String(commandLine[cliFlag66])
3746
+ value: String(commandLine[cliFlag67])
3716
3747
  };
3717
3748
  }
3718
3749
  if (proResProfile !== undefined) {
@@ -3729,24 +3760,24 @@ var proResProfileOption = {
3729
3760
  setConfig: (value3) => {
3730
3761
  proResProfile = value3;
3731
3762
  },
3732
- id: cliFlag66
3763
+ id: cliFlag67
3733
3764
  };
3734
3765
 
3735
3766
  // src/options/public-dir.tsx
3736
- import { jsx as jsx63, jsxs as jsxs42, Fragment as Fragment63 } from "react/jsx-runtime";
3737
- var cliFlag67 = "public-dir";
3767
+ import { jsx as jsx64, jsxs as jsxs42, Fragment as Fragment64 } from "react/jsx-runtime";
3768
+ var cliFlag68 = "public-dir";
3738
3769
  var currentPublicDir = null;
3739
3770
  var publicDirOption = {
3740
3771
  name: "Public Directory",
3741
- cliFlag: cliFlag67,
3772
+ cliFlag: cliFlag68,
3742
3773
  description: () => {
3743
- return /* @__PURE__ */ jsxs42(Fragment63, {
3774
+ return /* @__PURE__ */ jsxs42(Fragment64, {
3744
3775
  children: [
3745
3776
  "Define the location of the",
3746
3777
  " ",
3747
- /* @__PURE__ */ jsx63("a", {
3778
+ /* @__PURE__ */ jsx64("a", {
3748
3779
  href: "/docs/terminology/public-dir",
3749
- children: /* @__PURE__ */ jsx63("code", {
3780
+ children: /* @__PURE__ */ jsx64("code", {
3750
3781
  children: "public/ directory"
3751
3782
  })
3752
3783
  }),
@@ -3757,10 +3788,10 @@ var publicDirOption = {
3757
3788
  ssrName: "publicDir",
3758
3789
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
3759
3790
  getValue: ({ commandLine }) => {
3760
- if (commandLine[cliFlag67] !== undefined) {
3791
+ if (commandLine[cliFlag68] !== undefined) {
3761
3792
  return {
3762
3793
  source: "cli",
3763
- value: commandLine[cliFlag67]
3794
+ value: commandLine[cliFlag68]
3764
3795
  };
3765
3796
  }
3766
3797
  if (currentPublicDir !== null) {
@@ -3778,20 +3809,20 @@ var publicDirOption = {
3778
3809
  currentPublicDir = value3;
3779
3810
  },
3780
3811
  type: "",
3781
- id: cliFlag67
3812
+ id: cliFlag68
3782
3813
  };
3783
3814
 
3784
3815
  // src/options/public-license-key.tsx
3785
- import { jsx as jsx64, jsxs as jsxs43, Fragment as Fragment64 } from "react/jsx-runtime";
3786
- var cliFlag68 = "public-license-key";
3816
+ import { jsx as jsx65, jsxs as jsxs43, Fragment as Fragment65 } from "react/jsx-runtime";
3817
+ var cliFlag69 = "public-license-key";
3787
3818
  var currentPublicLicenseKey = null;
3788
3819
  var publicLicenseKeyOption = {
3789
3820
  name: "Public License Key",
3790
- cliFlag: cliFlag68,
3791
- description: () => /* @__PURE__ */ jsxs43(Fragment64, {
3821
+ cliFlag: cliFlag69,
3822
+ description: () => /* @__PURE__ */ jsxs43(Fragment65, {
3792
3823
  children: [
3793
3824
  'The public license key for your company license, obtained from the "Usage" tab on ',
3794
- /* @__PURE__ */ jsx64("a", {
3825
+ /* @__PURE__ */ jsx65("a", {
3795
3826
  href: "https://remotion.pro/dashboard",
3796
3827
  children: "remotion.pro"
3797
3828
  }),
@@ -3801,10 +3832,10 @@ var publicLicenseKeyOption = {
3801
3832
  ssrName: "publicLicenseKey",
3802
3833
  docLink: "https://www.remotion.dev/docs/licensing",
3803
3834
  getValue: ({ commandLine }) => {
3804
- if (commandLine[cliFlag68] !== undefined) {
3835
+ if (commandLine[cliFlag69] !== undefined) {
3805
3836
  return {
3806
3837
  source: "cli",
3807
- value: commandLine[cliFlag68]
3838
+ value: commandLine[cliFlag69]
3808
3839
  };
3809
3840
  }
3810
3841
  if (currentPublicLicenseKey !== null) {
@@ -3825,29 +3856,29 @@ var publicLicenseKeyOption = {
3825
3856
  currentPublicLicenseKey = value3;
3826
3857
  },
3827
3858
  type: null,
3828
- id: cliFlag68
3859
+ id: cliFlag69
3829
3860
  };
3830
3861
 
3831
3862
  // src/options/public-path.tsx
3832
- import { jsx as jsx65, jsxs as jsxs44, Fragment as Fragment65 } from "react/jsx-runtime";
3833
- var cliFlag69 = "public-path";
3863
+ import { jsx as jsx66, jsxs as jsxs44, Fragment as Fragment66 } from "react/jsx-runtime";
3864
+ var cliFlag70 = "public-path";
3834
3865
  var currentPublicPath = null;
3835
3866
  var publicPathOption = {
3836
3867
  name: "Public Path",
3837
- cliFlag: cliFlag69,
3868
+ cliFlag: cliFlag70,
3838
3869
  description: () => {
3839
- return /* @__PURE__ */ jsxs44(Fragment65, {
3870
+ return /* @__PURE__ */ jsxs44(Fragment66, {
3840
3871
  children: [
3841
3872
  "The path of the URL where the bundle is going to be hosted. By default it is ",
3842
- /* @__PURE__ */ jsx65("code", {
3873
+ /* @__PURE__ */ jsx66("code", {
3843
3874
  children: "/"
3844
3875
  }),
3845
3876
  ", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
3846
- /* @__PURE__ */ jsx65("code", {
3877
+ /* @__PURE__ */ jsx66("code", {
3847
3878
  children: "https://localhost:3000/"
3848
3879
  }),
3849
3880
  "). If you are deploying to a subdirectory (e.g. ",
3850
- /* @__PURE__ */ jsx65("code", {
3881
+ /* @__PURE__ */ jsx66("code", {
3851
3882
  children: "/sites/my-site/"
3852
3883
  }),
3853
3884
  "), you should set this to the subdirectory."
@@ -3857,10 +3888,10 @@ var publicPathOption = {
3857
3888
  ssrName: "publicPath",
3858
3889
  docLink: "https://www.remotion.dev/docs/renderer",
3859
3890
  getValue: ({ commandLine }) => {
3860
- if (commandLine[cliFlag69] !== undefined) {
3891
+ if (commandLine[cliFlag70] !== undefined) {
3861
3892
  return {
3862
3893
  source: "cli",
3863
- value: commandLine[cliFlag69]
3894
+ value: commandLine[cliFlag70]
3864
3895
  };
3865
3896
  }
3866
3897
  if (currentPublicPath !== null) {
@@ -3878,29 +3909,29 @@ var publicPathOption = {
3878
3909
  currentPublicPath = value3;
3879
3910
  },
3880
3911
  type: "",
3881
- id: cliFlag69
3912
+ id: cliFlag70
3882
3913
  };
3883
3914
 
3884
3915
  // src/options/repro.tsx
3885
- import { jsx as jsx66, Fragment as Fragment66 } from "react/jsx-runtime";
3916
+ import { jsx as jsx67, Fragment as Fragment67 } from "react/jsx-runtime";
3886
3917
  var enableRepro = false;
3887
3918
  var setRepro = (should) => {
3888
3919
  enableRepro = should;
3889
3920
  };
3890
- var cliFlag70 = "repro";
3921
+ var cliFlag71 = "repro";
3891
3922
  var reproOption = {
3892
3923
  name: "Create reproduction",
3893
- cliFlag: cliFlag70,
3894
- description: () => /* @__PURE__ */ jsx66(Fragment66, {
3924
+ cliFlag: cliFlag71,
3925
+ description: () => /* @__PURE__ */ jsx67(Fragment67, {
3895
3926
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
3896
3927
  }),
3897
3928
  ssrName: "repro",
3898
3929
  docLink: "https://www.remotion.dev/docs/render-media#repro",
3899
3930
  type: false,
3900
3931
  getValue: ({ commandLine }) => {
3901
- if (commandLine[cliFlag70] !== undefined) {
3932
+ if (commandLine[cliFlag71] !== undefined) {
3902
3933
  return {
3903
- value: commandLine[cliFlag70],
3934
+ value: commandLine[cliFlag71],
3904
3935
  source: "cli"
3905
3936
  };
3906
3937
  }
@@ -3916,27 +3947,27 @@ var reproOption = {
3916
3947
  };
3917
3948
  },
3918
3949
  setConfig: setRepro,
3919
- id: cliFlag70
3950
+ id: cliFlag71
3920
3951
  };
3921
3952
 
3922
3953
  // src/options/rspack.tsx
3923
- import { jsx as jsx67, Fragment as Fragment67 } from "react/jsx-runtime";
3954
+ import { jsx as jsx68, Fragment as Fragment68 } from "react/jsx-runtime";
3924
3955
  var rspackEnabled = false;
3925
- var cliFlag71 = "experimental-rspack";
3956
+ var cliFlag72 = "experimental-rspack";
3926
3957
  var rspackOption = {
3927
3958
  name: "Experimental Rspack",
3928
- cliFlag: cliFlag71,
3929
- description: () => /* @__PURE__ */ jsx67(Fragment67, {
3959
+ cliFlag: cliFlag72,
3960
+ description: () => /* @__PURE__ */ jsx68(Fragment68, {
3930
3961
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
3931
3962
  }),
3932
3963
  ssrName: null,
3933
3964
  docLink: null,
3934
3965
  type: false,
3935
3966
  getValue: ({ commandLine }) => {
3936
- if (commandLine[cliFlag71] !== undefined) {
3967
+ if (commandLine[cliFlag72] !== undefined) {
3937
3968
  rspackEnabled = true;
3938
3969
  return {
3939
- value: commandLine[cliFlag71],
3970
+ value: commandLine[cliFlag72],
3940
3971
  source: "cli"
3941
3972
  };
3942
3973
  }
@@ -3948,21 +3979,21 @@ var rspackOption = {
3948
3979
  setConfig(value3) {
3949
3980
  rspackEnabled = value3;
3950
3981
  },
3951
- id: cliFlag71
3982
+ id: cliFlag72
3952
3983
  };
3953
3984
 
3954
3985
  // src/options/runs.tsx
3955
- import { jsx as jsx68, jsxs as jsxs45, Fragment as Fragment68 } from "react/jsx-runtime";
3986
+ import { jsx as jsx69, jsxs as jsxs45, Fragment as Fragment69 } from "react/jsx-runtime";
3956
3987
  var DEFAULT_RUNS = 3;
3957
3988
  var currentRuns = DEFAULT_RUNS;
3958
- var cliFlag72 = "runs";
3989
+ var cliFlag73 = "runs";
3959
3990
  var runsOption = {
3960
3991
  name: "Benchmark runs",
3961
- cliFlag: cliFlag72,
3962
- description: () => /* @__PURE__ */ jsxs45(Fragment68, {
3992
+ cliFlag: cliFlag73,
3993
+ description: () => /* @__PURE__ */ jsxs45(Fragment69, {
3963
3994
  children: [
3964
3995
  "Specify how many times the video should be rendered during a benchmark. Default ",
3965
- /* @__PURE__ */ jsx68("code", {
3996
+ /* @__PURE__ */ jsx69("code", {
3966
3997
  children: DEFAULT_RUNS
3967
3998
  }),
3968
3999
  "."
@@ -3972,10 +4003,10 @@ var runsOption = {
3972
4003
  docLink: "https://www.remotion.dev/docs/cli/benchmark#--runs",
3973
4004
  type: DEFAULT_RUNS,
3974
4005
  getValue: ({ commandLine }) => {
3975
- if (commandLine[cliFlag72] !== undefined) {
3976
- const value3 = Number(commandLine[cliFlag72]);
4006
+ if (commandLine[cliFlag73] !== undefined) {
4007
+ const value3 = Number(commandLine[cliFlag73]);
3977
4008
  if (isNaN(value3) || value3 < 1) {
3978
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag72]}`);
4009
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag73]}`);
3979
4010
  }
3980
4011
  return { value: value3, source: "cli" };
3981
4012
  }
@@ -3990,13 +4021,13 @@ var runsOption = {
3990
4021
  }
3991
4022
  currentRuns = value3;
3992
4023
  },
3993
- id: cliFlag72
4024
+ id: cliFlag73
3994
4025
  };
3995
4026
 
3996
4027
  // src/options/scale.tsx
3997
- import { jsx as jsx69, jsxs as jsxs46, Fragment as Fragment69 } from "react/jsx-runtime";
4028
+ import { jsx as jsx70, jsxs as jsxs46, Fragment as Fragment70 } from "react/jsx-runtime";
3998
4029
  var currentScale = 1;
3999
- var cliFlag73 = "scale";
4030
+ var cliFlag74 = "scale";
4000
4031
  var validateScale = (value3) => {
4001
4032
  if (typeof value3 !== "number") {
4002
4033
  throw new Error("scale must be a number.");
@@ -4004,15 +4035,15 @@ var validateScale = (value3) => {
4004
4035
  };
4005
4036
  var scaleOption = {
4006
4037
  name: "Scale",
4007
- cliFlag: cliFlag73,
4008
- description: () => /* @__PURE__ */ jsxs46(Fragment69, {
4038
+ cliFlag: cliFlag74,
4039
+ description: () => /* @__PURE__ */ jsxs46(Fragment70, {
4009
4040
  children: [
4010
4041
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
4011
- /* @__PURE__ */ jsx69("code", {
4042
+ /* @__PURE__ */ jsx70("code", {
4012
4043
  children: "1.5"
4013
4044
  }),
4014
4045
  ". See ",
4015
- /* @__PURE__ */ jsx69("a", {
4046
+ /* @__PURE__ */ jsx70("a", {
4016
4047
  href: "https://www.remotion.dev/docs/scaling",
4017
4048
  children: "Scaling"
4018
4049
  }),
@@ -4023,11 +4054,11 @@ var scaleOption = {
4023
4054
  docLink: "https://www.remotion.dev/docs/scaling",
4024
4055
  type: 0,
4025
4056
  getValue: ({ commandLine }) => {
4026
- if (commandLine[cliFlag73] !== undefined) {
4027
- validateScale(commandLine[cliFlag73]);
4057
+ if (commandLine[cliFlag74] !== undefined) {
4058
+ validateScale(commandLine[cliFlag74]);
4028
4059
  return {
4029
4060
  source: "cli",
4030
- value: commandLine[cliFlag73]
4061
+ value: commandLine[cliFlag74]
4031
4062
  };
4032
4063
  }
4033
4064
  if (currentScale !== null) {
@@ -4044,13 +4075,13 @@ var scaleOption = {
4044
4075
  setConfig: (scale) => {
4045
4076
  currentScale = scale;
4046
4077
  },
4047
- id: cliFlag73
4078
+ id: cliFlag74
4048
4079
  };
4049
4080
 
4050
4081
  // src/options/still-frame.tsx
4051
4082
  import { NoReactInternals as NoReactInternals3 } from "remotion/no-react";
4052
- import { jsx as jsx70, jsxs as jsxs47, Fragment as Fragment70 } from "react/jsx-runtime";
4053
- var cliFlag74 = "frame";
4083
+ import { jsx as jsx71, jsxs as jsxs47, Fragment as Fragment71 } from "react/jsx-runtime";
4084
+ var cliFlag75 = "frame";
4054
4085
  var currentFrame = null;
4055
4086
  var validate3 = (frame) => {
4056
4087
  NoReactInternals3.validateFrame({
@@ -4061,17 +4092,17 @@ var validate3 = (frame) => {
4061
4092
  };
4062
4093
  var stillFrameOption = {
4063
4094
  name: "Frame",
4064
- cliFlag: cliFlag74,
4065
- description: () => /* @__PURE__ */ jsxs47(Fragment70, {
4095
+ cliFlag: cliFlag75,
4096
+ description: () => /* @__PURE__ */ jsxs47(Fragment71, {
4066
4097
  children: [
4067
4098
  "Which frame should be rendered when rendering a still. Default",
4068
4099
  " ",
4069
- /* @__PURE__ */ jsx70("code", {
4100
+ /* @__PURE__ */ jsx71("code", {
4070
4101
  children: "0"
4071
4102
  }),
4072
4103
  ". From v3.2.27, negative values are allowed, with",
4073
4104
  " ",
4074
- /* @__PURE__ */ jsx70("code", {
4105
+ /* @__PURE__ */ jsx71("code", {
4075
4106
  children: "-1"
4076
4107
  }),
4077
4108
  " being the last frame."
@@ -4080,8 +4111,8 @@ var stillFrameOption = {
4080
4111
  ssrName: "frame",
4081
4112
  docLink: "https://www.remotion.dev/docs/cli/still#--frame",
4082
4113
  getValue: ({ commandLine }) => {
4083
- if (commandLine[cliFlag74] !== undefined) {
4084
- const frame = Number(commandLine[cliFlag74]);
4114
+ if (commandLine[cliFlag75] !== undefined) {
4115
+ const frame = Number(commandLine[cliFlag75]);
4085
4116
  validate3(frame);
4086
4117
  return {
4087
4118
  source: "cli",
@@ -4106,24 +4137,24 @@ var stillFrameOption = {
4106
4137
  currentFrame = value3;
4107
4138
  },
4108
4139
  type: 0,
4109
- id: cliFlag74
4140
+ id: cliFlag75
4110
4141
  };
4111
4142
 
4112
4143
  // src/options/still-image-format.tsx
4113
- import { jsx as jsx71, jsxs as jsxs48, Fragment as Fragment71 } from "react/jsx-runtime";
4144
+ import { jsx as jsx72, jsxs as jsxs48, Fragment as Fragment72 } from "react/jsx-runtime";
4114
4145
  var currentStillImageFormat = null;
4115
- var cliFlag75 = "image-format";
4146
+ var cliFlag76 = "image-format";
4116
4147
  var stillImageFormatOption = {
4117
4148
  name: "Still Image Format",
4118
- cliFlag: cliFlag75,
4119
- description: () => /* @__PURE__ */ jsxs48(Fragment71, {
4149
+ cliFlag: cliFlag76,
4150
+ description: () => /* @__PURE__ */ jsxs48(Fragment72, {
4120
4151
  children: [
4121
4152
  "The image format to use when rendering a still. Must be one of",
4122
4153
  " ",
4123
4154
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
4124
4155
  ". Default:",
4125
4156
  " ",
4126
- /* @__PURE__ */ jsx71("code", {
4157
+ /* @__PURE__ */ jsx72("code", {
4127
4158
  children: '"png"'
4128
4159
  }),
4129
4160
  "."
@@ -4133,8 +4164,8 @@ var stillImageFormatOption = {
4133
4164
  docLink: "https://www.remotion.dev/docs/renderer/render-still#imageformat",
4134
4165
  type: null,
4135
4166
  getValue: ({ commandLine }) => {
4136
- if (commandLine[cliFlag75] !== undefined) {
4137
- const value3 = commandLine[cliFlag75];
4167
+ if (commandLine[cliFlag76] !== undefined) {
4168
+ const value3 = commandLine[cliFlag76];
4138
4169
  if (!validStillImageFormats.includes(value3)) {
4139
4170
  throw new Error(`Invalid still image format: ${value3}. Must be one of: ${validStillImageFormats.join(", ")}`);
4140
4171
  }
@@ -4172,16 +4203,16 @@ var stillImageFormatOption = {
4172
4203
 
4173
4204
  // src/options/throw-if-site-exists.tsx
4174
4205
  var DEFAULT5 = false;
4175
- var cliFlag76 = "throw-if-site-exists";
4206
+ var cliFlag77 = "throw-if-site-exists";
4176
4207
  var throwIfSiteExistsOption = {
4177
- cliFlag: cliFlag76,
4208
+ cliFlag: cliFlag77,
4178
4209
  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.`,
4179
4210
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
4180
4211
  getValue: ({ commandLine }) => {
4181
- if (commandLine[cliFlag76]) {
4212
+ if (commandLine[cliFlag77]) {
4182
4213
  return {
4183
4214
  source: "cli",
4184
- value: commandLine[cliFlag76]
4215
+ value: commandLine[cliFlag77]
4185
4216
  };
4186
4217
  }
4187
4218
  return {
@@ -4195,41 +4226,41 @@ var throwIfSiteExistsOption = {
4195
4226
  },
4196
4227
  ssrName: "throwIfSiteExists",
4197
4228
  type: false,
4198
- id: cliFlag76
4229
+ id: cliFlag77
4199
4230
  };
4200
4231
 
4201
4232
  // src/options/timeout.tsx
4202
- import { jsx as jsx72, jsxs as jsxs49, Fragment as Fragment72 } from "react/jsx-runtime";
4233
+ import { jsx as jsx73, jsxs as jsxs49, Fragment as Fragment73 } from "react/jsx-runtime";
4203
4234
  var currentTimeout = DEFAULT_TIMEOUT;
4204
4235
  var validate4 = (value3) => {
4205
4236
  if (typeof value3 !== "number") {
4206
4237
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
4207
4238
  }
4208
4239
  };
4209
- var cliFlag77 = "timeout";
4240
+ var cliFlag78 = "timeout";
4210
4241
  var delayRenderTimeoutInMillisecondsOption = {
4211
4242
  name: "delayRender() timeout",
4212
- cliFlag: cliFlag77,
4213
- description: () => /* @__PURE__ */ jsxs49(Fragment72, {
4243
+ cliFlag: cliFlag78,
4244
+ description: () => /* @__PURE__ */ jsxs49(Fragment73, {
4214
4245
  children: [
4215
4246
  "A number describing how long the render may take to resolve all",
4216
4247
  " ",
4217
- /* @__PURE__ */ jsx72("a", {
4248
+ /* @__PURE__ */ jsx73("a", {
4218
4249
  href: "https://remotion.dev/docs/delay-render",
4219
- children: /* @__PURE__ */ jsx72("code", {
4250
+ children: /* @__PURE__ */ jsx73("code", {
4220
4251
  children: "delayRender()"
4221
4252
  })
4222
4253
  }),
4223
4254
  " ",
4224
4255
  "calls",
4225
4256
  " ",
4226
- /* @__PURE__ */ jsx72("a", {
4257
+ /* @__PURE__ */ jsx73("a", {
4227
4258
  style: { fontSize: "inherit" },
4228
4259
  href: "https://remotion.dev/docs/timeout",
4229
4260
  children: "before it times out"
4230
4261
  }),
4231
4262
  ". Default: ",
4232
- /* @__PURE__ */ jsx72("code", {
4263
+ /* @__PURE__ */ jsx73("code", {
4233
4264
  children: "30000"
4234
4265
  })
4235
4266
  ]
@@ -4238,10 +4269,10 @@ var delayRenderTimeoutInMillisecondsOption = {
4238
4269
  docLink: "https://www.remotion.dev/docs/timeout",
4239
4270
  type: 0,
4240
4271
  getValue: ({ commandLine }) => {
4241
- if (commandLine[cliFlag77] !== undefined) {
4272
+ if (commandLine[cliFlag78] !== undefined) {
4242
4273
  return {
4243
4274
  source: "cli",
4244
- value: commandLine[cliFlag77]
4275
+ value: commandLine[cliFlag78]
4245
4276
  };
4246
4277
  }
4247
4278
  if (currentTimeout !== null) {
@@ -4260,27 +4291,27 @@ var delayRenderTimeoutInMillisecondsOption = {
4260
4291
  validate4(value3);
4261
4292
  currentTimeout = value3;
4262
4293
  },
4263
- id: cliFlag77
4294
+ id: cliFlag78
4264
4295
  };
4265
4296
 
4266
4297
  // src/options/user-agent.tsx
4267
- import { jsx as jsx73, Fragment as Fragment73 } from "react/jsx-runtime";
4298
+ import { jsx as jsx74, Fragment as Fragment74 } from "react/jsx-runtime";
4268
4299
  var userAgent = null;
4269
- var cliFlag78 = "user-agent";
4300
+ var cliFlag79 = "user-agent";
4270
4301
  var userAgentOption = {
4271
4302
  name: "User agent",
4272
- cliFlag: cliFlag78,
4273
- description: () => /* @__PURE__ */ jsx73(Fragment73, {
4303
+ cliFlag: cliFlag79,
4304
+ description: () => /* @__PURE__ */ jsx74(Fragment74, {
4274
4305
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
4275
4306
  }),
4276
4307
  ssrName: "userAgent",
4277
4308
  docLink: "https://www.remotion.dev/docs/chromium-flags#--user-agent",
4278
4309
  type: null,
4279
4310
  getValue: ({ commandLine }) => {
4280
- if (commandLine[cliFlag78] !== undefined) {
4311
+ if (commandLine[cliFlag79] !== undefined) {
4281
4312
  return {
4282
4313
  source: "cli",
4283
- value: commandLine[cliFlag78]
4314
+ value: commandLine[cliFlag79]
4284
4315
  };
4285
4316
  }
4286
4317
  if (userAgent !== null) {
@@ -4297,25 +4328,25 @@ var userAgentOption = {
4297
4328
  setConfig: (value3) => {
4298
4329
  userAgent = value3;
4299
4330
  },
4300
- id: cliFlag78
4331
+ id: cliFlag79
4301
4332
  };
4302
4333
 
4303
4334
  // src/options/version-flag.tsx
4304
- import { jsx as jsx74, Fragment as Fragment74 } from "react/jsx-runtime";
4305
- var cliFlag79 = "version";
4335
+ import { jsx as jsx75, Fragment as Fragment75 } from "react/jsx-runtime";
4336
+ var cliFlag80 = "version";
4306
4337
  var versionFlagOption = {
4307
4338
  name: "Version",
4308
- cliFlag: cliFlag79,
4309
- description: () => /* @__PURE__ */ jsx74(Fragment74, {
4339
+ cliFlag: cliFlag80,
4340
+ description: () => /* @__PURE__ */ jsx75(Fragment75, {
4310
4341
  children: "Install a specific version. Also enables downgrading to an older version."
4311
4342
  }),
4312
4343
  ssrName: null,
4313
4344
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--version",
4314
4345
  getValue: ({ commandLine }) => {
4315
- if (commandLine[cliFlag79] !== undefined) {
4346
+ if (commandLine[cliFlag80] !== undefined) {
4316
4347
  return {
4317
4348
  source: "cli",
4318
- value: String(commandLine[cliFlag79])
4349
+ value: String(commandLine[cliFlag80])
4319
4350
  };
4320
4351
  }
4321
4352
  return {
@@ -4327,30 +4358,30 @@ var versionFlagOption = {
4327
4358
  throw new Error("Cannot set version via config file");
4328
4359
  },
4329
4360
  type: "",
4330
- id: cliFlag79
4361
+ id: cliFlag80
4331
4362
  };
4332
4363
 
4333
4364
  // src/options/video-bitrate.tsx
4334
- import { jsx as jsx75, jsxs as jsxs50, Fragment as Fragment75 } from "react/jsx-runtime";
4365
+ import { jsx as jsx76, jsxs as jsxs50, Fragment as Fragment76 } from "react/jsx-runtime";
4335
4366
  var videoBitrate = null;
4336
- var cliFlag80 = "video-bitrate";
4367
+ var cliFlag81 = "video-bitrate";
4337
4368
  var videoBitrateOption = {
4338
4369
  name: "Video Bitrate",
4339
- cliFlag: cliFlag80,
4340
- description: () => /* @__PURE__ */ jsxs50(Fragment75, {
4370
+ cliFlag: cliFlag81,
4371
+ description: () => /* @__PURE__ */ jsxs50(Fragment76, {
4341
4372
  children: [
4342
4373
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
4343
4374
  "'",
4344
4375
  "s",
4345
- /* @__PURE__ */ jsx75("code", {
4376
+ /* @__PURE__ */ jsx76("code", {
4346
4377
  children: "-b:v"
4347
4378
  }),
4348
4379
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
4349
- /* @__PURE__ */ jsx75("code", {
4380
+ /* @__PURE__ */ jsx76("code", {
4350
4381
  children: "512K"
4351
4382
  }),
4352
4383
  " for 512 kbps, ",
4353
- /* @__PURE__ */ jsx75("code", {
4384
+ /* @__PURE__ */ jsx76("code", {
4354
4385
  children: "1M"
4355
4386
  }),
4356
4387
  " for 1 Mbps."
@@ -4360,10 +4391,10 @@ var videoBitrateOption = {
4360
4391
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
4361
4392
  type: "",
4362
4393
  getValue: ({ commandLine }) => {
4363
- if (commandLine[cliFlag80] !== undefined) {
4394
+ if (commandLine[cliFlag81] !== undefined) {
4364
4395
  return {
4365
4396
  source: "cli",
4366
- value: commandLine[cliFlag80]
4397
+ value: commandLine[cliFlag81]
4367
4398
  };
4368
4399
  }
4369
4400
  if (videoBitrate !== null) {
@@ -4380,33 +4411,33 @@ var videoBitrateOption = {
4380
4411
  setConfig: (bitrate) => {
4381
4412
  videoBitrate = bitrate;
4382
4413
  },
4383
- id: cliFlag80
4414
+ id: cliFlag81
4384
4415
  };
4385
4416
 
4386
4417
  // src/options/video-cache-size.tsx
4387
- import { jsx as jsx76, jsxs as jsxs51, Fragment as Fragment76 } from "react/jsx-runtime";
4418
+ import { jsx as jsx77, jsxs as jsxs51, Fragment as Fragment77 } from "react/jsx-runtime";
4388
4419
  var mediaCacheSizeInBytes = null;
4389
- var cliFlag81 = "media-cache-size-in-bytes";
4420
+ var cliFlag82 = "media-cache-size-in-bytes";
4390
4421
  var mediaCacheSizeInBytesOption = {
4391
4422
  name: "@remotion/media cache size",
4392
- cliFlag: cliFlag81,
4393
- description: () => /* @__PURE__ */ jsxs51(Fragment76, {
4423
+ cliFlag: cliFlag82,
4424
+ description: () => /* @__PURE__ */ jsxs51(Fragment77, {
4394
4425
  children: [
4395
4426
  "Specify the maximum size of the cache that ",
4396
- /* @__PURE__ */ jsx76("code", {
4427
+ /* @__PURE__ */ jsx77("code", {
4397
4428
  children: "<Video>"
4398
4429
  }),
4399
4430
  " and",
4400
4431
  " ",
4401
- /* @__PURE__ */ jsx76("code", {
4432
+ /* @__PURE__ */ jsx77("code", {
4402
4433
  children: "<Audio>"
4403
4434
  }),
4404
4435
  " from ",
4405
- /* @__PURE__ */ jsx76("code", {
4436
+ /* @__PURE__ */ jsx77("code", {
4406
4437
  children: "@remotion/media"
4407
4438
  }),
4408
4439
  " may use combined, in bytes. ",
4409
- /* @__PURE__ */ jsx76("br", {}),
4440
+ /* @__PURE__ */ jsx77("br", {}),
4410
4441
  "The default is half of the available system memory when the render starts."
4411
4442
  ]
4412
4443
  }),
@@ -4414,10 +4445,10 @@ var mediaCacheSizeInBytesOption = {
4414
4445
  docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
4415
4446
  type: 0,
4416
4447
  getValue: ({ commandLine }) => {
4417
- if (commandLine[cliFlag81] !== undefined) {
4448
+ if (commandLine[cliFlag82] !== undefined) {
4418
4449
  return {
4419
4450
  source: "cli",
4420
- value: commandLine[cliFlag81]
4451
+ value: commandLine[cliFlag82]
4421
4452
  };
4422
4453
  }
4423
4454
  if (mediaCacheSizeInBytes !== null) {
@@ -4434,7 +4465,7 @@ var mediaCacheSizeInBytesOption = {
4434
4465
  setConfig: (size) => {
4435
4466
  mediaCacheSizeInBytes = size ?? null;
4436
4467
  },
4437
- id: cliFlag81
4468
+ id: cliFlag82
4438
4469
  };
4439
4470
 
4440
4471
  // src/path-normalize.ts
@@ -4553,7 +4584,7 @@ var getExtensionOfFilename = (filename) => {
4553
4584
  };
4554
4585
 
4555
4586
  // src/options/video-codec.tsx
4556
- import { jsx as jsx77, Fragment as Fragment77 } from "react/jsx-runtime";
4587
+ import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4557
4588
  var codec;
4558
4589
  var setCodec = (newCodec) => {
4559
4590
  if (newCodec === undefined) {
@@ -4577,11 +4608,11 @@ var deriveCodecsFromFilename = (extension) => {
4577
4608
  possible: makeFileExtensionMap()[extension] ?? []
4578
4609
  };
4579
4610
  };
4580
- var cliFlag82 = "codec";
4611
+ var cliFlag83 = "codec";
4581
4612
  var videoCodecOption = {
4582
4613
  name: "Codec",
4583
- cliFlag: cliFlag82,
4584
- description: () => /* @__PURE__ */ jsx77(Fragment77, {
4614
+ cliFlag: cliFlag83,
4615
+ description: () => /* @__PURE__ */ jsx78(Fragment78, {
4585
4616
  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."
4586
4617
  }),
4587
4618
  ssrName: "codec",
@@ -4604,7 +4635,7 @@ var videoCodecOption = {
4604
4635
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
4605
4636
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
4606
4637
  }
4607
- const cliArgument = commandLine[cliFlag82];
4638
+ const cliArgument = commandLine[cliFlag83];
4608
4639
  if (cliArgument) {
4609
4640
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
4610
4641
  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.`);
@@ -4650,24 +4681,24 @@ var videoCodecOption = {
4650
4681
  return { value: DEFAULT_CODEC, source: "default" };
4651
4682
  },
4652
4683
  setConfig: setCodec,
4653
- id: cliFlag82
4684
+ id: cliFlag83
4654
4685
  };
4655
4686
 
4656
4687
  // src/options/video-image-format.tsx
4657
- import { jsx as jsx78, jsxs as jsxs52, Fragment as Fragment78 } from "react/jsx-runtime";
4688
+ import { jsx as jsx79, jsxs as jsxs52, Fragment as Fragment79 } from "react/jsx-runtime";
4658
4689
  var currentVideoImageFormat = null;
4659
- var cliFlag83 = "image-format";
4690
+ var cliFlag84 = "image-format";
4660
4691
  var videoImageFormatOption = {
4661
4692
  name: "Video Image Format",
4662
- cliFlag: cliFlag83,
4663
- description: () => /* @__PURE__ */ jsxs52(Fragment78, {
4693
+ cliFlag: cliFlag84,
4694
+ description: () => /* @__PURE__ */ jsxs52(Fragment79, {
4664
4695
  children: [
4665
4696
  "The image format to use when rendering frames for a video. Must be one of",
4666
4697
  " ",
4667
4698
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
4668
4699
  ". Default:",
4669
4700
  " ",
4670
- /* @__PURE__ */ jsx78("code", {
4701
+ /* @__PURE__ */ jsx79("code", {
4671
4702
  children: '"jpeg"'
4672
4703
  }),
4673
4704
  ". JPEG is faster, but does not support transparency."
@@ -4677,8 +4708,8 @@ var videoImageFormatOption = {
4677
4708
  docLink: "https://www.remotion.dev/docs/renderer/render-media#imageformat",
4678
4709
  type: null,
4679
4710
  getValue: ({ commandLine }) => {
4680
- if (commandLine[cliFlag83] !== undefined) {
4681
- const value3 = commandLine[cliFlag83];
4711
+ if (commandLine[cliFlag84] !== undefined) {
4712
+ const value3 = commandLine[cliFlag84];
4682
4713
  if (!validVideoImageFormats.includes(value3)) {
4683
4714
  throw new Error(`Invalid video image format: ${value3}. Must be one of: ${validVideoImageFormats.join(", ")}`);
4684
4715
  }
@@ -4715,12 +4746,12 @@ var videoImageFormatOption = {
4715
4746
  };
4716
4747
 
4717
4748
  // src/options/webhook-custom-data.tsx
4718
- import { jsxs as jsxs53, Fragment as Fragment79 } from "react/jsx-runtime";
4719
- var cliFlag84 = "webhook-custom-data";
4749
+ import { jsxs as jsxs53, Fragment as Fragment80 } from "react/jsx-runtime";
4750
+ var cliFlag85 = "webhook-custom-data";
4720
4751
  var webhookCustomDataOption = {
4721
4752
  name: "Webhook custom data",
4722
- cliFlag: cliFlag84,
4723
- description: (type) => /* @__PURE__ */ jsxs53(Fragment79, {
4753
+ cliFlag: cliFlag85,
4754
+ description: (type) => /* @__PURE__ */ jsxs53(Fragment80, {
4724
4755
  children: [
4725
4756
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
4726
4757
  " ",
@@ -4736,24 +4767,24 @@ var webhookCustomDataOption = {
4736
4767
  setConfig: () => {
4737
4768
  throw new Error("Not implemented");
4738
4769
  },
4739
- id: cliFlag84
4770
+ id: cliFlag85
4740
4771
  };
4741
4772
 
4742
4773
  // src/options/webpack-poll.tsx
4743
- import { jsx as jsx79, Fragment as Fragment80 } from "react/jsx-runtime";
4744
- var cliFlag85 = "webpack-poll";
4774
+ import { jsx as jsx80, Fragment as Fragment81 } from "react/jsx-runtime";
4775
+ var cliFlag86 = "webpack-poll";
4745
4776
  var webpackPolling = null;
4746
4777
  var webpackPollOption = {
4747
4778
  name: "Webpack Polling",
4748
- cliFlag: cliFlag85,
4749
- description: () => /* @__PURE__ */ jsx79(Fragment80, {
4779
+ cliFlag: cliFlag86,
4780
+ description: () => /* @__PURE__ */ jsx80(Fragment81, {
4750
4781
  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."
4751
4782
  }),
4752
4783
  ssrName: null,
4753
4784
  docLink: "https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds",
4754
4785
  getValue: ({ commandLine }) => {
4755
- if (commandLine[cliFlag85] !== undefined) {
4756
- const val = commandLine[cliFlag85];
4786
+ if (commandLine[cliFlag86] !== undefined) {
4787
+ const val = commandLine[cliFlag86];
4757
4788
  if (typeof val !== "number") {
4758
4789
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
4759
4790
  }
@@ -4780,11 +4811,11 @@ var webpackPollOption = {
4780
4811
  webpackPolling = value3;
4781
4812
  },
4782
4813
  type: 0,
4783
- id: cliFlag85
4814
+ id: cliFlag86
4784
4815
  };
4785
4816
 
4786
4817
  // src/options/x264-preset.tsx
4787
- import { jsx as jsx80, jsxs as jsxs54, Fragment as Fragment81 } from "react/jsx-runtime";
4818
+ import { jsx as jsx81, jsxs as jsxs54, Fragment as Fragment82 } from "react/jsx-runtime";
4788
4819
  var x264PresetOptions = [
4789
4820
  "ultrafast",
4790
4821
  "superfast",
@@ -4798,63 +4829,63 @@ var x264PresetOptions = [
4798
4829
  "placebo"
4799
4830
  ];
4800
4831
  var preset = null;
4801
- var cliFlag86 = "x264-preset";
4832
+ var cliFlag87 = "x264-preset";
4802
4833
  var DEFAULT_PRESET = "medium";
4803
4834
  var x264Option = {
4804
4835
  name: "x264 Preset",
4805
- cliFlag: cliFlag86,
4806
- description: () => /* @__PURE__ */ jsxs54(Fragment81, {
4836
+ cliFlag: cliFlag87,
4837
+ description: () => /* @__PURE__ */ jsxs54(Fragment82, {
4807
4838
  children: [
4808
4839
  "Sets a x264 preset profile. Only applies to videos rendered with",
4809
4840
  " ",
4810
- /* @__PURE__ */ jsx80("code", {
4841
+ /* @__PURE__ */ jsx81("code", {
4811
4842
  children: "h264"
4812
4843
  }),
4813
4844
  " codec.",
4814
- /* @__PURE__ */ jsx80("br", {}),
4845
+ /* @__PURE__ */ jsx81("br", {}),
4815
4846
  "Possible values: ",
4816
- /* @__PURE__ */ jsx80("code", {
4847
+ /* @__PURE__ */ jsx81("code", {
4817
4848
  children: "superfast"
4818
4849
  }),
4819
4850
  ", ",
4820
- /* @__PURE__ */ jsx80("code", {
4851
+ /* @__PURE__ */ jsx81("code", {
4821
4852
  children: "veryfast"
4822
4853
  }),
4823
4854
  ",",
4824
4855
  " ",
4825
- /* @__PURE__ */ jsx80("code", {
4856
+ /* @__PURE__ */ jsx81("code", {
4826
4857
  children: "faster"
4827
4858
  }),
4828
4859
  ", ",
4829
- /* @__PURE__ */ jsx80("code", {
4860
+ /* @__PURE__ */ jsx81("code", {
4830
4861
  children: "fast"
4831
4862
  }),
4832
4863
  ", ",
4833
- /* @__PURE__ */ jsx80("code", {
4864
+ /* @__PURE__ */ jsx81("code", {
4834
4865
  children: "medium"
4835
4866
  }),
4836
4867
  ",",
4837
4868
  " ",
4838
- /* @__PURE__ */ jsx80("code", {
4869
+ /* @__PURE__ */ jsx81("code", {
4839
4870
  children: "slow"
4840
4871
  }),
4841
4872
  ", ",
4842
- /* @__PURE__ */ jsx80("code", {
4873
+ /* @__PURE__ */ jsx81("code", {
4843
4874
  children: "slower"
4844
4875
  }),
4845
4876
  ", ",
4846
- /* @__PURE__ */ jsx80("code", {
4877
+ /* @__PURE__ */ jsx81("code", {
4847
4878
  children: "veryslow"
4848
4879
  }),
4849
4880
  ",",
4850
4881
  " ",
4851
- /* @__PURE__ */ jsx80("code", {
4882
+ /* @__PURE__ */ jsx81("code", {
4852
4883
  children: "placebo"
4853
4884
  }),
4854
4885
  ".",
4855
- /* @__PURE__ */ jsx80("br", {}),
4886
+ /* @__PURE__ */ jsx81("br", {}),
4856
4887
  "Default: ",
4857
- /* @__PURE__ */ jsx80("code", {
4888
+ /* @__PURE__ */ jsx81("code", {
4858
4889
  children: DEFAULT_PRESET
4859
4890
  })
4860
4891
  ]
@@ -4863,7 +4894,7 @@ var x264Option = {
4863
4894
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
4864
4895
  type: "fast",
4865
4896
  getValue: ({ commandLine }) => {
4866
- const value3 = commandLine[cliFlag86];
4897
+ const value3 = commandLine[cliFlag87];
4867
4898
  if (typeof value3 !== "undefined") {
4868
4899
  return { value: value3, source: "cli" };
4869
4900
  }
@@ -4875,7 +4906,7 @@ var x264Option = {
4875
4906
  setConfig: (profile) => {
4876
4907
  preset = profile;
4877
4908
  },
4878
- id: cliFlag86
4909
+ id: cliFlag87
4879
4910
  };
4880
4911
 
4881
4912
  // src/options/index.tsx
@@ -4941,6 +4972,7 @@ var allOptions = {
4941
4972
  isProductionOption,
4942
4973
  askAIOption,
4943
4974
  experimentalClientSideRenderingOption,
4975
+ experimentalVisualModeOption,
4944
4976
  keyboardShortcutsOption,
4945
4977
  framesOption,
4946
4978
  forceNewStudioOption,