@remotion/renderer 4.0.536 → 4.0.538

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 (292) hide show
  1. package/dist/aac-priming.d.ts +2 -1
  2. package/dist/assets/apply-tone-frequency.d.ts +2 -1
  3. package/dist/assets/apply-tone-frequency.js +8 -1
  4. package/dist/assets/calculate-asset-positions.js +2 -0
  5. package/dist/assets/convert-assets-to-file-urls.d.ts +2 -1
  6. package/dist/assets/download-and-map-assets-to-file.d.ts +3 -2
  7. package/dist/assets/get-audio-channels.d.ts +3 -2
  8. package/dist/assets/inline-audio-mixing.d.ts +2 -1
  9. package/dist/assets/types.d.ts +2 -1
  10. package/dist/browser/Browser.d.ts +5 -5
  11. package/dist/browser/Browser.js +74 -65
  12. package/dist/browser/BrowserFetcher.d.ts +7 -5
  13. package/dist/browser/BrowserPage.d.ts +4 -4
  14. package/dist/browser/BrowserPage.js +222 -226
  15. package/dist/browser/BrowserRunner.d.ts +2 -1
  16. package/dist/browser/Connection.js +109 -96
  17. package/dist/browser/ConsoleMessage.d.ts +1 -1
  18. package/dist/browser/ConsoleMessage.js +16 -9
  19. package/dist/browser/DOMWorld.d.ts +1 -1
  20. package/dist/browser/DOMWorld.js +91 -77
  21. package/dist/browser/Errors.js +4 -2
  22. package/dist/browser/EventEmitter.js +1 -2
  23. package/dist/browser/ExecutionContext.js +120 -117
  24. package/dist/browser/FrameManager.js +244 -249
  25. package/dist/browser/HTTPRequest.js +22 -11
  26. package/dist/browser/HTTPResponse.js +16 -3
  27. package/dist/browser/JSHandle.js +30 -17
  28. package/dist/browser/LifecycleWatcher.js +128 -122
  29. package/dist/browser/NetworkEventManager.js +40 -31
  30. package/dist/browser/NetworkManager.js +203 -210
  31. package/dist/browser/NodeWebSocketTransport.js +0 -3
  32. package/dist/browser/Target.d.ts +1 -1
  33. package/dist/browser/Target.js +39 -32
  34. package/dist/browser/TaskQueue.js +18 -5
  35. package/dist/browser/TimeoutSettings.js +25 -12
  36. package/dist/browser/browser-download-progress-bar.d.ts +2 -1
  37. package/dist/browser/get-chrome-download-url.d.ts +3 -2
  38. package/dist/browser/handle-failed-resource.d.ts +2 -1
  39. package/dist/call-ffmpeg.d.ts +7 -6
  40. package/dist/can-concat-seamlessly.d.ts +4 -2
  41. package/dist/can-use-parallel-encoding.d.ts +2 -1
  42. package/dist/check-version-requirements.d.ts +2 -1
  43. package/dist/client.d.ts +302 -280
  44. package/dist/client.js +2 -2
  45. package/dist/codec-supports-media.d.ts +4 -3
  46. package/dist/codec.d.ts +1 -1
  47. package/dist/collect-assets.d.ts +1 -1
  48. package/dist/combine-audio.d.ts +4 -2
  49. package/dist/combine-chunks.d.ts +2 -1
  50. package/dist/combine-video-streams.d.ts +4 -2
  51. package/dist/compositor/compositor.d.ts +4 -3
  52. package/dist/compositor/get-executable-path.d.ts +4 -4
  53. package/dist/compress-audio.d.ts +4 -2
  54. package/dist/create-audio.d.ts +4 -2
  55. package/dist/create-silent-audio.d.ts +2 -1
  56. package/dist/crf.d.ts +6 -4
  57. package/dist/cycle-browser-tabs.d.ts +2 -1
  58. package/dist/ensure-browser.d.ts +1 -52
  59. package/dist/error-handling/handle-javascript-exception.d.ts +1 -1
  60. package/dist/error-handling/handle-javascript-exception.js +0 -5
  61. package/dist/error-handling/symbolicateable-error.d.ts +1 -1
  62. package/dist/error-handling/symbolicateable-error.js +0 -4
  63. package/dist/error-handling.js +1 -1
  64. package/dist/esm/client.mjs +306 -238
  65. package/dist/esm/index.mjs +108 -88
  66. package/dist/extract-audio.d.ts +3 -2
  67. package/dist/ffmpeg-args.d.ts +12 -6
  68. package/dist/finalize-fast-start.d.ts +2 -1
  69. package/dist/get-browser-instance.d.ts +6 -4
  70. package/dist/get-codec-name.d.ts +6 -3
  71. package/dist/get-compositions.d.ts +2 -1
  72. package/dist/get-concurrency.d.ts +1 -1
  73. package/dist/get-concurrency.js +1 -1
  74. package/dist/get-duration-from-frame-range.d.ts +1 -1
  75. package/dist/get-extension-from-codec.d.ts +2 -1
  76. package/dist/get-frame-padded-index.d.ts +2 -1
  77. package/dist/get-local-browser-executable.d.ts +4 -2
  78. package/dist/get-port.d.ts +1 -1
  79. package/dist/get-prores-profile-name.d.ts +3 -1
  80. package/dist/get-silent-parts.d.ts +5 -4
  81. package/dist/get-video-metadata.d.ts +4 -3
  82. package/dist/get-video-threads-flag.d.ts +2 -1
  83. package/dist/goto-page-or-throw.d.ts +1 -1
  84. package/dist/guess-extension-for-media.d.ts +2 -1
  85. package/dist/image-format.d.ts +6 -5
  86. package/dist/index.d.ts +213 -440
  87. package/dist/index.js +18 -18
  88. package/dist/is-audio-codec.d.ts +2 -1
  89. package/dist/log-level.d.ts +2 -2
  90. package/dist/logger.d.ts +6 -6
  91. package/dist/make-page.d.ts +5 -3
  92. package/dist/memory/from-macos-sysctl.d.ts +2 -1
  93. package/dist/memory/from-proc-meminfo.d.ts +2 -1
  94. package/dist/memory/get-available-memory.d.ts +2 -1
  95. package/dist/merge-inline-audio-tracks.d.ts +2 -1
  96. package/dist/mux-video-and-audio.d.ts +5 -3
  97. package/dist/offthread-video-server.d.ts +2 -1
  98. package/dist/offthread-video-server.js +6 -4
  99. package/dist/open-browser.d.ts +2 -2
  100. package/dist/options/allow-html-in-canvas.js +1 -2
  101. package/dist/options/api-key.d.ts +1 -1
  102. package/dist/options/api-key.js +1 -3
  103. package/dist/options/ask-ai.js +1 -1
  104. package/dist/options/audio-bitrate.js +1 -9
  105. package/dist/options/audio-codec.d.ts +23 -20
  106. package/dist/options/beep-on-finish.js +1 -1
  107. package/dist/options/benchmark-concurrencies.js +1 -2
  108. package/dist/options/binaries-directory.d.ts +1 -1
  109. package/dist/options/binaries-directory.js +1 -9
  110. package/dist/options/browser-executable.d.ts +1 -1
  111. package/dist/options/browser-executable.js +1 -1
  112. package/dist/options/browser.js +1 -2
  113. package/dist/options/bundle-cache.js +1 -2
  114. package/dist/options/canvas-tabs.js +1 -1
  115. package/dist/options/chrome-mode.d.ts +4 -4
  116. package/dist/options/chrome-mode.js +1 -6
  117. package/dist/options/color-space.d.ts +9 -5
  118. package/dist/options/color-space.js +1 -8
  119. package/dist/options/concurrency.d.ts +1 -1
  120. package/dist/options/concurrency.js +1 -5
  121. package/dist/options/config.js +1 -1
  122. package/dist/options/crf.js +1 -1
  123. package/dist/options/cross-site-isolation.js +1 -2
  124. package/dist/options/dark-mode.js +1 -2
  125. package/dist/options/default-coding-agent.d.ts +2 -2
  126. package/dist/options/default-coding-agent.js +1 -2
  127. package/dist/options/default-editor.d.ts +4 -4
  128. package/dist/options/default-editor.js +1 -3
  129. package/dist/options/default-premount-in-seconds.js +1 -1
  130. package/dist/options/delete-after.d.ts +1 -1
  131. package/dist/options/delete-after.js +1 -11
  132. package/dist/options/disable-shared-memory-capture.js +1 -3
  133. package/dist/options/disable-web-security.d.ts +1 -1
  134. package/dist/options/disable-web-security.js +1 -1
  135. package/dist/options/disallow-parallel-encoding.js +1 -1
  136. package/dist/options/enable-cancellation.js +1 -2
  137. package/dist/options/enable-lambda-insights.js +1 -2
  138. package/dist/options/enable-multiprocess-on-linux.js +1 -13
  139. package/dist/options/encoding-buffer-size.d.ts +4 -2
  140. package/dist/options/encoding-buffer-size.js +1 -3
  141. package/dist/options/encoding-max-rate.d.ts +1 -1
  142. package/dist/options/encoding-max-rate.js +1 -3
  143. package/dist/options/enforce-audio.js +1 -15
  144. package/dist/options/env-file.js +1 -3
  145. package/dist/options/every-nth-frame.d.ts +1 -1
  146. package/dist/options/every-nth-frame.js +1 -6
  147. package/dist/options/experimental-keep-audio-context-alive.js +1 -3
  148. package/dist/options/folder-expiry.d.ts +1 -1
  149. package/dist/options/folder-expiry.js +1 -4
  150. package/dist/options/for-seamless-aac-concatenation.js +1 -3
  151. package/dist/options/force-new-studio.js +1 -1
  152. package/dist/options/frames.d.ts +1 -1
  153. package/dist/options/frames.js +1 -4
  154. package/dist/options/gl.d.ts +6 -6
  155. package/dist/options/gl.js +3 -28
  156. package/dist/options/gop-size.js +1 -3
  157. package/dist/options/hardware-acceleration.d.ts +3 -3
  158. package/dist/options/headless.js +1 -1
  159. package/dist/options/ignore-certificate-errors.d.ts +1 -1
  160. package/dist/options/ignore-certificate-errors.js +1 -1
  161. package/dist/options/image-sequence-pattern.js +1 -5
  162. package/dist/options/image-sequence.js +1 -1
  163. package/dist/options/index.d.ts +91 -72
  164. package/dist/options/index.js +2 -0
  165. package/dist/options/interactivity.js +1 -1
  166. package/dist/options/ipv4.js +1 -1
  167. package/dist/options/is-production.d.ts +1 -1
  168. package/dist/options/is-production.js +1 -4
  169. package/dist/options/jpeg-quality.d.ts +1 -1
  170. package/dist/options/jpeg-quality.js +1 -4
  171. package/dist/options/keyboard-shortcuts.js +1 -1
  172. package/dist/options/latency-hint.d.ts +1 -1
  173. package/dist/options/latency-hint.js +1 -10
  174. package/dist/options/license-key.d.ts +1 -1
  175. package/dist/options/license-key.js +1 -2
  176. package/dist/options/log-level.d.ts +4 -3
  177. package/dist/options/log-level.js +1 -16
  178. package/dist/options/metadata.js +2 -7
  179. package/dist/options/mute.js +1 -1
  180. package/dist/options/no-open.js +1 -1
  181. package/dist/options/number-of-gif-loops.d.ts +1 -1
  182. package/dist/options/number-of-gif-loops.js +1 -13
  183. package/dist/options/number-of-shared-audio-tags.js +1 -1
  184. package/dist/options/offthreadvideo-cache-size.d.ts +1 -1
  185. package/dist/options/offthreadvideo-cache-size.js +1 -11
  186. package/dist/options/offthreadvideo-threads.d.ts +1 -1
  187. package/dist/options/offthreadvideo-threads.js +1 -2
  188. package/dist/options/on-browser-download.d.ts +1 -1
  189. package/dist/options/on-browser-download.js +1 -2
  190. package/dist/options/options-map.d.ts +180 -180
  191. package/dist/options/out-dir.d.ts +1 -1
  192. package/dist/options/out-dir.js +1 -4
  193. package/dist/options/override-duration.js +1 -1
  194. package/dist/options/override-fps.js +1 -1
  195. package/dist/options/override-height.js +1 -1
  196. package/dist/options/override-width.js +1 -1
  197. package/dist/options/overwrite.js +1 -5
  198. package/dist/options/package-manager.d.ts +1 -1
  199. package/dist/options/package-manager.js +1 -12
  200. package/dist/options/pixel-format.d.ts +6 -5
  201. package/dist/options/pixel-format.js +1 -2
  202. package/dist/options/port.js +1 -1
  203. package/dist/options/prefer-lossless.d.ts +1 -1
  204. package/dist/options/prefer-lossless.js +1 -4
  205. package/dist/options/{experimental-tracks.d.ts → preserve-pitch-on-playback.d.ts} +3 -3
  206. package/dist/options/preserve-pitch-on-playback.js +36 -0
  207. package/dist/options/preview-sample-rate.js +1 -3
  208. package/dist/options/props.js +1 -5
  209. package/dist/options/prores-profile.d.ts +2 -2
  210. package/dist/options/prores-profile.js +1 -5
  211. package/dist/options/public-dir.d.ts +1 -1
  212. package/dist/options/public-dir.js +1 -2
  213. package/dist/options/public-license-key.d.ts +1 -1
  214. package/dist/options/public-license-key.js +1 -3
  215. package/dist/options/public-path.d.ts +1 -1
  216. package/dist/options/public-path.js +1 -5
  217. package/dist/options/repro.d.ts +3 -1
  218. package/dist/options/repro.js +1 -1
  219. package/dist/options/rspack.js +1 -1
  220. package/dist/options/runs.js +1 -3
  221. package/dist/options/sample-rate.d.ts +2 -2
  222. package/dist/options/sample-rate.js +1 -2
  223. package/dist/options/scale.js +1 -5
  224. package/dist/options/sequence-activity-limit.js +1 -4
  225. package/dist/options/show-layer-frame-numbers.js +1 -3
  226. package/dist/options/show-premounting.js +1 -2
  227. package/dist/options/skip-skills.js +1 -1
  228. package/dist/options/still-frame.d.ts +1 -1
  229. package/dist/options/still-frame.js +1 -3
  230. package/dist/options/still-image-format.d.ts +3 -2
  231. package/dist/options/still-image-format.js +1 -2
  232. package/dist/options/timeout.d.ts +1 -1
  233. package/dist/options/timeout.js +1 -4
  234. package/dist/options/user-agent.d.ts +1 -1
  235. package/dist/options/user-agent.js +1 -1
  236. package/dist/options/version-flag.js +1 -1
  237. package/dist/options/video-bitrate.js +1 -7
  238. package/dist/options/video-cache-size.d.ts +1 -1
  239. package/dist/options/video-cache-size.js +1 -7
  240. package/dist/options/video-codec.d.ts +9 -7
  241. package/dist/options/video-codec.js +1 -1
  242. package/dist/options/video-image-format.d.ts +6 -5
  243. package/dist/options/video-image-format.js +1 -6
  244. package/dist/options/webhook-custom-data.d.ts +1 -1
  245. package/dist/options/webhook-custom-data.js +1 -1
  246. package/dist/options/webpack-poll.js +1 -1
  247. package/dist/options/x264-preset.d.ts +8 -7
  248. package/dist/options/x264-preset.js +1 -23
  249. package/dist/p-limit.d.ts +1 -1
  250. package/dist/pixel-format.d.ts +4 -3
  251. package/dist/pool.js +0 -2
  252. package/dist/port-config.d.ts +6 -5
  253. package/dist/prespawn-ffmpeg.d.ts +1 -1
  254. package/dist/print-useful-error-message.d.ts +2 -1
  255. package/dist/probe-encoder.d.ts +8 -5
  256. package/dist/probe-shared-memory-capture.d.ts +4 -2
  257. package/dist/prores-profile.d.ts +4 -2
  258. package/dist/puppeteer-evaluate.d.ts +2 -2
  259. package/dist/puppeteer-screenshot.d.ts +4 -3
  260. package/dist/pure.d.ts +12 -15
  261. package/dist/remotion-shared-memory.d.ts +1 -1
  262. package/dist/remotion-shared-memory.js +199 -187
  263. package/dist/render-frame-and-retry-target-close.d.ts +10 -10
  264. package/dist/render-frame-with-option-to-reject.d.ts +7 -5
  265. package/dist/render-frame-with-option-to-reject.js +1 -5
  266. package/dist/render-frame.d.ts +8 -6
  267. package/dist/render-frames.d.ts +1 -40
  268. package/dist/render-has-audio.d.ts +3 -2
  269. package/dist/replace-browser.d.ts +2 -1
  270. package/dist/repro.d.ts +1 -1
  271. package/dist/screenshot-task.d.ts +4 -3
  272. package/dist/seek-to-frame.d.ts +3 -2
  273. package/dist/select-composition.d.ts +1 -20
  274. package/dist/serve-handler/index.d.ts +1 -1
  275. package/dist/serve-handler/range-parser.d.ts +2 -2
  276. package/dist/serve-static.d.ts +2 -1
  277. package/dist/serve-static.js +4 -4
  278. package/dist/set-props-and-env.js +2 -6
  279. package/dist/stringify-ffmpeg-filter.d.ts +2 -1
  280. package/dist/stringify-ffmpeg-filter.js +20 -2
  281. package/dist/take-frame.d.ts +1 -1
  282. package/dist/test-gpu.d.ts +4 -2
  283. package/dist/validate-even-dimensions-with-codec.d.ts +4 -2
  284. package/dist/validate-ffmpeg-override.d.ts +1 -1
  285. package/dist/validate-number-of-gif-loops.d.ts +2 -1
  286. package/dist/validate-output-filename.d.ts +4 -2
  287. package/package.json +16 -16
  288. package/dist/options/experimental-sequence-activity-limit.d.ts +0 -19
  289. package/dist/options/experimental-sequence-activity-limit.js +0 -40
  290. package/dist/options/experimental-sequence-activity.d.ts +0 -19
  291. package/dist/options/experimental-sequence-activity.js +0 -38
  292. package/dist/options/experimental-tracks.js +0 -43
