@remotion/renderer 4.0.538 → 4.0.540

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/assets/download-and-map-assets-to-file.js +16 -3
  2. package/dist/assets/download-file.js +9 -2
  3. package/dist/assets/download-map.d.ts +1 -1
  4. package/dist/assets/read-file.d.ts +1 -1
  5. package/dist/assets/read-file.js +7 -7
  6. package/dist/browser/BrowserFetcher.js +4 -1
  7. package/dist/browser/BrowserPage.js +27 -8
  8. package/dist/browser/NetworkManager.js +6 -1
  9. package/dist/browser/devtools-commands.d.ts +6 -1
  10. package/dist/browser/get-chrome-download-url.d.ts +1 -1
  11. package/dist/browser/get-chrome-download-url.js +4 -1
  12. package/dist/check-version-requirements.js +6 -6
  13. package/dist/client.d.ts +459 -238
  14. package/dist/esm/client.mjs +372 -314
  15. package/dist/esm/index.mjs +393 -349
  16. package/dist/get-compositions.js +6 -3
  17. package/dist/index.d.ts +113 -41
  18. package/dist/index.js +4 -2
  19. package/dist/make-page.d.ts +3 -1
  20. package/dist/make-page.js +2 -1
  21. package/dist/merge-audio-track.d.ts +1 -1
  22. package/dist/merge-audio-track.js +24 -23
  23. package/dist/options/allow-html-in-canvas.d.ts +1 -1
  24. package/dist/options/api-key.d.ts +1 -1
  25. package/dist/options/ask-ai.d.ts +1 -1
  26. package/dist/options/ask-ai.js +1 -1
  27. package/dist/options/audio-bitrate.d.ts +1 -1
  28. package/dist/options/beep-on-finish.d.ts +1 -1
  29. package/dist/options/benchmark-concurrencies.d.ts +1 -1
  30. package/dist/options/binaries-directory.d.ts +1 -1
  31. package/dist/options/browser-executable.d.ts +1 -1
  32. package/dist/options/browser-executable.js +1 -1
  33. package/dist/options/browser.d.ts +1 -1
  34. package/dist/options/bundle-cache.d.ts +1 -1
  35. package/dist/options/canvas-tabs.d.ts +1 -1
  36. package/dist/options/chrome-mode.d.ts +1 -1
  37. package/dist/options/color-space.d.ts +1 -1
  38. package/dist/options/concurrency.d.ts +1 -1
  39. package/dist/options/config.d.ts +1 -1
  40. package/dist/options/crf.d.ts +1 -1
  41. package/dist/options/crf.js +1 -1
  42. package/dist/options/cross-site-isolation.d.ts +1 -1
  43. package/dist/options/cross-site-isolation.js +2 -2
  44. package/dist/options/dark-mode.d.ts +1 -1
  45. package/dist/options/default-coding-agent.d.ts +1 -1
  46. package/dist/options/default-editor.d.ts +1 -1
  47. package/dist/options/default-premount-in-seconds.d.ts +1 -1
  48. package/dist/options/delete-after.d.ts +1 -1
  49. package/dist/options/disable-git-source.d.ts +2 -2
  50. package/dist/options/disable-shared-memory-capture.d.ts +1 -1
  51. package/dist/options/disable-web-security.d.ts +1 -1
  52. package/dist/options/disallow-parallel-encoding.d.ts +1 -1
  53. package/dist/options/enable-cancellation.d.ts +1 -1
  54. package/dist/options/enable-lambda-insights.d.ts +1 -1
  55. package/dist/options/enable-lambda-insights.js +2 -2
  56. package/dist/options/enable-multiprocess-on-linux.d.ts +1 -1
  57. package/dist/options/enable-multiprocess-on-linux.js +2 -2
  58. package/dist/options/encoding-buffer-size.d.ts +1 -1
  59. package/dist/options/encoding-max-rate.d.ts +1 -1
  60. package/dist/options/enforce-audio.d.ts +1 -1
  61. package/dist/options/env-file.d.ts +1 -1
  62. package/dist/options/every-nth-frame.d.ts +1 -1
  63. package/dist/options/experimental-keep-audio-context-alive.d.ts +1 -1
  64. package/dist/options/folder-expiry.d.ts +1 -1
  65. package/dist/options/folder-expiry.js +1 -1
  66. package/dist/options/for-seamless-aac-concatenation.d.ts +1 -1
  67. package/dist/options/force-new-studio.d.ts +1 -1
  68. package/dist/options/frames.d.ts +1 -1
  69. package/dist/options/gl.d.ts +1 -1
  70. package/dist/options/gop-size.d.ts +1 -1
  71. package/dist/options/headless.d.ts +1 -1
  72. package/dist/options/ignore-certificate-errors.d.ts +1 -1
  73. package/dist/options/image-sequence-pattern.d.ts +1 -1
  74. package/dist/options/image-sequence.d.ts +1 -1
  75. package/dist/options/index.d.ts +119 -102
  76. package/dist/options/index.js +2 -0
  77. package/dist/options/interactivity.d.ts +1 -1
  78. package/dist/options/ipv4.d.ts +1 -1
  79. package/dist/options/is-production.d.ts +1 -1
  80. package/dist/options/is-production.js +1 -1
  81. package/dist/options/jpeg-quality.d.ts +1 -1
  82. package/dist/options/keyboard-shortcuts.d.ts +1 -1
  83. package/dist/options/latency-hint.d.ts +1 -1
  84. package/dist/options/license-key.d.ts +1 -1
  85. package/dist/options/license-key.js +1 -1
  86. package/dist/options/log-level.d.ts +1 -1
  87. package/dist/options/metadata.d.ts +1 -1
  88. package/dist/options/mute.d.ts +1 -1
  89. package/dist/options/no-open.d.ts +1 -1
  90. package/dist/options/number-of-gif-loops.d.ts +1 -1
  91. package/dist/options/number-of-shared-audio-tags.d.ts +1 -1
  92. package/dist/options/offthreadvideo-cache-size.d.ts +1 -1
  93. package/dist/options/offthreadvideo-threads.d.ts +1 -1
  94. package/dist/options/on-browser-download.d.ts +1 -1
  95. package/dist/options/options-map.d.ts +340 -136
  96. package/dist/options/options-map.js +13 -0
  97. package/dist/options/out-dir.d.ts +1 -1
  98. package/dist/options/override-duration.d.ts +1 -1
  99. package/dist/options/override-fps.d.ts +1 -1
  100. package/dist/options/override-height.d.ts +1 -1
  101. package/dist/options/override-width.d.ts +1 -1
  102. package/dist/options/overwrite.d.ts +1 -1
  103. package/dist/options/package-manager.d.ts +1 -1
  104. package/dist/options/pixel-format.d.ts +1 -1
  105. package/dist/options/port.d.ts +1 -1
  106. package/dist/options/prefer-lossless.d.ts +1 -1
  107. package/dist/options/preferred-effect-backend.d.ts +18 -0
  108. package/dist/options/preferred-effect-backend.js +28 -0
  109. package/dist/options/preserve-pitch-on-playback.d.ts +1 -1
  110. package/dist/options/preview-sample-rate.d.ts +1 -1
  111. package/dist/options/props.d.ts +1 -1
  112. package/dist/options/prores-profile.d.ts +1 -1
  113. package/dist/options/public-dir.d.ts +1 -1
  114. package/dist/options/public-license-key.d.ts +1 -1
  115. package/dist/options/public-path.d.ts +1 -1
  116. package/dist/options/repro.d.ts +1 -1
  117. package/dist/options/rspack.d.ts +1 -1
  118. package/dist/options/runs.d.ts +1 -1
  119. package/dist/options/sample-rate.d.ts +1 -1
  120. package/dist/options/scale.d.ts +1 -1
  121. package/dist/options/sequence-activity-limit.d.ts +1 -1
  122. package/dist/options/show-layer-frame-numbers.d.ts +1 -1
  123. package/dist/options/show-premounting.d.ts +1 -1
  124. package/dist/options/skip-skills.d.ts +1 -1
  125. package/dist/options/still-frame.d.ts +1 -1
  126. package/dist/options/still-image-format.d.ts +1 -1
  127. package/dist/options/throw-if-site-exists.d.ts +2 -2
  128. package/dist/options/timeout.d.ts +1 -1
  129. package/dist/options/user-agent.d.ts +1 -1
  130. package/dist/options/version-flag.d.ts +1 -1
  131. package/dist/options/video-bitrate.d.ts +1 -1
  132. package/dist/options/video-cache-size.d.ts +1 -1
  133. package/dist/options/video-codec.d.ts +1 -1
  134. package/dist/options/video-image-format.d.ts +1 -1
  135. package/dist/options/webhook-custom-data.d.ts +1 -1
  136. package/dist/options/webpack-poll.d.ts +1 -1
  137. package/dist/options/x264-preset.d.ts +1 -1
  138. package/dist/render-frames.js +6 -3
  139. package/dist/render-media.d.ts +1 -1
  140. package/dist/render-media.js +4 -2
  141. package/dist/render-still.js +6 -2
  142. package/dist/select-composition.js +6 -3
  143. package/dist/serve-handler/range-parser.js +1 -1
  144. package/dist/serve-static.js +4 -1
  145. package/dist/set-props-and-env.d.ts +2 -0
  146. package/dist/set-props-and-env.js +8 -3
  147. package/dist/stringify-ffmpeg-filter.js +6 -2
  148. package/dist/symbolicate-stacktrace.js +1 -1
  149. package/dist/validate-selected-frames.d.ts +4 -4
  150. package/dist/validate-selected-frames.js +2 -31
  151. package/package.json +15 -15
@@ -1,5 +1,5 @@
1
1
  // src/client.ts
2
- import { NoReactInternals as NoReactInternals9 } from "remotion/no-react";
2
+ import { NoReactInternals as NoReactInternals11 } from "remotion/no-react";
3
3
 
4
4
  // src/browser/TimeoutSettings.ts
5
5
  var DEFAULT_TIMEOUT = 30000;
