@remotion/renderer 4.0.459 → 4.0.461

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.
@@ -1853,54 +1853,23 @@ var experimentalClientSideRenderingOption = {
1853
1853
  id: cliFlag31
1854
1854
  };
1855
1855
 
1856
- // src/options/experimental-visual-mode.tsx
1857
- import { jsx as jsx29, Fragment as Fragment29 } from "react/jsx-runtime";
1858
- var experimentalVisualModeEnabled = false;
1859
- var cliFlag32 = "experimental-visual-mode";
1860
- var experimentalVisualModeOption = {
1861
- name: "Experimental Visual Mode",
1862
- cliFlag: cliFlag32,
1863
- description: () => /* @__PURE__ */ jsx29(Fragment29, {
1864
- children: "Nothing here yet, but this is our playground for experiments."
1865
- }),
1866
- ssrName: null,
1867
- docLink: "https://www.remotion.dev/docs/config#setexperimentalvisualmode",
1868
- type: false,
1869
- getValue: ({ commandLine }) => {
1870
- if (commandLine[cliFlag32] !== null) {
1871
- return {
1872
- value: commandLine[cliFlag32],
1873
- source: "cli"
1874
- };
1875
- }
1876
- return {
1877
- value: experimentalVisualModeEnabled,
1878
- source: "config"
1879
- };
1880
- },
1881
- setConfig(value) {
1882
- experimentalVisualModeEnabled = value;
1883
- },
1884
- id: cliFlag32
1885
- };
1886
-
1887
1856
  // src/options/folder-expiry.tsx
1888
- import { jsx as jsx30, jsxs as jsxs20, Fragment as Fragment30 } from "react/jsx-runtime";
1857
+ import { jsx as jsx29, jsxs as jsxs20, Fragment as Fragment29 } from "react/jsx-runtime";
1889
1858
  var enableFolderExpiry = null;
