@remotion/renderer 4.0.537 → 4.0.539

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