@@ -493,7 +493,7 @@ var askAIOption = {
493
493
  docLink: "https://www.remotion.dev/docs/options/disable-ask-ai",
494
494
  type: false,
495
495
  getValue: ({ commandLine }) => {
496
- if (commandLine[cliFlag3] !== undefined) {
496
+ if (commandLine[cliFlag3] !== undefined && commandLine[cliFlag3] !== null) {
497
497
  askAIEnabled = false;
498
498
  return {
499
499
  value: askAIEnabled,
@@ -977,7 +977,7 @@ var browserExecutableOption = {
977
977
  addedIn: "1.5.0",
978
978
  cliFlag: cliFlag11,
979
979
  description: () => /* @__PURE__ */ jsx9(Fragment9, {
980
- children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec."
980
+ children: "Set a custom Chrome or Chromium executable path. By default, Remotion downloads and uses Chrome Headless Shell with Remotion's browser fixes. Leave this option unset for normal rendering."
981
981
  }),
982
982
  ssrName: "browserExecutable",
983
983
  docLink: "https://www.remotion.dev/docs/options/browser-executable",
@@ -1412,7 +1412,7 @@ var crfOption = {
1412
1412
  value: commandLine[cliFlag18]
1413
1413
  };
1414
1414
  }
1415
- if (currentCrf !== null) {
1415
+ if (currentCrf !== undefined) {
1416
1416
  return {
1417
1417
  source: "config",
1418
1418
  value: currentCrf
@@ -1453,9 +1453,9 @@ var enableCrossSiteIsolationOption = {
1453
1453
  docLink: "https://www.remotion.dev/docs/options/cross-site-isolation",
1454
1454
  type: false,
1455
1455
  getValue: ({ commandLine }) => {
1456
- if (commandLine[cliFlag19] !== undefined) {
1456
+ if (commandLine[cliFlag19] !== undefined && commandLine[cliFlag19] !== null) {
1457
1457
  return {
1458
- value: commandLine[cliFlag19],
1458
+ value: Boolean(commandLine[cliFlag19]),
1459
1459
  source: "cli"
1460
1460
  };
1461
1461
  }
@@ -1971,9 +1971,9 @@ var enableLambdaInsights = {
1971
1971
  option = value;
1972
1972
  },
1973
1973
  getValue: ({ commandLine }) => {
1974
- if (commandLine[cliFlag30] !== undefined) {
1974
+ if (commandLine[cliFlag30] !== undefined && commandLine[cliFlag30] !== null) {
1975
1975
  return {
1976
- value: commandLine[cliFlag30],
1976
+ value: Boolean(commandLine[cliFlag30]),
1977
1977
  source: "cli"
1978
1978
  };
1979
1979
  }
@@ -2031,10 +2031,10 @@ var enableMultiprocessOnLinuxOption = {
2031
2031
  docLink: "https://www.remotion.dev/docs/options/enable-multiprocess-on-linux",
2032
2032
  type: false,
2033
2033
  getValue: ({ commandLine }) => {
2034
- if (commandLine[cliFlag31] !== undefined) {
2034
+ if (commandLine[cliFlag31] !== undefined && commandLine[cliFlag31] !== null) {
2035
2035
  return {
2036
2036
  source: "cli",
2037
- value: commandLine[cliFlag31]
2037
+ value: Boolean(commandLine[cliFlag31])
2038
2038
  };
2039
2039
  }
2040
2040
  if (multiProcessOnLinux !== false) {
@@ -2403,7 +2403,7 @@ var folderExpiryOption = {
2403
2403
  docLink: "https://www.remotion.dev/docs/options/enable-folder-expiry",
2404
2404
  type: false,
2405
2405
  getValue: ({ commandLine }) => {
2406
- if (commandLine[cliFlag38] !== undefined) {
2406
+ if (commandLine[cliFlag38] !== undefined && commandLine[cliFlag38] !== null) {
2407
2407
  return {
2408
2408
  source: "cli",
2409
2409
  value: commandLine[cliFlag38]
@@ -2583,39 +2583,10 @@ var validateFrameRange = (frameRange) => {
2583
2583
  };
2584
2584
 
2585
2585
  // src/validate-selected-frames.ts
2586
- var validateSelectedFrames = ({
2587
- frames,
2588
- durationInFrames
2589
- }) => {
2590
- if (!Array.isArray(frames)) {
2591
- throw new TypeError("The `frames` option must be an array of frame numbers.");
2592
- }
2593
- if (frames.length === 0) {
2594
- throw new TypeError("The `frames` option must contain at least one frame.");
2595
- }
2596
- for (const frame of frames) {
2597
- if (typeof frame !== "number") {
2598
- throw new TypeError(`The \`frames\` option must contain only numbers, but got ${typeof frame}.`);
2599
- }
2600
- if (!Number.isFinite(frame)) {
2601
- throw new TypeError(`The \`frames\` option must contain only finite numbers, but got ${frame}.`);
2602
- }
2603
- if (!Number.isInteger(frame)) {
2604
- throw new TypeError(`The \`frames\` option must contain only integers, but got ${frame}.`);
2605
- }
2606
- if (frame < 0) {
2607
- throw new TypeError(`The \`frames\` option must contain only non-negative numbers, but got ${frame}.`);
2608
- }
2609
- if (durationInFrames !== null && frame >= durationInFrames) {
2610
- throw new RangeError(`Frame ${frame} is out of range, must be between 0 and ${durationInFrames - 1}.`);
2611
- }
2612
- }
2613
- const uniqueFrames = new Set(frames);
2614
- if (uniqueFrames.size !== frames.length) {
2615
- throw new TypeError("The `frames` option must not contain duplicate frames.");
2616
- }
2617
- return [...frames].sort((a, b) => a - b);
2618
- };
2586
+ import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
2587
+ var {
2588
+ validateSelectedFrames
2589
+ } = NoReactInternals4;
2619
2590
 
2620
2591
  // src/options/frames.tsx
2621
2592
  import { jsx as jsx38, jsxs as jsxs28, Fragment as Fragment38 } from "react/jsx-runtime";
@@ -2748,7 +2719,7 @@ var framesOption = {
2748
2719
  };
2749
2720
 
2750
2721
  // src/options/gl.tsx
2751
- import { NoReactInternals as NoReactInternals4 } from "remotion/no-react";
2722
+ import { NoReactInternals as NoReactInternals5 } from "remotion/no-react";
2752
2723
  import { jsx as jsx39, jsxs as jsxs29, Fragment as Fragment39 } from "react/jsx-runtime";
2753
2724
  var validOpenGlRenderers = [
2754
2725
  "swangle",
@@ -2761,7 +2732,7 @@ var validOpenGlRenderers = [
2761
2732
  var getDefaultOpenGlRenderer = (enableV5BreakingChanges) => {
2762
2733
  return enableV5BreakingChanges ? "angle" : null;
2763
2734
  };
2764
- var DEFAULT_OPENGL_RENDERER = getDefaultOpenGlRenderer(NoReactInternals4.ENABLE_V5_BREAKING_CHANGES);
2735
+ var DEFAULT_OPENGL_RENDERER = getDefaultOpenGlRenderer(NoReactInternals5.ENABLE_V5_BREAKING_CHANGES);
2765
2736
  var openGlRenderer = DEFAULT_OPENGL_RENDERER;
2766
2737
  var AngleChangelog = () => {
2767
2738
  return /* @__PURE__ */ jsxs29("details", {
@@ -2796,7 +2767,7 @@ var AngleChangelog = () => {
2796
2767
  ", however it turns out to have a small memory leak that could crash long Remotion renders."
2797
2768
  ]
2798
2769
  }),
2799
- NoReactInternals4.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs29("li", {
2770
+ NoReactInternals5.ENABLE_V5_BREAKING_CHANGES ? /* @__PURE__ */ jsxs29("li", {
2800
2771
  children: [
2801
2772
  "From Remotion v5.0, the default is ",
2802
2773
  /* @__PURE__ */ jsx39("code", {
@@ -3291,12 +3262,11 @@ var isProductionOption = {
3291
3262
  /* @__PURE__ */ jsx47("code", {
3292
3263
  children: "false"
3293
3264
  }),
3294
- " if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with",
3295
- " ",
3265
+ " for a development render so it is not counted as a billable render on remotion.pro. Defaults to ",
3296
3266
  /* @__PURE__ */ jsx47("code", {
3297
- children: "licenseKey"
3267
+ children: "true"
3298
3268
  }),
3299
- "."
3269
+ ". Only has an effect when a license key is provided."
3300
3270
  ]
3301
3271
  }),
3302
3272
  ssrName: "isProduction",
@@ -3498,6 +3468,26 @@ var licenseKeyOption = {
3498
3468
  /* @__PURE__ */ jsx51("code", {
3499
3469
  children: "@remotion/licensing"
3500
3470
  }),
3471
+ ". For ",
3472
+ /* @__PURE__ */ jsx51("code", {
3473
+ children: "npx remotion render"
3474
+ }),
3475
+ " and",
3476
+ " ",
3477
+ /* @__PURE__ */ jsx51("code", {
3478
+ children: "npx remotion still"
3479
+ }),
3480
+ ", pass a private API key starting with",
3481
+ " ",
3482
+ /* @__PURE__ */ jsx51("code", {
3483
+ children: "rm_sec_"
3484
+ }),
3485
+ " from the License keys page on",
3486
+ " ",
3487
+ /* @__PURE__ */ jsx51("a", {
3488
+ href: "https://www.remotion.pro/dashboard",
3489
+ children: "remotion.pro"
3490
+ }),
3501
3491
  "."
3502
3492
  ]
3503
3493
  }),
@@ -4072,10 +4062,10 @@ var outDirOption = {
4072
4062
  };
4073
4063
 
4074
4064
  // src/validate.ts
4075
- import { NoReactInternals as NoReactInternals5 } from "remotion/no-react";
4076
- var validateFps = NoReactInternals5.validateFps;
4077
- var validateDimension = NoReactInternals5.validateDimension;
4078
- var validateDurationInFrames = NoReactInternals5.validateDurationInFrames;
4065
+ import { NoReactInternals as NoReactInternals6 } from "remotion/no-react";
4066
+ var validateFps = NoReactInternals6.validateFps;
4067
+ var validateDimension = NoReactInternals6.validateDimension;
4068
+ var validateDurationInFrames = NoReactInternals6.validateDurationInFrames;
4079
4069
 
4080
4070
  // src/options/override-duration.tsx
4081
4071
  import { jsx as jsx62, Fragment as Fragment62 } from "react/jsx-runtime";
@@ -4542,43 +4532,98 @@ var preferLosslessAudioOption = {
4542
4532
  id: cliFlag74
4543
4533
  };
4544
4534
 
4545
- // src/options/preserve-pitch-on-playback.tsx
4535
+ // src/options/preferred-effect-backend.tsx
4536
+ import { NoReactInternals as NoReactInternals7 } from "remotion/no-react";
4546
4537
  import { jsx as jsx71, jsxs as jsxs50, Fragment as Fragment71 } from "react/jsx-runtime";
4538
+ var cliFlag75 = "preferred-effect-backend";
4539
+ var configured = "auto";
4540
+ var preferredEffectBackendOption = {
4541
+ name: "Preferred effect backend",
4542
+ addedIn: "4.0.540",
4543
+ cliFlag: cliFlag75,
4544
+ id: cliFlag75,
4545
+ ssrName: "preferredEffectBackend",
4546
+ docLink: "https://www.remotion.dev/docs/options/preferred-effect-backend",
4547
+ type: "auto",
4548
+ description: () => /* @__PURE__ */ jsxs50(Fragment71, {
4549
+ children: [
4550
+ "Prefer ",
4551
+ /* @__PURE__ */ jsx71("code", {
4552
+ children: "webgpu"
4553
+ }),
4554
+ ", ",
4555
+ /* @__PURE__ */ jsx71("code", {
4556
+ children: "webgl2"
4557
+ }),
4558
+ ", or ",
4559
+ /* @__PURE__ */ jsx71("code", {
4560
+ children: "2d"
4561
+ }),
4562
+ " ",
4563
+ "implementations of",
4564
+ " ",
4565
+ /* @__PURE__ */ jsx71("a", {
4566
+ href: "https://www.remotion.dev/docs/effects",
4567
+ children: "effects"
4568
+ }),
4569
+ ". Default:",
4570
+ " ",
4571
+ /* @__PURE__ */ jsx71("code", {
4572
+ children: "auto"
4573
+ }),
4574
+ ", which tries WebGPU, WebGL2, then 2D. Falls back when an implementation or backend is unavailable. Lambda selects WebGL2 or 2D implementations. Rendering fails if an effect has no supported implementation. This option also applies to Studio preview."
4575
+ ]
4576
+ }),
4577
+ getValue: ({ commandLine }) => {
4578
+ if (commandLine[cliFlag75] !== undefined)
4579
+ return {
4580
+ value: NoReactInternals7.validatePreferredEffectBackend(commandLine[cliFlag75]),
4581
+ source: "cli"
4582
+ };
4583
+ return { value: configured, source: "config" };
4584
+ },
4585
+ setConfig: (value) => {
4586
+ configured = NoReactInternals7.validatePreferredEffectBackend(value);
4587
+ }
4588
+ };
4589
+
4590
+ // src/options/preserve-pitch-on-playback.tsx
4591
+ import { jsx as jsx72, jsxs as jsxs51, Fragment as Fragment72 } from "react/jsx-runtime";
4547
4592
  var configuredPreservePitchOnPlayback = null;
4548
- var cliFlag75 = "preserve-pitch-on-playback";
4593
+ var cliFlag76 = "preserve-pitch-on-playback";
4549
4594
  var preservePitchOnPlaybackOption = {
4550
4595
  name: "Preserve pitch on playback",
4551
4596
  addedIn: "4.0.538",
4552
- cliFlag: cliFlag75,
4553
- id: cliFlag75,
4554
- description: () => /* @__PURE__ */ jsxs50(Fragment71, {
4597
+ cliFlag: cliFlag76,
4598
+ id: cliFlag76,
4599
+ description: () => /* @__PURE__ */ jsxs51(Fragment72, {
4555
4600
  children: [
4556
4601
  "Preserve audio pitch when changing the Studio playback speed. Defaults to",
4557
4602
  " ",
4558
- /* @__PURE__ */ jsx71("code", {
4603
+ /* @__PURE__ */ jsx72("code", {
4559
4604
  children: "true"
4560
4605
  }),
4561
4606
  ". Applies to ",
4562
- /* @__PURE__ */ jsx71("code", {
4607
+ /* @__PURE__ */ jsx72("code", {
4563
4608
  children: "Audio"
4564
4609
  }),
4565
4610
  " and ",
4566
- /* @__PURE__ */ jsx71("code", {
4611
+ /* @__PURE__ */ jsx72("code", {
4567
4612
  children: "Video"
4568
4613
  }),
4569
4614
  " ",
4570
4615
  "from ",
4571
- /* @__PURE__ */ jsx71("code", {
4616
+ /* @__PURE__ */ jsx72("code", {
4572
4617
  children: "@remotion/media"
4573
4618
  }),
4574
4619
  ", independently of their clip-level",
4575
4620
  " ",
4576
- /* @__PURE__ */ jsx71("code", {
4621
+ /* @__PURE__ */ jsx72("code", {
4577
4622
  children: "preservePitch"
4578
4623
  }),
4579
4624
  " props. Does not affect rendered output or native media components, including native fallbacks. Set",
4580
4625
  " ",
4581
- /* @__PURE__ */ jsx71("code", {
4626
+ /* @__PURE__ */ jsx72("code", {
4582
4627
  children: "--preserve-pitch-on-playback=false"
4583
4628
  }),
4584
4629
  " to disable."
@@ -4588,7 +4633,7 @@ var preservePitchOnPlaybackOption = {
4588
4633
  docLink: "https://www.remotion.dev/docs/options/preserve-pitch-on-playback",
4589
4634
  type: false,
4590
4635
  getValue: ({ commandLine }) => {
4591
- const value = commandLine[cliFlag75];
4636
+ const value = commandLine[cliFlag76];
4592
4637
  if (value !== undefined && value !== null) {
4593
4638
  if (typeof value !== "boolean") {
4594
4639
  throw new Error("--preserve-pitch-on-playback expects a boolean");
@@ -4610,17 +4655,17 @@ var preservePitchOnPlaybackOption = {
4610
4655
  };
4611
4656
 
4612
4657
  // src/options/preview-sample-rate.tsx
4613
- import { jsx as jsx72, jsxs as jsxs51, Fragment as Fragment72 } from "react/jsx-runtime";
4614
- var cliFlag76 = "preview-sample-rate";
4658
+ import { jsx as jsx73, jsxs as jsxs52, Fragment as Fragment73 } from "react/jsx-runtime";
4659
+ var cliFlag77 = "preview-sample-rate";
4615
4660
  var currentPreviewSampleRate = null;
4616
4661
  var previewSampleRateOption = {
4617
4662
  name: "Preview Sample Rate",
4618
4663
  addedIn: "4.0.470",
4619
- cliFlag: cliFlag76,
4620
- description: () => /* @__PURE__ */ jsxs51(Fragment72, {
4664
+ cliFlag: cliFlag77,
4665
+ description: () => /* @__PURE__ */ jsxs52(Fragment73, {
4621
4666
  children: [
4622
4667
  "Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
4623
- /* @__PURE__ */ jsx72("code", {
4668
+ /* @__PURE__ */ jsx73("code", {
4624
4669
  children: "48000"
4625
4670
  }),
4626
4671
  " Hz."
@@ -4630,8 +4675,8 @@ var previewSampleRateOption = {
4630
4675
  docLink: "https://www.remotion.dev/docs/options/preview-sample-rate",
4631
4676
  type: null,
4632
4677
  getValue: ({ commandLine }) => {
4633
- if (commandLine[cliFlag76] !== undefined) {
4634
- return { value: commandLine[cliFlag76], source: "cli" };
4678
+ if (commandLine[cliFlag77] !== undefined) {
4679
+ return { value: commandLine[cliFlag77], source: "cli" };
4635
4680
  }
4636
4681
  if (currentPreviewSampleRate !== null) {
4637
4682
  return { value: currentPreviewSampleRate, source: "config file" };
@@ -4641,20 +4686,20 @@ var previewSampleRateOption = {
4641
4686
  setConfig: (value) => {
4642
4687
  currentPreviewSampleRate = value;
4643
4688
  },
4644
- id: cliFlag76
4689
+ id: cliFlag77
4645
4690
  };
4646
4691
 
4647
4692
  // src/options/props.tsx
4648
- import { jsx as jsx73, jsxs as jsxs52, Fragment as Fragment73 } from "react/jsx-runtime";
4649
- var cliFlag77 = "props";
4693
+ import { jsx as jsx74, jsxs as jsxs53, Fragment as Fragment74 } from "react/jsx-runtime";
4694
+ var cliFlag78 = "props";
4650
4695
  var propsOption = {
4651
4696
  name: "Input Props",
4652
4697
  addedIn: "1.0.0",
4653
- cliFlag: cliFlag77,
4654
- description: () => /* @__PURE__ */ jsxs52(Fragment73, {
4698
+ cliFlag: cliFlag78,
4699
+ description: () => /* @__PURE__ */ jsxs53(Fragment74, {
4655
4700
  children: [
4656
4701
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
4657
- /* @__PURE__ */ jsxs52("code", {
4702
+ /* @__PURE__ */ jsxs53("code", {
4658
4703
  children: [
4659
4704
  "--props='",
4660
4705
  "{",
@@ -4664,7 +4709,7 @@ var propsOption = {
4664
4709
  ]
4665
4710
  }),
4666
4711
  ") or a path to a JSON file (",
4667
- /* @__PURE__ */ jsx73("code", {
4712
+ /* @__PURE__ */ jsx74("code", {
4668
4713
  children: "./path/to/props.json"
4669
4714
  }),
4670
4715
  ")."
@@ -4673,10 +4718,10 @@ var propsOption = {
4673
4718
  ssrName: null,
4674
4719
  docLink: "https://www.remotion.dev/docs/options/props",
4675
4720
  getValue: ({ commandLine }) => {
4676
- if (commandLine[cliFlag77] !== undefined) {
4721
+ if (commandLine[cliFlag78] !== undefined) {
4677
4722
  return {
4678
4723
  source: "cli",
4679
- value: commandLine[cliFlag77]
4724
+ value: commandLine[cliFlag78]
4680
4725
  };
4681
4726
  }
4682
4727
  return {
@@ -4688,11 +4733,11 @@ var propsOption = {
4688
4733
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
4689
4734
  },
4690
4735
  type: "",
4691
- id: cliFlag77
4736
+ id: cliFlag78
4692
4737
  };
4693
4738
 
4694
4739
  // src/options/prores-profile.tsx
4695
- import { jsx as jsx74, jsxs as jsxs53, Fragment as Fragment74 } from "react/jsx-runtime";
4740
+ import { jsx as jsx75, jsxs as jsxs54, Fragment as Fragment75 } from "react/jsx-runtime";
4696
4741
  var validProResProfiles = [
4697
4742
  "4444-xq",
4698
4743
  "4444",
@@ -4702,15 +4747,15 @@ var validProResProfiles = [
4702
4747
  "proxy"
4703
4748
  ];
4704
4749
  var proResProfile;
4705
- var cliFlag78 = "prores-profile";
4750
+ var cliFlag79 = "prores-profile";
4706
4751
  var proResProfileOption = {
4707
4752
  name: "ProRes profile",
4708
4753
  addedIn: "2.1.6",
4709
- cliFlag: cliFlag78,
4710
- description: () => /* @__PURE__ */ jsxs53(Fragment74, {
4754
+ cliFlag: cliFlag79,
4755
+ description: () => /* @__PURE__ */ jsxs54(Fragment75, {
4711
4756
  children: [
4712
4757
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
4713
- /* @__PURE__ */ jsx74("code", {
4758
+ /* @__PURE__ */ jsx75("code", {
4714
4759
  children: "prores"
4715
4760
  }),
4716
4761
  ". Possible values:",
@@ -4718,12 +4763,12 @@ var proResProfileOption = {
4718
4763
  validProResProfiles.map((p) => `"${p}"`).join(", "),
4719
4764
  ". Default:",
4720
4765
  " ",
4721
- /* @__PURE__ */ jsx74("code", {
4766
+ /* @__PURE__ */ jsx75("code", {
4722
4767
  children: '"hq"'
4723
4768
  }),
4724
4769
  ". See",
4725
4770
  " ",
4726
- /* @__PURE__ */ jsx74("a", {
4771
+ /* @__PURE__ */ jsx75("a", {
4727
4772
  href: "https://video.stackexchange.com/a/14715",
4728
4773
  children: "here"
4729
4774
  }),
@@ -4740,10 +4785,10 @@ var proResProfileOption = {
4740
4785
  value: options.uiProResProfile
4741
4786
  };
4742
4787
  }
4743
- if (commandLine[cliFlag78] !== undefined) {
4788
+ if (commandLine[cliFlag79] !== undefined) {
4744
4789
  return {
4745
4790
  source: "from --prores-profile flag",
4746
- value: String(commandLine[cliFlag78])
4791
+ value: String(commandLine[cliFlag79])
4747
4792
  };
4748
4793
  }
4749
4794
  if (options && options.compositionDefaultProResProfile !== null) {
@@ -4766,25 +4811,25 @@ var proResProfileOption = {
4766
4811
  setConfig: (value) => {
4767
4812
  proResProfile = value;
4768
4813
  },
4769
- id: cliFlag78
4814
+ id: cliFlag79
4770
4815
  };
4771
4816
 
4772
4817
  // src/options/public-dir.tsx
4773
- import { jsx as jsx75, jsxs as jsxs54, Fragment as Fragment75 } from "react/jsx-runtime";
4774
- var cliFlag79 = "public-dir";
4818
+ import { jsx as jsx76, jsxs as jsxs55, Fragment as Fragment76 } from "react/jsx-runtime";
4819
+ var cliFlag80 = "public-dir";
4775
4820
  var currentPublicDir = null;
4776
4821
  var publicDirOption = {
4777
4822
  name: "Public Directory",
4778
4823
  addedIn: "3.2.13",
4779
- cliFlag: cliFlag79,
4824
+ cliFlag: cliFlag80,
4780
4825
  description: () => {
4781
- return /* @__PURE__ */ jsxs54(Fragment75, {
4826
+ return /* @__PURE__ */ jsxs55(Fragment76, {
4782
4827
  children: [
4783
4828
  "Define the location of the",
4784
4829
  " ",
4785
- /* @__PURE__ */ jsx75("a", {
4830
+ /* @__PURE__ */ jsx76("a", {
4786
4831
  href: "/docs/terminology/public-dir",
4787
- children: /* @__PURE__ */ jsx75("code", {
4832
+ children: /* @__PURE__ */ jsx76("code", {
4788
4833
  children: "public/ directory"
4789
4834
  })
4790
4835
  }),
@@ -4795,10 +4840,10 @@ var publicDirOption = {
4795
4840
  ssrName: "publicDir",
4796
4841
  docLink: "https://www.remotion.dev/docs/options/public-dir",
4797
4842
  getValue: ({ commandLine }) => {
4798
- if (commandLine[cliFlag79] !== undefined) {
4843
+ if (commandLine[cliFlag80] !== undefined) {
4799
4844
  return {
4800
4845
  source: "cli",
4801
- value: commandLine[cliFlag79]
4846
+ value: commandLine[cliFlag80]
4802
4847
  };
4803
4848
  }
4804
4849
  if (currentPublicDir !== null) {
@@ -4816,21 +4861,21 @@ var publicDirOption = {
4816
4861
  currentPublicDir = value;
4817
4862
  },
4818
4863
  type: "",
4819
- id: cliFlag79
4864
+ id: cliFlag80
4820
4865
  };
4821
4866
 
4822
4867
  // src/options/public-license-key.tsx
4823
- import { jsx as jsx76, jsxs as jsxs55, Fragment as Fragment76 } from "react/jsx-runtime";
4824
- var cliFlag80 = "public-license-key";
4868
+ import { jsx as jsx77, jsxs as jsxs56, Fragment as Fragment77 } from "react/jsx-runtime";
4869
+ var cliFlag81 = "public-license-key";
4825
4870
  var currentPublicLicenseKey = null;
4826
4871
  var publicLicenseKeyOption = {
4827
4872
  name: "Public License Key",
4828
4873
  addedIn: "4.0.398",
4829
- cliFlag: cliFlag80,
4830
- description: () => /* @__PURE__ */ jsxs55(Fragment76, {
4874
+ cliFlag: cliFlag81,
4875
+ description: () => /* @__PURE__ */ jsxs56(Fragment77, {
4831
4876
  children: [
4832
4877
  "The public license key for your company license, obtained from the License keys page on ",
4833
- /* @__PURE__ */ jsx76("a", {
4878
+ /* @__PURE__ */ jsx77("a", {
4834
4879
  href: "https://remotion.pro/dashboard",
4835
4880
  children: "remotion.pro"
4836
4881
  }),
@@ -4840,10 +4885,10 @@ var publicLicenseKeyOption = {
4840
4885
  ssrName: "publicLicenseKey",
4841
4886
  docLink: "https://www.remotion.dev/docs/options/public-license-key",
4842
4887
  getValue: ({ commandLine }) => {
4843
- if (commandLine[cliFlag80] !== undefined) {
4888
+ if (commandLine[cliFlag81] !== undefined) {
4844
4889
  return {
4845
4890
  source: "cli",
4846
- value: commandLine[cliFlag80]
4891
+ value: commandLine[cliFlag81]
4847
4892
  };
4848
4893
  }
4849
4894
  if (currentPublicLicenseKey !== null) {
@@ -4864,26 +4909,26 @@ var publicLicenseKeyOption = {
4864
4909
  currentPublicLicenseKey = value;
4865
4910
  },
4866
4911
  type: null,
4867
- id: cliFlag80
4912
+ id: cliFlag81
4868
4913
  };
4869
4914
 
4870
4915
  // src/options/public-path.tsx
4871
- import { jsx as jsx77, jsxs as jsxs56, Fragment as Fragment77 } from "react/jsx-runtime";
4872
- var cliFlag81 = "public-path";
4916
+ import { jsx as jsx78, jsxs as jsxs57, Fragment as Fragment78 } from "react/jsx-runtime";
4917
+ var cliFlag82 = "public-path";
4873
4918
  var currentPublicPath = null;
4874
4919
  var publicPathOption = {
4875
4920
  name: "Public Path",
4876
4921
  addedIn: "4.0.127",
4877
- cliFlag: cliFlag81,
4922
+ cliFlag: cliFlag82,
4878
4923
  description: () => {
4879
- return /* @__PURE__ */ jsxs56(Fragment77, {
4924
+ return /* @__PURE__ */ jsxs57(Fragment78, {
4880
4925
  children: [
4881
4926
  "The path of the URL where the bundle is going to be hosted. By default it is ",
4882
- /* @__PURE__ */ jsx77("code", {
4927
+ /* @__PURE__ */ jsx78("code", {
4883
4928
  children: "./"
4884
4929
  }),
4885
4930
  ", making the bundle relocatable. Set an absolute path such as ",
4886
- /* @__PURE__ */ jsx77("code", {
4931
+ /* @__PURE__ */ jsx78("code", {
4887
4932
  children: "/sites/my-site/"
4888
4933
  }),
4889
4934
  " to host the bundle at a fixed location."
@@ -4893,10 +4938,10 @@ var publicPathOption = {
4893
4938
  ssrName: "publicPath",
4894
4939
  docLink: "https://www.remotion.dev/docs/options/public-path",
4895
4940
  getValue: ({ commandLine }) => {
4896
- if (commandLine[cliFlag81] !== undefined) {
4941
+ if (commandLine[cliFlag82] !== undefined) {
4897
4942
  return {
4898
4943
  source: "cli",
4899
- value: commandLine[cliFlag81]
4944
+ value: commandLine[cliFlag82]
4900
4945
  };
4901
4946
  }
4902
4947
  if (currentPublicPath !== null) {
@@ -4914,30 +4959,30 @@ var publicPathOption = {
4914
4959
  currentPublicPath = value;
4915
4960
  },
4916
4961
  type: "",
4917
- id: cliFlag81
4962
+ id: cliFlag82
4918
4963
  };
4919
4964
 
4920
4965
  // src/options/repro.tsx
4921
- import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4966
+ import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4922
4967
  var enableRepro = false;
4923
4968
  var setRepro = (should) => {
4924
4969
  enableRepro = should;
4925
4970
  };
4926
- var cliFlag82 = "repro";
4971
+ var cliFlag83 = "repro";
4927
4972
  var reproOption = {
4928
4973
  name: "Create reproduction",
4929
4974
  addedIn: "4.0.88",
4930
- cliFlag: cliFlag82,
4931
- description: () => /* @__PURE__ */ jsx78(Fragment78, {
4975
+ cliFlag: cliFlag83,
4976
+ description: () => /* @__PURE__ */ jsx79(Fragment79, {
4932
4977
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
4933
4978
  }),
4934
4979
  ssrName: "repro",
4935
4980
  docLink: "https://www.remotion.dev/docs/options/repro",
4936
4981
  type: false,
4937
4982
  getValue: ({ commandLine }) => {
4938
- if (commandLine[cliFlag82] !== undefined && commandLine[cliFlag82] !== null) {
4983
+ if (commandLine[cliFlag83] !== undefined && commandLine[cliFlag83] !== null) {
4939
4984
  return {
4940
- value: commandLine[cliFlag82],
4985
+ value: commandLine[cliFlag83],
4941
4986
  source: "cli"
4942
4987
  };
4943
4988
  }
@@ -4953,28 +4998,28 @@ var reproOption = {
4953
4998
  };
4954
4999
  },
4955
5000
  setConfig: setRepro,
4956
- id: cliFlag82
5001
+ id: cliFlag83
4957
5002
  };
4958
5003
 
4959
5004
  // src/options/rspack.tsx
4960
- import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
5005
+ import { jsx as jsx80, Fragment as Fragment80 } from "react/jsx-runtime";
4961
5006
  var rspackEnabled = false;
4962
5007
  var configuredRspackEnabled = null;
4963
- var cliFlag83 = "rspack";
5008
+ var cliFlag84 = "rspack";
4964
5009
  var rspackOption = {
4965
5010
  name: "Rspack",
4966
5011
  addedIn: "4.0.502",
4967
- cliFlag: cliFlag83,
4968
- description: () => /* @__PURE__ */ jsx79(Fragment79, {
5012
+ cliFlag: cliFlag84,
5013
+ description: () => /* @__PURE__ */ jsx80(Fragment80, {
4969
5014
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
4970
5015
  }),
4971
5016
  ssrName: null,
4972
5017
  docLink: "https://www.remotion.dev/docs/options/rspack",
4973
5018
  type: false,
4974
5019
  getValue: ({ commandLine }) => {
4975
- if (commandLine[cliFlag83] !== undefined && commandLine[cliFlag83] !== null) {
5020
+ if (commandLine[cliFlag84] !== undefined && commandLine[cliFlag84] !== null) {
4976
5021
  return {
4977
- value: commandLine[cliFlag83],
5022
+ value: commandLine[cliFlag84],
4978
5023
  source: "cli"
4979
5024
  };
4980
5025
  }
@@ -4992,22 +5037,22 @@ var rspackOption = {
4992
5037
  rspackEnabled = false;
4993
5038
  configuredRspackEnabled = null;
4994
5039
  },
4995
- id: cliFlag83
5040
+ id: cliFlag84
4996
5041
  };
4997
5042
 
4998
5043
  // src/options/runs.tsx
4999
- import { jsx as jsx80, jsxs as jsxs57, Fragment as Fragment80 } from "react/jsx-runtime";
5044
+ import { jsx as jsx81, jsxs as jsxs58, Fragment as Fragment81 } from "react/jsx-runtime";
5000
5045
  var DEFAULT_RUNS = 3;
5001
5046
  var currentRuns = DEFAULT_RUNS;
5002
- var cliFlag84 = "runs";
5047
+ var cliFlag85 = "runs";
5003
5048
  var runsOption = {
5004
5049
  name: "Benchmark runs",
5005
5050
  addedIn: "3.2.28",
5006
- cliFlag: cliFlag84,
5007
- description: () => /* @__PURE__ */ jsxs57(Fragment80, {
5051
+ cliFlag: cliFlag85,
5052
+ description: () => /* @__PURE__ */ jsxs58(Fragment81, {
5008
5053
  children: [
5009
5054
  "Specify how many times the video should be rendered during a benchmark. Default ",
5010
- /* @__PURE__ */ jsx80("code", {
5055
+ /* @__PURE__ */ jsx81("code", {
5011
5056
  children: DEFAULT_RUNS
5012
5057
  }),
5013
5058
  "."
@@ -5017,10 +5062,10 @@ var runsOption = {
5017
5062
  docLink: "https://www.remotion.dev/docs/options/runs",
5018
5063
  type: DEFAULT_RUNS,
5019
5064
  getValue: ({ commandLine }) => {
5020
- if (commandLine[cliFlag84] !== undefined) {
5021
- const value = Number(commandLine[cliFlag84]);
5065
+ if (commandLine[cliFlag85] !== undefined) {
5066
+ const value = Number(commandLine[cliFlag85]);
5022
5067
  if (isNaN(value) || value < 1) {
5023
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag84]}`);
5068
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag85]}`);
5024
5069
  }
5025
5070
  return { value, source: "cli" };
5026
5071
  }
@@ -5035,22 +5080,22 @@ var runsOption = {
5035
5080
  }
5036
5081
  currentRuns = value;
5037
5082
  },
5038
- id: cliFlag84
5083
+ id: cliFlag85
5039
5084
  };
5040
5085
 
5041
5086
  // src/options/sample-rate.tsx
5042
- import { jsx as jsx81, jsxs as jsxs58, Fragment as Fragment81 } from "react/jsx-runtime";
5043
- var cliFlag85 = "sample-rate";
5087
+ import { jsx as jsx82, jsxs as jsxs59, Fragment as Fragment82 } from "react/jsx-runtime";
5088
+ var cliFlag86 = "sample-rate";
5044
5089
  var currentSampleRate = 48000;
5045
5090
  var sampleRateOption = {
5046
5091
  name: "Sample Rate",
5047
5092
  addedIn: "4.0.448",
5048
- cliFlag: cliFlag85,
5049
- description: () => /* @__PURE__ */ jsxs58(Fragment81, {
5093
+ cliFlag: cliFlag86,
5094
+ description: () => /* @__PURE__ */ jsxs59(Fragment82, {
5050
5095
  children: [
5051
5096
  "Controls the sample rate of the output audio. The default is",
5052
5097
  " ",
5053
- /* @__PURE__ */ jsx81("code", {
5098
+ /* @__PURE__ */ jsx82("code", {
5054
5099
  children: "48000"
5055
5100
  }),
5056
5101
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -5060,8 +5105,8 @@ var sampleRateOption = {
5060
5105
  docLink: "https://www.remotion.dev/docs/options/sample-rate",
5061
5106
  type: 48000,
5062
5107
  getValue: ({ commandLine }, compositionSampleRate) => {
5063
- if (commandLine[cliFlag85] !== undefined) {
5064
- return { value: commandLine[cliFlag85], source: "cli" };
5108
+ if (commandLine[cliFlag86] !== undefined) {
5109
+ return { value: commandLine[cliFlag86], source: "cli" };
5065
5110
  }
5066
5111
  if (currentSampleRate !== 48000) {
5067
5112
  return { value: currentSampleRate, source: "config file" };
@@ -5077,13 +5122,13 @@ var sampleRateOption = {
5077
5122
  setConfig: (value) => {
5078
5123
  currentSampleRate = value;
5079
5124
  },
5080
- id: cliFlag85
5125
+ id: cliFlag86
5081
5126
  };
5082
5127
 
5083
5128
  // src/options/scale.tsx
5084
- import { jsx as jsx82, jsxs as jsxs59, Fragment as Fragment82 } from "react/jsx-runtime";
5129
+ import { jsx as jsx83, jsxs as jsxs60, Fragment as Fragment83 } from "react/jsx-runtime";
5085
5130
  var currentScale = 1;
5086
- var cliFlag86 = "scale";
5131
+ var cliFlag87 = "scale";
5087
5132
  var validateScale = (value) => {
5088
5133
  if (typeof value !== "number") {
5089
5134
  throw new Error("scale must be a number.");
@@ -5092,15 +5137,15 @@ var validateScale = (value) => {
5092
5137
  var scaleOption = {
5093
5138
  name: "Scale",
5094
5139
  addedIn: "2.6.7",
5095
- cliFlag: cliFlag86,
5096
- description: () => /* @__PURE__ */ jsxs59(Fragment82, {
5140
+ cliFlag: cliFlag87,
5141
+ description: () => /* @__PURE__ */ jsxs60(Fragment83, {
5097
5142
  children: [
5098
5143
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
5099
- /* @__PURE__ */ jsx82("code", {
5144
+ /* @__PURE__ */ jsx83("code", {
5100
5145
  children: "1.5"
5101
5146
  }),
5102
5147
  ". See ",
5103
- /* @__PURE__ */ jsx82("a", {
5148
+ /* @__PURE__ */ jsx83("a", {
5104
5149
  href: "https://www.remotion.dev/docs/scaling",
5105
5150
  children: "Scaling"
5106
5151
  }),
@@ -5111,11 +5156,11 @@ var scaleOption = {
5111
5156
  docLink: "https://www.remotion.dev/docs/options/scale",
5112
5157
  type: 0,
5113
5158
  getValue: ({ commandLine }) => {
5114
- if (commandLine[cliFlag86] !== undefined) {
5115
- validateScale(commandLine[cliFlag86]);
5159
+ if (commandLine[cliFlag87] !== undefined) {
5160
+ validateScale(commandLine[cliFlag87]);
5116
5161
  return {
5117
5162
  source: "cli",
5118
- value: commandLine[cliFlag86]
5163
+ value: commandLine[cliFlag87]
5119
5164
  };
5120
5165
  }
5121
5166
  if (currentScale !== null) {
@@ -5132,28 +5177,28 @@ var scaleOption = {
5132
5177
  setConfig: (scale) => {
5133
5178
  currentScale = scale;
5134
5179
  },
5135
- id: cliFlag86
5180
+ id: cliFlag87
5136
5181
  };
5137
5182
 
5138
5183
  // src/options/sequence-activity-limit.tsx
5139
- import { NoReactInternals as NoReactInternals6 } from "remotion/no-react";
5140
- import { jsx as jsx83, jsxs as jsxs60, Fragment as Fragment83 } from "react/jsx-runtime";
5184
+ import { NoReactInternals as NoReactInternals8 } from "remotion/no-react";
5185
+ import { jsx as jsx84, jsxs as jsxs61, Fragment as Fragment84 } from "react/jsx-runtime";
5141
5186
  var configuredLimit = null;
5142
- var cliFlag87 = "sequence-activity-limit";
5187
+ var cliFlag88 = "sequence-activity-limit";
5143
5188
  var sequenceActivityLimitOption = {
5144
5189
  name: "Sequence Activity limit",
5145
5190
  addedIn: "4.0.536",
5146
- cliFlag: cliFlag87,
5147
- id: cliFlag87,
5148
- description: () => /* @__PURE__ */ jsxs60(Fragment83, {
5191
+ cliFlag: cliFlag88,
5192
+ id: cliFlag88,
5193
+ description: () => /* @__PURE__ */ jsxs61(Fragment84, {
5149
5194
  children: [
5150
5195
  "Limit hidden scenes discovered by Sequence Activity in the Remotion Studio, including nested sequences and their ancestors. Visible, premounted, and postmounted scenes always render. Defaults to",
5151
5196
  " ",
5152
- /* @__PURE__ */ jsx83("code", {
5197
+ /* @__PURE__ */ jsx84("code", {
5153
5198
  children: "Infinity"
5154
5199
  }),
5155
5200
  " for unlimited discovery without admission delays. Must be a non-negative safe integer or ",
5156
- /* @__PURE__ */ jsx83("code", {
5201
+ /* @__PURE__ */ jsx84("code", {
5157
5202
  children: "Infinity"
5158
5203
  }),
5159
5204
  ". Set to 0 to disable Sequence Activity. Finite limits prioritize nearby scenes. Does not affect rendering."
@@ -5163,15 +5208,15 @@ var sequenceActivityLimitOption = {
5163
5208
  docLink: "https://www.remotion.dev/docs/options/sequence-activity-limit",
5164
5209
  type: 0,
5165
5210
  getValue: ({ commandLine }) => {
5166
- if (commandLine[cliFlag87] !== undefined) {
5167
- const value = commandLine[cliFlag87] === "Infinity" ? Infinity : commandLine[cliFlag87];
5211
+ if (commandLine[cliFlag88] !== undefined) {
5212
+ const value = commandLine[cliFlag88] === "Infinity" ? Infinity : commandLine[cliFlag88];
5168
5213
  if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
5169
5214
  throw new Error("Sequence Activity limit must be a non-negative safe integer or Infinity.");
5170
5215
  }
5171
5216
  return { value, source: "cli" };
5172
5217
  }
5173
5218
  return {
5174
- value: configuredLimit ?? NoReactInternals6.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
5219
+ value: configuredLimit ?? NoReactInternals8.DEFAULT_SEQUENCE_ACTIVITY_LIMIT,
5175
5220
  source: "config"
5176
5221
  };
5177
5222
  },
@@ -5188,18 +5233,18 @@ var sequenceActivityLimitOption = {
5188
5233
  };
5189
5234
 
5190
5235
  // src/options/show-layer-frame-numbers.tsx
5191
- import { jsx as jsx84, jsxs as jsxs61, Fragment as Fragment84 } from "react/jsx-runtime";
5236
+ import { jsx as jsx85, jsxs as jsxs62, Fragment as Fragment85 } from "react/jsx-runtime";
5192
5237
  var configuredShowLayerFrameNumbers = null;
5193
- var cliFlag88 = "show-layer-frame-numbers";
5238
+ var cliFlag89 = "show-layer-frame-numbers";
5194
5239
  var showLayerFrameNumbersOption = {
5195
5240
  name: "Show frame numbers of layer",
5196
5241
  addedIn: "4.0.535",
5197
- cliFlag: cliFlag88,
5198
- id: cliFlag88,
5199
- description: () => /* @__PURE__ */ jsxs61(Fragment84, {
5242
+ cliFlag: cliFlag89,
5243
+ id: cliFlag89,
5244
+ description: () => /* @__PURE__ */ jsxs62(Fragment85, {
5200
5245
  children: [
5201
5246
  "Show the current frame number inside sequence layers in the Studio timeline. Defaults to ",
5202
- /* @__PURE__ */ jsx84("code", {
5247
+ /* @__PURE__ */ jsx85("code", {
5203
5248
  children: "false"
5204
5249
  }),
5205
5250
  "."
@@ -5209,8 +5254,8 @@ var showLayerFrameNumbersOption = {
5209
5254
  docLink: "https://www.remotion.dev/docs/options/show-layer-frame-numbers",
5210
5255
  type: false,
5211
5256
  getValue: ({ commandLine }) => {
5212
- if (commandLine[cliFlag88] !== undefined && commandLine[cliFlag88] !== null) {
5213
- return { value: commandLine[cliFlag88], source: "cli" };
5257
+ if (commandLine[cliFlag89] !== undefined && commandLine[cliFlag89] !== null) {
5258
+ return { value: commandLine[cliFlag89], source: "cli" };
5214
5259
  }
5215
5260
  return { value: configuredShowLayerFrameNumbers ?? false, source: "config" };
5216
5261
  },
@@ -5227,19 +5272,19 @@ var showLayerFrameNumbersOption = {
5227
5272
  };
5228
5273
 
5229
5274
  // src/options/show-premounting.tsx
5230
- import { jsx as jsx85, jsxs as jsxs62, Fragment as Fragment85 } from "react/jsx-runtime";
5275
+ import { jsx as jsx86, jsxs as jsxs63, Fragment as Fragment86 } from "react/jsx-runtime";
5231
5276
  var configuredShowPremounting = null;
5232
- var cliFlag89 = "show-premounting";
5277
+ var cliFlag90 = "show-premounting";
5233
5278
  var showPremountingOption = {
5234
5279
  name: "Show premounting in the Studio timeline",
5235
5280
  addedIn: "4.0.535",
5236
- cliFlag: cliFlag89,
5237
- id: cliFlag89,
5238
- description: () => /* @__PURE__ */ jsxs62(Fragment85, {
5281
+ cliFlag: cliFlag90,
5282
+ id: cliFlag90,
5283
+ description: () => /* @__PURE__ */ jsxs63(Fragment86, {
5239
5284
  children: [
5240
5285
  "Show premounting indicators in the Studio timeline. Defaults to",
5241
5286
  " ",
5242
- /* @__PURE__ */ jsx85("code", {
5287
+ /* @__PURE__ */ jsx86("code", {
5243
5288
  children: "false"
5244
5289
  }),
5245
5290
  "."
@@ -5249,8 +5294,8 @@ var showPremountingOption = {
5249
5294
  docLink: "https://www.remotion.dev/docs/options/show-premounting",
5250
5295
  type: true,
5251
5296
  getValue: ({ commandLine }) => {
5252
- if (commandLine[cliFlag89] !== undefined && commandLine[cliFlag89] !== null) {
5253
- return { value: commandLine[cliFlag89], source: "cli" };
5297
+ if (commandLine[cliFlag90] !== undefined && commandLine[cliFlag90] !== null) {
5298
+ return { value: commandLine[cliFlag90], source: "cli" };
5254
5299
  }
5255
5300
  return { value: configuredShowPremounting ?? false, source: "config" };
5256
5301
  },
@@ -5267,19 +5312,19 @@ var showPremountingOption = {
5267
5312
  };
5268
5313
 
5269
5314
  // src/options/skip-skills.tsx
5270
- import { jsx as jsx86, Fragment as Fragment86 } from "react/jsx-runtime";
5271
- var cliFlag90 = "skip-skills";
5315
+ import { jsx as jsx87, Fragment as Fragment87 } from "react/jsx-runtime";
5316
+ var cliFlag91 = "skip-skills";
5272
5317
  var skipSkillsOption = {
5273
5318
  name: "Skip Skills",
5274
5319
  addedIn: "4.0.503",
5275
- cliFlag: cliFlag90,
5276
- description: () => /* @__PURE__ */ jsx86(Fragment86, {
5320
+ cliFlag: cliFlag91,
5321
+ description: () => /* @__PURE__ */ jsx87(Fragment87, {
5277
5322
  children: "Do not update installed Remotion Agent Skills while upgrading Remotion."
5278
5323
  }),
5279
5324
  ssrName: null,
5280
5325
  docLink: "https://www.remotion.dev/docs/options/skip-skills",
5281
5326
  getValue: ({ commandLine }) => {
5282
- if (commandLine[cliFlag90]) {
5327
+ if (commandLine[cliFlag91]) {
5283
5328
  return {
5284
5329
  source: "cli",
5285
5330
  value: true
@@ -5294,16 +5339,16 @@ var skipSkillsOption = {
5294
5339
  throw new Error("Cannot skip updating skills via config file");
5295
5340
  },
5296
5341
  type: false,
5297
- id: cliFlag90
5342
+ id: cliFlag91
5298
5343
  };
5299
5344
 
5300
5345
  // src/options/still-frame.tsx
5301
- import { NoReactInternals as NoReactInternals7 } from "remotion/no-react";
5302
- import { jsx as jsx87, jsxs as jsxs63, Fragment as Fragment87 } from "react/jsx-runtime";
5303
- var cliFlag91 = "frame";
5346
+ import { NoReactInternals as NoReactInternals9 } from "remotion/no-react";
5347
+ import { jsx as jsx88, jsxs as jsxs64, Fragment as Fragment88 } from "react/jsx-runtime";
5348
+ var cliFlag92 = "frame";
5304
5349
  var currentFrame = null;
5305
5350
  var validate3 = (frame) => {
5306
- NoReactInternals7.validateFrame({
5351
+ NoReactInternals9.validateFrame({
5307
5352
  frame,
5308
5353
  durationInFrames: Infinity,
5309
5354
  allowFloats: false
@@ -5312,17 +5357,17 @@ var validate3 = (frame) => {
5312
5357
  var stillFrameOption = {
5313
5358
  name: "Frame",
5314
5359
  addedIn: "2.3.0",
5315
- cliFlag: cliFlag91,
5316
- description: () => /* @__PURE__ */ jsxs63(Fragment87, {
5360
+ cliFlag: cliFlag92,
5361
+ description: () => /* @__PURE__ */ jsxs64(Fragment88, {
5317
5362
  children: [
5318
5363
  "Which frame should be rendered when rendering a still. Default",
5319
5364
  " ",
5320
- /* @__PURE__ */ jsx87("code", {
5365
+ /* @__PURE__ */ jsx88("code", {
5321
5366
  children: "0"
5322
5367
  }),
5323
5368
  ". From v3.2.27, negative values are allowed, with",
5324
5369
  " ",
5325
- /* @__PURE__ */ jsx87("code", {
5370
+ /* @__PURE__ */ jsx88("code", {
5326
5371
  children: "-1"
5327
5372
  }),
5328
5373
  " being the last frame."
@@ -5331,8 +5376,8 @@ var stillFrameOption = {
5331
5376
  ssrName: "frame",
5332
5377
  docLink: "https://www.remotion.dev/docs/options/frame",
5333
5378
  getValue: ({ commandLine }) => {
5334
- if (commandLine[cliFlag91] !== undefined) {
5335
- const frame = Number(commandLine[cliFlag91]);
5379
+ if (commandLine[cliFlag92] !== undefined) {
5380
+ const frame = Number(commandLine[cliFlag92]);
5336
5381
  validate3(frame);
5337
5382
  return {
5338
5383
  source: "cli",
@@ -5357,25 +5402,25 @@ var stillFrameOption = {
5357
5402
  currentFrame = value;
5358
5403
  },
5359
5404
  type: 0,
5360
- id: cliFlag91
5405
+ id: cliFlag92
5361
5406
  };
5362
5407
 
5363
5408
  // src/options/still-image-format.tsx
5364
- import { jsx as jsx88, jsxs as jsxs64, Fragment as Fragment88 } from "react/jsx-runtime";
5409
+ import { jsx as jsx89, jsxs as jsxs65, Fragment as Fragment89 } from "react/jsx-runtime";
5365
5410
  var currentStillImageFormat = null;
5366
- var cliFlag92 = "image-format";
5411
+ var cliFlag93 = "image-format";
5367
5412
  var stillImageFormatOption = {
5368
5413
  name: "Still Image Format",
5369
5414
  addedIn: "2.3.0",
5370
- cliFlag: cliFlag92,
5371
- description: () => /* @__PURE__ */ jsxs64(Fragment88, {
5415
+ cliFlag: cliFlag93,
5416
+ description: () => /* @__PURE__ */ jsxs65(Fragment89, {
5372
5417
  children: [
5373
5418
  "The image format to use when rendering a still. Must be one of",
5374
5419
  " ",
5375
5420
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
5376
5421
  ". Default:",
5377
5422
  " ",
5378
- /* @__PURE__ */ jsx88("code", {
5423
+ /* @__PURE__ */ jsx89("code", {
5379
5424
  children: '"png"'
5380
5425
  }),
5381
5426
  "."
@@ -5385,8 +5430,8 @@ var stillImageFormatOption = {
5385
5430
  docLink: "https://www.remotion.dev/docs/options/still-image-format",
5386
5431
  type: null,
5387
5432
  getValue: ({ commandLine }) => {
5388
- if (commandLine[cliFlag92] !== undefined) {
5389
- const value = commandLine[cliFlag92];
5433
+ if (commandLine[cliFlag93] !== undefined) {
5434
+ const value = commandLine[cliFlag93];
5390
5435
  if (!validStillImageFormats.includes(value)) {
5391
5436
  throw new Error(`Invalid still image format: ${value}. Must be one of: ${validStillImageFormats.join(", ")}`);
5392
5437
  }
@@ -5424,16 +5469,16 @@ var stillImageFormatOption = {
5424
5469
 
5425
5470
  // src/options/throw-if-site-exists.tsx
5426
5471
  var DEFAULT5 = false;
5427
- var cliFlag93 = "throw-if-site-exists";
5472
+ var cliFlag94 = "throw-if-site-exists";
5428
5473
  var throwIfSiteExistsOption = {
5429
- cliFlag: cliFlag93,
5474
+ cliFlag: cliFlag94,
5430
5475
  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.`,
5431
5476
  docLink: "https://www.remotion.dev/docs/options/throw-if-site-exists",
5432
5477
  getValue: ({ commandLine }) => {
5433
- if (commandLine[cliFlag93]) {
5478
+ if (commandLine[cliFlag94]) {
5434
5479
  return {
5435
5480
  source: "cli",
5436
- value: commandLine[cliFlag93]
5481
+ value: commandLine[cliFlag94]
5437
5482
  };
5438
5483
  }
5439
5484
  return {
@@ -5448,42 +5493,42 @@ var throwIfSiteExistsOption = {
5448
5493
  },
5449
5494
  ssrName: "throwIfSiteExists",
5450
5495
  type: false,
5451
- id: cliFlag93
5496
+ id: cliFlag94
5452
5497
  };
5453
5498
 
5454
5499
  // src/options/timeout.tsx
5455
- import { jsx as jsx89, jsxs as jsxs65, Fragment as Fragment89 } from "react/jsx-runtime";
5500
+ import { jsx as jsx90, jsxs as jsxs66, Fragment as Fragment90 } from "react/jsx-runtime";
5456
5501
  var currentTimeout = DEFAULT_TIMEOUT;
5457
5502
  var validate4 = (value) => {
5458
5503
  if (typeof value !== "number") {
5459
5504
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value));
5460
5505
  }
5461
5506
  };
5462
- var cliFlag94 = "timeout";
5507
+ var cliFlag95 = "timeout";
5463
5508
  var delayRenderTimeoutInMillisecondsOption = {
5464
5509
  name: "delayRender() timeout",
5465
5510
  addedIn: "2.6.3",
5466
- cliFlag: cliFlag94,
5467
- description: () => /* @__PURE__ */ jsxs65(Fragment89, {
5511
+ cliFlag: cliFlag95,
5512
+ description: () => /* @__PURE__ */ jsxs66(Fragment90, {
5468
5513
  children: [
5469
5514
  "A number describing how long the render may take to resolve all",
5470
5515
  " ",
5471
- /* @__PURE__ */ jsx89("a", {
5516
+ /* @__PURE__ */ jsx90("a", {
5472
5517
  href: "https://remotion.dev/docs/delay-render",
5473
- children: /* @__PURE__ */ jsx89("code", {
5518
+ children: /* @__PURE__ */ jsx90("code", {
5474
5519
  children: "delayRender()"
5475
5520
  })
5476
5521
  }),
5477
5522
  " ",
5478
5523
  "calls",
5479
5524
  " ",
5480
- /* @__PURE__ */ jsx89("a", {
5525
+ /* @__PURE__ */ jsx90("a", {
5481
5526
  style: { fontSize: "inherit" },
5482
5527
  href: "https://remotion.dev/docs/timeout",
5483
5528
  children: "before it times out"
5484
5529
  }),
5485
5530
  ". Default: ",
5486
- /* @__PURE__ */ jsx89("code", {
5531
+ /* @__PURE__ */ jsx90("code", {
5487
5532
  children: "30000"
5488
5533
  })
5489
5534
  ]
@@ -5492,10 +5537,10 @@ var delayRenderTimeoutInMillisecondsOption = {
5492
5537
  docLink: "https://www.remotion.dev/docs/options/timeout",
5493
5538
  type: 0,
5494
5539
  getValue: ({ commandLine }) => {
5495
- if (commandLine[cliFlag94] !== undefined) {
5540
+ if (commandLine[cliFlag95] !== undefined) {
5496
5541
  return {
5497
5542
  source: "cli",
5498
- value: commandLine[cliFlag94]
5543
+ value: commandLine[cliFlag95]
5499
5544
  };
5500
5545
  }
5501
5546
  if (currentTimeout !== null) {
@@ -5514,28 +5559,28 @@ var delayRenderTimeoutInMillisecondsOption = {
5514
5559
  validate4(value);
5515
5560
  currentTimeout = value;
5516
5561
  },
5517
- id: cliFlag94
5562
+ id: cliFlag95
5518
5563
  };
5519
5564
 
5520
5565
  // src/options/user-agent.tsx
5521
- import { jsx as jsx90, Fragment as Fragment90 } from "react/jsx-runtime";
5566
+ import { jsx as jsx91, Fragment as Fragment91 } from "react/jsx-runtime";
5522
5567
  var userAgent = null;
5523
- var cliFlag95 = "user-agent";
5568
+ var cliFlag96 = "user-agent";
5524
5569
  var userAgentOption = {
5525
5570
  name: "User agent",
5526
5571
  addedIn: "3.3.83",
5527
- cliFlag: cliFlag95,
5528
- description: () => /* @__PURE__ */ jsx90(Fragment90, {
5572
+ cliFlag: cliFlag96,
5573
+ description: () => /* @__PURE__ */ jsx91(Fragment91, {
5529
5574
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
5530
5575
  }),
5531
5576
  ssrName: "userAgent",
5532
5577
  docLink: "https://www.remotion.dev/docs/options/user-agent",
5533
5578
  type: null,
5534
5579
  getValue: ({ commandLine }) => {
5535
- if (commandLine[cliFlag95] !== undefined) {
5580
+ if (commandLine[cliFlag96] !== undefined) {
5536
5581
  return {
5537
5582
  source: "cli",
5538
- value: commandLine[cliFlag95]
5583
+ value: commandLine[cliFlag96]
5539
5584
  };
5540
5585
  }
5541
5586
  if (userAgent !== null) {
@@ -5552,26 +5597,26 @@ var userAgentOption = {
5552
5597
  setConfig: (value) => {
5553
5598
  userAgent = value;
5554
5599
  },
5555
- id: cliFlag95
5600
+ id: cliFlag96
5556
5601
  };
5557
5602
 
5558
5603
  // src/options/version-flag.tsx
5559
- import { jsx as jsx91, Fragment as Fragment91 } from "react/jsx-runtime";
5560
- var cliFlag96 = "version";
5604
+ import { jsx as jsx92, Fragment as Fragment92 } from "react/jsx-runtime";
5605
+ var cliFlag97 = "version";
5561
5606
  var versionFlagOption = {
5562
5607
  name: "Version",
5563
5608
  addedIn: "4.0.15",
5564
- cliFlag: cliFlag96,
5565
- description: () => /* @__PURE__ */ jsx91(Fragment91, {
5609
+ cliFlag: cliFlag97,
5610
+ description: () => /* @__PURE__ */ jsx92(Fragment92, {
5566
5611
  children: "Install a specific version. Also enables downgrading to an older version."
5567
5612
  }),
5568
5613
  ssrName: null,
5569
5614
  docLink: "https://www.remotion.dev/docs/options/version",
5570
5615
  getValue: ({ commandLine }) => {
5571
- if (commandLine[cliFlag96] !== undefined) {
5616
+ if (commandLine[cliFlag97] !== undefined) {
5572
5617
  return {
5573
5618
  source: "cli",
5574
- value: String(commandLine[cliFlag96])
5619
+ value: String(commandLine[cliFlag97])
5575
5620
  };
5576
5621
  }
5577
5622
  return {
@@ -5583,31 +5628,31 @@ var versionFlagOption = {
5583
5628
  throw new Error("Cannot set version via config file");
5584
5629
  },
5585
5630
  type: "",
5586
- id: cliFlag96
5631
+ id: cliFlag97
5587
5632
  };
5588
5633
 
5589
5634
  // src/options/video-bitrate.tsx
5590
- import { jsx as jsx92, jsxs as jsxs66, Fragment as Fragment92 } from "react/jsx-runtime";
5635
+ import { jsx as jsx93, jsxs as jsxs67, Fragment as Fragment93 } from "react/jsx-runtime";
5591
5636
  var videoBitrate = null;
5592
- var cliFlag97 = "video-bitrate";
5637
+ var cliFlag98 = "video-bitrate";
5593
5638
  var videoBitrateOption = {
5594
5639
  name: "Video Bitrate",
5595
5640
  addedIn: "3.2.32",
5596
- cliFlag: cliFlag97,
5597
- description: () => /* @__PURE__ */ jsxs66(Fragment92, {
5641
+ cliFlag: cliFlag98,
5642
+ description: () => /* @__PURE__ */ jsxs67(Fragment93, {
5598
5643
  children: [
5599
5644
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
5600
5645
  "'",
5601
5646
  "s",
5602
- /* @__PURE__ */ jsx92("code", {
5647
+ /* @__PURE__ */ jsx93("code", {
5603
5648
  children: "-b:v"
5604
5649
  }),
5605
5650
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
5606
- /* @__PURE__ */ jsx92("code", {
5651
+ /* @__PURE__ */ jsx93("code", {
5607
5652
  children: "512K"
5608
5653
  }),
5609
5654
  " for 512 kbps, ",
5610
- /* @__PURE__ */ jsx92("code", {
5655
+ /* @__PURE__ */ jsx93("code", {
5611
5656
  children: "1M"
5612
5657
  }),
5613
5658
  " for 1 Mbps."
@@ -5617,10 +5662,10 @@ var videoBitrateOption = {
5617
5662
  docLink: "https://www.remotion.dev/docs/options/video-bitrate",
5618
5663
  type: "",
5619
5664
  getValue: ({ commandLine }) => {
5620
- if (commandLine[cliFlag97] !== undefined) {
5665
+ if (commandLine[cliFlag98] !== undefined) {
5621
5666
  return {
5622
5667
  source: "cli",
5623
- value: commandLine[cliFlag97]
5668
+ value: commandLine[cliFlag98]
5624
5669
  };
5625
5670
  }
5626
5671
  if (videoBitrate !== null) {
@@ -5637,35 +5682,35 @@ var videoBitrateOption = {
5637
5682
  setConfig: (bitrate) => {
5638
5683
  videoBitrate = bitrate;
5639
5684
  },
5640
- id: cliFlag97
5685
+ id: cliFlag98
5641
5686
  };
5642
5687
 
5643
5688
  // src/options/video-cache-size.tsx
5644
- import { jsx as jsx93, jsxs as jsxs67, Fragment as Fragment93 } from "react/jsx-runtime";
5689
+ import { jsx as jsx94, jsxs as jsxs68, Fragment as Fragment94 } from "react/jsx-runtime";
5645
5690
  var mediaCacheSizeInBytes = null;
5646
- var cliFlag98 = "media-cache-size-in-bytes";
5691
+ var cliFlag99 = "media-cache-size-in-bytes";
5647
5692
  var mediaCacheSizeInBytesOption = {
5648
5693
  name: "@remotion/media cache size",
5649
5694
  addedIn: "4.0.352",
5650
- cliFlag: cliFlag98,
5651
- description: () => /* @__PURE__ */ jsxs67(Fragment93, {
5695
+ cliFlag: cliFlag99,
5696
+ description: () => /* @__PURE__ */ jsxs68(Fragment94, {
5652
5697
  children: [
5653
5698
  "Specify the memory budget for decoded media cached by",
5654
5699
  " ",
5655
- /* @__PURE__ */ jsx93("code", {
5700
+ /* @__PURE__ */ jsx94("code", {
5656
5701
  children: "<Video>"
5657
5702
  }),
5658
5703
  " and ",
5659
- /* @__PURE__ */ jsx93("code", {
5704
+ /* @__PURE__ */ jsx94("code", {
5660
5705
  children: "<Audio>"
5661
5706
  }),
5662
5707
  " from",
5663
5708
  " ",
5664
- /* @__PURE__ */ jsx93("code", {
5709
+ /* @__PURE__ */ jsx94("code", {
5665
5710
  children: "@remotion/media"
5666
5711
  }),
5667
5712
  ", in bytes. This value also determines the maximum read cache size for each distinct media source. It is not a limit on total memory usage. ",
5668
- /* @__PURE__ */ jsx93("br", {}),
5713
+ /* @__PURE__ */ jsx94("br", {}),
5669
5714
  "The default is half of the available system memory when the render starts."
5670
5715
  ]
5671
5716
  }),
@@ -5673,10 +5718,10 @@ var mediaCacheSizeInBytesOption = {
5673
5718
  docLink: "https://www.remotion.dev/docs/options/media-cache-size-in-bytes",
5674
5719
  type: 0,
5675
5720
  getValue: ({ commandLine }) => {
5676
- if (commandLine[cliFlag98] !== undefined) {
5721
+ if (commandLine[cliFlag99] !== undefined) {
5677
5722
  return {
5678
5723
  source: "cli",
5679
- value: commandLine[cliFlag98]
5724
+ value: commandLine[cliFlag99]
5680
5725
  };
5681
5726
  }
5682
5727
  if (mediaCacheSizeInBytes !== null) {
@@ -5693,11 +5738,11 @@ var mediaCacheSizeInBytesOption = {
5693
5738
  setConfig: (size) => {
5694
5739
  mediaCacheSizeInBytes = size ?? null;
5695
5740
  },
5696
- id: cliFlag98
5741
+ id: cliFlag99
5697
5742
  };
5698
5743
 
5699
5744
  // src/options/video-codec.tsx
5700
- import { jsx as jsx94, Fragment as Fragment94 } from "react/jsx-runtime";
5745
+ import { jsx as jsx95, Fragment as Fragment95 } from "react/jsx-runtime";
5701
5746
  var codec;
5702
5747
  var setCodec = (newCodec) => {
5703
5748
  if (newCodec === undefined) {
@@ -5722,12 +5767,12 @@ var deriveCodecsFromFilename = (extension) => {
5722
5767
  possible: makeFileExtensionMap()[normalizedExtension] ?? []
5723
5768
  };
5724
5769
  };
5725
- var cliFlag99 = "codec";
5770
+ var cliFlag100 = "codec";
5726
5771
  var videoCodecOption = {
5727
5772
  name: "Codec",
5728
5773
  addedIn: "1.4.0",
5729
- cliFlag: cliFlag99,
5730
- description: () => /* @__PURE__ */ jsx94(Fragment94, {
5774
+ cliFlag: cliFlag100,
5775
+ description: () => /* @__PURE__ */ jsx95(Fragment95, {
5731
5776
  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."
5732
5777
  }),
5733
5778
  ssrName: "codec",
@@ -5750,7 +5795,7 @@ var videoCodecOption = {
5750
5795
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
5751
5796
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
5752
5797
  }
5753
- const cliArgument = commandLine[cliFlag99];
5798
+ const cliArgument = commandLine[cliFlag100];
5754
5799
  if (cliArgument) {
5755
5800
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
5756
5801
  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.`);
@@ -5799,31 +5844,31 @@ var videoCodecOption = {
5799
5844
  reset: () => {
5800
5845
  codec = undefined;
5801
5846
  },
5802
- id: cliFlag99
5847
+ id: cliFlag100
5803
5848
  };
5804
5849
 
5805
5850
  // src/options/video-image-format.tsx
5806
- import { jsx as jsx95, jsxs as jsxs68, Fragment as Fragment95 } from "react/jsx-runtime";
5851
+ import { jsx as jsx96, jsxs as jsxs69, Fragment as Fragment96 } from "react/jsx-runtime";
5807
5852
  var currentVideoImageFormat = null;
5808
- var cliFlag100 = "image-format";
5853
+ var cliFlag101 = "image-format";
5809
5854
  var videoImageFormatOption = {
5810
5855
  name: "Video Image Format",
5811
5856
  addedIn: "1.4.0",
5812
- cliFlag: cliFlag100,
5813
- description: () => /* @__PURE__ */ jsxs68(Fragment95, {
5857
+ cliFlag: cliFlag101,
5858
+ description: () => /* @__PURE__ */ jsxs69(Fragment96, {
5814
5859
  children: [
5815
5860
  "The image format to use when rendering frames for a video. Must be one of",
5816
5861
  " ",
5817
5862
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
5818
5863
  ". Default:",
5819
5864
  " ",
5820
- /* @__PURE__ */ jsx95("code", {
5865
+ /* @__PURE__ */ jsx96("code", {
5821
5866
  children: '"jpeg"'
5822
5867
  }),
5823
5868
  ". JPEG is faster, but does not support transparency.",
5824
- /* @__PURE__ */ jsx95("br", {}),
5869
+ /* @__PURE__ */ jsx96("br", {}),
5825
5870
  "When ",
5826
- /* @__PURE__ */ jsx95("a", {
5871
+ /* @__PURE__ */ jsx96("a", {
5827
5872
  href: "/docs/shared-memory-capture",
5828
5873
  children: "shared-memory capture"
5829
5874
  }),
@@ -5840,8 +5885,8 @@ var videoImageFormatOption = {
5840
5885
  value: options.uiVideoImageFormat
5841
5886
  };
5842
5887
  }
5843
- if (commandLine[cliFlag100] !== undefined) {
5844
- const value = commandLine[cliFlag100];
5888
+ if (commandLine[cliFlag101] !== undefined) {
5889
+ const value = commandLine[cliFlag101];
5845
5890
  if (!validVideoImageFormats.includes(value)) {
5846
5891
  throw new Error(`Invalid video image format: ${value}. Must be one of: ${validVideoImageFormats.join(", ")}`);
5847
5892
  }
@@ -5905,13 +5950,13 @@ var videoImageFormatOption = {
5905
5950
  };
5906
5951
 
5907
5952
  // src/options/webhook-custom-data.tsx
5908
- import { jsxs as jsxs69, Fragment as Fragment96 } from "react/jsx-runtime";
5909
- var cliFlag101 = "webhook-custom-data";
5953
+ import { jsxs as jsxs70, Fragment as Fragment97 } from "react/jsx-runtime";
5954
+ var cliFlag102 = "webhook-custom-data";
5910
5955
  var webhookCustomDataOption = {
5911
5956
  name: "Webhook custom data",
5912
5957
  addedIn: "4.0.25",
5913
- cliFlag: cliFlag101,
5914
- description: (type) => /* @__PURE__ */ jsxs69(Fragment96, {
5958
+ cliFlag: cliFlag102,
5959
+ description: (type) => /* @__PURE__ */ jsxs70(Fragment97, {
5915
5960
  children: [
5916
5961
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
5917
5962
  " ",
@@ -5927,25 +5972,25 @@ var webhookCustomDataOption = {
5927
5972
  setConfig: () => {
5928
5973
  throw new Error("Not implemented");
5929
5974
  },
5930
- id: cliFlag101
5975
+ id: cliFlag102
5931
5976
  };
5932
5977
 
5933
5978
  // src/options/webpack-poll.tsx
5934
- import { jsx as jsx96, Fragment as Fragment97 } from "react/jsx-runtime";
5935
- var cliFlag102 = "webpack-poll";
5979
+ import { jsx as jsx97, Fragment as Fragment98 } from "react/jsx-runtime";
5980
+ var cliFlag103 = "webpack-poll";
5936
5981
  var webpackPolling = null;
5937
5982
  var webpackPollOption = {
5938
5983
  name: "Webpack Polling",
5939
5984
  addedIn: "3.3.11",
5940
- cliFlag: cliFlag102,
5941
- description: () => /* @__PURE__ */ jsx96(Fragment97, {
5985
+ cliFlag: cliFlag103,
5986
+ description: () => /* @__PURE__ */ jsx97(Fragment98, {
5942
5987
  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."
5943
5988
  }),
5944
5989
  ssrName: null,
5945
5990
  docLink: "https://www.remotion.dev/docs/options/webpack-poll",
5946
5991
  getValue: ({ commandLine }) => {
5947
- if (commandLine[cliFlag102] !== undefined) {
5948
- const val = commandLine[cliFlag102];
5992
+ if (commandLine[cliFlag103] !== undefined) {
5993
+ const val = commandLine[cliFlag103];
5949
5994
  if (typeof val !== "number") {
5950
5995
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
5951
5996
  }
@@ -5972,11 +6017,11 @@ var webpackPollOption = {
5972
6017
  webpackPolling = value;
5973
6018
  },
5974
6019
  type: 0,
5975
- id: cliFlag102
6020
+ id: cliFlag103
5976
6021
  };
5977
6022
 
5978
6023
  // src/options/x264-preset.tsx
5979
- import { jsx as jsx97, jsxs as jsxs70, Fragment as Fragment98 } from "react/jsx-runtime";
6024
+ import { jsx as jsx98, jsxs as jsxs71, Fragment as Fragment99 } from "react/jsx-runtime";
5980
6025
  var x264PresetOptions = [
5981
6026
  "ultrafast",
5982
6027
  "superfast",
@@ -5990,64 +6035,64 @@ var x264PresetOptions = [
5990
6035
  "placebo"
5991
6036
  ];
5992
6037
  var preset = null;
5993
- var cliFlag103 = "x264-preset";
6038
+ var cliFlag104 = "x264-preset";
5994
6039
  var DEFAULT_PRESET = "medium";
5995
6040
  var x264Option = {
5996
6041
  name: "x264 Preset",
5997
6042
  addedIn: "4.0.22",
5998
- cliFlag: cliFlag103,
5999
- description: () => /* @__PURE__ */ jsxs70(Fragment98, {
6043
+ cliFlag: cliFlag104,
6044
+ description: () => /* @__PURE__ */ jsxs71(Fragment99, {
6000
6045
  children: [
6001
6046
  "Sets a x264 preset profile. Only applies to videos rendered with",
6002
6047
  " ",
6003
- /* @__PURE__ */ jsx97("code", {
6048
+ /* @__PURE__ */ jsx98("code", {
6004
6049
  children: "h264"
6005
6050
  }),
6006
6051
  " codec.",
6007
- /* @__PURE__ */ jsx97("br", {}),
6052
+ /* @__PURE__ */ jsx98("br", {}),
6008
6053
  "Possible values: ",
6009
- /* @__PURE__ */ jsx97("code", {
6054
+ /* @__PURE__ */ jsx98("code", {
6010
6055
  children: "superfast"
6011
6056
  }),
6012
6057
  ", ",
6013
- /* @__PURE__ */ jsx97("code", {
6058
+ /* @__PURE__ */ jsx98("code", {
6014
6059
  children: "veryfast"
6015
6060
  }),
6016
6061
  ",",
6017
6062
  " ",
6018
- /* @__PURE__ */ jsx97("code", {
6063
+ /* @__PURE__ */ jsx98("code", {
6019
6064
  children: "faster"
6020
6065
  }),
6021
6066
  ", ",
6022
- /* @__PURE__ */ jsx97("code", {
6067
+ /* @__PURE__ */ jsx98("code", {
6023
6068
  children: "fast"
6024
6069
  }),
6025
6070
  ", ",
6026
- /* @__PURE__ */ jsx97("code", {
6071
+ /* @__PURE__ */ jsx98("code", {
6027
6072
  children: "medium"
6028
6073
  }),
6029
6074
  ",",
6030
6075
  " ",
6031
- /* @__PURE__ */ jsx97("code", {
6076
+ /* @__PURE__ */ jsx98("code", {
6032
6077
  children: "slow"
6033
6078
  }),
6034
6079
  ", ",
6035
- /* @__PURE__ */ jsx97("code", {
6080
+ /* @__PURE__ */ jsx98("code", {
6036
6081
  children: "slower"
6037
6082
  }),
6038
6083
  ", ",
6039
- /* @__PURE__ */ jsx97("code", {
6084
+ /* @__PURE__ */ jsx98("code", {
6040
6085
  children: "veryslow"
6041
6086
  }),
6042
6087
  ",",
6043
6088
  " ",
6044
- /* @__PURE__ */ jsx97("code", {
6089
+ /* @__PURE__ */ jsx98("code", {
6045
6090
  children: "placebo"
6046
6091
  }),
6047
6092
  ".",
6048
- /* @__PURE__ */ jsx97("br", {}),
6093
+ /* @__PURE__ */ jsx98("br", {}),
6049
6094
  "Default: ",
6050
- /* @__PURE__ */ jsx97("code", {
6095
+ /* @__PURE__ */ jsx98("code", {
6051
6096
  children: DEFAULT_PRESET
6052
6097
  })
6053
6098
  ]
@@ -6056,7 +6101,7 @@ var x264Option = {
6056
6101
  docLink: "https://www.remotion.dev/docs/options/x264-preset",
6057
6102
  type: "fast",
6058
6103
  getValue: ({ commandLine }) => {
6059
- const value = commandLine[cliFlag103];
6104
+ const value = commandLine[cliFlag104];
6060
6105
  if (typeof value !== "undefined") {
6061
6106
  return { value, source: "cli" };
6062
6107
  }
@@ -6068,7 +6113,7 @@ var x264Option = {
6068
6113
  setConfig: (profile) => {
6069
6114
  preset = profile;
6070
6115
  },
6071
- id: cliFlag103
6116
+ id: cliFlag104
6072
6117
  };
6073
6118
 
6074
6119
  // src/options/index.tsx
@@ -6138,6 +6183,7 @@ var allOptions = {
6138
6183
  ignoreCertificateErrorsOption,
6139
6184
  imageSequencePatternOption,
6140
6185
  mediaCacheSizeInBytesOption,
6186
+ preferredEffectBackendOption,
6141
6187
  darkModeOption,
6142
6188
  defaultCodingAgentOption,
6143
6189
  defaultEditorOption,
@@ -6182,6 +6228,7 @@ var allOptions = {
6182
6228
  var optionsMap = {
6183
6229
  renderMedia: {
6184
6230
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6231
+ preferredEffectBackend: preferredEffectBackendOption,
6185
6232
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6186
6233
  offthreadVideoThreads: offthreadVideoThreadsOption,
6187
6234
  videoBitrate: videoBitrateOption,
@@ -6216,6 +6263,7 @@ var optionsMap = {
6216
6263
  },
6217
6264
  renderStill: {
6218
6265
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6266
+ preferredEffectBackend: preferredEffectBackendOption,
6219
6267
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6220
6268
  offthreadVideoThreads: offthreadVideoThreadsOption,
6221
6269
  jpegQuality: jpegQualityOption,
@@ -6229,6 +6277,7 @@ var optionsMap = {
6229
6277
  },
6230
6278
  getCompositions: {
6231
6279
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6280
+ preferredEffectBackend: preferredEffectBackendOption,
6232
6281
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6233
6282
  offthreadVideoThreads: offthreadVideoThreadsOption,
6234
6283
  logLevel: logLevelOption,
@@ -6239,6 +6288,7 @@ var optionsMap = {
6239
6288
  },
6240
6289
  selectComposition: {
6241
6290
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6291
+ preferredEffectBackend: preferredEffectBackendOption,
6242
6292
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6243
6293
  offthreadVideoThreads: offthreadVideoThreadsOption,
6244
6294
  logLevel: logLevelOption,
@@ -6249,6 +6299,7 @@ var optionsMap = {
6249
6299
  },
6250
6300
  renderFrames: {
6251
6301
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6302
+ preferredEffectBackend: preferredEffectBackendOption,
6252
6303
  forSeamlessAacConcatenation: forSeamlessAacConcatenationOption,
6253
6304
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6254
6305
  offthreadVideoThreads: offthreadVideoThreadsOption,
@@ -6264,6 +6315,7 @@ var optionsMap = {
6264
6315
  renderMediaOnLambda: {
6265
6316
  disableSharedMemoryCapture: disableSharedMemoryCaptureOption,
6266
6317
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6318
+ preferredEffectBackend: preferredEffectBackendOption,
6267
6319
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6268
6320
  offthreadVideoThreads: offthreadVideoThreadsOption,
6269
6321
  videoBitrate: videoBitrateOption,
@@ -6285,6 +6337,7 @@ var optionsMap = {
6285
6337
  },
6286
6338
  renderStillOnLambda: {
6287
6339
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6340
+ preferredEffectBackend: preferredEffectBackendOption,
6288
6341
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6289
6342
  offthreadVideoThreads: offthreadVideoThreadsOption,
6290
6343
  jpegQuality: jpegQualityOption,
@@ -6297,6 +6350,7 @@ var optionsMap = {
6297
6350
  },
6298
6351
  getCompositionsOnLambda: {
6299
6352
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6353
+ preferredEffectBackend: preferredEffectBackendOption,
6300
6354
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6301
6355
  logLevel: logLevelOption,
6302
6356
  timeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption
@@ -6304,6 +6358,7 @@ var optionsMap = {
6304
6358
  renderMediaOnCloudRun: {
6305
6359
  disableSharedMemoryCapture: disableSharedMemoryCaptureOption,
6306
6360
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6361
+ preferredEffectBackend: preferredEffectBackendOption,
6307
6362
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6308
6363
  offthreadVideoThreads: offthreadVideoThreadsOption,
6309
6364
  numberOfGifLoops: numberOfGifLoopsOption,
@@ -6322,16 +6377,19 @@ var optionsMap = {
6322
6377
  scale: scaleOption,
6323
6378
  crf: crfOption,
6324
6379
  jpegQuality: jpegQualityOption,
6325
- sampleRate: sampleRateOption
6380
+ sampleRate: sampleRateOption,
6381
+ licenseKey: licenseKeyOption
6326
6382
  },
6327
6383
  renderStillOnCloudRun: {
6328
6384
  mediaCacheSizeInBytes: mediaCacheSizeInBytesOption,
6385
+ preferredEffectBackend: preferredEffectBackendOption,
6329
6386
  offthreadVideoCacheSizeInBytes: offthreadVideoCacheSizeInBytesOption,
6330
6387
  offthreadVideoThreads: offthreadVideoThreadsOption,
6331
6388
  logLevel: logLevelOption,
6332
6389
  scale: scaleOption,
6333
6390
  jpegQuality: jpegQualityOption,
6334
- delayRenderTimeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption
6391
+ delayRenderTimeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption,
6392
+ licenseKey: licenseKeyOption
6335
6393
  },
6336
6394
  ensureBrowser: {
6337
6395
  logLevel: logLevelOption,
@@ -6353,7 +6411,7 @@ var optionsMap = {
6353
6411
  };
6354
6412
 
6355
6413
  // src/validate-output-filename.ts
6356
- import { NoReactInternals as NoReactInternals8 } from "remotion/no-react";
6414
+ import { NoReactInternals as NoReactInternals10 } from "remotion/no-react";
6357
6415
  var validateOutputFilename = ({
6358
6416
  codec,
6359
6417
  audioCodecSetting,
@@ -6365,7 +6423,7 @@ var validateOutputFilename = ({
6365
6423
  throw new TypeError(`The codec "${codec}" is not supported. Supported codecs are: ${Object.keys(defaultFileExtensionMap).join(", ")}`);
6366
6424
  }
6367
6425
  const normalizedExtension = extension === null ? null : extension.toLowerCase();
6368
- if (NoReactInternals8.ENABLE_V5_BREAKING_CHANGES && codec === "aac" && (normalizedExtension === "mpg" || normalizedExtension === "mpeg")) {
6426
+ if (NoReactInternals10.ENABLE_V5_BREAKING_CHANGES && codec === "aac" && (normalizedExtension === "mpg" || normalizedExtension === "mpeg")) {
6369
6427
  throw new Error("AAC output with .mpg or .mpeg extensions is not supported. Use .aac for raw ADTS AAC or .m4a for an MPEG-4 audio container.");
6370
6428
  }
6371
6429
  const map = defaultFileExtensionMap[codec];
@@ -6399,7 +6457,7 @@ var BrowserSafeApis = {
6399
6457
  validAudioCodecs,
6400
6458
  getDefaultCrfForCodec,
6401
6459
  getValidCrfRanges,
6402
- proResProfileOptions: NoReactInternals9.proResProfileOptions,
6460
+ proResProfileOptions: NoReactInternals11.proResProfileOptions,
6403
6461
  x264PresetOptions,
6404
6462
  hardwareAccelerationOptions,
6405
6463
  validPixelFormats,