@@ -4542,18 +4542,85 @@ var preferLosslessAudioOption = {
4542
4542
  id: cliFlag74
4543
4543
  };
4544
4544
 
4545
- // src/options/preview-sample-rate.tsx
4545
+ // src/options/preserve-pitch-on-playback.tsx
4546
4546
  import { jsx as jsx71, jsxs as jsxs50, Fragment as Fragment71 } from "react/jsx-runtime";
4547
- var cliFlag75 = "preview-sample-rate";
4547
+ var configuredPreservePitchOnPlayback = null;
4548
+ var cliFlag75 = "preserve-pitch-on-playback";
4549
+ var preservePitchOnPlaybackOption = {
4550
+ name: "Preserve pitch on playback",
4551
+ addedIn: "4.0.538",
4552
+ cliFlag: cliFlag75,
4553
+ id: cliFlag75,
4554
+ description: () => /* @__PURE__ */ jsxs50(Fragment71, {
4555
+ children: [
4556
+ "Preserve audio pitch when changing the Studio playback speed. Defaults to",
4557
+ " ",
4558
+ /* @__PURE__ */ jsx71("code", {
4559
+ children: "true"
4560
+ }),
4561
+ ". Applies to ",
4562
+ /* @__PURE__ */ jsx71("code", {
4563
+ children: "Audio"
4564
+ }),
4565
+ " and ",
4566
+ /* @__PURE__ */ jsx71("code", {
4567
+ children: "Video"
4568
+ }),
4569
+ " ",
4570
+ "from ",
4571
+ /* @__PURE__ */ jsx71("code", {
4572
+ children: "@remotion/media"
4573
+ }),
4574
+ ", independently of their clip-level",
4575
+ " ",
4576
+ /* @__PURE__ */ jsx71("code", {
4577
+ children: "preservePitch"
4578
+ }),
4579
+ " props. Does not affect rendered output or native media components, including native fallbacks. Set",
4580
+ " ",
4581
+ /* @__PURE__ */ jsx71("code", {
4582
+ children: "--preserve-pitch-on-playback=false"
4583
+ }),
4584
+ " to disable."
4585
+ ]
4586
+ }),
4587
+ ssrName: null,
4588
+ docLink: "https://www.remotion.dev/docs/options/preserve-pitch-on-playback",
4589
+ type: false,
4590
+ getValue: ({ commandLine }) => {
4591
+ const value = commandLine[cliFlag75];
4592
+ if (value !== undefined && value !== null) {
4593
+ if (typeof value !== "boolean") {
4594
+ throw new Error("--preserve-pitch-on-playback expects a boolean");
4595
+ }
4596
+ return { value, source: "cli" };
4597
+ }
4598
+ return { value: configuredPreservePitchOnPlayback ?? true, source: "config" };
4599
+ },
4600
+ setConfig(value) {
4601
+ if (typeof value !== "boolean") {
4602
+ throw new Error("Config.setPreservePitchOnPlayback() expects a boolean");
4603
+ }
4604
+ configuredPreservePitchOnPlayback = value;
4605
+ },
4606
+ getConfigValue: () => configuredPreservePitchOnPlayback,
4607
+ reset: () => {
4608
+ configuredPreservePitchOnPlayback = null;
4609
+ }
4610
+ };
4611
+
4612
+ // 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";
4548
4615
  var currentPreviewSampleRate = null;