1890
- var cliFlag33 = "enable-folder-expiry";
1859
+ var cliFlag32 = "enable-folder-expiry";
1891
1860
  var folderExpiryOption = {
1892
1861
  name: "Lambda render expiration",
1893
- cliFlag: cliFlag33,
1862
+ cliFlag: cliFlag32,
1894
1863
  description: () => {
1895
- return /* @__PURE__ */ jsxs20(Fragment30, {
1864
+ return /* @__PURE__ */ jsxs20(Fragment29, {
1896
1865
  children: [
1897
1866
  "When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is",
1898
1867
  " ",
1899
- /* @__PURE__ */ jsx30("code", {
1868
+ /* @__PURE__ */ jsx29("code", {
1900
1869
  children: "null"
1901
1870
  }),
1902
1871
  ", which does not change any lifecycle policies of the S3 bucket. See: ",
1903
- /* @__PURE__ */ jsx30("a", {
1872
+ /* @__PURE__ */ jsx29("a", {
1904
1873
  href: "/docs/lambda/autodelete",
1905
1874
  children: "Lambda autodelete"
1906
1875
  }),
@@ -1912,10 +1881,10 @@ var folderExpiryOption = {
1912
1881
  docLink: "https://www.remotion.dev/docs/lambda/autodelete",
1913
1882
  type: false,
1914
1883
  getValue: ({ commandLine }) => {
1915
- if (commandLine[cliFlag33] !== undefined) {
1884
+ if (commandLine[cliFlag32] !== undefined) {
1916
1885
  return {
1917
1886
  source: "cli",
1918
- value: commandLine[cliFlag33]
1887
+ value: commandLine[cliFlag32]
1919
1888
  };
1920
1889
  }
1921
1890
  if (enableFolderExpiry !== null) {
@@ -1932,28 +1901,28 @@ var folderExpiryOption = {
1932
1901
  setConfig: (value) => {
1933
1902
  enableFolderExpiry = value;
1934
1903
  },
1935
- id: cliFlag33
1904
+ id: cliFlag32
1936
1905
  };
1937
1906
 
1938
1907
  // src/options/for-seamless-aac-concatenation.tsx
1939
- import { jsx as jsx31, jsxs as jsxs21, Fragment as Fragment31 } from "react/jsx-runtime";
1908
+ import { jsx as jsx30, jsxs as jsxs21, Fragment as Fragment30 } from "react/jsx-runtime";
1940
1909
  var DEFAULT3 = false;
1941
1910
  var forSeamlessAacConcatenation = DEFAULT3;
1942
- var cliFlag34 = "for-seamless-aac-concatenation";
1911
+ var cliFlag33 = "for-seamless-aac-concatenation";
1943
1912
  var forSeamlessAacConcatenationOption = {
1944
1913
  name: "For seamless AAC concatenation",
1945
- cliFlag: cliFlag34,
1946
- description: () => /* @__PURE__ */ jsxs21(Fragment31, {
1914
+ cliFlag: cliFlag33,
1915
+ description: () => /* @__PURE__ */ jsxs21(Fragment30, {
1947
1916
  children: [
1948
1917
  "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.",
1949
- /* @__PURE__ */ jsx31("br", {}),
1950
- /* @__PURE__ */ jsx31("br", {}),
1918
+ /* @__PURE__ */ jsx30("br", {}),
1919
+ /* @__PURE__ */ jsx30("br", {}),
1951
1920
  " This option is used internally. There is currently no documentation yet for to concatenate the audio chunks."
1952
1921
  ]
1953
1922
  }),
1954
1923
  docLink: "https://remotion.dev/docs/renderer",
1955
1924
  getValue: ({ commandLine }) => {
1956
- if (commandLine[cliFlag34]) {
1925
+ if (commandLine[cliFlag33]) {
1957
1926
  return {
1958
1927
  source: "cli",
1959
1928
  value: true
@@ -1975,26 +1944,26 @@ var forSeamlessAacConcatenationOption = {
1975
1944
  },
1976
1945
  ssrName: "forSeamlessAacConcatenation",
1977
1946
  type: false,
1978
- id: cliFlag34
1947
+ id: cliFlag33
1979
1948
  };
1980
1949
 
1981
1950
  // src/options/force-new-studio.tsx
1982
- import { jsx as jsx32, Fragment as Fragment32 } from "react/jsx-runtime";
1951
+ import { jsx as jsx31, Fragment as Fragment31 } from "react/jsx-runtime";
1983
1952
  var forceNewEnabled = false;
1984
- var cliFlag35 = "force-new";
1953
+ var cliFlag34 = "force-new";
1985
1954
  var forceNewStudioOption = {
1986
1955
  name: "Force New Studio",
1987
- cliFlag: cliFlag35,
1988
- description: () => /* @__PURE__ */ jsx32(Fragment32, {
1956
+ cliFlag: cliFlag34,
1957
+ description: () => /* @__PURE__ */ jsx31(Fragment31, {
1989
1958
  children: "Forces starting a new Studio instance even if one is already running on the same port for the same project."
1990
1959
  }),
1991
1960
  ssrName: null,
1992
1961
  docLink: "https://www.remotion.dev/docs/config#setforcenewstudioenabled",
1993
1962
  type: false,
1994
1963
  getValue: ({ commandLine }) => {
1995
- if (commandLine[cliFlag35] !== undefined) {
1964
+ if (commandLine[cliFlag34] !== undefined) {
1996
1965
  return {
1997
- value: commandLine[cliFlag35],
1966
+ value: commandLine[cliFlag34],
1998
1967
  source: "cli"
1999
1968
  };
2000
1969
  }
@@ -2006,7 +1975,7 @@ var forceNewStudioOption = {
2006
1975
  setConfig(value) {
2007
1976
  forceNewEnabled = value;
2008
1977
  },
2009
- id: cliFlag35
1978
+ id: cliFlag34
2010
1979
  };
2011
1980
 
2012
1981
  // src/frame-range.ts
@@ -2067,8 +2036,8 @@ var validateFrameRange = (frameRange) => {
2067
2036
  };
2068
2037
 
2069
2038
  // src/options/frames.tsx
2070
- import { jsx as jsx33, jsxs as jsxs22, Fragment as Fragment33 } from "react/jsx-runtime";
2071
- var cliFlag36 = "frames";
2039
+ import { jsx as jsx32, jsxs as jsxs22, Fragment as Fragment32 } from "react/jsx-runtime";
2040
+ var cliFlag35 = "frames";
2072
2041
  var frameRange = null;
2073
2042
  var parseFrameRangeFromCli = (newFrameRange) => {
2074
2043
  if (typeof newFrameRange === "number") {
@@ -2116,16 +2085,16 @@ var parseFrameRangeFromCli = (newFrameRange) => {
2116
2085
  };
2117
2086
  var framesOption = {
2118
2087
  name: "Frame Range",
2119
- cliFlag: cliFlag36,
2120
- description: () => /* @__PURE__ */ jsxs22(Fragment33, {
2088
+ cliFlag: cliFlag35,
2089
+ description: () => /* @__PURE__ */ jsxs22(Fragment32, {
2121
2090
  children: [
2122
2091
  "Render a subset of a video. Pass a single number to render a still, or a range (e.g. ",
2123
- /* @__PURE__ */ jsx33("code", {
2092
+ /* @__PURE__ */ jsx32("code", {
2124
2093
  children: "0-9"
2125
2094
  }),
2126
2095
  ") to render a subset of frames. Pass",
2127
2096
  " ",
2128
- /* @__PURE__ */ jsx33("code", {
2097
+ /* @__PURE__ */ jsx32("code", {
2129
2098
  children: "100-"
2130
2099
  }),
2131
2100
  " to render from frame 100 to the end."
@@ -2135,8 +2104,8 @@ var framesOption = {
2135
2104
  docLink: "https://www.remotion.dev/docs/config#setframerange",
2136
2105
  type: null,
2137
2106
  getValue: ({ commandLine }) => {
2138
- if (commandLine[cliFlag36] !== undefined) {
2139
- const value = parseFrameRangeFromCli(commandLine[cliFlag36]);
2107
+ if (commandLine[cliFlag35] !== undefined) {
2108
+ const value = parseFrameRangeFromCli(commandLine[cliFlag35]);
2140
2109
  validateFrameRange(value);
2141
2110
  return {
2142
2111
  source: "cli",
@@ -2154,11 +2123,11 @@ var framesOption = {
2154
2123
  }
2155
2124
  frameRange = value;
2156
2125
  },
2157
- id: cliFlag36
2126
+ id: cliFlag35
2158
2127
  };
2159
2128
 
2160
2129
  // src/options/gl.tsx
2161
- import { jsx as jsx34, jsxs as jsxs23, Fragment as Fragment34 } from "react/jsx-runtime";
2130
+ import { jsx as jsx33, jsxs as jsxs23, Fragment as Fragment33 } from "react/jsx-runtime";
2162
2131
  var validOpenGlRenderers = [
2163
2132
  "swangle",
2164
2133
  "angle",
@@ -2173,7 +2142,7 @@ var AngleChangelog = () => {
2173
2142
  return /* @__PURE__ */ jsxs23("details", {
2174
2143
  style: { fontSize: "0.9em", marginBottom: "1em" },
2175
2144
  children: [
2176
- /* @__PURE__ */ jsx34("summary", {
2145
+ /* @__PURE__ */ jsx33("summary", {
2177
2146
  children: "Changelog"
2178
2147
  }),
2179
2148
  /* @__PURE__ */ jsxs23("ul", {
@@ -2182,12 +2151,12 @@ var AngleChangelog = () => {
2182
2151
  children: [
2183
2152
  "From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was",
2184
2153
  " ",
2185
- /* @__PURE__ */ jsx34("code", {
2154
+ /* @__PURE__ */ jsx33("code", {
2186
2155
  children: "swiftshader"
2187
2156
  }),
2188
2157
  ", but from v3.0.8 the default is",
2189
2158
  " ",
2190
- /* @__PURE__ */ jsx34("code", {
2159
+ /* @__PURE__ */ jsx33("code", {
2191
2160
  children: "swangle"
2192
2161
  }),
2193
2162
  " (Swiftshader on Angle) since Chrome 101 added support for it."
@@ -2196,7 +2165,7 @@ var AngleChangelog = () => {
2196
2165
  /* @__PURE__ */ jsxs23("li", {
2197
2166
  children: [
2198
2167
  "From Remotion v2.4.3 until v2.6.6, the default was ",
2199
- /* @__PURE__ */ jsx34("code", {
2168
+ /* @__PURE__ */ jsx33("code", {
2200
2169
  children: "angle"
2201
2170
  }),
2202
2171
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
@@ -2207,53 +2176,53 @@ var AngleChangelog = () => {
2207
2176
  ]
2208
2177
  });
2209
2178
  };
2210
- var cliFlag37 = "gl";
2179
+ var cliFlag36 = "gl";
2211
2180
  var glOption = {
2212
- cliFlag: cliFlag37,
2181
+ cliFlag: cliFlag36,
2213
2182
  docLink: "https://www.remotion.dev/docs/chromium-flags#--gl",
2214
2183
  name: "OpenGL renderer",
2215
2184
  type: "angle",
2216
2185
  ssrName: "gl",
2217
2186
  description: () => {
2218
- return /* @__PURE__ */ jsxs23(Fragment34, {
2187
+ return /* @__PURE__ */ jsxs23(Fragment33, {
2219
2188
  children: [
2220
- /* @__PURE__ */ jsx34(AngleChangelog, {}),
2189
+ /* @__PURE__ */ jsx33(AngleChangelog, {}),
2221
2190
  /* @__PURE__ */ jsxs23("p", {
2222
2191
  children: [
2223
2192
  "Select the OpenGL renderer backend for Chromium. ",
2224
- /* @__PURE__ */ jsx34("br", {}),
2193
+ /* @__PURE__ */ jsx33("br", {}),
2225
2194
  "Accepted values:"
2226
2195
  ]
2227
2196
  }),
2228
2197
  /* @__PURE__ */ jsxs23("ul", {
2229
2198
  children: [
2230
- /* @__PURE__ */ jsx34("li", {
2231
- children: /* @__PURE__ */ jsx34("code", {
2199
+ /* @__PURE__ */ jsx33("li", {
2200
+ children: /* @__PURE__ */ jsx33("code", {
2232
2201
  children: '"angle"'
2233
2202
  })
2234
2203
  }),
2235
- /* @__PURE__ */ jsx34("li", {
2236
- children: /* @__PURE__ */ jsx34("code", {
2204
+ /* @__PURE__ */ jsx33("li", {
2205
+ children: /* @__PURE__ */ jsx33("code", {
2237
2206
  children: '"egl"'
2238
2207
  })
2239
2208
  }),
2240
- /* @__PURE__ */ jsx34("li", {
2241
- children: /* @__PURE__ */ jsx34("code", {
2209
+ /* @__PURE__ */ jsx33("li", {
2210
+ children: /* @__PURE__ */ jsx33("code", {
2242
2211
  children: '"swiftshader"'
2243
2212
  })
2244
2213
  }),
2245
- /* @__PURE__ */ jsx34("li", {
2246
- children: /* @__PURE__ */ jsx34("code", {
2214
+ /* @__PURE__ */ jsx33("li", {
2215
+ children: /* @__PURE__ */ jsx33("code", {
2247
2216
  children: '"swangle"'
2248
2217
  })
2249
2218
  }),
2250
2219
  /* @__PURE__ */ jsxs23("li", {
2251
2220
  children: [
2252
- /* @__PURE__ */ jsx34("code", {
2221
+ /* @__PURE__ */ jsx33("code", {
2253
2222
  children: '"vulkan"'
2254
2223
  }),
2255
2224
  " (",
2256
- /* @__PURE__ */ jsx34("em", {
2225
+ /* @__PURE__ */ jsx33("em", {
2257
2226
  children: "from Remotion v4.0.41"
2258
2227
  }),
2259
2228
  ")"
@@ -2261,11 +2230,11 @@ var glOption = {
2261
2230
  }),
2262
2231
  /* @__PURE__ */ jsxs23("li", {
2263
2232
  children: [
2264
- /* @__PURE__ */ jsx34("code", {
2233
+ /* @__PURE__ */ jsx33("code", {
2265
2234
  children: '"angle-egl"'
2266
2235
  }),
2267
2236
  " (",
2268
- /* @__PURE__ */ jsx34("em", {
2237
+ /* @__PURE__ */ jsx33("em", {
2269
2238
  children: "from Remotion v4.0.51"
2270
2239
  }),
2271
2240
  ")"
@@ -2276,11 +2245,11 @@ var glOption = {
2276
2245
  /* @__PURE__ */ jsxs23("p", {
2277
2246
  children: [
2278
2247
  "The default is ",
2279
- /* @__PURE__ */ jsx34("code", {
2248
+ /* @__PURE__ */ jsx33("code", {
2280
2249
  children: "null"
2281
2250
  }),
2282
2251
  ", letting Chrome decide, except on Lambda where the default is ",
2283
- /* @__PURE__ */ jsx34("code", {
2252
+ /* @__PURE__ */ jsx33("code", {
2284
2253
  children: '"swangle"'
2285
2254
  })
2286
2255
  ]
@@ -2289,10 +2258,10 @@ var glOption = {
2289
2258
  });
2290
2259
  },
2291
2260
  getValue: ({ commandLine }) => {
2292
- if (commandLine[cliFlag37]) {
2293
- validateOpenGlRenderer(commandLine[cliFlag37]);
2261
+ if (commandLine[cliFlag36]) {
2262
+ validateOpenGlRenderer(commandLine[cliFlag36]);
2294
2263
  return {
2295
- value: commandLine[cliFlag37],
2264
+ value: commandLine[cliFlag36],
2296
2265
  source: "cli"
2297
2266
  };
2298
2267
  }
@@ -2311,7 +2280,7 @@ var glOption = {
2311
2280
  validateOpenGlRenderer(value);
2312
2281
  openGlRenderer = value;
2313
2282
  },
2314
- id: cliFlag37
2283
+ id: cliFlag36
2315
2284
  };
2316
2285
  var validateOpenGlRenderer = (option2) => {
2317
2286
  if (option2 === null) {
@@ -2329,11 +2298,11 @@ var hardwareAccelerationOptions = [
2329
2298
  "if-possible",
2330
2299
  "required"
2331
2300
  ];
2332
- var cliFlag38 = "hardware-acceleration";
2301
+ var cliFlag37 = "hardware-acceleration";
2333
2302
  var currentValue = null;
2334
2303
  var hardwareAccelerationOption = {
2335
2304
  name: "Hardware Acceleration",
2336
- cliFlag: cliFlag38,
2305
+ cliFlag: cliFlag37,
2337
2306
  description: () => `
2338
2307
  One of
2339
2308
  ${new Intl.ListFormat("en", { type: "disjunction" }).format(hardwareAccelerationOptions.map((a) => JSON.stringify(a)))}
@@ -2345,10 +2314,10 @@ var hardwareAccelerationOption = {
2345
2314
  docLink: "https://www.remotion.dev/docs/encoding",
2346
2315
  type: "disable",
2347
2316
  getValue: ({ commandLine }) => {
2348
- if (commandLine[cliFlag38] !== undefined) {
2349
- const value = commandLine[cliFlag38];
2317
+ if (commandLine[cliFlag37] !== undefined) {
2318
+ const value = commandLine[cliFlag37];
2350
2319
  if (!hardwareAccelerationOptions.includes(value)) {
2351
- throw new Error(`Invalid value for --${cliFlag38}: ${value}`);
2320
+ throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2352
2321
  }
2353
2322
  return {
2354
2323
  source: "cli",
@@ -2368,32 +2337,32 @@ var hardwareAccelerationOption = {
2368
2337
  },
2369
2338
  setConfig: (value) => {
2370
2339
  if (!hardwareAccelerationOptions.includes(value)) {
2371
- throw new Error(`Invalid value for --${cliFlag38}: ${value}`);
2340
+ throw new Error(`Invalid value for --${cliFlag37}: ${value}`);
2372
2341
  }
2373
2342
  currentValue = value;
2374
2343
  },
2375
- id: cliFlag38
2344
+ id: cliFlag37
2376
2345
  };
2377
2346
 
2378
2347
  // src/options/headless.tsx
2379
- import { jsx as jsx35, jsxs as jsxs24, Fragment as Fragment35 } from "react/jsx-runtime";
2348
+ import { jsx as jsx34, jsxs as jsxs24, Fragment as Fragment34 } from "react/jsx-runtime";
2380
2349
  var DEFAULT4 = true;
2381
2350
  var headlessMode = DEFAULT4;
2382
- var cliFlag39 = "disable-headless";
2351
+ var cliFlag38 = "disable-headless";
2383
2352
  var headlessOption = {
2384
2353
  name: "Disable Headless Mode",
2385
- cliFlag: cliFlag39,
2386
- description: () => /* @__PURE__ */ jsxs24(Fragment35, {
2354
+ cliFlag: cliFlag38,
2355
+ description: () => /* @__PURE__ */ jsxs24(Fragment34, {
2387
2356
  children: [
2388
2357
  "Deprecated - will be removed in 5.0.0. With the migration to",
2389
2358
  " ",
2390
- /* @__PURE__ */ jsx35("a", {
2359
+ /* @__PURE__ */ jsx34("a", {
2391
2360
  href: "/docs/miscellaneous/chrome-headless-shell",
2392
2361
  children: "Chrome Headless Shell"
2393
2362
  }),
2394
2363
  ", this option is not functional anymore.",
2395
- /* @__PURE__ */ jsx35("br", {}),
2396
- /* @__PURE__ */ jsx35("br", {}),
2364
+ /* @__PURE__ */ jsx34("br", {}),
2365
+ /* @__PURE__ */ jsx34("br", {}),
2397
2366
  " If disabled, the render will open an actual Chrome window where you can see the render happen. The default is headless mode."
2398
2367
  ]
2399
2368
  }),
@@ -2401,10 +2370,10 @@ var headlessOption = {
2401
2370
  docLink: "https://www.remotion.dev/docs/chromium-flags#--disable-headless",
2402
2371
  type: false,
2403
2372
  getValue: ({ commandLine }) => {
2404
- if (commandLine[cliFlag39] !== undefined) {
2373
+ if (commandLine[cliFlag38] !== undefined) {
2405
2374
  return {
2406
2375
  source: "cli",
2407
- value: !commandLine[cliFlag39]
2376
+ value: !commandLine[cliFlag38]
2408
2377
  };
2409
2378
  }
2410
2379
  if (headlessMode !== DEFAULT4) {
@@ -2421,27 +2390,27 @@ var headlessOption = {
2421
2390
  setConfig: (value) => {
2422
2391
  headlessMode = value;
2423
2392
  },
2424
- id: cliFlag39
2393
+ id: cliFlag38
2425
2394
  };
2426
2395
 
2427
2396
  // src/options/ignore-certificate-errors.tsx
2428
- import { jsx as jsx36, Fragment as Fragment36 } from "react/jsx-runtime";
2397
+ import { jsx as jsx35, Fragment as Fragment35 } from "react/jsx-runtime";
2429
2398
  var ignoreCertificateErrors = false;
2430
- var cliFlag40 = "ignore-certificate-errors";
2399
+ var cliFlag39 = "ignore-certificate-errors";
2431
2400
  var ignoreCertificateErrorsOption = {
2432
2401
  name: "Ignore certificate errors",
2433
- cliFlag: cliFlag40,
2434
- description: () => /* @__PURE__ */ jsx36(Fragment36, {
2402
+ cliFlag: cliFlag39,
2403
+ description: () => /* @__PURE__ */ jsx35(Fragment35, {
2435
2404
  children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored."
2436
2405
  }),
2437
2406
  ssrName: "ignoreCertificateErrors",
2438
2407
  docLink: "https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors",
2439
2408
  type: false,
2440
2409
  getValue: ({ commandLine }) => {
2441
- if (commandLine[cliFlag40] !== undefined) {
2410
+ if (commandLine[cliFlag39] !== undefined) {
2442
2411
  return {
2443
2412
  source: "cli",
2444
- value: Boolean(commandLine[cliFlag40])
2413
+ value: Boolean(commandLine[cliFlag39])
2445
2414
  };
2446
2415
  }
2447
2416
  if (ignoreCertificateErrors) {
@@ -2458,23 +2427,23 @@ var ignoreCertificateErrorsOption = {
2458
2427
  setConfig: (value) => {
2459
2428
  ignoreCertificateErrors = value;
2460
2429
  },
2461
- id: cliFlag40
2430
+ id: cliFlag39
2462
2431
  };
2463
2432
 
2464
2433
  // src/options/image-sequence.tsx
2465
- import { jsx as jsx37, jsxs as jsxs25, Fragment as Fragment37 } from "react/jsx-runtime";
2466
- var cliFlag41 = "sequence";
2434
+ import { jsx as jsx36, jsxs as jsxs25, Fragment as Fragment36 } from "react/jsx-runtime";
2435
+ var cliFlag40 = "sequence";
2467
2436
  var imageSequence = false;
2468
2437
  var imageSequenceOption = {
2469
2438
  name: "Image Sequence",
2470
- cliFlag: cliFlag41,
2471
- description: () => /* @__PURE__ */ jsxs25(Fragment37, {
2439
+ cliFlag: cliFlag40,
2440
+ description: () => /* @__PURE__ */ jsxs25(Fragment36, {
2472
2441
  children: [
2473
2442
  "Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See",
2474
2443
  " ",
2475
- /* @__PURE__ */ jsx37("a", {
2444
+ /* @__PURE__ */ jsx36("a", {
2476
2445
  href: "/docs/config#setimagesequence",
2477
- children: /* @__PURE__ */ jsx37("code", {
2446
+ children: /* @__PURE__ */ jsx36("code", {
2478
2447
  children: "setImageSequence()"
2479
2448
  })
2480
2449
  }),
@@ -2485,10 +2454,10 @@ var imageSequenceOption = {
2485
2454
  ssrName: null,
2486
2455
  docLink: "https://www.remotion.dev/docs/config#setimagesequence",
2487
2456
  getValue: ({ commandLine }) => {
2488
- if (commandLine[cliFlag41] !== undefined) {
2457
+ if (commandLine[cliFlag40] !== undefined) {
2489
2458
  return {
2490
2459
  source: "cli",
2491
- value: Boolean(commandLine[cliFlag41])
2460
+ value: Boolean(commandLine[cliFlag40])
2492
2461
  };
2493
2462
  }
2494
2463
  return {
@@ -2500,25 +2469,25 @@ var imageSequenceOption = {
2500
2469
  imageSequence = value;
2501
2470
  },
2502
2471
  type: false,
2503
- id: cliFlag41
2472
+ id: cliFlag40
2504
2473
  };
2505
2474
 
2506
2475
  // src/options/image-sequence-pattern.tsx
2507
- import { jsx as jsx38, jsxs as jsxs26, Fragment as Fragment38 } from "react/jsx-runtime";
2508
- var cliFlag42 = "image-sequence-pattern";
2476
+ import { jsx as jsx37, jsxs as jsxs26, Fragment as Fragment37 } from "react/jsx-runtime";
2477
+ var cliFlag41 = "image-sequence-pattern";
2509
2478
  var currentImageSequencePattern = null;
2510
2479
  var imageSequencePatternOption = {
2511
2480
  name: "Image Sequence Pattern",
2512
- cliFlag: cliFlag42,
2481
+ cliFlag: cliFlag41,
2513
2482
  ssrName: "imageSequencePattern",
2514
- description: () => /* @__PURE__ */ jsxs26(Fragment38, {
2483
+ description: () => /* @__PURE__ */ jsxs26(Fragment37, {
2515
2484
  children: [
2516
2485
  "Pattern for naming image sequence files. Supports ",
2517
- /* @__PURE__ */ jsx38("code", {
2486
+ /* @__PURE__ */ jsx37("code", {
2518
2487
  children: "[frame]"
2519
2488
  }),
2520
2489
  " for the zero-padded frame number and ",
2521
- /* @__PURE__ */ jsx38("code", {
2490
+ /* @__PURE__ */ jsx37("code", {
2522
2491
  children: "[ext]"
2523
2492
  }),
2524
2493
  " for the file extension."
@@ -2534,33 +2503,33 @@ var imageSequencePatternOption = {
2534
2503
  };
2535
2504
  }
2536
2505
  return {
2537
- value: commandLine[cliFlag42],
2506
+ value: commandLine[cliFlag41],
2538
2507
  source: "cli"
2539
2508
  };
2540
2509
  },
2541
2510
  setConfig: (pattern) => {
2542
2511
  currentImageSequencePattern = pattern;
2543
2512
  },
2544
- id: cliFlag42
2513
+ id: cliFlag41
2545
2514
  };
2546
2515
 
2547
2516
  // src/options/ipv4.tsx
2548
- import { jsx as jsx39, Fragment as Fragment39 } from "react/jsx-runtime";
2517
+ import { jsx as jsx38, Fragment as Fragment38 } from "react/jsx-runtime";
2549
2518
  var forceIPv4 = false;
2550
- var cliFlag43 = "ipv4";
2519
+ var cliFlag42 = "ipv4";
2551
2520
  var ipv4Option = {
2552
2521
  name: "IPv4",
2553
- cliFlag: cliFlag43,
2554
- description: () => /* @__PURE__ */ jsx39(Fragment39, {
2522
+ cliFlag: cliFlag42,
2523
+ description: () => /* @__PURE__ */ jsx38(Fragment38, {
2555
2524
  children: "Forces Remotion to bind to an IPv4 interface for the Studio server."
2556
2525
  }),
2557
2526
  ssrName: null,
2558
2527
  docLink: "https://www.remotion.dev/docs/cli/studio",
2559
2528
  type: false,
2560
2529
  getValue: ({ commandLine }) => {
2561
- if (commandLine[cliFlag43] !== undefined) {
2530
+ if (commandLine[cliFlag42] !== undefined) {
2562
2531
  return {
2563
- value: commandLine[cliFlag43],
2532
+ value: commandLine[cliFlag42],
2564
2533
  source: "cli"
2565
2534
  };
2566
2535
  }
@@ -2572,25 +2541,25 @@ var ipv4Option = {
2572
2541
  setConfig(value) {
2573
2542
  forceIPv4 = value;
2574
2543
  },
2575
- id: cliFlag43
2544
+ id: cliFlag42
2576
2545
  };
2577
2546
 
2578
2547
  // src/options/is-production.tsx
2579
- import { jsx as jsx40, jsxs as jsxs27, Fragment as Fragment40 } from "react/jsx-runtime";
2580
- var cliFlag44 = "is-production";
2548
+ import { jsx as jsx39, jsxs as jsxs27, Fragment as Fragment39 } from "react/jsx-runtime";
2549
+ var cliFlag43 = "is-production";
2581
2550
  var currentIsProductionKey = null;
2582
2551
  var isProductionOption = {
2583
2552
  name: "Is Production",
2584
- cliFlag: cliFlag44,
2585
- description: () => /* @__PURE__ */ jsxs27(Fragment40, {
2553
+ cliFlag: cliFlag43,
2554
+ description: () => /* @__PURE__ */ jsxs27(Fragment39, {
2586
2555
  children: [
2587
2556
  "Pass ",
2588
- /* @__PURE__ */ jsx40("code", {
2557
+ /* @__PURE__ */ jsx39("code", {
2589
2558
  children: "false"
2590
2559
  }),
2591
2560
  " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
2592
2561
  " ",
2593
- /* @__PURE__ */ jsx40("code", {
2562
+ /* @__PURE__ */ jsx39("code", {
2594
2563
  children: "licenseKey"
2595
2564
  }),
2596
2565
  "."
@@ -2599,10 +2568,10 @@ var isProductionOption = {
2599
2568
  ssrName: "isProduction",
2600
2569
  docLink: "https://www.remotion.dev/docs/licensing",
2601
2570
  getValue: ({ commandLine }) => {
2602
- if (commandLine[cliFlag44] !== undefined) {
2571
+ if (commandLine[cliFlag43] !== undefined) {
2603
2572
  return {
2604
2573
  source: "cli",
2605
- value: commandLine[cliFlag44]
2574
+ value: commandLine[cliFlag43]
2606
2575
  };
2607
2576
  }
2608
2577
  if (currentIsProductionKey !== null) {
@@ -2620,11 +2589,11 @@ var isProductionOption = {
2620
2589
  currentIsProductionKey = value;
2621
2590
  },
2622
2591
  type: false,
2623
- id: cliFlag44
2592
+ id: cliFlag43
2624
2593
  };
2625
2594
 
2626
2595
  // src/options/jpeg-quality.tsx
2627
- import { jsx as jsx41, Fragment as Fragment41 } from "react/jsx-runtime";
2596
+ import { jsx as jsx40, Fragment as Fragment40 } from "react/jsx-runtime";
2628
2597
  var defaultValue = DEFAULT_JPEG_QUALITY;
2629
2598
  var quality = defaultValue;
2630
2599
  var setJpegQuality = (q) => {
@@ -2635,11 +2604,11 @@ var setJpegQuality = (q) => {
2635
2604
  }
2636
2605
  quality = q;
2637
2606
  };
2638
- var cliFlag45 = "jpeg-quality";
2607
+ var cliFlag44 = "jpeg-quality";
2639
2608
  var jpegQualityOption = {
2640
2609
  name: "JPEG Quality",
2641
- cliFlag: cliFlag45,
2642
- description: () => /* @__PURE__ */ jsx41(Fragment41, {
2610
+ cliFlag: cliFlag44,
2611
+ description: () => /* @__PURE__ */ jsx40(Fragment40, {
2643
2612
  children: "Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80."
2644
2613
  }),
2645
2614
  ssrName: "jpegQuality",
@@ -2647,11 +2616,11 @@ var jpegQualityOption = {
2647
2616
  type: 0,
2648
2617
  setConfig: setJpegQuality,
2649
2618
  getValue: ({ commandLine }) => {
2650
- if (commandLine[cliFlag45] !== undefined) {
2651
- validateJpegQuality(commandLine[cliFlag45]);
2619
+ if (commandLine[cliFlag44] !== undefined) {
2620
+ validateJpegQuality(commandLine[cliFlag44]);
2652
2621
  return {
2653
2622
  source: "cli",
2654
- value: commandLine[cliFlag45]
2623
+ value: commandLine[cliFlag44]
2655
2624
  };
2656
2625
  }
2657
2626
  if (quality !== defaultValue) {
@@ -2665,25 +2634,25 @@ var jpegQualityOption = {
2665
2634
  value: defaultValue
2666
2635
  };
2667
2636
  },
2668
- id: cliFlag45
2637
+ id: cliFlag44
2669
2638
  };
2670
2639
 
2671
2640
  // src/options/keyboard-shortcuts.tsx
2672
- import { jsx as jsx42, Fragment as Fragment42 } from "react/jsx-runtime";
2641
+ import { jsx as jsx41, Fragment as Fragment41 } from "react/jsx-runtime";
2673
2642
  var keyboardShortcutsEnabled = true;
2674
- var cliFlag46 = "disable-keyboard-shortcuts";
2643
+ var cliFlag45 = "disable-keyboard-shortcuts";
2675
2644
  var keyboardShortcutsOption = {
2676
2645
  name: "Disable or Enable keyboard shortcuts",
2677
- cliFlag: cliFlag46,
2678
- description: () => /* @__PURE__ */ jsx42(Fragment42, {
2646
+ cliFlag: cliFlag45,
2647
+ description: () => /* @__PURE__ */ jsx41(Fragment41, {
2679
2648
  children: "Enable or disable keyboard shortcuts in the Remotion Studio."
2680
2649
  }),
2681
2650
  ssrName: null,
2682
2651
  docLink: "https://www.remotion.dev/docs/config#setkeyboardshortcutsenabled",
2683
2652
  type: false,
2684
2653
  getValue: ({ commandLine }) => {
2685
- if (commandLine[cliFlag46] !== undefined) {
2686
- keyboardShortcutsEnabled = commandLine[cliFlag46] === false;
2654
+ if (commandLine[cliFlag45] !== undefined) {
2655
+ keyboardShortcutsEnabled = commandLine[cliFlag45] === false;
2687
2656
  return {
2688
2657
  value: keyboardShortcutsEnabled,
2689
2658
  source: "cli"
@@ -2697,42 +2666,42 @@ var keyboardShortcutsOption = {
2697
2666
  setConfig(value) {
2698
2667
  keyboardShortcutsEnabled = value;
2699
2668
  },
2700
- id: cliFlag46
2669
+ id: cliFlag45
2701
2670
  };
2702
2671
 
2703
2672
  // src/options/latency-hint.tsx
2704
- import { jsx as jsx43, jsxs as jsxs28, Fragment as Fragment43 } from "react/jsx-runtime";
2705
- var cliFlag47 = "audio-latency-hint";
2673
+ import { jsx as jsx42, jsxs as jsxs28, Fragment as Fragment42 } from "react/jsx-runtime";
2674
+ var cliFlag46 = "audio-latency-hint";
2706
2675
  var value = null;
2707
2676
  var audioLatencyHintOption = {
2708
2677
  name: "Audio Latency Hint",
2709
- cliFlag: cliFlag47,
2710
- description: () => /* @__PURE__ */ jsxs28(Fragment43, {
2678
+ cliFlag: cliFlag46,
2679
+ description: () => /* @__PURE__ */ jsxs28(Fragment42, {
2711
2680
  children: [
2712
2681
  "Sets the",
2713
2682
  " ",
2714
- /* @__PURE__ */ jsx43("a", {
2683
+ /* @__PURE__ */ jsx42("a", {
2715
2684
  href: "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext",
2716
2685
  children: "audio latency"
2717
2686
  }),
2718
2687
  " ",
2719
2688
  "hint for the global ",
2720
- /* @__PURE__ */ jsx43("code", {
2689
+ /* @__PURE__ */ jsx42("code", {
2721
2690
  children: "AudioContext"
2722
2691
  }),
2723
2692
  " context that Remotion uses to play audio.",
2724
- /* @__PURE__ */ jsx43("br", {}),
2693
+ /* @__PURE__ */ jsx42("br", {}),
2725
2694
  "Possible values: ",
2726
- /* @__PURE__ */ jsx43("code", {
2695
+ /* @__PURE__ */ jsx42("code", {
2727
2696
  children: "interactive"
2728
2697
  }),
2729
2698
  ", ",
2730
- /* @__PURE__ */ jsx43("code", {
2699
+ /* @__PURE__ */ jsx42("code", {
2731
2700
  children: "balanced"
2732
2701
  }),
2733
2702
  ",",
2734
2703
  " ",
2735
- /* @__PURE__ */ jsx43("code", {
2704
+ /* @__PURE__ */ jsx42("code", {
2736
2705
  children: "playback"
2737
2706
  })
2738
2707
  ]
@@ -2741,7 +2710,7 @@ var audioLatencyHintOption = {
2741
2710
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
2742
2711
  type: "playback",
2743
2712
  getValue: ({ commandLine }) => {
2744
- const val = commandLine[cliFlag47];
2713
+ const val = commandLine[cliFlag46];
2745
2714
  if (typeof val !== "undefined") {
2746
2715
  return { value: val, source: "cli" };
2747
2716
  }
@@ -2753,21 +2722,21 @@ var audioLatencyHintOption = {
2753
2722
  setConfig: (profile) => {
2754
2723
  value = profile;
2755
2724
  },
2756
- id: cliFlag47
2725
+ id: cliFlag46
2757
2726
  };
2758
2727
 
2759
2728
  // src/options/license-key.tsx
2760
- import { jsx as jsx44, jsxs as jsxs29, Fragment as Fragment44 } from "react/jsx-runtime";
2729
+ import { jsx as jsx43, jsxs as jsxs29, Fragment as Fragment43 } from "react/jsx-runtime";
2761
2730
  var currentLicenseKey = null;
2762
- var cliFlag48 = "license-key";
2731
+ var cliFlag47 = "license-key";
2763
2732
  var licenseKeyOption = {
2764
2733
  name: "License key",
2765
- cliFlag: cliFlag48,
2766
- description: () => /* @__PURE__ */ jsxs29(Fragment44, {
2734
+ cliFlag: cliFlag47,
2735
+ description: () => /* @__PURE__ */ jsxs29(Fragment43, {
2767
2736
  children: [
2768
2737
  "License key for sending a usage event using",
2769
2738
  " ",
2770
- /* @__PURE__ */ jsx44("code", {
2739
+ /* @__PURE__ */ jsx43("code", {
2771
2740
  children: "@remotion/licensing"
2772
2741
  }),
2773
2742
  "."
@@ -2777,10 +2746,10 @@ var licenseKeyOption = {
2777
2746
  docLink: "https://www.remotion.dev/docs/licensing",
2778
2747
  type: null,
2779
2748
  getValue: ({ commandLine }) => {
2780
- if (commandLine[cliFlag48] !== undefined) {
2749
+ if (commandLine[cliFlag47] !== undefined) {
2781
2750
  return {
2782
2751
  source: "cli",
2783
- value: commandLine[cliFlag48]
2752
+ value: commandLine[cliFlag47]
2784
2753
  };
2785
2754
  }
2786
2755
  return {
@@ -2791,47 +2760,47 @@ var licenseKeyOption = {
2791
2760
  setConfig: (value2) => {
2792
2761
  currentLicenseKey = value2;
2793
2762
  },
2794
- id: cliFlag48
2763
+ id: cliFlag47
2795
2764
  };
2796
2765
 
2797
2766
  // src/options/log-level.tsx
2798
- import { jsx as jsx45, jsxs as jsxs30, Fragment as Fragment45 } from "react/jsx-runtime";
2767
+ import { jsx as jsx44, jsxs as jsxs30, Fragment as Fragment44 } from "react/jsx-runtime";
2799
2768
  var logLevel = "info";
2800
- var cliFlag49 = "log";
2769
+ var cliFlag48 = "log";
2801
2770
  var logLevelOption = {
2802
- cliFlag: cliFlag49,
2771
+ cliFlag: cliFlag48,
2803
2772
  name: "Log Level",
2804
2773
  ssrName: "logLevel",
2805
- description: () => /* @__PURE__ */ jsxs30(Fragment45, {
2774
+ description: () => /* @__PURE__ */ jsxs30(Fragment44, {
2806
2775
  children: [
2807
2776
  "One of ",
2808
- /* @__PURE__ */ jsx45("code", {
2777
+ /* @__PURE__ */ jsx44("code", {
2809
2778
  children: "trace"
2810
2779
  }),
2811
2780
  ", ",
2812
- /* @__PURE__ */ jsx45("code", {
2781
+ /* @__PURE__ */ jsx44("code", {
2813
2782
  children: "verbose"
2814
2783
  }),
2815
2784
  ", ",
2816
- /* @__PURE__ */ jsx45("code", {
2785
+ /* @__PURE__ */ jsx44("code", {
2817
2786
  children: "info"
2818
2787
  }),
2819
2788
  ",",
2820
2789
  " ",
2821
- /* @__PURE__ */ jsx45("code", {
2790
+ /* @__PURE__ */ jsx44("code", {
2822
2791
  children: "warn"
2823
2792
  }),
2824
2793
  ", ",
2825
- /* @__PURE__ */ jsx45("code", {
2794
+ /* @__PURE__ */ jsx44("code", {
2826
2795
  children: "error"
2827
2796
  }),
2828
2797
  ".",
2829
- /* @__PURE__ */ jsx45("br", {}),
2798
+ /* @__PURE__ */ jsx44("br", {}),
2830
2799
  " Determines how much info is being logged to the console.",
2831
- /* @__PURE__ */ jsx45("br", {}),
2832
- /* @__PURE__ */ jsx45("br", {}),
2800
+ /* @__PURE__ */ jsx44("br", {}),
2801
+ /* @__PURE__ */ jsx44("br", {}),
2833
2802
  " Default ",
2834
- /* @__PURE__ */ jsx45("code", {
2803
+ /* @__PURE__ */ jsx44("code", {
2835
2804
  children: "info"
2836
2805
  }),
2837
2806
  "."
@@ -2839,11 +2808,11 @@ var logLevelOption = {
2839
2808
  }),
2840
2809
  docLink: "https://www.remotion.dev/docs/troubleshooting/debug-failed-render",
2841
2810
  getValue: ({ commandLine }) => {
2842
- if (commandLine[cliFlag49]) {
2843
- if (!isValidLogLevel(commandLine[cliFlag49])) {
2811
+ if (commandLine[cliFlag48]) {
2812
+ if (!isValidLogLevel(commandLine[cliFlag48])) {
2844
2813
  throw new Error(`Invalid \`--log\` value passed. Accepted values: ${logLevels.map((l) => `'${l}'`).join(", ")}.`);
2845
2814
  }
2846
- return { value: commandLine[cliFlag49], source: "cli" };
2815
+ return { value: commandLine[cliFlag48], source: "cli" };
2847
2816
  }
2848
2817
  if (logLevel !== "info") {
2849
2818
  return { value: logLevel, source: "config" };
@@ -2854,23 +2823,23 @@ var logLevelOption = {
2854
2823
  logLevel = newLogLevel;
2855
2824
  },
2856
2825
  type: "error",
2857
- id: cliFlag49
2826
+ id: cliFlag48
2858
2827
  };
2859
2828
 
2860
2829
  // src/options/metadata.tsx
2861
- import { jsx as jsx46, jsxs as jsxs31, Fragment as Fragment46 } from "react/jsx-runtime";
2830
+ import { jsx as jsx45, jsxs as jsxs31, Fragment as Fragment45 } from "react/jsx-runtime";
2862
2831
  var metadata = {};
2863
- var cliFlag50 = "metadata";
2832
+ var cliFlag49 = "metadata";
2864
2833
  var metadataOption = {
2865
2834
  name: "Metadata",
2866
- cliFlag: cliFlag50,
2835
+ cliFlag: cliFlag49,
2867
2836
  description: (mode) => {
2868
2837
  if (mode === "ssr") {
2869
- return /* @__PURE__ */ jsxs31(Fragment46, {
2838
+ return /* @__PURE__ */ jsxs31(Fragment45, {
2870
2839
  children: [
2871
2840
  "An object containing metadata to be embedded in the video. See",
2872
2841
  " ",
2873
- /* @__PURE__ */ jsx46("a", {
2842
+ /* @__PURE__ */ jsx45("a", {
2874
2843
  href: "/docs/metadata",
2875
2844
  children: "here"
2876
2845
  }),
@@ -2878,18 +2847,18 @@ var metadataOption = {
2878
2847
  ]
2879
2848
  });
2880
2849
  }
2881
- return /* @__PURE__ */ jsxs31(Fragment46, {
2850
+ return /* @__PURE__ */ jsxs31(Fragment45, {
2882
2851
  children: [
2883
2852
  "Metadata to be embedded in the video. See",
2884
2853
  " ",
2885
- /* @__PURE__ */ jsx46("a", {
2854
+ /* @__PURE__ */ jsx45("a", {
2886
2855
  href: "/docs/metadata",
2887
2856
  children: "here"
2888
2857
  }),
2889
2858
  " for which metadata is accepted.",
2890
- /* @__PURE__ */ jsx46("br", {}),
2859
+ /* @__PURE__ */ jsx45("br", {}),
2891
2860
  "The parameter must be in the format of ",
2892
- /* @__PURE__ */ jsx46("code", {
2861
+ /* @__PURE__ */ jsx45("code", {
2893
2862
  children: "--metadata key=value"
2894
2863
  }),
2895
2864
  " ",
@@ -2900,8 +2869,8 @@ var metadataOption = {
2900
2869
  docLink: "https://www.remotion.dev/docs/metadata",
2901
2870
  type: {},
2902
2871
  getValue: ({ commandLine }) => {
2903
- if (commandLine[cliFlag50] !== undefined) {
2904
- const val = commandLine[cliFlag50];
2872
+ if (commandLine[cliFlag49] !== undefined) {
2873
+ const val = commandLine[cliFlag49];
2905
2874
  const array = typeof val === "string" ? [val] : val;
2906
2875
  const keyValues = array.map((a) => {
2907
2876
  if (!a.includes("=")) {
@@ -2928,28 +2897,28 @@ var metadataOption = {
2928
2897
  metadata = newMetadata;
2929
2898
  },
2930
2899
  ssrName: "metadata",
2931
- id: cliFlag50
2900
+ id: cliFlag49
2932
2901
  };
2933
2902
 
2934
2903
  // src/options/mute.tsx
2935
- import { jsx as jsx47, Fragment as Fragment47 } from "react/jsx-runtime";
2904
+ import { jsx as jsx46, Fragment as Fragment46 } from "react/jsx-runtime";
2936
2905
  var DEFAULT_MUTED_STATE = false;
2937
2906
  var mutedState = DEFAULT_MUTED_STATE;
2938
- var cliFlag51 = "muted";
2907
+ var cliFlag50 = "muted";
2939
2908
  var mutedOption = {
2940
2909
  name: "Muted",
2941
- cliFlag: cliFlag51,
2942
- description: () => /* @__PURE__ */ jsx47(Fragment47, {
2910
+ cliFlag: cliFlag50,
2911
+ description: () => /* @__PURE__ */ jsx46(Fragment46, {
2943
2912
  children: "The Audio of the video will be omitted."
2944
2913
  }),
2945
2914
  ssrName: "muted",
2946
2915
  docLink: "https://www.remotion.dev/docs/audio/muting",
2947
2916
  type: false,
2948
2917
  getValue: ({ commandLine }) => {
2949
- if (commandLine[cliFlag51] !== null) {
2918
+ if (commandLine[cliFlag50] !== null) {
2950
2919
  return {
2951
2920
  source: "cli",
2952
- value: commandLine[cliFlag51]
2921
+ value: commandLine[cliFlag50]
2953
2922
  };
2954
2923
  }
2955
2924
  if (mutedState !== DEFAULT_MUTED_STATE) {
@@ -2966,17 +2935,17 @@ var mutedOption = {
2966
2935
  setConfig: () => {
2967
2936
  mutedState = true;
2968
2937
  },
2969
- id: cliFlag51
2938
+ id: cliFlag50
2970
2939
  };
2971
2940
 
2972
2941
  // src/options/no-open.tsx
2973
- import { jsx as jsx48, Fragment as Fragment48 } from "react/jsx-runtime";
2942
+ import { jsx as jsx47, Fragment as Fragment47 } from "react/jsx-runtime";
2974
2943
  var shouldOpenBrowser = true;
2975
- var cliFlag52 = "no-open";
2944
+ var cliFlag51 = "no-open";
2976
2945
  var noOpenOption = {
2977
2946
  name: "Disable browser auto-open",
2978
- cliFlag: cliFlag52,
2979
- description: () => /* @__PURE__ */ jsx48(Fragment48, {
2947
+ cliFlag: cliFlag51,
2948
+ description: () => /* @__PURE__ */ jsx47(Fragment47, {
2980
2949
  children: "If specified, Remotion will not open a browser window when starting the Studio."
2981
2950
  }),
2982
2951
  ssrName: null,
@@ -2995,30 +2964,30 @@ var noOpenOption = {
2995
2964
  setConfig: (shouldOpen) => {
2996
2965
  shouldOpenBrowser = shouldOpen;
2997
2966
  },
2998
- id: cliFlag52
2967
+ id: cliFlag51
2999
2968
  };
3000
2969
 
3001
2970
  // src/options/number-of-gif-loops.tsx
3002
- import { jsx as jsx49, jsxs as jsxs32, Fragment as Fragment49 } from "react/jsx-runtime";
2971
+ import { jsx as jsx48, jsxs as jsxs32, Fragment as Fragment48 } from "react/jsx-runtime";
3003
2972
  var currentLoop = null;
3004
2973
  var validate = (newLoop) => {
3005
2974
  if (newLoop !== null && typeof newLoop !== "number") {
3006
2975
  throw new Error("--number-of-gif-loops flag must be a number.");
3007
2976
  }
3008
2977
  };
3009
- var cliFlag53 = "number-of-gif-loops";
2978
+ var cliFlag52 = "number-of-gif-loops";
3010
2979
  var numberOfGifLoopsOption = {
3011
2980
  name: "Number of GIF loops",
3012
- cliFlag: cliFlag53,
2981
+ cliFlag: cliFlag52,
3013
2982
  description: () => {
3014
- return /* @__PURE__ */ jsxs32(Fragment49, {
2983
+ return /* @__PURE__ */ jsxs32(Fragment48, {
3015
2984
  children: [
3016
2985
  "Allows you to set the number of loops as follows:",
3017
2986
  /* @__PURE__ */ jsxs32("ul", {
3018
2987
  children: [
3019
2988
  /* @__PURE__ */ jsxs32("li", {
3020
2989
  children: [
3021
- /* @__PURE__ */ jsx49("code", {
2990
+ /* @__PURE__ */ jsx48("code", {
3022
2991
  children: "null"
3023
2992
  }),
3024
2993
  " (or omitting in the CLI) plays the GIF indefinitely."
@@ -3026,7 +2995,7 @@ var numberOfGifLoopsOption = {
3026
2995
  }),
3027
2996
  /* @__PURE__ */ jsxs32("li", {
3028
2997
  children: [
3029
- /* @__PURE__ */ jsx49("code", {
2998
+ /* @__PURE__ */ jsx48("code", {
3030
2999
  children: "0"
3031
3000
  }),
3032
3001
  " disables looping"
@@ -3034,7 +3003,7 @@ var numberOfGifLoopsOption = {
3034
3003
  }),
3035
3004
  /* @__PURE__ */ jsxs32("li", {
3036
3005
  children: [
3037
- /* @__PURE__ */ jsx49("code", {
3006
+ /* @__PURE__ */ jsx48("code", {
3038
3007
  children: "1"
3039
3008
  }),
3040
3009
  " loops the GIF once (plays twice in total)"
@@ -3042,7 +3011,7 @@ var numberOfGifLoopsOption = {
3042
3011
  }),
3043
3012
  /* @__PURE__ */ jsxs32("li", {
3044
3013
  children: [
3045
- /* @__PURE__ */ jsx49("code", {
3014
+ /* @__PURE__ */ jsx48("code", {
3046
3015
  children: "2"
3047
3016
  }),
3048
3017
  " loops the GIF twice (plays three times in total) and so on."
@@ -3057,10 +3026,10 @@ var numberOfGifLoopsOption = {
3057
3026
  docLink: "https://www.remotion.dev/docs/render-as-gif#changing-the-number-of-loops",
3058
3027
  type: 0,
3059
3028
  getValue: ({ commandLine }) => {
3060
- if (commandLine[cliFlag53] !== undefined) {
3061
- validate(commandLine[cliFlag53]);
3029
+ if (commandLine[cliFlag52] !== undefined) {
3030
+ validate(commandLine[cliFlag52]);
3062
3031
  return {
3063
- value: commandLine[cliFlag53],
3032
+ value: commandLine[cliFlag52],
3064
3033
  source: "cli"
3065
3034
  };
3066
3035
  }
@@ -3079,21 +3048,21 @@ var numberOfGifLoopsOption = {
3079
3048
  validate(newLoop);
3080
3049
  currentLoop = newLoop;
3081
3050
  },
3082
- id: cliFlag53
3051
+ id: cliFlag52
3083
3052
  };
3084
3053
 
3085
3054
  // src/options/number-of-shared-audio-tags.tsx
3086
- import { jsx as jsx50, jsxs as jsxs33, Fragment as Fragment50 } from "react/jsx-runtime";
3055
+ import { jsx as jsx49, jsxs as jsxs33, Fragment as Fragment49 } from "react/jsx-runtime";
3087
3056
  var numberOfSharedAudioTags = 0;
3088
- var cliFlag54 = "number-of-shared-audio-tags";
3057
+ var cliFlag53 = "number-of-shared-audio-tags";
3089
3058
  var numberOfSharedAudioTagsOption = {
3090
3059
  name: "Number of shared audio tags",
3091
- cliFlag: cliFlag54,
3092
- description: () => /* @__PURE__ */ jsxs33(Fragment50, {
3060
+ cliFlag: cliFlag53,
3061
+ description: () => /* @__PURE__ */ jsxs33(Fragment49, {
3093
3062
  children: [
3094
3063
  "Set number of shared audio tags. See",
3095
3064
  " ",
3096
- /* @__PURE__ */ jsx50("a", {
3065
+ /* @__PURE__ */ jsx49("a", {
3097
3066
  href: "https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop",
3098
3067
  children: "Using the numberOfSharedAudioTags prop"
3099
3068
  }),
@@ -3105,9 +3074,9 @@ var numberOfSharedAudioTagsOption = {
3105
3074
  docLink: "https://www.remotion.dev/docs/config#setnumberofsharedaudiotags",
3106
3075
  type: 0,
3107
3076
  getValue: ({ commandLine }) => {
3108
- if (commandLine[cliFlag54] !== undefined) {
3077
+ if (commandLine[cliFlag53] !== undefined) {
3109
3078
  return {
3110
- value: commandLine[cliFlag54],
3079
+ value: commandLine[cliFlag53],
3111
3080
  source: "cli"
3112
3081
  };
3113
3082
  }
@@ -3119,39 +3088,39 @@ var numberOfSharedAudioTagsOption = {
3119
3088
  setConfig(value2) {
3120
3089
  numberOfSharedAudioTags = value2;
3121
3090
  },
3122
- id: cliFlag54
3091
+ id: cliFlag53
3123
3092
  };
3124
3093
 
3125
3094
  // src/options/offthreadvideo-cache-size.tsx
3126
- import { jsx as jsx51, jsxs as jsxs34, Fragment as Fragment51 } from "react/jsx-runtime";
3095
+ import { jsx as jsx50, jsxs as jsxs34, Fragment as Fragment50 } from "react/jsx-runtime";
3127
3096
  var offthreadVideoCacheSizeInBytes = null;
3128
- var cliFlag55 = "offthreadvideo-cache-size-in-bytes";
3097
+ var cliFlag54 = "offthreadvideo-cache-size-in-bytes";
3129
3098
  var offthreadVideoCacheSizeInBytesOption = {
3130
3099
  name: "OffthreadVideo cache size",
3131
- cliFlag: cliFlag55,
3132
- description: () => /* @__PURE__ */ jsxs34(Fragment51, {
3100
+ cliFlag: cliFlag54,
3101
+ description: () => /* @__PURE__ */ jsxs34(Fragment50, {
3133
3102
  children: [
3134
3103
  "From v4.0, Remotion has a cache for",
3135
3104
  " ",
3136
- /* @__PURE__ */ jsx51("a", {
3105
+ /* @__PURE__ */ jsx50("a", {
3137
3106
  href: "https://remotion.dev/docs/offthreadvideo",
3138
- children: /* @__PURE__ */ jsx51("code", {
3107
+ children: /* @__PURE__ */ jsx50("code", {
3139
3108
  children: "<OffthreadVideo>"
3140
3109
  })
3141
3110
  }),
3142
3111
  " ",
3143
3112
  "frames. The default is ",
3144
- /* @__PURE__ */ jsx51("code", {
3113
+ /* @__PURE__ */ jsx50("code", {
3145
3114
  children: "null"
3146
3115
  }),
3147
3116
  ", corresponding to half of the system memory available when the render starts.",
3148
- /* @__PURE__ */ jsx51("br", {}),
3117
+ /* @__PURE__ */ jsx50("br", {}),
3149
3118
  " 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.",
3150
- /* @__PURE__ */ jsx51("br", {}),
3119
+ /* @__PURE__ */ jsx50("br", {}),
3151
3120
  "The used value will be printed when running in verbose mode.",
3152
- /* @__PURE__ */ jsx51("br", {}),
3121
+ /* @__PURE__ */ jsx50("br", {}),
3153
3122
  "Default: ",
3154
- /* @__PURE__ */ jsx51("code", {
3123
+ /* @__PURE__ */ jsx50("code", {
3155
3124
  children: "null"
3156
3125
  })
3157
3126
  ]
@@ -3160,10 +3129,10 @@ var offthreadVideoCacheSizeInBytesOption = {
3160
3129
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3161
3130
  type: 0,
3162
3131
  getValue: ({ commandLine }) => {
3163
- if (commandLine[cliFlag55] !== undefined) {
3132
+ if (commandLine[cliFlag54] !== undefined) {
3164
3133
  return {
3165
3134
  source: "cli",
3166
- value: commandLine[cliFlag55]
3135
+ value: commandLine[cliFlag54]
3167
3136
  };
3168
3137
  }
3169
3138
  if (offthreadVideoCacheSizeInBytes !== null) {
@@ -3180,22 +3149,22 @@ var offthreadVideoCacheSizeInBytesOption = {
3180
3149
  setConfig: (size) => {
3181
3150
  offthreadVideoCacheSizeInBytes = size ?? null;
3182
3151
  },
3183
- id: cliFlag55
3152
+ id: cliFlag54
3184
3153
  };
3185
3154
 
3186
3155
  // src/options/offthreadvideo-threads.tsx
3187
- import { jsx as jsx52, jsxs as jsxs35, Fragment as Fragment52 } from "react/jsx-runtime";
3156
+ import { jsx as jsx51, jsxs as jsxs35, Fragment as Fragment51 } from "react/jsx-runtime";
3188
3157
  var value2 = null;
3189
- var cliFlag56 = "offthreadvideo-video-threads";
3158
+ var cliFlag55 = "offthreadvideo-video-threads";
3190
3159
  var offthreadVideoThreadsOption = {
3191
3160
  name: "OffthreadVideo threads",
3192
- cliFlag: cliFlag56,
3193
- description: () => /* @__PURE__ */ jsxs35(Fragment52, {
3161
+ cliFlag: cliFlag55,
3162
+ description: () => /* @__PURE__ */ jsxs35(Fragment51, {
3194
3163
  children: [
3195
3164
  "The number of threads that",
3196
- /* @__PURE__ */ jsx52("a", {
3165
+ /* @__PURE__ */ jsx51("a", {
3197
3166
  href: "https://remotion.dev/docs/offthreadvideo",
3198
- children: /* @__PURE__ */ jsx52("code", {
3167
+ children: /* @__PURE__ */ jsx51("code", {
3199
3168
  children: "<OffthreadVideo>"
3200
3169
  })
3201
3170
  }),
@@ -3210,10 +3179,10 @@ var offthreadVideoThreadsOption = {
3210
3179
  docLink: "https://www.remotion.dev/docs/offthreadvideo",
3211
3180
  type: 0,
3212
3181
  getValue: ({ commandLine }) => {
3213
- if (commandLine[cliFlag56] !== undefined) {
3182
+ if (commandLine[cliFlag55] !== undefined) {
3214
3183
  return {
3215
3184
  source: "cli",
3216
- value: commandLine[cliFlag56]
3185
+ value: commandLine[cliFlag55]
3217
3186
  };
3218
3187
  }
3219
3188
  if (value2 !== null) {
@@ -3230,21 +3199,21 @@ var offthreadVideoThreadsOption = {
3230
3199
  setConfig: (size) => {
3231
3200
  value2 = size ?? null;
3232
3201
  },
3233
- id: cliFlag56
3202
+ id: cliFlag55
3234
3203
  };
3235
3204
  var DEFAULT_RENDER_FRAMES_OFFTHREAD_VIDEO_THREADS = 2;
3236
3205
 
3237
3206
  // src/options/on-browser-download.tsx
3238
- import { jsx as jsx53, jsxs as jsxs36, Fragment as Fragment53 } from "react/jsx-runtime";
3239
- var cliFlag57 = "on-browser-download";
3207
+ import { jsx as jsx52, jsxs as jsxs36, Fragment as Fragment52 } from "react/jsx-runtime";
3208
+ var cliFlag56 = "on-browser-download";
3240
3209
  var onBrowserDownloadOption = {
3241
3210
  name: "Browser download callback function",
3242
- cliFlag: cliFlag57,
3243
- description: () => /* @__PURE__ */ jsxs36(Fragment53, {
3211
+ cliFlag: cliFlag56,
3212
+ description: () => /* @__PURE__ */ jsxs36(Fragment52, {
3244
3213
  children: [
3245
3214
  "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.",
3246
3215
  " ",
3247
- /* @__PURE__ */ jsx53("a", {
3216
+ /* @__PURE__ */ jsx52("a", {
3248
3217
  href: "/docs/renderer/ensure-browser#onbrowserdownload",
3249
3218
  children: "See here for how to use this option."
3250
3219
  })
@@ -3259,26 +3228,26 @@ var onBrowserDownloadOption = {
3259
3228
  setConfig: () => {
3260
3229
  throw new Error("does not support config file");
3261
3230
  },
3262
- id: cliFlag57
3231
+ id: cliFlag56
3263
3232
  };
3264
3233
 
3265
3234
  // src/options/out-dir.tsx
3266
- import { jsx as jsx54, jsxs as jsxs37, Fragment as Fragment54 } from "react/jsx-runtime";
3267
- var cliFlag58 = "out-dir";
3235
+ import { jsx as jsx53, jsxs as jsxs37, Fragment as Fragment53 } from "react/jsx-runtime";
3236
+ var cliFlag57 = "out-dir";
3268
3237
  var currentOutDir = null;
3269
3238
  var outDirOption = {
3270
3239
  name: "Output Directory",
3271
- cliFlag: cliFlag58,
3240
+ cliFlag: cliFlag57,
3272
3241
  description: () => {
3273
- return /* @__PURE__ */ jsxs37(Fragment54, {
3242
+ return /* @__PURE__ */ jsxs37(Fragment53, {
3274
3243
  children: [
3275
3244
  "Define the location of the resulting bundle. By default it is a folder called ",
3276
- /* @__PURE__ */ jsx54("code", {
3245
+ /* @__PURE__ */ jsx53("code", {
3277
3246
  children: "build"
3278
3247
  }),
3279
3248
  ", adjacent to the",
3280
3249
  " ",
3281
- /* @__PURE__ */ jsx54("a", {
3250
+ /* @__PURE__ */ jsx53("a", {
3282
3251
  href: "/docs/terminology/remotion-root",
3283
3252
  children: "Remotion Root"
3284
3253
  }),
@@ -3289,10 +3258,10 @@ var outDirOption = {
3289
3258
  ssrName: "outDir",
3290
3259
  docLink: "https://www.remotion.dev/docs/cli/bundle#--out-dir",
3291
3260
  getValue: ({ commandLine }) => {
3292
- if (commandLine[cliFlag58] !== undefined) {
3261
+ if (commandLine[cliFlag57] !== undefined) {
3293
3262
  return {
3294
3263
  source: "cli",
3295
- value: commandLine[cliFlag58]
3264
+ value: commandLine[cliFlag57]
3296
3265
  };
3297
3266
  }
3298
3267
  if (currentOutDir !== null) {
@@ -3310,7 +3279,7 @@ var outDirOption = {
3310
3279
  currentOutDir = value3;
3311
3280
  },
3312
3281
  type: "",
3313
- id: cliFlag58
3282
+ id: cliFlag57
3314
3283
  };
3315
3284
 
3316
3285
  // src/validate.ts
@@ -3320,21 +3289,21 @@ var validateDimension = NoReactInternals2.validateDimension;
3320
3289
  var validateDurationInFrames = NoReactInternals2.validateDurationInFrames;
3321
3290
 
3322
3291
  // src/options/override-duration.tsx
3323
- import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3292
+ import { jsx as jsx54, Fragment as Fragment54 } from "react/jsx-runtime";
3324
3293
  var currentDuration = null;
3325
- var cliFlag59 = "duration";
3294
+ var cliFlag58 = "duration";
3326
3295
  var overrideDurationOption = {
3327
3296
  name: "Override Duration",
3328
- cliFlag: cliFlag59,
3329
- description: () => /* @__PURE__ */ jsx55(Fragment55, {
3297
+ cliFlag: cliFlag58,
3298
+ description: () => /* @__PURE__ */ jsx54(Fragment54, {
3330
3299
  children: "Overrides the duration in frames of the composition."
3331
3300
  }),
3332
3301
  ssrName: null,
3333
3302
  docLink: "https://www.remotion.dev/docs/config#overrideduration",
3334
3303
  type: null,
3335
3304
  getValue: ({ commandLine }) => {
3336
- if (commandLine[cliFlag59] !== undefined) {
3337
- const value3 = commandLine[cliFlag59];
3305
+ if (commandLine[cliFlag58] !== undefined) {
3306
+ const value3 = commandLine[cliFlag58];
3338
3307
  validateDurationInFrames(value3, {
3339
3308
  component: "in --duration flag",
3340
3309
  allowFloats: false
@@ -3362,25 +3331,25 @@ var overrideDurationOption = {
3362
3331
  });
3363
3332
  currentDuration = duration;
3364
3333
  },
3365
- id: cliFlag59
3334
+ id: cliFlag58
3366
3335
  };
3367
3336
 
3368
3337
  // src/options/override-fps.tsx
3369
- import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3338
+ import { jsx as jsx55, Fragment as Fragment55 } from "react/jsx-runtime";
3370
3339
  var currentFps = null;
3371
- var cliFlag60 = "fps";
3340
+ var cliFlag59 = "fps";
3372
3341
  var overrideFpsOption = {
3373
3342
  name: "Override FPS",
3374
- cliFlag: cliFlag60,
3375
- description: () => /* @__PURE__ */ jsx56(Fragment56, {
3343
+ cliFlag: cliFlag59,
3344
+ description: () => /* @__PURE__ */ jsx55(Fragment55, {
3376
3345
  children: "Overrides the frames per second of the composition."
3377
3346
  }),
3378
3347
  ssrName: null,
3379
3348
  docLink: "https://www.remotion.dev/docs/config#overridefps",
3380
3349
  type: null,
3381
3350
  getValue: ({ commandLine }) => {
3382
- if (commandLine[cliFlag60] !== undefined) {
3383
- const value3 = commandLine[cliFlag60];
3351
+ if (commandLine[cliFlag59] !== undefined) {
3352
+ const value3 = commandLine[cliFlag59];
3384
3353
  validateFps(value3, "in --fps flag", false);
3385
3354
  return {
3386
3355
  source: "cli",
@@ -3402,25 +3371,25 @@ var overrideFpsOption = {
3402
3371
  validateFps(fps, "in Config.overrideFps()", false);
3403
3372
  currentFps = fps;
3404
3373
  },
3405
- id: cliFlag60
3374
+ id: cliFlag59
3406
3375
  };
3407
3376
 
3408
3377
  // src/options/override-height.tsx
3409
- import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3378
+ import { jsx as jsx56, Fragment as Fragment56 } from "react/jsx-runtime";
3410
3379
  var currentHeight = null;
3411
- var cliFlag61 = "height";
3380
+ var cliFlag60 = "height";
3412
3381
  var overrideHeightOption = {
3413
3382
  name: "Override Height",
3414
- cliFlag: cliFlag61,
3415
- description: () => /* @__PURE__ */ jsx57(Fragment57, {
3383
+ cliFlag: cliFlag60,
3384
+ description: () => /* @__PURE__ */ jsx56(Fragment56, {
3416
3385
  children: "Overrides the height of the composition."
3417
3386
  }),
3418
3387
  ssrName: null,
3419
3388
  docLink: "https://www.remotion.dev/docs/config#overrideheight",
3420
3389
  type: null,
3421
3390
  getValue: ({ commandLine }) => {
3422
- if (commandLine[cliFlag61] !== undefined) {
3423
- const value3 = commandLine[cliFlag61];
3391
+ if (commandLine[cliFlag60] !== undefined) {
3392
+ const value3 = commandLine[cliFlag60];
3424
3393
  validateDimension(value3, "height", "in --height flag");
3425
3394
  return {
3426
3395
  source: "cli",
@@ -3442,25 +3411,25 @@ var overrideHeightOption = {
3442
3411
  validateDimension(height, "height", "in Config.overrideHeight()");
3443
3412
  currentHeight = height;
3444
3413
  },
3445
- id: cliFlag61
3414
+ id: cliFlag60
3446
3415
  };
3447
3416
 
3448
3417
  // src/options/override-width.tsx
3449
- import { jsx as jsx58, Fragment as Fragment58 } from "react/jsx-runtime";
3418
+ import { jsx as jsx57, Fragment as Fragment57 } from "react/jsx-runtime";
3450
3419
  var currentWidth = null;
3451
- var cliFlag62 = "width";
3420
+ var cliFlag61 = "width";
3452
3421
  var overrideWidthOption = {
3453
3422
  name: "Override Width",
3454
- cliFlag: cliFlag62,
3455
- description: () => /* @__PURE__ */ jsx58(Fragment58, {
3423
+ cliFlag: cliFlag61,
3424
+ description: () => /* @__PURE__ */ jsx57(Fragment57, {
3456
3425
  children: "Overrides the width of the composition."
3457
3426
  }),
3458
3427
  ssrName: null,
3459
3428
  docLink: "https://www.remotion.dev/docs/config#overridewidth",
3460
3429
  type: null,
3461
3430
  getValue: ({ commandLine }) => {
3462
- if (commandLine[cliFlag62] !== undefined) {
3463
- const value3 = commandLine[cliFlag62];
3431
+ if (commandLine[cliFlag61] !== undefined) {
3432
+ const value3 = commandLine[cliFlag61];
3464
3433
  validateDimension(value3, "width", "in --width flag");
3465
3434
  return {
3466
3435
  source: "cli",
@@ -3482,13 +3451,13 @@ var overrideWidthOption = {
3482
3451
  validateDimension(width, "width", "in Config.overrideWidth()");
3483
3452
  currentWidth = width;
3484
3453
  },
3485
- id: cliFlag62
3454
+ id: cliFlag61
3486
3455
  };
3487
3456
 
3488
3457
  // src/options/overwrite.tsx
3489
- import { jsx as jsx59, jsxs as jsxs38, Fragment as Fragment59 } from "react/jsx-runtime";
3458
+ import { jsx as jsx58, jsxs as jsxs38, Fragment as Fragment58 } from "react/jsx-runtime";
3490
3459
  var shouldOverwrite = null;
3491
- var cliFlag63 = "overwrite";
3460
+ var cliFlag62 = "overwrite";
3492
3461
  var validate2 = (value3) => {
3493
3462
  if (typeof value3 !== "boolean") {
3494
3463
  throw new Error(`overwriteExisting must be a boolean but got ${typeof value3} (${value3})`);
@@ -3496,15 +3465,15 @@ var validate2 = (value3) => {
3496
3465
  };
3497
3466
  var overwriteOption = {
3498
3467
  name: "Overwrite output",
3499
- cliFlag: cliFlag63,
3500
- description: () => /* @__PURE__ */ jsxs38(Fragment59, {
3468
+ cliFlag: cliFlag62,
3469
+ description: () => /* @__PURE__ */ jsxs38(Fragment58, {
3501
3470
  children: [
3502
3471
  "If set to ",
3503
- /* @__PURE__ */ jsx59("code", {
3472
+ /* @__PURE__ */ jsx58("code", {
3504
3473
  children: "false"
3505
3474
  }),
3506
3475
  ", will prevent rendering to a path that already exists. Default is ",
3507
- /* @__PURE__ */ jsx59("code", {
3476
+ /* @__PURE__ */ jsx58("code", {
3508
3477
  children: "true"
3509
3478
  }),
3510
3479
  "."
@@ -3514,11 +3483,11 @@ var overwriteOption = {
3514
3483
  docLink: "https://www.remotion.dev/docs/config#setoverwriteoutput",
3515
3484
  type: false,
3516
3485
  getValue: ({ commandLine }, defaultValue2) => {
3517
- if (commandLine[cliFlag63] !== undefined) {
3518
- validate2(commandLine[cliFlag63]);
3486
+ if (commandLine[cliFlag62] !== undefined) {
3487
+ validate2(commandLine[cliFlag62]);
3519
3488
  return {
3520
3489
  source: "cli",
3521
- value: commandLine[cliFlag63]
3490
+ value: commandLine[cliFlag62]
3522
3491
  };
3523
3492
  }
3524
3493
  if (shouldOverwrite !== null) {
@@ -3536,36 +3505,36 @@ var overwriteOption = {
3536
3505
  validate2(value3);
3537
3506
  shouldOverwrite = value3;
3538
3507
  },
3539
- id: cliFlag63
3508
+ id: cliFlag62
3540
3509
  };
3541
3510
 
3542
3511
  // src/options/package-manager.tsx
3543
- import { jsx as jsx60, jsxs as jsxs39, Fragment as Fragment60 } from "react/jsx-runtime";
3544
- var cliFlag64 = "package-manager";
3512
+ import { jsx as jsx59, jsxs as jsxs39, Fragment as Fragment59 } from "react/jsx-runtime";
3513
+ var cliFlag63 = "package-manager";
3545
3514
  var currentPackageManager = null;
3546
3515
  var packageManagerOption = {
3547
3516
  name: "Package Manager",
3548
- cliFlag: cliFlag64,
3517
+ cliFlag: cliFlag63,
3549
3518
  description: () => {
3550
- return /* @__PURE__ */ jsxs39(Fragment60, {
3519
+ return /* @__PURE__ */ jsxs39(Fragment59, {
3551
3520
  children: [
3552
3521
  "Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.",
3553
- /* @__PURE__ */ jsx60("br", {}),
3522
+ /* @__PURE__ */ jsx59("br", {}),
3554
3523
  "Acceptable values are ",
3555
- /* @__PURE__ */ jsx60("code", {
3524
+ /* @__PURE__ */ jsx59("code", {
3556
3525
  children: "npm"
3557
3526
  }),
3558
3527
  ", ",
3559
- /* @__PURE__ */ jsx60("code", {
3528
+ /* @__PURE__ */ jsx59("code", {
3560
3529
  children: "yarn"
3561
3530
  }),
3562
3531
  ",",
3563
3532
  " ",
3564
- /* @__PURE__ */ jsx60("code", {
3533
+ /* @__PURE__ */ jsx59("code", {
3565
3534
  children: "pnpm"
3566
3535
  }),
3567
3536
  " and ",
3568
- /* @__PURE__ */ jsx60("code", {
3537
+ /* @__PURE__ */ jsx59("code", {
3569
3538
  children: "bun"
3570
3539
  }),
3571
3540
  "."
@@ -3575,10 +3544,10 @@ var packageManagerOption = {
3575
3544
  ssrName: "packageManager",
3576
3545
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--package-manager",
3577
3546
  getValue: ({ commandLine }) => {
3578
- if (commandLine[cliFlag64] !== undefined) {
3547
+ if (commandLine[cliFlag63] !== undefined) {
3579
3548
  return {
3580
3549
  source: "cli",
3581
- value: commandLine[cliFlag64]
3550
+ value: commandLine[cliFlag63]
3582
3551
  };
3583
3552
  }
3584
3553
  if (currentPackageManager !== null) {
@@ -3596,7 +3565,7 @@ var packageManagerOption = {
3596
3565
  currentPackageManager = value3;
3597
3566
  },
3598
3567
  type: "",
3599
- id: cliFlag64
3568
+ id: cliFlag63
3600
3569
  };
3601
3570
 
3602
3571
  // src/pixel-format.ts
@@ -3619,17 +3588,17 @@ var validPixelFormatsForCodec = (codec) => {
3619
3588
  };
3620
3589
 
3621
3590
  // src/options/pixel-format.tsx
3622
- import { jsx as jsx61, jsxs as jsxs40, Fragment as Fragment61 } from "react/jsx-runtime";
3591
+ import { jsx as jsx60, jsxs as jsxs40, Fragment as Fragment60 } from "react/jsx-runtime";
3623
3592
  var currentPixelFormat = DEFAULT_PIXEL_FORMAT;
3624
- var cliFlag65 = "pixel-format";
3593
+ var cliFlag64 = "pixel-format";
3625
3594
  var pixelFormatOption = {
3626
3595
  name: "Pixel format",
3627
- cliFlag: cliFlag65,
3628
- description: () => /* @__PURE__ */ jsxs40(Fragment61, {
3596
+ cliFlag: cliFlag64,
3597
+ description: () => /* @__PURE__ */ jsxs40(Fragment60, {
3629
3598
  children: [
3630
3599
  "Sets the pixel format in FFmpeg. See",
3631
3600
  " ",
3632
- /* @__PURE__ */ jsx61("a", {
3601
+ /* @__PURE__ */ jsx60("a", {
3633
3602
  href: "https://trac.ffmpeg.org/wiki/Chroma%20Subsampling",
3634
3603
  children: "the FFmpeg docs for an explanation"
3635
3604
  }),
@@ -3642,10 +3611,10 @@ var pixelFormatOption = {
3642
3611
  docLink: "https://www.remotion.dev/docs/config#setpixelformat",
3643
3612
  type: DEFAULT_PIXEL_FORMAT,
3644
3613
  getValue: ({ commandLine }) => {
3645
- if (commandLine[cliFlag65] !== undefined) {
3614
+ if (commandLine[cliFlag64] !== undefined) {
3646
3615
  return {
3647
3616
  source: "cli",
3648
- value: commandLine[cliFlag65]
3617
+ value: commandLine[cliFlag64]
3649
3618
  };
3650
3619
  }
3651
3620
  if (currentPixelFormat !== DEFAULT_PIXEL_FORMAT) {
@@ -3665,26 +3634,26 @@ var pixelFormatOption = {
3665
3634
  }
3666
3635
  currentPixelFormat = value3;
3667
3636
  },
3668
- id: cliFlag65
3637
+ id: cliFlag64
3669
3638
  };
3670
3639
 
3671
3640
  // src/options/port.tsx
3672
- import { jsx as jsx62, Fragment as Fragment62 } from "react/jsx-runtime";
3673
- var cliFlag66 = "port";
3641
+ import { jsx as jsx61, Fragment as Fragment61 } from "react/jsx-runtime";
3642
+ var cliFlag65 = "port";
3674
3643
  var currentPort = null;
3675
3644
  var portOption = {
3676
3645
  name: "Port",
3677
- cliFlag: cliFlag66,
3678
- description: () => /* @__PURE__ */ jsx62(Fragment62, {
3646
+ cliFlag: cliFlag65,
3647
+ description: () => /* @__PURE__ */ jsx61(Fragment61, {
3679
3648
  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."
3680
3649
  }),
3681
3650
  ssrName: null,
3682
3651
  docLink: "https://www.remotion.dev/docs/config#setstudioport",
3683
3652
  getValue: ({ commandLine }) => {
3684
- if (commandLine[cliFlag66] !== undefined) {
3653
+ if (commandLine[cliFlag65] !== undefined) {
3685
3654
  return {
3686
3655
  source: "cli",
3687
- value: commandLine[cliFlag66]
3656
+ value: commandLine[cliFlag65]
3688
3657
  };
3689
3658
  }
3690
3659
  if (currentPort !== null) {
@@ -3702,25 +3671,25 @@ var portOption = {
3702
3671
  currentPort = value3;
3703
3672
  },
3704
3673
  type: 0,
3705
- id: cliFlag66
3674
+ id: cliFlag65
3706
3675
  };
3707
3676
 
3708
3677
  // src/options/prefer-lossless.tsx
3709
- import { jsx as jsx63, jsxs as jsxs41, Fragment as Fragment63 } from "react/jsx-runtime";
3710
- var cliFlag67 = "prefer-lossless";
3678
+ import { jsx as jsx62, jsxs as jsxs41, Fragment as Fragment62 } from "react/jsx-runtime";
3679
+ var cliFlag66 = "prefer-lossless";
3711
3680
  var input = false;
3712
3681
  var preferLosslessAudioOption = {
3713
3682
  name: "Prefer lossless",
3714
- cliFlag: cliFlag67,
3715
- description: () => /* @__PURE__ */ jsxs41(Fragment63, {
3683
+ cliFlag: cliFlag66,
3684
+ description: () => /* @__PURE__ */ jsxs41(Fragment62, {
3716
3685
  children: [
3717
3686
  "Uses a lossless audio codec, if one is available for the codec. If you set",
3718
- /* @__PURE__ */ jsx63("code", {
3687
+ /* @__PURE__ */ jsx62("code", {
3719
3688
  children: "audioCodec"
3720
3689
  }),
3721
3690
  ", it takes priority over",
3722
3691
  " ",
3723
- /* @__PURE__ */ jsx63("code", {
3692
+ /* @__PURE__ */ jsx62("code", {
3724
3693
  children: "preferLossless"
3725
3694
  }),
3726
3695
  "."
@@ -3730,7 +3699,7 @@ var preferLosslessAudioOption = {
3730
3699
  type: false,
3731
3700
  ssrName: "preferLossless",
3732
3701
  getValue: ({ commandLine }) => {
3733
- if (commandLine[cliFlag67]) {
3702
+ if (commandLine[cliFlag66]) {
3734
3703
  return { value: true, source: "cli" };
3735
3704
  }
3736
3705
  if (input === true) {
@@ -3741,16 +3710,16 @@ var preferLosslessAudioOption = {
3741
3710
  setConfig: (val) => {
3742
3711
  input = val;
3743
3712
  },
3744
- id: cliFlag67
3713
+ id: cliFlag66
3745
3714
  };
3746
3715
 
3747
3716
  // src/options/props.tsx
3748
- import { jsx as jsx64, jsxs as jsxs42, Fragment as Fragment64 } from "react/jsx-runtime";
3749
- var cliFlag68 = "props";
3717
+ import { jsx as jsx63, jsxs as jsxs42, Fragment as Fragment63 } from "react/jsx-runtime";
3718
+ var cliFlag67 = "props";
3750
3719
  var propsOption = {
3751
3720
  name: "Input Props",
3752
- cliFlag: cliFlag68,
3753
- description: () => /* @__PURE__ */ jsxs42(Fragment64, {
3721
+ cliFlag: cliFlag67,
3722
+ description: () => /* @__PURE__ */ jsxs42(Fragment63, {
3754
3723
  children: [
3755
3724
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
3756
3725
  /* @__PURE__ */ jsxs42("code", {
@@ -3763,7 +3732,7 @@ var propsOption = {
3763
3732
  ]
3764
3733
  }),
3765
3734
  ") or a path to a JSON file (",
3766
- /* @__PURE__ */ jsx64("code", {
3735
+ /* @__PURE__ */ jsx63("code", {
3767
3736
  children: "./path/to/props.json"
3768
3737
  }),
3769
3738
  ")."
@@ -3772,10 +3741,10 @@ var propsOption = {
3772
3741
  ssrName: null,
3773
3742
  docLink: "https://www.remotion.dev/docs/passing-props#passing-input-props-in-the-cli",
3774
3743
  getValue: ({ commandLine }) => {
3775
- if (commandLine[cliFlag68] !== undefined) {
3744
+ if (commandLine[cliFlag67] !== undefined) {
3776
3745
  return {
3777
3746
  source: "cli",
3778
- value: commandLine[cliFlag68]
3747
+ value: commandLine[cliFlag67]
3779
3748
  };
3780
3749
  }
3781
3750
  return {
@@ -3787,11 +3756,11 @@ var propsOption = {
3787
3756
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
3788
3757
  },
3789
3758
  type: "",
3790
- id: cliFlag68
3759
+ id: cliFlag67
3791
3760
  };
3792
3761
 
3793
3762
  // src/options/prores-profile.tsx
3794
- import { jsx as jsx65, jsxs as jsxs43, Fragment as Fragment65 } from "react/jsx-runtime";
3763
+ import { jsx as jsx64, jsxs as jsxs43, Fragment as Fragment64 } from "react/jsx-runtime";
3795
3764
  var validProResProfiles = [
3796
3765
  "4444-xq",
3797
3766
  "4444",
@@ -3801,14 +3770,14 @@ var validProResProfiles = [
3801
3770
  "proxy"
3802
3771
  ];
3803
3772
  var proResProfile;
3804
- var cliFlag69 = "prores-profile";
3773
+ var cliFlag68 = "prores-profile";
3805
3774
  var proResProfileOption = {
3806
3775
  name: "ProRes profile",
3807
- cliFlag: cliFlag69,
3808
- description: () => /* @__PURE__ */ jsxs43(Fragment65, {
3776
+ cliFlag: cliFlag68,
3777
+ description: () => /* @__PURE__ */ jsxs43(Fragment64, {
3809
3778
  children: [
3810
3779
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
3811
- /* @__PURE__ */ jsx65("code", {
3780
+ /* @__PURE__ */ jsx64("code", {
3812
3781
  children: "prores"
3813
3782
  }),
3814
3783
  ". Possible values:",
@@ -3816,12 +3785,12 @@ var proResProfileOption = {
3816
3785
  validProResProfiles.map((p) => `"${p}"`).join(", "),
3817
3786
  ". Default:",
3818
3787
  " ",
3819
- /* @__PURE__ */ jsx65("code", {
3788
+ /* @__PURE__ */ jsx64("code", {
3820
3789
  children: '"hq"'
3821
3790
  }),
3822
3791
  ". See",
3823
3792
  " ",
3824
- /* @__PURE__ */ jsx65("a", {
3793
+ /* @__PURE__ */ jsx64("a", {
3825
3794
  href: "https://video.stackexchange.com/a/14715",
3826
3795
  children: "here"
3827
3796
  }),
@@ -3832,10 +3801,10 @@ var proResProfileOption = {
3832
3801
  docLink: "https://www.remotion.dev/docs/config#setproresprofile",
3833
3802
  type: undefined,
3834
3803
  getValue: ({ commandLine }) => {
3835
- if (commandLine[cliFlag69] !== undefined) {
3804
+ if (commandLine[cliFlag68] !== undefined) {
3836
3805
  return {
3837
3806
  source: "cli",
3838
- value: String(commandLine[cliFlag69])
3807
+ value: String(commandLine[cliFlag68])
3839
3808
  };
3840
3809
  }
3841
3810
  if (proResProfile !== undefined) {
@@ -3852,24 +3821,24 @@ var proResProfileOption = {
3852
3821
  setConfig: (value3) => {
3853
3822
  proResProfile = value3;
3854
3823
  },
3855
- id: cliFlag69
3824
+ id: cliFlag68
3856
3825
  };
3857
3826
 
3858
3827
  // src/options/public-dir.tsx
3859
- import { jsx as jsx66, jsxs as jsxs44, Fragment as Fragment66 } from "react/jsx-runtime";
3860
- var cliFlag70 = "public-dir";
3828
+ import { jsx as jsx65, jsxs as jsxs44, Fragment as Fragment65 } from "react/jsx-runtime";
3829
+ var cliFlag69 = "public-dir";
3861
3830
  var currentPublicDir = null;
3862
3831
  var publicDirOption = {
3863
3832
  name: "Public Directory",
3864
- cliFlag: cliFlag70,
3833
+ cliFlag: cliFlag69,
3865
3834
  description: () => {
3866
- return /* @__PURE__ */ jsxs44(Fragment66, {
3835
+ return /* @__PURE__ */ jsxs44(Fragment65, {
3867
3836
  children: [
3868
3837
  "Define the location of the",
3869
3838
  " ",
3870
- /* @__PURE__ */ jsx66("a", {
3839
+ /* @__PURE__ */ jsx65("a", {
3871
3840
  href: "/docs/terminology/public-dir",
3872
- children: /* @__PURE__ */ jsx66("code", {
3841
+ children: /* @__PURE__ */ jsx65("code", {
3873
3842
  children: "public/ directory"
3874
3843
  })
3875
3844
  }),
@@ -3880,10 +3849,10 @@ var publicDirOption = {
3880
3849
  ssrName: "publicDir",
3881
3850
  docLink: "https://www.remotion.dev/docs/terminology/public-dir",
3882
3851
  getValue: ({ commandLine }) => {
3883
- if (commandLine[cliFlag70] !== undefined) {
3852
+ if (commandLine[cliFlag69] !== undefined) {
3884
3853
  return {
3885
3854
  source: "cli",
3886
- value: commandLine[cliFlag70]
3855
+ value: commandLine[cliFlag69]
3887
3856
  };
3888
3857
  }
3889
3858
  if (currentPublicDir !== null) {
@@ -3901,20 +3870,20 @@ var publicDirOption = {
3901
3870
  currentPublicDir = value3;
3902
3871
  },
3903
3872
  type: "",
3904
- id: cliFlag70
3873
+ id: cliFlag69
3905
3874
  };
3906
3875
 
3907
3876
  // src/options/public-license-key.tsx
3908
- import { jsx as jsx67, jsxs as jsxs45, Fragment as Fragment67 } from "react/jsx-runtime";
3909
- var cliFlag71 = "public-license-key";
3877
+ import { jsx as jsx66, jsxs as jsxs45, Fragment as Fragment66 } from "react/jsx-runtime";
3878
+ var cliFlag70 = "public-license-key";
3910
3879
  var currentPublicLicenseKey = null;
3911
3880
  var publicLicenseKeyOption = {
3912
3881
  name: "Public License Key",
3913
- cliFlag: cliFlag71,
3914
- description: () => /* @__PURE__ */ jsxs45(Fragment67, {
3882
+ cliFlag: cliFlag70,
3883
+ description: () => /* @__PURE__ */ jsxs45(Fragment66, {
3915
3884
  children: [
3916
3885
  "The public license key for your company license, obtained from the License keys page on ",
3917
- /* @__PURE__ */ jsx67("a", {
3886
+ /* @__PURE__ */ jsx66("a", {
3918
3887
  href: "https://remotion.pro/dashboard",
3919
3888
  children: "remotion.pro"
3920
3889
  }),
@@ -3924,10 +3893,10 @@ var publicLicenseKeyOption = {
3924
3893
  ssrName: "publicLicenseKey",
3925
3894
  docLink: "https://www.remotion.dev/docs/licensing",
3926
3895
  getValue: ({ commandLine }) => {
3927
- if (commandLine[cliFlag71] !== undefined) {
3896
+ if (commandLine[cliFlag70] !== undefined) {
3928
3897
  return {
3929
3898
  source: "cli",
3930
- value: commandLine[cliFlag71]
3899
+ value: commandLine[cliFlag70]
3931
3900
  };
3932
3901
  }
3933
3902
  if (currentPublicLicenseKey !== null) {
@@ -3948,29 +3917,29 @@ var publicLicenseKeyOption = {
3948
3917
  currentPublicLicenseKey = value3;
3949
3918
  },
3950
3919
  type: null,
3951
- id: cliFlag71
3920
+ id: cliFlag70
3952
3921
  };
3953
3922
 
3954
3923
  // src/options/public-path.tsx
3955
- import { jsx as jsx68, jsxs as jsxs46, Fragment as Fragment68 } from "react/jsx-runtime";
3956
- var cliFlag72 = "public-path";
3924
+ import { jsx as jsx67, jsxs as jsxs46, Fragment as Fragment67 } from "react/jsx-runtime";
3925
+ var cliFlag71 = "public-path";
3957
3926
  var currentPublicPath = null;
3958
3927
  var publicPathOption = {
3959
3928
  name: "Public Path",
3960
- cliFlag: cliFlag72,
3929
+ cliFlag: cliFlag71,
3961
3930
  description: () => {
3962
- return /* @__PURE__ */ jsxs46(Fragment68, {
3931
+ return /* @__PURE__ */ jsxs46(Fragment67, {
3963
3932
  children: [
3964
3933
  "The path of the URL where the bundle is going to be hosted. By default it is ",
3965
- /* @__PURE__ */ jsx68("code", {
3934
+ /* @__PURE__ */ jsx67("code", {
3966
3935
  children: "/"
3967
3936
  }),
3968
3937
  ", meaning that the bundle is going to be hosted at the root of the domain (e.g. ",
3969
- /* @__PURE__ */ jsx68("code", {
3938
+ /* @__PURE__ */ jsx67("code", {
3970
3939
  children: "https://localhost:3000/"
3971
3940
  }),
3972
3941
  "). If you are deploying to a subdirectory (e.g. ",
3973
- /* @__PURE__ */ jsx68("code", {
3942
+ /* @__PURE__ */ jsx67("code", {
3974
3943
  children: "/sites/my-site/"
3975
3944
  }),
3976
3945
  "), you should set this to the subdirectory."
@@ -3980,10 +3949,10 @@ var publicPathOption = {
3980
3949
  ssrName: "publicPath",
3981
3950
  docLink: "https://www.remotion.dev/docs/renderer",
3982
3951
  getValue: ({ commandLine }) => {
3983
- if (commandLine[cliFlag72] !== undefined) {
3952
+ if (commandLine[cliFlag71] !== undefined) {
3984
3953
  return {
3985
3954
  source: "cli",
3986
- value: commandLine[cliFlag72]
3955
+ value: commandLine[cliFlag71]
3987
3956
  };
3988
3957
  }
3989
3958
  if (currentPublicPath !== null) {
@@ -4001,29 +3970,29 @@ var publicPathOption = {
4001
3970
  currentPublicPath = value3;
4002
3971
  },
4003
3972
  type: "",
4004
- id: cliFlag72
3973
+ id: cliFlag71
4005
3974
  };
4006
3975
 
4007
3976
  // src/options/repro.tsx
4008
- import { jsx as jsx69, Fragment as Fragment69 } from "react/jsx-runtime";
3977
+ import { jsx as jsx68, Fragment as Fragment68 } from "react/jsx-runtime";
4009
3978
  var enableRepro = false;
4010
3979
  var setRepro = (should) => {
4011
3980
  enableRepro = should;
4012
3981
  };
4013
- var cliFlag73 = "repro";
3982
+ var cliFlag72 = "repro";
4014
3983
  var reproOption = {
4015
3984
  name: "Create reproduction",
4016
- cliFlag: cliFlag73,
4017
- description: () => /* @__PURE__ */ jsx69(Fragment69, {
3985
+ cliFlag: cliFlag72,
3986
+ description: () => /* @__PURE__ */ jsx68(Fragment68, {
4018
3987
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
4019
3988
  }),
4020
3989
  ssrName: "repro",
4021
3990
  docLink: "https://www.remotion.dev/docs/render-media#repro",
4022
3991
  type: false,
4023
3992
  getValue: ({ commandLine }) => {
4024
- if (commandLine[cliFlag73] !== undefined) {
3993
+ if (commandLine[cliFlag72] !== undefined) {
4025
3994
  return {
4026
- value: commandLine[cliFlag73],
3995
+ value: commandLine[cliFlag72],
4027
3996
  source: "cli"
4028
3997
  };
4029
3998
  }
@@ -4039,27 +4008,27 @@ var reproOption = {
4039
4008
  };
4040
4009
  },
4041
4010
  setConfig: setRepro,
4042
- id: cliFlag73
4011
+ id: cliFlag72
4043
4012
  };
4044
4013
 
4045
4014
  // src/options/rspack.tsx
4046
- import { jsx as jsx70, Fragment as Fragment70 } from "react/jsx-runtime";
4015
+ import { jsx as jsx69, Fragment as Fragment69 } from "react/jsx-runtime";
4047
4016
  var rspackEnabled = false;
4048
- var cliFlag74 = "experimental-rspack";
4017
+ var cliFlag73 = "experimental-rspack";
4049
4018
  var rspackOption = {
4050
4019
  name: "Experimental Rspack",
4051
- cliFlag: cliFlag74,
4052
- description: () => /* @__PURE__ */ jsx70(Fragment70, {
4020
+ cliFlag: cliFlag73,
4021
+ description: () => /* @__PURE__ */ jsx69(Fragment69, {
4053
4022
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
4054
4023
  }),
4055
4024
  ssrName: null,
4056
4025
  docLink: null,
4057
4026
  type: false,
4058
4027
  getValue: ({ commandLine }) => {
4059
- if (commandLine[cliFlag74] !== undefined) {
4028
+ if (commandLine[cliFlag73] !== undefined) {
4060
4029
  rspackEnabled = true;
4061
4030
  return {
4062
- value: commandLine[cliFlag74],
4031
+ value: commandLine[cliFlag73],
4063
4032
  source: "cli"
4064
4033
  };
4065
4034
  }
@@ -4071,21 +4040,21 @@ var rspackOption = {
4071
4040
  setConfig(value3) {
4072
4041
  rspackEnabled = value3;
4073
4042
  },
4074
- id: cliFlag74
4043
+ id: cliFlag73
4075
4044
  };
4076
4045
 
4077
4046
  // src/options/runs.tsx
4078
- import { jsx as jsx71, jsxs as jsxs47, Fragment as Fragment71 } from "react/jsx-runtime";
4047
+ import { jsx as jsx70, jsxs as jsxs47, Fragment as Fragment70 } from "react/jsx-runtime";
4079
4048
  var DEFAULT_RUNS = 3;
4080
4049
  var currentRuns = DEFAULT_RUNS;
4081
- var cliFlag75 = "runs";
4050
+ var cliFlag74 = "runs";
4082
4051
  var runsOption = {
4083
4052
  name: "Benchmark runs",
4084
- cliFlag: cliFlag75,
4085
- description: () => /* @__PURE__ */ jsxs47(Fragment71, {
4053
+ cliFlag: cliFlag74,
4054
+ description: () => /* @__PURE__ */ jsxs47(Fragment70, {
4086
4055
  children: [
4087
4056
  "Specify how many times the video should be rendered during a benchmark. Default ",
4088
- /* @__PURE__ */ jsx71("code", {
4057
+ /* @__PURE__ */ jsx70("code", {
4089
4058
  children: DEFAULT_RUNS
4090
4059
  }),
4091
4060
  "."
@@ -4095,10 +4064,10 @@ var runsOption = {
4095
4064
  docLink: "https://www.remotion.dev/docs/cli/benchmark#--runs",
4096
4065
  type: DEFAULT_RUNS,
4097
4066
  getValue: ({ commandLine }) => {
4098
- if (commandLine[cliFlag75] !== undefined) {
4099
- const value3 = Number(commandLine[cliFlag75]);
4067
+ if (commandLine[cliFlag74] !== undefined) {
4068
+ const value3 = Number(commandLine[cliFlag74]);
4100
4069
  if (isNaN(value3) || value3 < 1) {
4101
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag75]}`);
4070
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag74]}`);
4102
4071
  }
4103
4072
  return { value: value3, source: "cli" };
4104
4073
  }
@@ -4113,21 +4082,21 @@ var runsOption = {
4113
4082
  }
4114
4083
  currentRuns = value3;
4115
4084
  },
4116
- id: cliFlag75
4085
+ id: cliFlag74
4117
4086
  };
4118
4087
 
4119
4088
  // src/options/sample-rate.tsx
4120
- import { jsx as jsx72, jsxs as jsxs48, Fragment as Fragment72 } from "react/jsx-runtime";
4121
- var cliFlag76 = "sample-rate";
4089
+ import { jsx as jsx71, jsxs as jsxs48, Fragment as Fragment71 } from "react/jsx-runtime";
4090
+ var cliFlag75 = "sample-rate";
4122
4091
  var currentSampleRate = 48000;
4123
4092
  var sampleRateOption = {
4124
4093
  name: "Sample Rate",
4125
- cliFlag: cliFlag76,
4126
- description: () => /* @__PURE__ */ jsxs48(Fragment72, {
4094
+ cliFlag: cliFlag75,
4095
+ description: () => /* @__PURE__ */ jsxs48(Fragment71, {
4127
4096
  children: [
4128
4097
  "Controls the sample rate of the output audio. The default is",
4129
4098
  " ",
4130
- /* @__PURE__ */ jsx72("code", {
4099
+ /* @__PURE__ */ jsx71("code", {
4131
4100
  children: "48000"
4132
4101
  }),
4133
4102
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -4137,8 +4106,8 @@ var sampleRateOption = {
4137
4106
  docLink: "https://www.remotion.dev/docs/sample-rate",
4138
4107
  type: 48000,
4139
4108
  getValue: ({ commandLine }, compositionSampleRate) => {
4140
- if (commandLine[cliFlag76] !== undefined) {
4141
- return { value: commandLine[cliFlag76], source: "cli" };
4109
+ if (commandLine[cliFlag75] !== undefined) {
4110
+ return { value: commandLine[cliFlag75], source: "cli" };
4142
4111
  }
4143
4112
  if (currentSampleRate !== 48000) {
4144
4113
  return { value: currentSampleRate, source: "config file" };
@@ -4154,13 +4123,13 @@ var sampleRateOption = {
4154
4123
  setConfig: (value3) => {
4155
4124
  currentSampleRate = value3;
4156
4125
  },
4157
- id: cliFlag76
4126
+ id: cliFlag75
4158
4127
  };
4159
4128
 
4160
4129
  // src/options/scale.tsx
4161
- import { jsx as jsx73, jsxs as jsxs49, Fragment as Fragment73 } from "react/jsx-runtime";
4130
+ import { jsx as jsx72, jsxs as jsxs49, Fragment as Fragment72 } from "react/jsx-runtime";
4162
4131
  var currentScale = 1;
4163
- var cliFlag77 = "scale";
4132
+ var cliFlag76 = "scale";
4164
4133
  var validateScale = (value3) => {
4165
4134
  if (typeof value3 !== "number") {
4166
4135
  throw new Error("scale must be a number.");
@@ -4168,15 +4137,15 @@ var validateScale = (value3) => {
4168
4137
  };
4169
4138
  var scaleOption = {
4170
4139
  name: "Scale",
4171
- cliFlag: cliFlag77,
4172
- description: () => /* @__PURE__ */ jsxs49(Fragment73, {
4140
+ cliFlag: cliFlag76,
4141
+ description: () => /* @__PURE__ */ jsxs49(Fragment72, {
4173
4142
  children: [
4174
4143
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
4175
- /* @__PURE__ */ jsx73("code", {
4144
+ /* @__PURE__ */ jsx72("code", {
4176
4145
  children: "1.5"
4177
4146
  }),
4178
4147
  ". See ",
4179
- /* @__PURE__ */ jsx73("a", {
4148
+ /* @__PURE__ */ jsx72("a", {
4180
4149
  href: "https://www.remotion.dev/docs/scaling",
4181
4150
  children: "Scaling"
4182
4151
  }),
@@ -4187,11 +4156,11 @@ var scaleOption = {
4187
4156
  docLink: "https://www.remotion.dev/docs/scaling",
4188
4157
  type: 0,
4189
4158
  getValue: ({ commandLine }) => {
4190
- if (commandLine[cliFlag77] !== undefined) {
4191
- validateScale(commandLine[cliFlag77]);
4159
+ if (commandLine[cliFlag76] !== undefined) {
4160
+ validateScale(commandLine[cliFlag76]);
4192
4161
  return {
4193
4162
  source: "cli",
4194
- value: commandLine[cliFlag77]
4163
+ value: commandLine[cliFlag76]
4195
4164
  };
4196
4165
  }
4197
4166
  if (currentScale !== null) {
@@ -4208,13 +4177,13 @@ var scaleOption = {
4208
4177
  setConfig: (scale) => {
4209
4178
  currentScale = scale;
4210
4179
  },
4211
- id: cliFlag77
4180
+ id: cliFlag76
4212
4181
  };
4213
4182
 
4214
4183
  // src/options/still-frame.tsx
4215
4184
  import { NoReactInternals as NoReactInternals3 } from "remotion/no-react";
4216
- import { jsx as jsx74, jsxs as jsxs50, Fragment as Fragment74 } from "react/jsx-runtime";
4217
- var cliFlag78 = "frame";
4185
+ import { jsx as jsx73, jsxs as jsxs50, Fragment as Fragment73 } from "react/jsx-runtime";
4186
+ var cliFlag77 = "frame";
4218
4187
  var currentFrame = null;
4219
4188
  var validate3 = (frame) => {
4220
4189
  NoReactInternals3.validateFrame({
@@ -4225,17 +4194,17 @@ var validate3 = (frame) => {
4225
4194
  };
4226
4195
  var stillFrameOption = {
4227
4196
  name: "Frame",
4228
- cliFlag: cliFlag78,
4229
- description: () => /* @__PURE__ */ jsxs50(Fragment74, {
4197
+ cliFlag: cliFlag77,
4198
+ description: () => /* @__PURE__ */ jsxs50(Fragment73, {
4230
4199
  children: [
4231
4200
  "Which frame should be rendered when rendering a still. Default",
4232
4201
  " ",
4233
- /* @__PURE__ */ jsx74("code", {
4202
+ /* @__PURE__ */ jsx73("code", {
4234
4203
  children: "0"
4235
4204
  }),
4236
4205
  ". From v3.2.27, negative values are allowed, with",
4237
4206
  " ",
4238
- /* @__PURE__ */ jsx74("code", {
4207
+ /* @__PURE__ */ jsx73("code", {
4239
4208
  children: "-1"
4240
4209
  }),
4241
4210
  " being the last frame."
@@ -4244,8 +4213,8 @@ var stillFrameOption = {
4244
4213
  ssrName: "frame",
4245
4214
  docLink: "https://www.remotion.dev/docs/cli/still#--frame",
4246
4215
  getValue: ({ commandLine }) => {
4247
- if (commandLine[cliFlag78] !== undefined) {
4248
- const frame = Number(commandLine[cliFlag78]);
4216
+ if (commandLine[cliFlag77] !== undefined) {
4217
+ const frame = Number(commandLine[cliFlag77]);
4249
4218
  validate3(frame);
4250
4219
  return {
4251
4220
  source: "cli",
@@ -4270,24 +4239,24 @@ var stillFrameOption = {
4270
4239
  currentFrame = value3;
4271
4240
  },
4272
4241
  type: 0,
4273
- id: cliFlag78
4242
+ id: cliFlag77
4274
4243
  };
4275
4244
 
4276
4245
  // src/options/still-image-format.tsx
4277
- import { jsx as jsx75, jsxs as jsxs51, Fragment as Fragment75 } from "react/jsx-runtime";
4246
+ import { jsx as jsx74, jsxs as jsxs51, Fragment as Fragment74 } from "react/jsx-runtime";
4278
4247
  var currentStillImageFormat = null;
4279
- var cliFlag79 = "image-format";
4248
+ var cliFlag78 = "image-format";
4280
4249
  var stillImageFormatOption = {
4281
4250
  name: "Still Image Format",
4282
- cliFlag: cliFlag79,
4283
- description: () => /* @__PURE__ */ jsxs51(Fragment75, {
4251
+ cliFlag: cliFlag78,
4252
+ description: () => /* @__PURE__ */ jsxs51(Fragment74, {
4284
4253
  children: [
4285
4254
  "The image format to use when rendering a still. Must be one of",
4286
4255
  " ",
4287
4256
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
4288
4257
  ". Default:",
4289
4258
  " ",
4290
- /* @__PURE__ */ jsx75("code", {
4259
+ /* @__PURE__ */ jsx74("code", {
4291
4260
  children: '"png"'
4292
4261
  }),
4293
4262
  "."
@@ -4297,8 +4266,8 @@ var stillImageFormatOption = {
4297
4266
  docLink: "https://www.remotion.dev/docs/renderer/render-still#imageformat",
4298
4267
  type: null,
4299
4268
  getValue: ({ commandLine }) => {
4300
- if (commandLine[cliFlag79] !== undefined) {
4301
- const value3 = commandLine[cliFlag79];
4269
+ if (commandLine[cliFlag78] !== undefined) {
4270
+ const value3 = commandLine[cliFlag78];
4302
4271
  if (!validStillImageFormats.includes(value3)) {
4303
4272
  throw new Error(`Invalid still image format: ${value3}. Must be one of: ${validStillImageFormats.join(", ")}`);
4304
4273
  }
@@ -4336,16 +4305,16 @@ var stillImageFormatOption = {
4336
4305
 
4337
4306
  // src/options/throw-if-site-exists.tsx
4338
4307
  var DEFAULT5 = false;
4339
- var cliFlag80 = "throw-if-site-exists";
4308
+ var cliFlag79 = "throw-if-site-exists";
4340
4309
  var throwIfSiteExistsOption = {
4341
- cliFlag: cliFlag80,
4310
+ cliFlag: cliFlag79,
4342
4311
  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.`,
4343
4312
  docLink: "https://remotion.dev/docs/lambda/deploy-site",
4344
4313
  getValue: ({ commandLine }) => {
4345
- if (commandLine[cliFlag80]) {
4314
+ if (commandLine[cliFlag79]) {
4346
4315
  return {
4347
4316
  source: "cli",
4348
- value: commandLine[cliFlag80]
4317
+ value: commandLine[cliFlag79]
4349
4318
  };
4350
4319
  }
4351
4320
  return {
@@ -4359,41 +4328,41 @@ var throwIfSiteExistsOption = {
4359
4328
  },
4360
4329
  ssrName: "throwIfSiteExists",
4361
4330
  type: false,
4362
- id: cliFlag80
4331
+ id: cliFlag79
4363
4332
  };
4364
4333
 
4365
4334
  // src/options/timeout.tsx
4366
- import { jsx as jsx76, jsxs as jsxs52, Fragment as Fragment76 } from "react/jsx-runtime";
4335
+ import { jsx as jsx75, jsxs as jsxs52, Fragment as Fragment75 } from "react/jsx-runtime";
4367
4336
  var currentTimeout = DEFAULT_TIMEOUT;
4368
4337
  var validate4 = (value3) => {
4369
4338
  if (typeof value3 !== "number") {
4370
4339
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value3));
4371
4340
  }
4372
4341
  };
4373
- var cliFlag81 = "timeout";
4342
+ var cliFlag80 = "timeout";
4374
4343
  var delayRenderTimeoutInMillisecondsOption = {
4375
4344
  name: "delayRender() timeout",
4376
- cliFlag: cliFlag81,
4377
- description: () => /* @__PURE__ */ jsxs52(Fragment76, {
4345
+ cliFlag: cliFlag80,
4346
+ description: () => /* @__PURE__ */ jsxs52(Fragment75, {
4378
4347
  children: [
4379
4348
  "A number describing how long the render may take to resolve all",
4380
4349
  " ",
4381
- /* @__PURE__ */ jsx76("a", {
4350
+ /* @__PURE__ */ jsx75("a", {
4382
4351
  href: "https://remotion.dev/docs/delay-render",
4383
- children: /* @__PURE__ */ jsx76("code", {
4352
+ children: /* @__PURE__ */ jsx75("code", {
4384
4353
  children: "delayRender()"
4385
4354
  })
4386
4355
  }),
4387
4356
  " ",
4388
4357
  "calls",
4389
4358
  " ",
4390
- /* @__PURE__ */ jsx76("a", {
4359
+ /* @__PURE__ */ jsx75("a", {
4391
4360
  style: { fontSize: "inherit" },
4392
4361
  href: "https://remotion.dev/docs/timeout",
4393
4362
  children: "before it times out"
4394
4363
  }),
4395
4364
  ". Default: ",
4396
- /* @__PURE__ */ jsx76("code", {
4365
+ /* @__PURE__ */ jsx75("code", {
4397
4366
  children: "30000"
4398
4367
  })
4399
4368
  ]
@@ -4402,10 +4371,10 @@ var delayRenderTimeoutInMillisecondsOption = {
4402
4371
  docLink: "https://www.remotion.dev/docs/timeout",
4403
4372
  type: 0,
4404
4373
  getValue: ({ commandLine }) => {
4405
- if (commandLine[cliFlag81] !== undefined) {
4374
+ if (commandLine[cliFlag80] !== undefined) {
4406
4375
  return {
4407
4376
  source: "cli",
4408
- value: commandLine[cliFlag81]
4377
+ value: commandLine[cliFlag80]
4409
4378
  };
4410
4379
  }
4411
4380
  if (currentTimeout !== null) {
@@ -4424,27 +4393,27 @@ var delayRenderTimeoutInMillisecondsOption = {
4424
4393
  validate4(value3);
4425
4394
  currentTimeout = value3;
4426
4395
  },
4427
- id: cliFlag81
4396
+ id: cliFlag80
4428
4397
  };
4429
4398
 
4430
4399
  // src/options/user-agent.tsx
4431
- import { jsx as jsx77, Fragment as Fragment77 } from "react/jsx-runtime";
4400
+ import { jsx as jsx76, Fragment as Fragment76 } from "react/jsx-runtime";
4432
4401
  var userAgent = null;
4433
- var cliFlag82 = "user-agent";
4402
+ var cliFlag81 = "user-agent";
4434
4403
  var userAgentOption = {
4435
4404
  name: "User agent",
4436
- cliFlag: cliFlag82,
4437
- description: () => /* @__PURE__ */ jsx77(Fragment77, {
4405
+ cliFlag: cliFlag81,
4406
+ description: () => /* @__PURE__ */ jsx76(Fragment76, {
4438
4407
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
4439
4408
  }),
4440
4409
  ssrName: "userAgent",
4441
4410
  docLink: "https://www.remotion.dev/docs/chromium-flags#--user-agent",
4442
4411
  type: null,
4443
4412
  getValue: ({ commandLine }) => {
4444
- if (commandLine[cliFlag82] !== undefined) {
4413
+ if (commandLine[cliFlag81] !== undefined) {
4445
4414
  return {
4446
4415
  source: "cli",
4447
- value: commandLine[cliFlag82]
4416
+ value: commandLine[cliFlag81]
4448
4417
  };
4449
4418
  }
4450
4419
  if (userAgent !== null) {
@@ -4461,25 +4430,25 @@ var userAgentOption = {
4461
4430
  setConfig: (value3) => {
4462
4431
  userAgent = value3;
4463
4432
  },
4464
- id: cliFlag82
4433
+ id: cliFlag81
4465
4434
  };
4466
4435
 
4467
4436
  // src/options/version-flag.tsx
4468
- import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4469
- var cliFlag83 = "version";
4437
+ import { jsx as jsx77, Fragment as Fragment77 } from "react/jsx-runtime";
4438
+ var cliFlag82 = "version";
4470
4439
  var versionFlagOption = {
4471
4440
  name: "Version",
4472
- cliFlag: cliFlag83,
4473
- description: () => /* @__PURE__ */ jsx78(Fragment78, {
4441
+ cliFlag: cliFlag82,
4442
+ description: () => /* @__PURE__ */ jsx77(Fragment77, {
4474
4443
  children: "Install a specific version. Also enables downgrading to an older version."
4475
4444
  }),
4476
4445
  ssrName: null,
4477
4446
  docLink: "https://www.remotion.dev/docs/cli/upgrade#--version",
4478
4447
  getValue: ({ commandLine }) => {
4479
- if (commandLine[cliFlag83] !== undefined) {
4448
+ if (commandLine[cliFlag82] !== undefined) {
4480
4449
  return {
4481
4450
  source: "cli",
4482
- value: String(commandLine[cliFlag83])
4451
+ value: String(commandLine[cliFlag82])
4483
4452
  };
4484
4453
  }
4485
4454
  return {
@@ -4491,30 +4460,30 @@ var versionFlagOption = {
4491
4460
  throw new Error("Cannot set version via config file");
4492
4461
  },
4493
4462
  type: "",
4494
- id: cliFlag83
4463
+ id: cliFlag82
4495
4464
  };
4496
4465
 
4497
4466
  // src/options/video-bitrate.tsx
4498
- import { jsx as jsx79, jsxs as jsxs53, Fragment as Fragment79 } from "react/jsx-runtime";
4467
+ import { jsx as jsx78, jsxs as jsxs53, Fragment as Fragment78 } from "react/jsx-runtime";
4499
4468
  var videoBitrate = null;
4500
- var cliFlag84 = "video-bitrate";
4469
+ var cliFlag83 = "video-bitrate";
4501
4470
  var videoBitrateOption = {
4502
4471
  name: "Video Bitrate",
4503
- cliFlag: cliFlag84,
4504
- description: () => /* @__PURE__ */ jsxs53(Fragment79, {
4472
+ cliFlag: cliFlag83,
4473
+ description: () => /* @__PURE__ */ jsxs53(Fragment78, {
4505
4474
  children: [
4506
4475
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
4507
4476
  "'",
4508
4477
  "s",
4509
- /* @__PURE__ */ jsx79("code", {
4478
+ /* @__PURE__ */ jsx78("code", {
4510
4479
  children: "-b:v"
4511
4480
  }),
4512
4481
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
4513
- /* @__PURE__ */ jsx79("code", {
4482
+ /* @__PURE__ */ jsx78("code", {
4514
4483
  children: "512K"
4515
4484
  }),
4516
4485
  " for 512 kbps, ",
4517
- /* @__PURE__ */ jsx79("code", {
4486
+ /* @__PURE__ */ jsx78("code", {
4518
4487
  children: "1M"
4519
4488
  }),
4520
4489
  " for 1 Mbps."
@@ -4524,10 +4493,10 @@ var videoBitrateOption = {
4524
4493
  docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
4525
4494
  type: "",
4526
4495
  getValue: ({ commandLine }) => {
4527
- if (commandLine[cliFlag84] !== undefined) {
4496
+ if (commandLine[cliFlag83] !== undefined) {
4528
4497
  return {
4529
4498
  source: "cli",
4530
- value: commandLine[cliFlag84]
4499
+ value: commandLine[cliFlag83]
4531
4500
  };
4532
4501
  }
4533
4502
  if (videoBitrate !== null) {
@@ -4544,33 +4513,33 @@ var videoBitrateOption = {
4544
4513
  setConfig: (bitrate) => {
4545
4514
  videoBitrate = bitrate;
4546
4515
  },
4547
- id: cliFlag84
4516
+ id: cliFlag83
4548
4517
  };
4549
4518
 
4550
4519
  // src/options/video-cache-size.tsx
4551
- import { jsx as jsx80, jsxs as jsxs54, Fragment as Fragment80 } from "react/jsx-runtime";
4520
+ import { jsx as jsx79, jsxs as jsxs54, Fragment as Fragment79 } from "react/jsx-runtime";
4552
4521
  var mediaCacheSizeInBytes = null;
4553
- var cliFlag85 = "media-cache-size-in-bytes";
4522
+ var cliFlag84 = "media-cache-size-in-bytes";
4554
4523
  var mediaCacheSizeInBytesOption = {
4555
4524
  name: "@remotion/media cache size",
4556
- cliFlag: cliFlag85,
4557
- description: () => /* @__PURE__ */ jsxs54(Fragment80, {
4525
+ cliFlag: cliFlag84,
4526
+ description: () => /* @__PURE__ */ jsxs54(Fragment79, {
4558
4527
  children: [
4559
4528
  "Specify the maximum size of the cache that ",
4560
- /* @__PURE__ */ jsx80("code", {
4529
+ /* @__PURE__ */ jsx79("code", {
4561
4530
  children: "<Video>"
4562
4531
  }),
4563
4532
  " and",
4564
4533
  " ",
4565
- /* @__PURE__ */ jsx80("code", {
4534
+ /* @__PURE__ */ jsx79("code", {
4566
4535
  children: "<Audio>"
4567
4536
  }),
4568
4537
  " from ",
4569
- /* @__PURE__ */ jsx80("code", {
4538
+ /* @__PURE__ */ jsx79("code", {
4570
4539
  children: "@remotion/media"
4571
4540
  }),
4572
4541
  " may use combined, in bytes. ",
4573
- /* @__PURE__ */ jsx80("br", {}),
4542
+ /* @__PURE__ */ jsx79("br", {}),
4574
4543
  "The default is half of the available system memory when the render starts."
4575
4544
  ]
4576
4545
  }),
@@ -4578,10 +4547,10 @@ var mediaCacheSizeInBytesOption = {
4578
4547
  docLink: "https://www.remotion.dev/docs/media/video#setting-the-cache-size",
4579
4548
  type: 0,
4580
4549
  getValue: ({ commandLine }) => {
4581
- if (commandLine[cliFlag85] !== undefined) {
4550
+ if (commandLine[cliFlag84] !== undefined) {
4582
4551
  return {
4583
4552
  source: "cli",
4584
- value: commandLine[cliFlag85]
4553
+ value: commandLine[cliFlag84]
4585
4554
  };
4586
4555
  }
4587
4556
  if (mediaCacheSizeInBytes !== null) {
@@ -4598,7 +4567,7 @@ var mediaCacheSizeInBytesOption = {
4598
4567
  setConfig: (size) => {
4599
4568
  mediaCacheSizeInBytes = size ?? null;
4600
4569
  },
4601
- id: cliFlag85
4570
+ id: cliFlag84
4602
4571
  };
4603
4572
 
4604
4573
  // src/path-normalize.ts
@@ -4717,7 +4686,7 @@ var getExtensionOfFilename = (filename) => {
4717
4686
  };
4718
4687
 
4719
4688
  // src/options/video-codec.tsx
4720
- import { jsx as jsx81, Fragment as Fragment81 } from "react/jsx-runtime";
4689
+ import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4721
4690
  var codec;
4722
4691
  var setCodec = (newCodec) => {
4723
4692
  if (newCodec === undefined) {
@@ -4741,11 +4710,11 @@ var deriveCodecsFromFilename = (extension) => {
4741
4710
  possible: makeFileExtensionMap()[extension] ?? []
4742
4711
  };
4743
4712
  };
4744
- var cliFlag86 = "codec";
4713
+ var cliFlag85 = "codec";
4745
4714
  var videoCodecOption = {
4746
4715
  name: "Codec",
4747
- cliFlag: cliFlag86,
4748
- description: () => /* @__PURE__ */ jsx81(Fragment81, {
4716
+ cliFlag: cliFlag85,
4717
+ description: () => /* @__PURE__ */ jsx80(Fragment80, {
4749
4718
  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."
4750
4719
  }),
4751
4720
  ssrName: "codec",
@@ -4768,7 +4737,7 @@ var videoCodecOption = {
4768
4737
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
4769
4738
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
4770
4739
  }
4771
- const cliArgument = commandLine[cliFlag86];
4740
+ const cliArgument = commandLine[cliFlag85];
4772
4741
  if (cliArgument) {
4773
4742
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
4774
4743
  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.`);
@@ -4814,24 +4783,24 @@ var videoCodecOption = {
4814
4783
  return { value: DEFAULT_CODEC, source: "default" };
4815
4784
  },
4816
4785
  setConfig: setCodec,
4817
- id: cliFlag86
4786
+ id: cliFlag85
4818
4787
  };
4819
4788
 
4820
4789
  // src/options/video-image-format.tsx
4821
- import { jsx as jsx82, jsxs as jsxs55, Fragment as Fragment82 } from "react/jsx-runtime";
4790
+ import { jsx as jsx81, jsxs as jsxs55, Fragment as Fragment81 } from "react/jsx-runtime";
4822
4791
  var currentVideoImageFormat = null;
4823
- var cliFlag87 = "image-format";
4792
+ var cliFlag86 = "image-format";
4824
4793
  var videoImageFormatOption = {
4825
4794
  name: "Video Image Format",
4826
- cliFlag: cliFlag87,
4827
- description: () => /* @__PURE__ */ jsxs55(Fragment82, {
4795
+ cliFlag: cliFlag86,
4796
+ description: () => /* @__PURE__ */ jsxs55(Fragment81, {
4828
4797
  children: [
4829
4798
  "The image format to use when rendering frames for a video. Must be one of",
4830
4799
  " ",
4831
4800
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
4832
4801
  ". Default:",
4833
4802
  " ",
4834
- /* @__PURE__ */ jsx82("code", {
4803
+ /* @__PURE__ */ jsx81("code", {
4835
4804
  children: '"jpeg"'
4836
4805
  }),
4837
4806
  ". JPEG is faster, but does not support transparency."
@@ -4841,8 +4810,8 @@ var videoImageFormatOption = {
4841
4810
  docLink: "https://www.remotion.dev/docs/renderer/render-media#imageformat",
4842
4811
  type: null,
4843
4812
  getValue: ({ commandLine }) => {
4844
- if (commandLine[cliFlag87] !== undefined) {
4845
- const value3 = commandLine[cliFlag87];
4813
+ if (commandLine[cliFlag86] !== undefined) {
4814
+ const value3 = commandLine[cliFlag86];
4846
4815
  if (!validVideoImageFormats.includes(value3)) {
4847
4816
  throw new Error(`Invalid video image format: ${value3}. Must be one of: ${validVideoImageFormats.join(", ")}`);
4848
4817
  }
@@ -4879,12 +4848,12 @@ var videoImageFormatOption = {
4879
4848
  };
4880
4849
 
4881
4850
  // src/options/webhook-custom-data.tsx
4882
- import { jsxs as jsxs56, Fragment as Fragment83 } from "react/jsx-runtime";
4883
- var cliFlag88 = "webhook-custom-data";
4851
+ import { jsxs as jsxs56, Fragment as Fragment82 } from "react/jsx-runtime";
4852
+ var cliFlag87 = "webhook-custom-data";
4884
4853
  var webhookCustomDataOption = {
4885
4854
  name: "Webhook custom data",
4886
- cliFlag: cliFlag88,
4887
- description: (type) => /* @__PURE__ */ jsxs56(Fragment83, {
4855
+ cliFlag: cliFlag87,
4856
+ description: (type) => /* @__PURE__ */ jsxs56(Fragment82, {
4888
4857
  children: [
4889
4858
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
4890
4859
  " ",
@@ -4900,24 +4869,24 @@ var webhookCustomDataOption = {
4900
4869
  setConfig: () => {
4901
4870
  throw new Error("Not implemented");
4902
4871
  },
4903
- id: cliFlag88
4872
+ id: cliFlag87
4904
4873
  };
4905
4874
 
4906
4875
  // src/options/webpack-poll.tsx
4907
- import { jsx as jsx83, Fragment as Fragment84 } from "react/jsx-runtime";
4908
- var cliFlag89 = "webpack-poll";
4876
+ import { jsx as jsx82, Fragment as Fragment83 } from "react/jsx-runtime";
4877
+ var cliFlag88 = "webpack-poll";
4909
4878
  var webpackPolling = null;
4910
4879
  var webpackPollOption = {
4911
4880
  name: "Webpack Polling",
4912
- cliFlag: cliFlag89,
4913
- description: () => /* @__PURE__ */ jsx83(Fragment84, {
4881
+ cliFlag: cliFlag88,
4882
+ description: () => /* @__PURE__ */ jsx82(Fragment83, {
4914
4883
  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."
4915
4884
  }),
4916
4885
  ssrName: null,
4917
4886
  docLink: "https://www.remotion.dev/docs/config#setwebpackpollinginmilliseconds",
4918
4887
  getValue: ({ commandLine }) => {
4919
- if (commandLine[cliFlag89] !== undefined) {
4920
- const val = commandLine[cliFlag89];
4888
+ if (commandLine[cliFlag88] !== undefined) {
4889
+ const val = commandLine[cliFlag88];
4921
4890
  if (typeof val !== "number") {
4922
4891
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
4923
4892
  }
@@ -4944,11 +4913,11 @@ var webpackPollOption = {
4944
4913
  webpackPolling = value3;
4945
4914
  },
4946
4915
  type: 0,
4947
- id: cliFlag89
4916
+ id: cliFlag88
4948
4917
  };
4949
4918
 
4950
4919
  // src/options/x264-preset.tsx
4951
- import { jsx as jsx84, jsxs as jsxs57, Fragment as Fragment85 } from "react/jsx-runtime";
4920
+ import { jsx as jsx83, jsxs as jsxs57, Fragment as Fragment84 } from "react/jsx-runtime";
4952
4921
  var x264PresetOptions = [
4953
4922
  "ultrafast",
4954
4923
  "superfast",
@@ -4962,63 +4931,63 @@ var x264PresetOptions = [
4962
4931
  "placebo"
4963
4932
  ];
4964
4933
  var preset = null;
4965
- var cliFlag90 = "x264-preset";
4934
+ var cliFlag89 = "x264-preset";
4966
4935
  var DEFAULT_PRESET = "medium";
4967
4936
  var x264Option = {
4968
4937
  name: "x264 Preset",
4969
- cliFlag: cliFlag90,
4970
- description: () => /* @__PURE__ */ jsxs57(Fragment85, {
4938
+ cliFlag: cliFlag89,
4939
+ description: () => /* @__PURE__ */ jsxs57(Fragment84, {
4971
4940
  children: [
4972
4941
  "Sets a x264 preset profile. Only applies to videos rendered with",
4973
4942
  " ",
4974
- /* @__PURE__ */ jsx84("code", {
4943
+ /* @__PURE__ */ jsx83("code", {
4975
4944
  children: "h264"
4976
4945
  }),
4977
4946
  " codec.",
4978
- /* @__PURE__ */ jsx84("br", {}),
4947
+ /* @__PURE__ */ jsx83("br", {}),
4979
4948
  "Possible values: ",
4980
- /* @__PURE__ */ jsx84("code", {
4949
+ /* @__PURE__ */ jsx83("code", {
4981
4950
  children: "superfast"
4982
4951
  }),
4983
4952
  ", ",
4984
- /* @__PURE__ */ jsx84("code", {
4953
+ /* @__PURE__ */ jsx83("code", {
4985
4954
  children: "veryfast"
4986
4955
  }),
4987
4956
  ",",
4988
4957
  " ",
4989
- /* @__PURE__ */ jsx84("code", {
4958
+ /* @__PURE__ */ jsx83("code", {
4990
4959
  children: "faster"
4991
4960
  }),
4992
4961
  ", ",
4993
- /* @__PURE__ */ jsx84("code", {
4962
+ /* @__PURE__ */ jsx83("code", {
4994
4963
  children: "fast"
4995
4964
  }),
4996
4965
  ", ",
4997
- /* @__PURE__ */ jsx84("code", {
4966
+ /* @__PURE__ */ jsx83("code", {
4998
4967
  children: "medium"
4999
4968
  }),
5000
4969
  ",",
5001
4970
  " ",
5002
- /* @__PURE__ */ jsx84("code", {
4971
+ /* @__PURE__ */ jsx83("code", {
5003
4972
  children: "slow"
5004
4973
  }),
5005
4974
  ", ",
5006
- /* @__PURE__ */ jsx84("code", {
4975
+ /* @__PURE__ */ jsx83("code", {
5007
4976
  children: "slower"
5008
4977
  }),
5009
4978
  ", ",
5010
- /* @__PURE__ */ jsx84("code", {
4979
+ /* @__PURE__ */ jsx83("code", {
5011
4980
  children: "veryslow"
5012
4981
  }),
5013
4982
  ",",
5014
4983
  " ",
5015
- /* @__PURE__ */ jsx84("code", {
4984
+ /* @__PURE__ */ jsx83("code", {
5016
4985
  children: "placebo"
5017
4986
  }),
5018
4987
  ".",
5019
- /* @__PURE__ */ jsx84("br", {}),
4988
+ /* @__PURE__ */ jsx83("br", {}),
5020
4989
  "Default: ",
5021
- /* @__PURE__ */ jsx84("code", {
4990
+ /* @__PURE__ */ jsx83("code", {
5022
4991
  children: DEFAULT_PRESET
5023
4992
  })
5024
4993
  ]
@@ -5027,7 +4996,7 @@ var x264Option = {
5027
4996
  docLink: "https://www.remotion.dev/docs/renderer/render-media",
5028
4997
  type: "fast",
5029
4998
  getValue: ({ commandLine }) => {
5030
- const value3 = commandLine[cliFlag90];
4999
+ const value3 = commandLine[cliFlag89];
5031
5000
  if (typeof value3 !== "undefined") {
5032
5001
  return { value: value3, source: "cli" };
5033
5002
  }
@@ -5039,7 +5008,7 @@ var x264Option = {
5039
5008
  setConfig: (profile) => {
5040
5009
  preset = profile;
5041
5010
  },
5042
- id: cliFlag90
5011
+ id: cliFlag89
5043
5012
  };
5044
5013
 
5045
5014
  // src/options/index.tsx
@@ -5107,7 +5076,6 @@ var allOptions = {
5107
5076
  isProductionOption,
5108
5077
  askAIOption,
5109
5078
  experimentalClientSideRenderingOption,
5110
- experimentalVisualModeOption,
5111
5079
  keyboardShortcutsOption,
5112
5080
  framesOption,
5113
5081
  forceNewStudioOption,