4549
4616
  var previewSampleRateOption = {
4550
4617
  name: "Preview Sample Rate",
4551
4618
  addedIn: "4.0.470",
4552
- cliFlag: cliFlag75,
4553
- description: () => /* @__PURE__ */ jsxs50(Fragment71, {
4619
+ cliFlag: cliFlag76,
4620
+ description: () => /* @__PURE__ */ jsxs51(Fragment72, {
4554
4621
  children: [
4555
4622
  "Controls the sample rate used for audio playback during preview. When unset, Remotion uses ",
4556
- /* @__PURE__ */ jsx71("code", {
4623
+ /* @__PURE__ */ jsx72("code", {
4557
4624
  children: "48000"
4558
4625
  }),
4559
4626
  " Hz."
@@ -4563,8 +4630,8 @@ var previewSampleRateOption = {
4563
4630
  docLink: "https://www.remotion.dev/docs/options/preview-sample-rate",
4564
4631
  type: null,
4565
4632
  getValue: ({ commandLine }) => {
4566
- if (commandLine[cliFlag75] !== undefined) {
4567
- return { value: commandLine[cliFlag75], source: "cli" };
4633
+ if (commandLine[cliFlag76] !== undefined) {
4634
+ return { value: commandLine[cliFlag76], source: "cli" };
4568
4635
  }
4569
4636
  if (currentPreviewSampleRate !== null) {
4570
4637
  return { value: currentPreviewSampleRate, source: "config file" };
@@ -4574,20 +4641,20 @@ var previewSampleRateOption = {
4574
4641
  setConfig: (value) => {
4575
4642
  currentPreviewSampleRate = value;
4576
4643
  },
4577
- id: cliFlag75
4644
+ id: cliFlag76
4578
4645
  };
4579
4646
 
4580
4647
  // src/options/props.tsx
4581
- import { jsx as jsx72, jsxs as jsxs51, Fragment as Fragment72 } from "react/jsx-runtime";
4582
- var cliFlag76 = "props";
4648
+ import { jsx as jsx73, jsxs as jsxs52, Fragment as Fragment73 } from "react/jsx-runtime";
4649
+ var cliFlag77 = "props";
4583
4650
  var propsOption = {
4584
4651
  name: "Input Props",
4585
4652
  addedIn: "1.0.0",
4586
- cliFlag: cliFlag76,
4587
- description: () => /* @__PURE__ */ jsxs51(Fragment72, {
4653
+ cliFlag: cliFlag77,
4654
+ description: () => /* @__PURE__ */ jsxs52(Fragment73, {
4588
4655
  children: [
4589
4656
  "Input Props to pass to the selected composition of your video. Must be a serialized JSON string (",
4590
- /* @__PURE__ */ jsxs51("code", {
4657
+ /* @__PURE__ */ jsxs52("code", {
4591
4658
  children: [
4592
4659
  "--props='",
4593
4660
  "{",
@@ -4597,7 +4664,7 @@ var propsOption = {
4597
4664
  ]
4598
4665
  }),
4599
4666
  ") or a path to a JSON file (",
4600
- /* @__PURE__ */ jsx72("code", {
4667
+ /* @__PURE__ */ jsx73("code", {
4601
4668
  children: "./path/to/props.json"
4602
4669
  }),
4603
4670
  ")."
@@ -4606,10 +4673,10 @@ var propsOption = {
4606
4673
  ssrName: null,
4607
4674
  docLink: "https://www.remotion.dev/docs/options/props",
4608
4675
  getValue: ({ commandLine }) => {
4609
- if (commandLine[cliFlag76] !== undefined) {
4676
+ if (commandLine[cliFlag77] !== undefined) {
4610
4677
  return {
4611
4678
  source: "cli",
4612
- value: commandLine[cliFlag76]
4679
+ value: commandLine[cliFlag77]
4613
4680
  };
4614
4681
  }
4615
4682
  return {
@@ -4621,11 +4688,11 @@ var propsOption = {
4621
4688
  throw new Error("setProps is not supported. Pass --props via the CLI instead.");
4622
4689
  },
4623
4690
  type: "",
4624
- id: cliFlag76
4691
+ id: cliFlag77
4625
4692
  };
4626
4693
 
4627
4694
  // src/options/prores-profile.tsx
4628
- import { jsx as jsx73, jsxs as jsxs52, Fragment as Fragment73 } from "react/jsx-runtime";
4695
+ import { jsx as jsx74, jsxs as jsxs53, Fragment as Fragment74 } from "react/jsx-runtime";
4629
4696
  var validProResProfiles = [
4630
4697
  "4444-xq",
4631
4698
  "4444",
@@ -4635,15 +4702,15 @@ var validProResProfiles = [
4635
4702
  "proxy"
4636
4703
  ];
4637
4704
  var proResProfile;
4638
- var cliFlag77 = "prores-profile";
4705
+ var cliFlag78 = "prores-profile";
4639
4706
  var proResProfileOption = {
4640
4707
  name: "ProRes profile",
4641
4708
  addedIn: "2.1.6",
4642
- cliFlag: cliFlag77,
4643
- description: () => /* @__PURE__ */ jsxs52(Fragment73, {
4709
+ cliFlag: cliFlag78,
4710
+ description: () => /* @__PURE__ */ jsxs53(Fragment74, {
4644
4711
  children: [
4645
4712
  "Set the ProRes profile. This option is only valid if the codec has been set to ",
4646
- /* @__PURE__ */ jsx73("code", {
4713
+ /* @__PURE__ */ jsx74("code", {
4647
4714
  children: "prores"
4648
4715
  }),
4649
4716
  ". Possible values:",
@@ -4651,12 +4718,12 @@ var proResProfileOption = {
4651
4718
  validProResProfiles.map((p) => `"${p}"`).join(", "),
4652
4719
  ". Default:",
4653
4720
  " ",
4654
- /* @__PURE__ */ jsx73("code", {
4721
+ /* @__PURE__ */ jsx74("code", {
4655
4722
  children: '"hq"'
4656
4723
  }),
4657
4724
  ". See",
4658
4725
  " ",
4659
- /* @__PURE__ */ jsx73("a", {
4726
+ /* @__PURE__ */ jsx74("a", {
4660
4727
  href: "https://video.stackexchange.com/a/14715",
4661
4728
  children: "here"
4662
4729
  }),
@@ -4673,10 +4740,10 @@ var proResProfileOption = {
4673
4740
  value: options.uiProResProfile
4674
4741
  };
4675
4742
  }
4676
- if (commandLine[cliFlag77] !== undefined) {
4743
+ if (commandLine[cliFlag78] !== undefined) {
4677
4744
  return {
4678
4745
  source: "from --prores-profile flag",
4679
- value: String(commandLine[cliFlag77])
4746
+ value: String(commandLine[cliFlag78])
4680
4747
  };
4681
4748
  }
4682
4749
  if (options && options.compositionDefaultProResProfile !== null) {
@@ -4699,25 +4766,25 @@ var proResProfileOption = {
4699
4766
  setConfig: (value) => {
4700
4767
  proResProfile = value;
4701
4768
  },
4702
- id: cliFlag77
4769
+ id: cliFlag78
4703
4770
  };
4704
4771
 
4705
4772
  // src/options/public-dir.tsx
4706
- import { jsx as jsx74, jsxs as jsxs53, Fragment as Fragment74 } from "react/jsx-runtime";
4707
- var cliFlag78 = "public-dir";
4773
+ import { jsx as jsx75, jsxs as jsxs54, Fragment as Fragment75 } from "react/jsx-runtime";
4774
+ var cliFlag79 = "public-dir";
4708
4775
  var currentPublicDir = null;
4709
4776
  var publicDirOption = {
4710
4777
  name: "Public Directory",
4711
4778
  addedIn: "3.2.13",
4712
- cliFlag: cliFlag78,
4779
+ cliFlag: cliFlag79,
4713
4780
  description: () => {
4714
- return /* @__PURE__ */ jsxs53(Fragment74, {
4781
+ return /* @__PURE__ */ jsxs54(Fragment75, {
4715
4782
  children: [
4716
4783
  "Define the location of the",
4717
4784
  " ",
4718
- /* @__PURE__ */ jsx74("a", {
4785
+ /* @__PURE__ */ jsx75("a", {
4719
4786
  href: "/docs/terminology/public-dir",
4720
- children: /* @__PURE__ */ jsx74("code", {
4787
+ children: /* @__PURE__ */ jsx75("code", {
4721
4788
  children: "public/ directory"
4722
4789
  })
4723
4790
  }),
@@ -4728,10 +4795,10 @@ var publicDirOption = {
4728
4795
  ssrName: "publicDir",
4729
4796
  docLink: "https://www.remotion.dev/docs/options/public-dir",
4730
4797
  getValue: ({ commandLine }) => {
4731
- if (commandLine[cliFlag78] !== undefined) {
4798
+ if (commandLine[cliFlag79] !== undefined) {
4732
4799
  return {
4733
4800
  source: "cli",
4734
- value: commandLine[cliFlag78]
4801
+ value: commandLine[cliFlag79]
4735
4802
  };
4736
4803
  }
4737
4804
  if (currentPublicDir !== null) {
@@ -4749,21 +4816,21 @@ var publicDirOption = {
4749
4816
  currentPublicDir = value;
4750
4817
  },
4751
4818
  type: "",
4752
- id: cliFlag78
4819
+ id: cliFlag79
4753
4820
  };
4754
4821
 
4755
4822
  // src/options/public-license-key.tsx
4756
- import { jsx as jsx75, jsxs as jsxs54, Fragment as Fragment75 } from "react/jsx-runtime";
4757
- var cliFlag79 = "public-license-key";
4823
+ import { jsx as jsx76, jsxs as jsxs55, Fragment as Fragment76 } from "react/jsx-runtime";
4824
+ var cliFlag80 = "public-license-key";
4758
4825
  var currentPublicLicenseKey = null;
4759
4826
  var publicLicenseKeyOption = {
4760
4827
  name: "Public License Key",
4761
4828
  addedIn: "4.0.398",
4762
- cliFlag: cliFlag79,
4763
- description: () => /* @__PURE__ */ jsxs54(Fragment75, {
4829
+ cliFlag: cliFlag80,
4830
+ description: () => /* @__PURE__ */ jsxs55(Fragment76, {
4764
4831
  children: [
4765
4832
  "The public license key for your company license, obtained from the License keys page on ",
4766
- /* @__PURE__ */ jsx75("a", {
4833
+ /* @__PURE__ */ jsx76("a", {
4767
4834
  href: "https://remotion.pro/dashboard",
4768
4835
  children: "remotion.pro"
4769
4836
  }),
@@ -4773,10 +4840,10 @@ var publicLicenseKeyOption = {
4773
4840
  ssrName: "publicLicenseKey",
4774
4841
  docLink: "https://www.remotion.dev/docs/options/public-license-key",
4775
4842
  getValue: ({ commandLine }) => {
4776
- if (commandLine[cliFlag79] !== undefined) {
4843
+ if (commandLine[cliFlag80] !== undefined) {
4777
4844
  return {
4778
4845
  source: "cli",
4779
- value: commandLine[cliFlag79]
4846
+ value: commandLine[cliFlag80]
4780
4847
  };
4781
4848
  }
4782
4849
  if (currentPublicLicenseKey !== null) {
@@ -4797,26 +4864,26 @@ var publicLicenseKeyOption = {
4797
4864
  currentPublicLicenseKey = value;
4798
4865
  },
4799
4866
  type: null,
4800
- id: cliFlag79
4867
+ id: cliFlag80
4801
4868
  };
4802
4869
 
4803
4870
  // src/options/public-path.tsx
4804
- import { jsx as jsx76, jsxs as jsxs55, Fragment as Fragment76 } from "react/jsx-runtime";
4805
- var cliFlag80 = "public-path";
4871
+ import { jsx as jsx77, jsxs as jsxs56, Fragment as Fragment77 } from "react/jsx-runtime";
4872
+ var cliFlag81 = "public-path";
4806
4873
  var currentPublicPath = null;
4807
4874
  var publicPathOption = {
4808
4875
  name: "Public Path",
4809
4876
  addedIn: "4.0.127",
4810
- cliFlag: cliFlag80,
4877
+ cliFlag: cliFlag81,
4811
4878
  description: () => {
4812
- return /* @__PURE__ */ jsxs55(Fragment76, {
4879
+ return /* @__PURE__ */ jsxs56(Fragment77, {
4813
4880
  children: [
4814
4881
  "The path of the URL where the bundle is going to be hosted. By default it is ",
4815
- /* @__PURE__ */ jsx76("code", {
4882
+ /* @__PURE__ */ jsx77("code", {
4816
4883
  children: "./"
4817
4884
  }),
4818
4885
  ", making the bundle relocatable. Set an absolute path such as ",
4819
- /* @__PURE__ */ jsx76("code", {
4886
+ /* @__PURE__ */ jsx77("code", {
4820
4887
  children: "/sites/my-site/"
4821
4888
  }),
4822
4889
  " to host the bundle at a fixed location."
@@ -4826,10 +4893,10 @@ var publicPathOption = {
4826
4893
  ssrName: "publicPath",
4827
4894
  docLink: "https://www.remotion.dev/docs/options/public-path",
4828
4895
  getValue: ({ commandLine }) => {
4829
- if (commandLine[cliFlag80] !== undefined) {
4896
+ if (commandLine[cliFlag81] !== undefined) {
4830
4897
  return {
4831
4898
  source: "cli",
4832
- value: commandLine[cliFlag80]
4899
+ value: commandLine[cliFlag81]
4833
4900
  };
4834
4901
  }
4835
4902
  if (currentPublicPath !== null) {
@@ -4847,30 +4914,30 @@ var publicPathOption = {
4847
4914
  currentPublicPath = value;
4848
4915
  },
4849
4916
  type: "",
4850
- id: cliFlag80
4917
+ id: cliFlag81
4851
4918
  };
4852
4919
 
4853
4920
  // src/options/repro.tsx
4854
- import { jsx as jsx77, Fragment as Fragment77 } from "react/jsx-runtime";
4921
+ import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4855
4922
  var enableRepro = false;
4856
4923
  var setRepro = (should) => {
4857
4924
  enableRepro = should;
4858
4925
  };
4859
- var cliFlag81 = "repro";
4926
+ var cliFlag82 = "repro";
4860
4927
  var reproOption = {
4861
4928
  name: "Create reproduction",
4862
4929
  addedIn: "4.0.88",
4863
- cliFlag: cliFlag81,
4864
- description: () => /* @__PURE__ */ jsx77(Fragment77, {
4930
+ cliFlag: cliFlag82,
4931
+ description: () => /* @__PURE__ */ jsx78(Fragment78, {
4865
4932
  children: "Create a ZIP that you can submit to Remotion if asked for a reproduction."
4866
4933
  }),
4867
4934
  ssrName: "repro",
4868
4935
  docLink: "https://www.remotion.dev/docs/options/repro",
4869
4936
  type: false,
4870
4937
  getValue: ({ commandLine }) => {
4871
- if (commandLine[cliFlag81] !== undefined && commandLine[cliFlag81] !== null) {
4938
+ if (commandLine[cliFlag82] !== undefined && commandLine[cliFlag82] !== null) {
4872
4939
  return {
4873
- value: commandLine[cliFlag81],
4940
+ value: commandLine[cliFlag82],
4874
4941
  source: "cli"
4875
4942
  };
4876
4943
  }
@@ -4886,28 +4953,28 @@ var reproOption = {
4886
4953
  };
4887
4954
  },
4888
4955
  setConfig: setRepro,
4889
- id: cliFlag81
4956
+ id: cliFlag82
4890
4957
  };
4891
4958
 
4892
4959
  // src/options/rspack.tsx
4893
- import { jsx as jsx78, Fragment as Fragment78 } from "react/jsx-runtime";
4960
+ import { jsx as jsx79, Fragment as Fragment79 } from "react/jsx-runtime";
4894
4961
  var rspackEnabled = false;
4895
4962
  var configuredRspackEnabled = null;
4896
- var cliFlag82 = "rspack";
4963
+ var cliFlag83 = "rspack";
4897
4964
  var rspackOption = {
4898
4965
  name: "Rspack",
4899
4966
  addedIn: "4.0.502",
4900
- cliFlag: cliFlag82,
4901
- description: () => /* @__PURE__ */ jsx78(Fragment78, {
4967
+ cliFlag: cliFlag83,
4968
+ description: () => /* @__PURE__ */ jsx79(Fragment79, {
4902
4969
  children: "Uses Rspack instead of Webpack as the bundler for the Studio or bundle."
4903
4970
  }),
4904
4971
  ssrName: null,
4905
4972
  docLink: "https://www.remotion.dev/docs/options/rspack",
4906
4973
  type: false,
4907
4974
  getValue: ({ commandLine }) => {
4908
- if (commandLine[cliFlag82] !== undefined && commandLine[cliFlag82] !== null) {
4975
+ if (commandLine[cliFlag83] !== undefined && commandLine[cliFlag83] !== null) {
4909
4976
  return {
4910
- value: commandLine[cliFlag82],
4977
+ value: commandLine[cliFlag83],
4911
4978
  source: "cli"
4912
4979
  };
4913
4980
  }
@@ -4925,22 +4992,22 @@ var rspackOption = {
4925
4992
  rspackEnabled = false;
4926
4993
  configuredRspackEnabled = null;
4927
4994
  },
4928
- id: cliFlag82
4995
+ id: cliFlag83
4929
4996
  };
4930
4997
 
4931
4998
  // src/options/runs.tsx
4932
- import { jsx as jsx79, jsxs as jsxs56, Fragment as Fragment79 } from "react/jsx-runtime";
4999
+ import { jsx as jsx80, jsxs as jsxs57, Fragment as Fragment80 } from "react/jsx-runtime";
4933
5000
  var DEFAULT_RUNS = 3;
4934
5001
  var currentRuns = DEFAULT_RUNS;
4935
- var cliFlag83 = "runs";
5002
+ var cliFlag84 = "runs";
4936
5003
  var runsOption = {
4937
5004
  name: "Benchmark runs",
4938
5005
  addedIn: "3.2.28",
4939
- cliFlag: cliFlag83,
4940
- description: () => /* @__PURE__ */ jsxs56(Fragment79, {
5006
+ cliFlag: cliFlag84,
5007
+ description: () => /* @__PURE__ */ jsxs57(Fragment80, {
4941
5008
  children: [
4942
5009
  "Specify how many times the video should be rendered during a benchmark. Default ",
4943
- /* @__PURE__ */ jsx79("code", {
5010
+ /* @__PURE__ */ jsx80("code", {
4944
5011
  children: DEFAULT_RUNS
4945
5012
  }),
4946
5013
  "."
@@ -4950,10 +5017,10 @@ var runsOption = {
4950
5017
  docLink: "https://www.remotion.dev/docs/options/runs",
4951
5018
  type: DEFAULT_RUNS,
4952
5019
  getValue: ({ commandLine }) => {
4953
- if (commandLine[cliFlag83] !== undefined) {
4954
- const value = Number(commandLine[cliFlag83]);
5020
+ if (commandLine[cliFlag84] !== undefined) {
5021
+ const value = Number(commandLine[cliFlag84]);
4955
5022
  if (isNaN(value) || value < 1) {
4956
- throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag83]}`);
5023
+ throw new Error(`--runs must be a positive number, but got ${commandLine[cliFlag84]}`);
4957
5024
  }
4958
5025
  return { value, source: "cli" };
4959
5026
  }
@@ -4968,22 +5035,22 @@ var runsOption = {
4968
5035
  }
4969
5036
  currentRuns = value;
4970
5037
  },
4971
- id: cliFlag83
5038
+ id: cliFlag84
4972
5039
  };
4973
5040
 
4974
5041
  // src/options/sample-rate.tsx
4975
- import { jsx as jsx80, jsxs as jsxs57, Fragment as Fragment80 } from "react/jsx-runtime";
4976
- var cliFlag84 = "sample-rate";
5042
+ import { jsx as jsx81, jsxs as jsxs58, Fragment as Fragment81 } from "react/jsx-runtime";
5043
+ var cliFlag85 = "sample-rate";
4977
5044
  var currentSampleRate = 48000;
4978
5045
  var sampleRateOption = {
4979
5046
  name: "Sample Rate",
4980
5047
  addedIn: "4.0.448",
4981
- cliFlag: cliFlag84,
4982
- description: () => /* @__PURE__ */ jsxs57(Fragment80, {
5048
+ cliFlag: cliFlag85,
5049
+ description: () => /* @__PURE__ */ jsxs58(Fragment81, {
4983
5050
  children: [
4984
5051
  "Controls the sample rate of the output audio. The default is",
4985
5052
  " ",
4986
- /* @__PURE__ */ jsx80("code", {
5053
+ /* @__PURE__ */ jsx81("code", {
4987
5054
  children: "48000"
4988
5055
  }),
4989
5056
  " Hz. Match this to your source audio to avoid resampling artifacts."
@@ -4993,8 +5060,8 @@ var sampleRateOption = {
4993
5060
  docLink: "https://www.remotion.dev/docs/options/sample-rate",
4994
5061
  type: 48000,
4995
5062
  getValue: ({ commandLine }, compositionSampleRate) => {
4996
- if (commandLine[cliFlag84] !== undefined) {
4997
- return { value: commandLine[cliFlag84], source: "cli" };
5063
+ if (commandLine[cliFlag85] !== undefined) {
5064
+ return { value: commandLine[cliFlag85], source: "cli" };
4998
5065
  }
4999
5066
  if (currentSampleRate !== 48000) {
5000
5067
  return { value: currentSampleRate, source: "config file" };
@@ -5010,13 +5077,13 @@ var sampleRateOption = {
5010
5077
  setConfig: (value) => {
5011
5078
  currentSampleRate = value;
5012
5079
  },
5013
- id: cliFlag84
5080
+ id: cliFlag85
5014
5081
  };
5015
5082
 
5016
5083
  // src/options/scale.tsx
5017
- import { jsx as jsx81, jsxs as jsxs58, Fragment as Fragment81 } from "react/jsx-runtime";
5084
+ import { jsx as jsx82, jsxs as jsxs59, Fragment as Fragment82 } from "react/jsx-runtime";
5018
5085
  var currentScale = 1;
5019
- var cliFlag85 = "scale";
5086
+ var cliFlag86 = "scale";
5020
5087
  var validateScale = (value) => {
5021
5088
  if (typeof value !== "number") {
5022
5089
  throw new Error("scale must be a number.");
@@ -5025,15 +5092,15 @@ var validateScale = (value) => {
5025
5092
  var scaleOption = {
5026
5093
  name: "Scale",
5027
5094
  addedIn: "2.6.7",
5028
- cliFlag: cliFlag85,
5029
- description: () => /* @__PURE__ */ jsxs58(Fragment81, {
5095
+ cliFlag: cliFlag86,
5096
+ description: () => /* @__PURE__ */ jsxs59(Fragment82, {
5030
5097
  children: [
5031
5098
  "Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of ",
5032
- /* @__PURE__ */ jsx81("code", {
5099
+ /* @__PURE__ */ jsx82("code", {
5033
5100
  children: "1.5"
5034
5101
  }),
5035
5102
  ". See ",
5036
- /* @__PURE__ */ jsx81("a", {
5103
+ /* @__PURE__ */ jsx82("a", {
5037
5104
  href: "https://www.remotion.dev/docs/scaling",
5038
5105
  children: "Scaling"
5039
5106
  }),
@@ -5044,11 +5111,11 @@ var scaleOption = {
5044
5111
  docLink: "https://www.remotion.dev/docs/options/scale",
5045
5112
  type: 0,
5046
5113
  getValue: ({ commandLine }) => {
5047
- if (commandLine[cliFlag85] !== undefined) {
5048
- validateScale(commandLine[cliFlag85]);
5114
+ if (commandLine[cliFlag86] !== undefined) {
5115
+ validateScale(commandLine[cliFlag86]);
5049
5116
  return {
5050
5117
  source: "cli",
5051
- value: commandLine[cliFlag85]
5118
+ value: commandLine[cliFlag86]
5052
5119
  };
5053
5120
  }
5054
5121
  if (currentScale !== null) {
@@ -5065,28 +5132,28 @@ var scaleOption = {
5065
5132
  setConfig: (scale) => {
5066
5133
  currentScale = scale;
5067
5134
  },
5068
- id: cliFlag85
5135
+ id: cliFlag86
5069
5136
  };
5070
5137
 
5071
5138
  // src/options/sequence-activity-limit.tsx
5072
5139
  import { NoReactInternals as NoReactInternals6 } from "remotion/no-react";
5073
- import { jsx as jsx82, jsxs as jsxs59, Fragment as Fragment82 } from "react/jsx-runtime";
5140
+ import { jsx as jsx83, jsxs as jsxs60, Fragment as Fragment83 } from "react/jsx-runtime";
5074
5141
  var configuredLimit = null;
5075
- var cliFlag86 = "sequence-activity-limit";
5142
+ var cliFlag87 = "sequence-activity-limit";
5076
5143
  var sequenceActivityLimitOption = {
5077
5144
  name: "Sequence Activity limit",
5078
5145
  addedIn: "4.0.536",
5079
- cliFlag: cliFlag86,
5080
- id: cliFlag86,
5081
- description: () => /* @__PURE__ */ jsxs59(Fragment82, {
5146
+ cliFlag: cliFlag87,
5147
+ id: cliFlag87,
5148
+ description: () => /* @__PURE__ */ jsxs60(Fragment83, {
5082
5149
  children: [
5083
5150
  "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",
5084
5151
  " ",
5085
- /* @__PURE__ */ jsx82("code", {
5152
+ /* @__PURE__ */ jsx83("code", {
5086
5153
  children: "Infinity"
5087
5154
  }),
5088
5155
  " for unlimited discovery without admission delays. Must be a non-negative safe integer or ",
5089
- /* @__PURE__ */ jsx82("code", {
5156
+ /* @__PURE__ */ jsx83("code", {
5090
5157
  children: "Infinity"
5091
5158
  }),
5092
5159
  ". Set to 0 to disable Sequence Activity. Finite limits prioritize nearby scenes. Does not affect rendering."
@@ -5096,8 +5163,8 @@ var sequenceActivityLimitOption = {
5096
5163
  docLink: "https://www.remotion.dev/docs/options/sequence-activity-limit",
5097
5164
  type: 0,
5098
5165
  getValue: ({ commandLine }) => {
5099
- if (commandLine[cliFlag86] !== undefined) {
5100
- const value = commandLine[cliFlag86] === "Infinity" ? Infinity : commandLine[cliFlag86];
5166
+ if (commandLine[cliFlag87] !== undefined) {
5167
+ const value = commandLine[cliFlag87] === "Infinity" ? Infinity : commandLine[cliFlag87];
5101
5168
  if (value !== Infinity && (!Number.isSafeInteger(value) || value < 0)) {
5102
5169
  throw new Error("Sequence Activity limit must be a non-negative safe integer or Infinity.");
5103
5170
  }
@@ -5121,18 +5188,18 @@ var sequenceActivityLimitOption = {
5121
5188
  };
5122
5189
 
5123
5190
  // src/options/show-layer-frame-numbers.tsx
5124
- import { jsx as jsx83, jsxs as jsxs60, Fragment as Fragment83 } from "react/jsx-runtime";
5191
+ import { jsx as jsx84, jsxs as jsxs61, Fragment as Fragment84 } from "react/jsx-runtime";
5125
5192
  var configuredShowLayerFrameNumbers = null;
5126
- var cliFlag87 = "show-layer-frame-numbers";
5193
+ var cliFlag88 = "show-layer-frame-numbers";
5127
5194
  var showLayerFrameNumbersOption = {
5128
5195
  name: "Show frame numbers of layer",
5129
5196
  addedIn: "4.0.535",
5130
- cliFlag: cliFlag87,
5131
- id: cliFlag87,
5132
- description: () => /* @__PURE__ */ jsxs60(Fragment83, {
5197
+ cliFlag: cliFlag88,
5198
+ id: cliFlag88,
5199
+ description: () => /* @__PURE__ */ jsxs61(Fragment84, {
5133
5200
  children: [
5134
5201
  "Show the current frame number inside sequence layers in the Studio timeline. Defaults to ",
5135
- /* @__PURE__ */ jsx83("code", {
5202
+ /* @__PURE__ */ jsx84("code", {
5136
5203
  children: "false"
5137
5204
  }),
5138
5205
  "."
@@ -5142,8 +5209,8 @@ var showLayerFrameNumbersOption = {
5142
5209
  docLink: "https://www.remotion.dev/docs/options/show-layer-frame-numbers",
5143
5210
  type: false,
5144
5211
  getValue: ({ commandLine }) => {
5145
- if (commandLine[cliFlag87] !== undefined && commandLine[cliFlag87] !== null) {
5146
- return { value: commandLine[cliFlag87], source: "cli" };
5212
+ if (commandLine[cliFlag88] !== undefined && commandLine[cliFlag88] !== null) {
5213
+ return { value: commandLine[cliFlag88], source: "cli" };
5147
5214
  }
5148
5215
  return { value: configuredShowLayerFrameNumbers ?? false, source: "config" };
5149
5216
  },
@@ -5160,19 +5227,19 @@ var showLayerFrameNumbersOption = {
5160
5227
  };
5161
5228
 
5162
5229
  // src/options/show-premounting.tsx
5163
- import { jsx as jsx84, jsxs as jsxs61, Fragment as Fragment84 } from "react/jsx-runtime";
5230
+ import { jsx as jsx85, jsxs as jsxs62, Fragment as Fragment85 } from "react/jsx-runtime";
5164
5231
  var configuredShowPremounting = null;
5165
- var cliFlag88 = "show-premounting";
5232
+ var cliFlag89 = "show-premounting";
5166
5233
  var showPremountingOption = {
5167
5234
  name: "Show premounting in the Studio timeline",
5168
5235
  addedIn: "4.0.535",
5169
- cliFlag: cliFlag88,
5170
- id: cliFlag88,
5171
- description: () => /* @__PURE__ */ jsxs61(Fragment84, {
5236
+ cliFlag: cliFlag89,
5237
+ id: cliFlag89,
5238
+ description: () => /* @__PURE__ */ jsxs62(Fragment85, {
5172
5239
  children: [
5173
5240
  "Show premounting indicators in the Studio timeline. Defaults to",
5174
5241
  " ",
5175
- /* @__PURE__ */ jsx84("code", {
5242
+ /* @__PURE__ */ jsx85("code", {
5176
5243
  children: "false"
5177
5244
  }),
5178
5245
  "."
@@ -5182,8 +5249,8 @@ var showPremountingOption = {
5182
5249
  docLink: "https://www.remotion.dev/docs/options/show-premounting",
5183
5250
  type: true,
5184
5251
  getValue: ({ commandLine }) => {
5185
- if (commandLine[cliFlag88] !== undefined && commandLine[cliFlag88] !== null) {
5186
- return { value: commandLine[cliFlag88], source: "cli" };
5252
+ if (commandLine[cliFlag89] !== undefined && commandLine[cliFlag89] !== null) {
5253
+ return { value: commandLine[cliFlag89], source: "cli" };
5187
5254
  }
5188
5255
  return { value: configuredShowPremounting ?? false, source: "config" };
5189
5256
  },
@@ -5200,19 +5267,19 @@ var showPremountingOption = {
5200
5267
  };
5201
5268
 
5202
5269
  // src/options/skip-skills.tsx
5203
- import { jsx as jsx85, Fragment as Fragment85 } from "react/jsx-runtime";
5204
- var cliFlag89 = "skip-skills";
5270
+ import { jsx as jsx86, Fragment as Fragment86 } from "react/jsx-runtime";
5271
+ var cliFlag90 = "skip-skills";
5205
5272
  var skipSkillsOption = {
5206
5273
  name: "Skip Skills",
5207
5274
  addedIn: "4.0.503",
5208
- cliFlag: cliFlag89,
5209
- description: () => /* @__PURE__ */ jsx85(Fragment85, {
5275
+ cliFlag: cliFlag90,
5276
+ description: () => /* @__PURE__ */ jsx86(Fragment86, {
5210
5277
  children: "Do not update installed Remotion Agent Skills while upgrading Remotion."
5211
5278
  }),
5212
5279
  ssrName: null,
5213
5280
  docLink: "https://www.remotion.dev/docs/options/skip-skills",
5214
5281
  getValue: ({ commandLine }) => {
5215
- if (commandLine[cliFlag89]) {
5282
+ if (commandLine[cliFlag90]) {
5216
5283
  return {
5217
5284
  source: "cli",
5218
5285
  value: true
@@ -5227,13 +5294,13 @@ var skipSkillsOption = {
5227
5294
  throw new Error("Cannot skip updating skills via config file");
5228
5295
  },
5229
5296
  type: false,
5230
- id: cliFlag89
5297
+ id: cliFlag90
5231
5298
  };
5232
5299
 
5233
5300
  // src/options/still-frame.tsx
5234
5301
  import { NoReactInternals as NoReactInternals7 } from "remotion/no-react";
5235
- import { jsx as jsx86, jsxs as jsxs62, Fragment as Fragment86 } from "react/jsx-runtime";
5236
- var cliFlag90 = "frame";
5302
+ import { jsx as jsx87, jsxs as jsxs63, Fragment as Fragment87 } from "react/jsx-runtime";
5303
+ var cliFlag91 = "frame";
5237
5304
  var currentFrame = null;
5238
5305
  var validate3 = (frame) => {
5239
5306
  NoReactInternals7.validateFrame({
@@ -5245,17 +5312,17 @@ var validate3 = (frame) => {
5245
5312
  var stillFrameOption = {
5246
5313
  name: "Frame",
5247
5314
  addedIn: "2.3.0",
5248
- cliFlag: cliFlag90,
5249
- description: () => /* @__PURE__ */ jsxs62(Fragment86, {
5315
+ cliFlag: cliFlag91,
5316
+ description: () => /* @__PURE__ */ jsxs63(Fragment87, {
5250
5317
  children: [
5251
5318
  "Which frame should be rendered when rendering a still. Default",
5252
5319
  " ",
5253
- /* @__PURE__ */ jsx86("code", {
5320
+ /* @__PURE__ */ jsx87("code", {
5254
5321
  children: "0"
5255
5322
  }),
5256
5323
  ". From v3.2.27, negative values are allowed, with",
5257
5324
  " ",
5258
- /* @__PURE__ */ jsx86("code", {
5325
+ /* @__PURE__ */ jsx87("code", {
5259
5326
  children: "-1"
5260
5327
  }),
5261
5328
  " being the last frame."
@@ -5264,8 +5331,8 @@ var stillFrameOption = {
5264
5331
  ssrName: "frame",
5265
5332
  docLink: "https://www.remotion.dev/docs/options/frame",
5266
5333
  getValue: ({ commandLine }) => {
5267
- if (commandLine[cliFlag90] !== undefined) {
5268
- const frame = Number(commandLine[cliFlag90]);
5334
+ if (commandLine[cliFlag91] !== undefined) {
5335
+ const frame = Number(commandLine[cliFlag91]);
5269
5336
  validate3(frame);
5270
5337
  return {
5271
5338
  source: "cli",
@@ -5290,25 +5357,25 @@ var stillFrameOption = {
5290
5357
  currentFrame = value;
5291
5358
  },
5292
5359
  type: 0,
5293
- id: cliFlag90
5360
+ id: cliFlag91
5294
5361
  };
5295
5362
 
5296
5363
  // src/options/still-image-format.tsx
5297
- import { jsx as jsx87, jsxs as jsxs63, Fragment as Fragment87 } from "react/jsx-runtime";
5364
+ import { jsx as jsx88, jsxs as jsxs64, Fragment as Fragment88 } from "react/jsx-runtime";
5298
5365
  var currentStillImageFormat = null;
5299
- var cliFlag91 = "image-format";
5366
+ var cliFlag92 = "image-format";
5300
5367
  var stillImageFormatOption = {
5301
5368
  name: "Still Image Format",
5302
5369
  addedIn: "2.3.0",
5303
- cliFlag: cliFlag91,
5304
- description: () => /* @__PURE__ */ jsxs63(Fragment87, {
5370
+ cliFlag: cliFlag92,
5371
+ description: () => /* @__PURE__ */ jsxs64(Fragment88, {
5305
5372
  children: [
5306
5373
  "The image format to use when rendering a still. Must be one of",
5307
5374
  " ",
5308
5375
  validStillImageFormats.map((f) => `"${f}"`).join(", "),
5309
5376
  ". Default:",
5310
5377
  " ",
5311
- /* @__PURE__ */ jsx87("code", {
5378
+ /* @__PURE__ */ jsx88("code", {
5312
5379
  children: '"png"'
5313
5380
  }),
5314
5381
  "."
@@ -5318,8 +5385,8 @@ var stillImageFormatOption = {
5318
5385
  docLink: "https://www.remotion.dev/docs/options/still-image-format",
5319
5386
  type: null,
5320
5387
  getValue: ({ commandLine }) => {
5321
- if (commandLine[cliFlag91] !== undefined) {
5322
- const value = commandLine[cliFlag91];
5388
+ if (commandLine[cliFlag92] !== undefined) {
5389
+ const value = commandLine[cliFlag92];
5323
5390
  if (!validStillImageFormats.includes(value)) {
5324
5391
  throw new Error(`Invalid still image format: ${value}. Must be one of: ${validStillImageFormats.join(", ")}`);
5325
5392
  }
@@ -5357,16 +5424,16 @@ var stillImageFormatOption = {
5357
5424
 
5358
5425
  // src/options/throw-if-site-exists.tsx
5359
5426
  var DEFAULT5 = false;
5360
- var cliFlag92 = "throw-if-site-exists";
5427
+ var cliFlag93 = "throw-if-site-exists";
5361
5428
  var throwIfSiteExistsOption = {
5362
- cliFlag: cliFlag92,
5429
+ cliFlag: cliFlag93,
5363
5430
  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.`,
5364
5431
  docLink: "https://www.remotion.dev/docs/options/throw-if-site-exists",
5365
5432
  getValue: ({ commandLine }) => {
5366
- if (commandLine[cliFlag92]) {
5433
+ if (commandLine[cliFlag93]) {
5367
5434
  return {
5368
5435
  source: "cli",
5369
- value: commandLine[cliFlag92]
5436
+ value: commandLine[cliFlag93]
5370
5437
  };
5371
5438
  }
5372
5439
  return {
@@ -5381,42 +5448,42 @@ var throwIfSiteExistsOption = {
5381
5448
  },
5382
5449
  ssrName: "throwIfSiteExists",
5383
5450
  type: false,
5384
- id: cliFlag92
5451
+ id: cliFlag93
5385
5452
  };
5386
5453
 
5387
5454
  // src/options/timeout.tsx
5388
- import { jsx as jsx88, jsxs as jsxs64, Fragment as Fragment88 } from "react/jsx-runtime";
5455
+ import { jsx as jsx89, jsxs as jsxs65, Fragment as Fragment89 } from "react/jsx-runtime";
5389
5456
  var currentTimeout = DEFAULT_TIMEOUT;
5390
5457
  var validate4 = (value) => {
5391
5458
  if (typeof value !== "number") {
5392
5459
  throw new Error("--timeout flag / setDelayRenderTimeoutInMilliseconds() must be a number, but got " + JSON.stringify(value));
5393
5460
  }
5394
5461
  };
5395
- var cliFlag93 = "timeout";
5462
+ var cliFlag94 = "timeout";
5396
5463
  var delayRenderTimeoutInMillisecondsOption = {
5397
5464
  name: "delayRender() timeout",
5398
5465
  addedIn: "2.6.3",
5399
- cliFlag: cliFlag93,
5400
- description: () => /* @__PURE__ */ jsxs64(Fragment88, {
5466
+ cliFlag: cliFlag94,
5467
+ description: () => /* @__PURE__ */ jsxs65(Fragment89, {
5401
5468
  children: [
5402
5469
  "A number describing how long the render may take to resolve all",
5403
5470
  " ",
5404
- /* @__PURE__ */ jsx88("a", {
5471
+ /* @__PURE__ */ jsx89("a", {
5405
5472
  href: "https://remotion.dev/docs/delay-render",
5406
- children: /* @__PURE__ */ jsx88("code", {
5473
+ children: /* @__PURE__ */ jsx89("code", {
5407
5474
  children: "delayRender()"
5408
5475
  })
5409
5476
  }),
5410
5477
  " ",
5411
5478
  "calls",
5412
5479
  " ",
5413
- /* @__PURE__ */ jsx88("a", {
5480
+ /* @__PURE__ */ jsx89("a", {
5414
5481
  style: { fontSize: "inherit" },
5415
5482
  href: "https://remotion.dev/docs/timeout",
5416
5483
  children: "before it times out"
5417
5484
  }),
5418
5485
  ". Default: ",
5419
- /* @__PURE__ */ jsx88("code", {
5486
+ /* @__PURE__ */ jsx89("code", {
5420
5487
  children: "30000"
5421
5488
  })
5422
5489
  ]
@@ -5425,10 +5492,10 @@ var delayRenderTimeoutInMillisecondsOption = {
5425
5492
  docLink: "https://www.remotion.dev/docs/options/timeout",
5426
5493
  type: 0,
5427
5494
  getValue: ({ commandLine }) => {
5428
- if (commandLine[cliFlag93] !== undefined) {
5495
+ if (commandLine[cliFlag94] !== undefined) {
5429
5496
  return {
5430
5497
  source: "cli",
5431
- value: commandLine[cliFlag93]
5498
+ value: commandLine[cliFlag94]
5432
5499
  };
5433
5500
  }
5434
5501
  if (currentTimeout !== null) {
@@ -5447,28 +5514,28 @@ var delayRenderTimeoutInMillisecondsOption = {
5447
5514
  validate4(value);
5448
5515
  currentTimeout = value;
5449
5516
  },
5450
- id: cliFlag93
5517
+ id: cliFlag94
5451
5518
  };
5452
5519
 
5453
5520
  // src/options/user-agent.tsx
5454
- import { jsx as jsx89, Fragment as Fragment89 } from "react/jsx-runtime";
5521
+ import { jsx as jsx90, Fragment as Fragment90 } from "react/jsx-runtime";
5455
5522
  var userAgent = null;
5456
- var cliFlag94 = "user-agent";
5523
+ var cliFlag95 = "user-agent";
5457
5524
  var userAgentOption = {
5458
5525
  name: "User agent",
5459
5526
  addedIn: "3.3.83",
5460
- cliFlag: cliFlag94,
5461
- description: () => /* @__PURE__ */ jsx89(Fragment89, {
5527
+ cliFlag: cliFlag95,
5528
+ description: () => /* @__PURE__ */ jsx90(Fragment90, {
5462
5529
  children: "Lets you set a custom user agent that the headless Chrome browser assumes."
5463
5530
  }),
5464
5531
  ssrName: "userAgent",
5465
5532
  docLink: "https://www.remotion.dev/docs/options/user-agent",
5466
5533
  type: null,
5467
5534
  getValue: ({ commandLine }) => {
5468
- if (commandLine[cliFlag94] !== undefined) {
5535
+ if (commandLine[cliFlag95] !== undefined) {
5469
5536
  return {
5470
5537
  source: "cli",
5471
- value: commandLine[cliFlag94]
5538
+ value: commandLine[cliFlag95]
5472
5539
  };
5473
5540
  }
5474
5541
  if (userAgent !== null) {
@@ -5485,26 +5552,26 @@ var userAgentOption = {
5485
5552
  setConfig: (value) => {
5486
5553
  userAgent = value;
5487
5554
  },
5488
- id: cliFlag94
5555
+ id: cliFlag95
5489
5556
  };
5490
5557
 
5491
5558
  // src/options/version-flag.tsx
5492
- import { jsx as jsx90, Fragment as Fragment90 } from "react/jsx-runtime";
5493
- var cliFlag95 = "version";
5559
+ import { jsx as jsx91, Fragment as Fragment91 } from "react/jsx-runtime";
5560
+ var cliFlag96 = "version";
5494
5561
  var versionFlagOption = {
5495
5562
  name: "Version",
5496
5563
  addedIn: "4.0.15",
5497
- cliFlag: cliFlag95,
5498
- description: () => /* @__PURE__ */ jsx90(Fragment90, {
5564
+ cliFlag: cliFlag96,
5565
+ description: () => /* @__PURE__ */ jsx91(Fragment91, {
5499
5566
  children: "Install a specific version. Also enables downgrading to an older version."
5500
5567
  }),
5501
5568
  ssrName: null,
5502
5569
  docLink: "https://www.remotion.dev/docs/options/version",
5503
5570
  getValue: ({ commandLine }) => {
5504
- if (commandLine[cliFlag95] !== undefined) {
5571
+ if (commandLine[cliFlag96] !== undefined) {
5505
5572
  return {
5506
5573
  source: "cli",
5507
- value: String(commandLine[cliFlag95])
5574
+ value: String(commandLine[cliFlag96])
5508
5575
  };
5509
5576
  }
5510
5577
  return {
@@ -5516,31 +5583,31 @@ var versionFlagOption = {
5516
5583
  throw new Error("Cannot set version via config file");
5517
5584
  },
5518
5585
  type: "",
5519
- id: cliFlag95
5586
+ id: cliFlag96
5520
5587
  };
5521
5588
 
5522
5589
  // src/options/video-bitrate.tsx
5523
- import { jsx as jsx91, jsxs as jsxs65, Fragment as Fragment91 } from "react/jsx-runtime";
5590
+ import { jsx as jsx92, jsxs as jsxs66, Fragment as Fragment92 } from "react/jsx-runtime";
5524
5591
  var videoBitrate = null;
5525
- var cliFlag96 = "video-bitrate";
5592
+ var cliFlag97 = "video-bitrate";
5526
5593
  var videoBitrateOption = {
5527
5594
  name: "Video Bitrate",
5528
5595
  addedIn: "3.2.32",
5529
- cliFlag: cliFlag96,
5530
- description: () => /* @__PURE__ */ jsxs65(Fragment91, {
5596
+ cliFlag: cliFlag97,
5597
+ description: () => /* @__PURE__ */ jsxs66(Fragment92, {
5531
5598
  children: [
5532
5599
  "Specify the target bitrate for the generated video. The syntax for FFmpeg",
5533
5600
  "'",
5534
5601
  "s",
5535
- /* @__PURE__ */ jsx91("code", {
5602
+ /* @__PURE__ */ jsx92("code", {
5536
5603
  children: "-b:v"
5537
5604
  }),
5538
5605
  " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ",
5539
- /* @__PURE__ */ jsx91("code", {
5606
+ /* @__PURE__ */ jsx92("code", {
5540
5607
  children: "512K"
5541
5608
  }),
5542
5609
  " for 512 kbps, ",
5543
- /* @__PURE__ */ jsx91("code", {
5610
+ /* @__PURE__ */ jsx92("code", {
5544
5611
  children: "1M"
5545
5612
  }),
5546
5613
  " for 1 Mbps."
@@ -5550,10 +5617,10 @@ var videoBitrateOption = {
5550
5617
  docLink: "https://www.remotion.dev/docs/options/video-bitrate",
5551
5618
  type: "",
5552
5619
  getValue: ({ commandLine }) => {
5553
- if (commandLine[cliFlag96] !== undefined) {
5620
+ if (commandLine[cliFlag97] !== undefined) {
5554
5621
  return {
5555
5622
  source: "cli",
5556
- value: commandLine[cliFlag96]
5623
+ value: commandLine[cliFlag97]
5557
5624
  };
5558
5625
  }
5559
5626
  if (videoBitrate !== null) {
@@ -5570,35 +5637,35 @@ var videoBitrateOption = {
5570
5637
  setConfig: (bitrate) => {
5571
5638
  videoBitrate = bitrate;
5572
5639
  },
5573
- id: cliFlag96
5640
+ id: cliFlag97
5574
5641
  };
5575
5642
 
5576
5643
  // src/options/video-cache-size.tsx
5577
- import { jsx as jsx92, jsxs as jsxs66, Fragment as Fragment92 } from "react/jsx-runtime";
5644
+ import { jsx as jsx93, jsxs as jsxs67, Fragment as Fragment93 } from "react/jsx-runtime";
5578
5645
  var mediaCacheSizeInBytes = null;
5579
- var cliFlag97 = "media-cache-size-in-bytes";
5646
+ var cliFlag98 = "media-cache-size-in-bytes";
5580
5647
  var mediaCacheSizeInBytesOption = {
5581
5648
  name: "@remotion/media cache size",
5582
5649
  addedIn: "4.0.352",
5583
- cliFlag: cliFlag97,
5584
- description: () => /* @__PURE__ */ jsxs66(Fragment92, {
5650
+ cliFlag: cliFlag98,
5651
+ description: () => /* @__PURE__ */ jsxs67(Fragment93, {
5585
5652
  children: [
5586
5653
  "Specify the memory budget for decoded media cached by",
5587
5654
  " ",
5588
- /* @__PURE__ */ jsx92("code", {
5655
+ /* @__PURE__ */ jsx93("code", {
5589
5656
  children: "<Video>"
5590
5657
  }),
5591
5658
  " and ",
5592
- /* @__PURE__ */ jsx92("code", {
5659
+ /* @__PURE__ */ jsx93("code", {
5593
5660
  children: "<Audio>"
5594
5661
  }),
5595
5662
  " from",
5596
5663
  " ",
5597
- /* @__PURE__ */ jsx92("code", {
5664
+ /* @__PURE__ */ jsx93("code", {
5598
5665
  children: "@remotion/media"
5599
5666
  }),
5600
5667
  ", 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. ",
5601
- /* @__PURE__ */ jsx92("br", {}),
5668
+ /* @__PURE__ */ jsx93("br", {}),
5602
5669
  "The default is half of the available system memory when the render starts."
5603
5670
  ]
5604
5671
  }),
@@ -5606,10 +5673,10 @@ var mediaCacheSizeInBytesOption = {
5606
5673
  docLink: "https://www.remotion.dev/docs/options/media-cache-size-in-bytes",
5607
5674
  type: 0,
5608
5675
  getValue: ({ commandLine }) => {
5609
- if (commandLine[cliFlag97] !== undefined) {
5676
+ if (commandLine[cliFlag98] !== undefined) {
5610
5677
  return {
5611
5678
  source: "cli",
5612
- value: commandLine[cliFlag97]
5679
+ value: commandLine[cliFlag98]
5613
5680
  };
5614
5681
  }
5615
5682
  if (mediaCacheSizeInBytes !== null) {
@@ -5626,11 +5693,11 @@ var mediaCacheSizeInBytesOption = {
5626
5693
  setConfig: (size) => {
5627
5694
  mediaCacheSizeInBytes = size ?? null;
5628
5695
  },
5629
- id: cliFlag97
5696
+ id: cliFlag98
5630
5697
  };
5631
5698
 
5632
5699
  // src/options/video-codec.tsx
5633
- import { jsx as jsx93, Fragment as Fragment93 } from "react/jsx-runtime";
5700
+ import { jsx as jsx94, Fragment as Fragment94 } from "react/jsx-runtime";
5634
5701
  var codec;
5635
5702
  var setCodec = (newCodec) => {
5636
5703
  if (newCodec === undefined) {
@@ -5655,12 +5722,12 @@ var deriveCodecsFromFilename = (extension) => {
5655
5722
  possible: makeFileExtensionMap()[normalizedExtension] ?? []
5656
5723
  };
5657
5724
  };
5658
- var cliFlag98 = "codec";
5725
+ var cliFlag99 = "codec";
5659
5726
  var videoCodecOption = {
5660
5727
  name: "Codec",
5661
5728
  addedIn: "1.4.0",
5662
- cliFlag: cliFlag98,
5663
- description: () => /* @__PURE__ */ jsx93(Fragment93, {
5729
+ cliFlag: cliFlag99,
5730
+ description: () => /* @__PURE__ */ jsx94(Fragment94, {
5664
5731
  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."
5665
5732
  }),
5666
5733
  ssrName: "codec",
@@ -5683,7 +5750,7 @@ var videoCodecOption = {
5683
5750
  if (derivedDownloadCodecs.possible.length > 0 && derivedOutNameCodecs.possible.length > 0 && derivedDownloadCodecs.possible.join("") !== derivedOutNameCodecs.possible.join("")) {
5684
5751
  throw new TypeError(`The download name is ${downloadName} but the output name is ${outName}. The file extensions must match`);
5685
5752
  }
5686
- const cliArgument = commandLine[cliFlag98];
5753
+ const cliArgument = commandLine[cliFlag99];
5687
5754
  if (cliArgument) {
5688
5755
  if (derivedDownloadCodecs.possible.length > 0 && derivedDownloadCodecs.possible.indexOf(cliArgument) === -1) {
5689
5756
  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.`);
@@ -5732,31 +5799,31 @@ var videoCodecOption = {
5732
5799
  reset: () => {
5733
5800
  codec = undefined;
5734
5801
  },
5735
- id: cliFlag98
5802
+ id: cliFlag99
5736
5803
  };
5737
5804
 
5738
5805
  // src/options/video-image-format.tsx
5739
- import { jsx as jsx94, jsxs as jsxs67, Fragment as Fragment94 } from "react/jsx-runtime";
5806
+ import { jsx as jsx95, jsxs as jsxs68, Fragment as Fragment95 } from "react/jsx-runtime";
5740
5807
  var currentVideoImageFormat = null;
5741
- var cliFlag99 = "image-format";
5808
+ var cliFlag100 = "image-format";
5742
5809
  var videoImageFormatOption = {
5743
5810
  name: "Video Image Format",
5744
5811
  addedIn: "1.4.0",
5745
- cliFlag: cliFlag99,
5746
- description: () => /* @__PURE__ */ jsxs67(Fragment94, {
5812
+ cliFlag: cliFlag100,
5813
+ description: () => /* @__PURE__ */ jsxs68(Fragment95, {
5747
5814
  children: [
5748
5815
  "The image format to use when rendering frames for a video. Must be one of",
5749
5816
  " ",
5750
5817
  validVideoImageFormats.map((f) => `"${f}"`).join(", "),
5751
5818
  ". Default:",
5752
5819
  " ",
5753
- /* @__PURE__ */ jsx94("code", {
5820
+ /* @__PURE__ */ jsx95("code", {
5754
5821
  children: '"jpeg"'
5755
5822
  }),
5756
5823
  ". JPEG is faster, but does not support transparency.",
5757
- /* @__PURE__ */ jsx94("br", {}),
5824
+ /* @__PURE__ */ jsx95("br", {}),
5758
5825
  "When ",
5759
- /* @__PURE__ */ jsx94("a", {
5826
+ /* @__PURE__ */ jsx95("a", {
5760
5827
  href: "/docs/shared-memory-capture",
5761
5828
  children: "shared-memory capture"
5762
5829
  }),
@@ -5773,8 +5840,8 @@ var videoImageFormatOption = {
5773
5840
  value: options.uiVideoImageFormat
5774
5841
  };
5775
5842
  }
5776
- if (commandLine[cliFlag99] !== undefined) {
5777
- const value = commandLine[cliFlag99];
5843
+ if (commandLine[cliFlag100] !== undefined) {
5844
+ const value = commandLine[cliFlag100];
5778
5845
  if (!validVideoImageFormats.includes(value)) {
5779
5846
  throw new Error(`Invalid video image format: ${value}. Must be one of: ${validVideoImageFormats.join(", ")}`);
5780
5847
  }
@@ -5838,13 +5905,13 @@ var videoImageFormatOption = {
5838
5905
  };
5839
5906
 
5840
5907
  // src/options/webhook-custom-data.tsx
5841
- import { jsxs as jsxs68, Fragment as Fragment95 } from "react/jsx-runtime";
5842
- var cliFlag100 = "webhook-custom-data";
5908
+ import { jsxs as jsxs69, Fragment as Fragment96 } from "react/jsx-runtime";
5909
+ var cliFlag101 = "webhook-custom-data";
5843
5910
  var webhookCustomDataOption = {
5844
5911
  name: "Webhook custom data",
5845
5912
  addedIn: "4.0.25",
5846
- cliFlag: cliFlag100,
5847
- description: (type) => /* @__PURE__ */ jsxs68(Fragment95, {
5913
+ cliFlag: cliFlag101,
5914
+ description: (type) => /* @__PURE__ */ jsxs69(Fragment96, {
5848
5915
  children: [
5849
5916
  "Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.",
5850
5917
  " ",
@@ -5860,25 +5927,25 @@ var webhookCustomDataOption = {
5860
5927
  setConfig: () => {
5861
5928
  throw new Error("Not implemented");
5862
5929
  },
5863
- id: cliFlag100
5930
+ id: cliFlag101
5864
5931
  };
5865
5932
 
5866
5933
  // src/options/webpack-poll.tsx
5867
- import { jsx as jsx95, Fragment as Fragment96 } from "react/jsx-runtime";
5868
- var cliFlag101 = "webpack-poll";
5934
+ import { jsx as jsx96, Fragment as Fragment97 } from "react/jsx-runtime";
5935
+ var cliFlag102 = "webpack-poll";
5869
5936
  var webpackPolling = null;
5870
5937
  var webpackPollOption = {
5871
5938
  name: "Webpack Polling",
5872
5939
  addedIn: "3.3.11",
5873
- cliFlag: cliFlag101,
5874
- description: () => /* @__PURE__ */ jsx95(Fragment96, {
5940
+ cliFlag: cliFlag102,
5941
+ description: () => /* @__PURE__ */ jsx96(Fragment97, {
5875
5942
  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."
5876
5943
  }),
5877
5944
  ssrName: null,
5878
5945
  docLink: "https://www.remotion.dev/docs/options/webpack-poll",
5879
5946
  getValue: ({ commandLine }) => {
5880
- if (commandLine[cliFlag101] !== undefined) {
5881
- const val = commandLine[cliFlag101];
5947
+ if (commandLine[cliFlag102] !== undefined) {
5948
+ const val = commandLine[cliFlag102];
5882
5949
  if (typeof val !== "number") {
5883
5950
  throw new TypeError(`Webpack polling must be a number, got ${JSON.stringify(val)}`);
5884
5951
  }
@@ -5905,11 +5972,11 @@ var webpackPollOption = {
5905
5972
  webpackPolling = value;
5906
5973
  },
5907
5974
  type: 0,
5908
- id: cliFlag101
5975
+ id: cliFlag102
5909
5976
  };
5910
5977
 
5911
5978
  // src/options/x264-preset.tsx
5912
- import { jsx as jsx96, jsxs as jsxs69, Fragment as Fragment97 } from "react/jsx-runtime";
5979
+ import { jsx as jsx97, jsxs as jsxs70, Fragment as Fragment98 } from "react/jsx-runtime";
5913
5980
  var x264PresetOptions = [
5914
5981
  "ultrafast",
5915
5982
  "superfast",
@@ -5923,64 +5990,64 @@ var x264PresetOptions = [
5923
5990
  "placebo"
5924
5991
  ];
5925
5992
  var preset = null;
5926
- var cliFlag102 = "x264-preset";
5993
+ var cliFlag103 = "x264-preset";
5927
5994
  var DEFAULT_PRESET = "medium";
5928
5995
  var x264Option = {
5929
5996
  name: "x264 Preset",
5930
5997
  addedIn: "4.0.22",
5931
- cliFlag: cliFlag102,
5932
- description: () => /* @__PURE__ */ jsxs69(Fragment97, {
5998
+ cliFlag: cliFlag103,
5999
+ description: () => /* @__PURE__ */ jsxs70(Fragment98, {
5933
6000
  children: [
5934
6001
  "Sets a x264 preset profile. Only applies to videos rendered with",
5935
6002
  " ",
5936
- /* @__PURE__ */ jsx96("code", {
6003
+ /* @__PURE__ */ jsx97("code", {
5937
6004
  children: "h264"
5938
6005
  }),
5939
6006
  " codec.",
5940
- /* @__PURE__ */ jsx96("br", {}),
6007
+ /* @__PURE__ */ jsx97("br", {}),
5941
6008
  "Possible values: ",
5942
- /* @__PURE__ */ jsx96("code", {
6009
+ /* @__PURE__ */ jsx97("code", {
5943
6010
  children: "superfast"
5944
6011
  }),
5945
6012
  ", ",
5946
- /* @__PURE__ */ jsx96("code", {
6013
+ /* @__PURE__ */ jsx97("code", {
5947
6014
  children: "veryfast"
5948
6015
  }),
5949
6016
  ",",
5950
6017
  " ",
5951
- /* @__PURE__ */ jsx96("code", {
6018
+ /* @__PURE__ */ jsx97("code", {
5952
6019
  children: "faster"
5953
6020
  }),
5954
6021
  ", ",
5955
- /* @__PURE__ */ jsx96("code", {
6022
+ /* @__PURE__ */ jsx97("code", {
5956
6023
  children: "fast"
5957
6024
  }),
5958
6025
  ", ",
5959
- /* @__PURE__ */ jsx96("code", {
6026
+ /* @__PURE__ */ jsx97("code", {
5960
6027
  children: "medium"
5961
6028
  }),
5962
6029
  ",",
5963
6030
  " ",
5964
- /* @__PURE__ */ jsx96("code", {
6031
+ /* @__PURE__ */ jsx97("code", {
5965
6032
  children: "slow"
5966
6033
  }),
5967
6034
  ", ",
5968
- /* @__PURE__ */ jsx96("code", {
6035
+ /* @__PURE__ */ jsx97("code", {
5969
6036
  children: "slower"
5970
6037
  }),
5971
6038
  ", ",
5972
- /* @__PURE__ */ jsx96("code", {
6039
+ /* @__PURE__ */ jsx97("code", {
5973
6040
  children: "veryslow"
5974
6041
  }),
5975
6042
  ",",
5976
6043
  " ",
5977
- /* @__PURE__ */ jsx96("code", {
6044
+ /* @__PURE__ */ jsx97("code", {
5978
6045
  children: "placebo"
5979
6046
  }),
5980
6047
  ".",
5981
- /* @__PURE__ */ jsx96("br", {}),
6048
+ /* @__PURE__ */ jsx97("br", {}),
5982
6049
  "Default: ",
5983
- /* @__PURE__ */ jsx96("code", {
6050
+ /* @__PURE__ */ jsx97("code", {
5984
6051
  children: DEFAULT_PRESET
5985
6052
  })
5986
6053
  ]
@@ -5989,7 +6056,7 @@ var x264Option = {
5989
6056
  docLink: "https://www.remotion.dev/docs/options/x264-preset",
5990
6057
  type: "fast",
5991
6058
  getValue: ({ commandLine }) => {
5992
- const value = commandLine[cliFlag102];
6059
+ const value = commandLine[cliFlag103];
5993
6060
  if (typeof value !== "undefined") {
5994
6061
  return { value, source: "cli" };
5995
6062
  }
@@ -6001,11 +6068,12 @@ var x264Option = {
6001
6068
  setConfig: (profile) => {
6002
6069
  preset = profile;
6003
6070
  },
6004
- id: cliFlag102
6071
+ id: cliFlag103
6005
6072
  };
6006
6073
 
6007
6074
  // src/options/index.tsx
6008
6075
  var allOptions = {
6076
+ preservePitchOnPlaybackOption,
6009
6077
  showLayerFrameNumbersOption,
6010
6078
  showPremountingOption,
6011
6079
  allowHtmlInCanvasOption,