🎥 Make videos programmatically with React
Merge remote-tracking branch 'origin/main' into codex/shared-memory-chromium-157
Jonny Burgerd933f4c106b4
diff --cc packages/docs/docs/config.mdxindex 743232271c,40be139a35..07abea0dc3--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@@ -552,22 -558,8 +558,22 @@@ import {Config} from '@remotion/cli/conConfig.setMuted(true);```- The [command line flag](/docs/cli/render#--muted) `--muted` will take precedence over this option.+ The [`--muted`](/docs/options/muted) flag takes precedence over this option.+## `setDisableSharedMemoryCapture()`<AvailableFrom v="4.0.534" />++<Options id="disable-shared-memory-capture" />++See [Shared-memory capture](/docs/shared-memory-capture).++```ts twoslash title="remotion.config.ts"+import {Config} from '@remotion/cli/config';+// ---cut---+Config.setDisableSharedMemoryCapture(true);+```+- The [command line flag](/docs/cli/render#--disable-shared-memory-capture) `--disable-shared-memory-capture` takes precedence over this option. Pass `--disable-shared-memory-capture=false` to override a configured opt-out.++The [`--disable-shared-memory-capture`](/docs/options/disable-shared-memory-capture) flag takes precedence over this option. Pass `--disable-shared-memory-capture=false` to override a configured opt-out.+## `setDisallowParallelEncoding()`<AvailableFrom v="4.0.315" />Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower. Default `false`.diff --cc packages/docs/docs/options/buffer-size.mdxindex 0000000000,55be39e5d9..e886e56478mode 000000,100644..100644--- a/packages/docs/docs/options/buffer-size.mdx+++ b/packages/docs/docs/options/buffer-size.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-buffer-size.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "FFmpeg -bufsize flag"-sidebar_position: 41++sidebar_position: 42+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/encoding-buffer-size.tsx+ ---++ The value for the `-bufsize` flag of FFmpeg. Should be used in conjunction with the encoding max rate flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set.++ ## CLI flag++ ```text+ --buffer-size <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#buffersize)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#buffersize)+ - [`renderMedia()`](/docs/renderer/render-media#buffersize)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#buffersize)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEncodingBufferSize('10000k');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/bundle-cache.mdxindex 0000000000,909edb7dd1..3c418bce31mode 000000,100644..100644--- a/packages/docs/docs/options/bundle-cache.mdx+++ b/packages/docs/docs/options/bundle-cache.mdx@@@ -1,0 -1,48 +1,48 @@@+ ---+ image: /generated/articles-docs-options-bundle-cache.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Webpack Bundle Caching"-sidebar_position: 95++sidebar_position: 96+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/bundle-cache.tsx+ ---++ Enable or disable Webpack caching. This flag is enabled by default, use `--bundle-cache=false` to disable caching.++ ## CLI flag++ ```text+ --bundle-cache+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion bundle`](/docs/cli/bundle)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda sites create`](/docs/lambda/cli/sites/create)+ - [`remotion cloudrun sites create`](/docs/cloudrun/cli/sites/create)++ ## APIs that have this option++ The following APIs accept this option:++ - [`bundle()`](/docs/bundle#enablecaching)+ - [`deploySite()`](/docs/cloudrun/deploysite#enablecaching)+ - [`deploySite()`](/docs/lambda/deploysite#enablecaching)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setCachingEnabled(false);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/cross-site-isolation.mdxindex 0000000000,45c3cd4522..2f9f016dafmode 000000,100644..100644--- a/packages/docs/docs/options/cross-site-isolation.mdx+++ b/packages/docs/docs/options/cross-site-isolation.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-cross-site-isolation.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Enable Cross-Site Isolation"-sidebar_position: 35++sidebar_position: 36+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/cross-site-isolation.tsx+ ---++ Enable Cross-Site Isolation in the Studio (sets Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers, required for `@remotion/whisper-web`).++ ## CLI flag++ ```text+ --cross-site-isolation+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEnableCrossSiteIsolation(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/delete-after.mdxindex 0000000000,f1c884e275..e569e12610mode 000000,100644..100644--- a/packages/docs/docs/options/delete-after.mdx+++ b/packages/docs/docs/options/delete-after.mdx@@@ -1,0 -1,41 +1,41 @@@+ ---+ image: /generated/articles-docs-options-delete-after.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Lambda render expiration"-sidebar_position: 57++sidebar_position: 58+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/delete-after.tsx+ ---++ Automatically delete the render after a certain period. Accepted values are `1-day`, `3-days`, `7-days` and `30-days`.<br /> For this to work, your bucket needs to have [lifecycles enabled](/docs/lambda/autodelete).++ ## CLI flag++ ```text+ --delete-after <value>+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#deleteafter)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#deleteafter)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setDeleteAfter('3-days');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/disable-shared-memory-capture.mdxindex 0000000000,0000000000..c0be000098new file mode 100644--- /dev/null+++ b/packages/docs/docs/options/disable-shared-memory-capture.mdx@@@ -1,0 -1,0 +1,44 @@@++---++image: /generated/articles-docs-options-disable-shared-memory-capture.png++# Generated by packages/docs/generate-option-docs.ts. Do not edit directly.++# Regenerate: cd packages/docs && bun run generate-option-docs++title: "Disable shared-memory capture"++sidebar_position: 32++crumb: Options++custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/disable-shared-memory-capture.tsx++---++++Disables shared-memory capture and uses regular JPEG or PNG screenshots instead. Parallel encoding remains enabled. Default `false`.++++## CLI flag++++```text++--disable-shared-memory-capture++```++++The following CLI commands accept this option:++++- [`remotion render`](/docs/cli/render)++- [`remotion benchmark`](/docs/cli/benchmark)++- [`remotion lambda render`](/docs/lambda/cli/render)++- [`remotion cloudrun render`](/docs/cloudrun/cli/render)++++## APIs that have this option++++The following APIs accept this option:++++- [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#disablesharedmemorycapture)++- [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#disablesharedmemorycapture)++- [`renderMedia()`](/docs/renderer/render-media#disablesharedmemorycapture)++++## Config file++++```ts twoslash title="remotion.config.ts"++import {Config} from '@remotion/cli/config';++// ---cut---++Config.setDisableSharedMemoryCapture(true);++```++++## See also++++- [All options](/docs/options)diff --cc packages/docs/docs/options/disable-web-security.mdxindex 0000000000,43d0a3bb84..9b90bac90cmode 000000,100644..100644--- a/packages/docs/docs/options/disable-web-security.mdx+++ b/packages/docs/docs/options/disable-web-security.mdx@@@ -1,0 -1,58 +1,58 @@@+ ---+ image: /generated/articles-docs-options-disable-web-security.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Disable web security"-sidebar_position: 32++sidebar_position: 33+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/disable-web-security.tsx+ ---++ This will most notably disable CORS in Chrome among other security features.++ ## CLI flag++ ```text+ --disable-web-security+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#disablewebsecurity)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#disablewebsecurity)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#disablewebsecurity)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#disablewebsecurity)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#disablewebsecurity)+ - [`renderFrames()`](/docs/renderer/render-frames#disablewebsecurity)+ - [`renderMedia()`](/docs/renderer/render-media#disablewebsecurity)+ - [`renderStill()`](/docs/renderer/render-still#disablewebsecurity)++ ## Config file++ ```tsx twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';++ // ---cut---++ Config.setChromiumDisableWebSecurity(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/disallow-parallel-encoding.mdxindex 0000000000,3abb784d9d..61d0e0bc93mode 000000,100644..100644--- a/packages/docs/docs/options/disallow-parallel-encoding.mdx+++ b/packages/docs/docs/options/disallow-parallel-encoding.mdx@@@ -1,0 -1,40 +1,40 @@@+ ---+ image: /generated/articles-docs-options-disallow-parallel-encoding.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Disallow parallel encoding"-sidebar_position: 33++sidebar_position: 34+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/disallow-parallel-encoding.tsx+ ---++ Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower.++ ## CLI flag++ ```text+ --disallow-parallel-encoding+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMedia()`](/docs/renderer/render-media#disallowparallelencoding)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setDisallowParallelEncoding(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/duration.mdxindex 0000000000,18269029bf..5f7650d790mode 000000,100644..100644--- a/packages/docs/docs/options/duration.mdx+++ b/packages/docs/docs/options/duration.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-duration.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Override Duration"-sidebar_position: 69++sidebar_position: 70+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/override-duration.tsx+ ---++ Overrides the duration in frames of the composition.++ ## CLI flag++ ```text+ --duration <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.overrideDuration(300);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/enable-cancellation.mdxindex 0000000000,6bef1d894f..92cdb5ccd2mode 000000,100644..100644--- a/packages/docs/docs/options/enable-cancellation.mdx+++ b/packages/docs/docs/options/enable-cancellation.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-enable-cancellation.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Enable cancellation"-sidebar_position: 34++sidebar_position: 35+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/enable-cancellation.tsx+ ---++ Allows a Lambda render to be cancelled by pressing Ctrl+C while running `npx remotion lambda render`. Enabling cancellation causes each renderer function to poll S3 once per second while it is running.++ ## CLI flag++ ```text+ --enable-cancellation+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEnableCancellation(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/enable-folder-expiry.mdxindex 0000000000,d73165e4dc..cdfc7adf8fmode 000000,100644..100644--- a/packages/docs/docs/options/enable-folder-expiry.mdx+++ b/packages/docs/docs/options/enable-folder-expiry.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-enable-folder-expiry.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Lambda render expiration"-sidebar_position: 58++sidebar_position: 59+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/folder-expiry.tsx+ ---++ When deploying sites, enable or disable S3 Lifecycle policies which allow for renders to auto-delete after a certain time. Default is `null`, which does not change any lifecycle policies of the S3 bucket. See: [Lambda autodelete](/docs/lambda/autodelete).++ ## CLI flag++ ```text+ --enable-folder-expiry+ ```++ The following CLI commands accept this option:++ - [`remotion lambda sites create`](/docs/lambda/cli/sites/create)++ ## APIs that have this option++ The following APIs accept this option:++ - [`getOrCreateBucket()`](/docs/lambda/getorcreatebucket#enablefolderexpiry)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEnableFolderExpiry(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/enable-lambda-insights.mdxindex 0000000000,a8597857e3..c5f0de4075mode 000000,100644..100644--- a/packages/docs/docs/options/enable-lambda-insights.mdx+++ b/packages/docs/docs/options/enable-lambda-insights.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-enable-lambda-insights.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Enable Lambda Insights"-sidebar_position: 36++sidebar_position: 37+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/enable-lambda-insights.tsx+ ---++ Enable [Lambda Insights in AWS CloudWatch](/docs/lambda/insights). For this to work, you may have to update your role permission.++ ## CLI flag++ ```text+ --enable-lambda-insights+ ```++ The following CLI commands accept this option:++ - [`remotion lambda functions deploy`](/docs/lambda/cli/functions/deploy)++ ## APIs that have this option++ The following APIs accept this option:++ - [`deployFunction()`](/docs/lambda/deployfunction#enablelambdainsights)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setLambdaInsights(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/enable-multiprocess-on-linux.mdxindex 0000000000,3a307a53fe..99ba46c1e1mode 000000,100644..100644--- a/packages/docs/docs/options/enable-multiprocess-on-linux.mdx+++ b/packages/docs/docs/options/enable-multiprocess-on-linux.mdx@@@ -1,0 -1,53 +1,53 @@@+ ---+ image: /generated/articles-docs-options-enable-multiprocess-on-linux.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Enable Multiprocess on Linux"-sidebar_position: 37++sidebar_position: 38+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/enable-multiprocess-on-linux.tsx+ ---++ Removes the `--single-process` flag that gets passed to Chromium on Linux by default. This will make the render faster because multiple processes can be used, but may cause issues with some Linux distributions or if window server libraries are missing.<br />Default: `false` until v4.0.136, then `true` from v4.0.137 on because newer Chrome versions don't allow rendering with the `--single-process` flag. <br />This flag will be removed in Remotion v5.0.++ ## CLI flag++ ```text+ --enable-multiprocess-on-linux+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderFrames()`](/docs/renderer/render-frames#enablemultiprocessonlinux)+ - [`renderMedia()`](/docs/renderer/render-media#enablemultiprocessonlinux)+ - [`renderStill()`](/docs/renderer/render-still#enablemultiprocessonlinux)++ ## Config file++ ```tsx twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';++ // ---cut---++ Config.setChromiumMultiProcessOnLinux(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/enforce-audio-track.mdxindex 0000000000,0a919fe92b..ddf7470fa5mode 000000,100644..100644--- a/packages/docs/docs/options/enforce-audio-track.mdx+++ b/packages/docs/docs/options/enforce-audio-track.mdx@@@ -1,0 -1,54 +1,54 @@@+ ---+ image: /generated/articles-docs-options-enforce-audio-track.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Enforce Audio Track"-sidebar_position: 38++sidebar_position: 39+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/enforce-audio.tsx+ ---++ ## JavaScript API++ Defaults to `false`. If `true`, include a silent audio track when the render contains no audio. If `false`, omit the audio track when no audio is present. Audio-only exports and `separateAudioTo` still produce an audio file, even when silent.++ Set this to `true` for [chunks that will later be concatenated](/docs/distributed-rendering), because other chunks may contain audio. `muted: true` takes precedence.++ ## Command line++ Defaults to `false`. If `true`, include a silent audio track when the render contains no audio. If `false`, omit the audio track when no audio is present. Audio-only exports and `--separate-audio-to` still produce an audio file, even when silent.++ Pass `--enforce-audio-track` for [chunks that will later be concatenated](/docs/distributed-rendering), because other chunks may contain audio. `--muted` takes precedence.++ ## CLI flag++ ```text+ --enforce-audio-track+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#enforceaudiotrack)+ - [`renderMedia()`](/docs/renderer/render-media#enforceaudiotrack)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#enforceaudiotrack)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEnforceAudioTrack(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/env-file.mdxindex 0000000000,bdb72392cb..9844b3a9f2mode 000000,100644..100644--- a/packages/docs/docs/options/env-file.mdx+++ b/packages/docs/docs/options/env-file.mdx@@@ -1,0 -1,42 +1,42 @@@+ ---+ image: /generated/articles-docs-options-env-file.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Env File"-sidebar_position: 39++sidebar_position: 40+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/env-file.tsx+ ---++ Specify a location for a dotenv file. Default `.env`.++ ## CLI flag++ ```text+ --env-file <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setDotEnvLocation('.my-env');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/every-nth-frame.mdxindex 0000000000,a4ac85ae6e..47908b6216mode 000000,100644..100644--- a/packages/docs/docs/options/every-nth-frame.mdx+++ b/packages/docs/docs/options/every-nth-frame.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-every-nth-frame.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Every nth frame"-sidebar_position: 40++sidebar_position: 41+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/every-nth-frame.tsx+ ---++ This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the `fps` is 30, and `everyNthFrame` is 2, the FPS of the GIF is `15`.++ ## CLI flag++ ```text+ --every-nth-frame <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#everynthframe)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#everynthframe)+ - [`combineChunks()`](/docs/renderer/combine-chunks#everynthframe)+ - [`renderFrames()`](/docs/renderer/render-frames#everynthframe)+ - [`renderMedia()`](/docs/renderer/render-media#everynthframe)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEveryNthFrame(2);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/experimental-keep-audio-context-alive.mdxindex 0000000000,fa7f293c7c..0abf2ba35fmode 000000,100644..100644--- a/packages/docs/docs/options/experimental-keep-audio-context-alive.mdx+++ b/packages/docs/docs/options/experimental-keep-audio-context-alive.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-experimental-keep-audio-context-alive.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Keep AudioContext alive (experimental)"-sidebar_position: 56++sidebar_position: 57+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/experimental-keep-audio-context-alive.tsx+ ---++ Keeps the shared `AudioContext` running while the Remotion Studio is paused.++ ## CLI flag++ ```text+ --experimental-keep-audio-context-alive+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setExperimentalKeepAudioContextAlive(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/for-seamless-aac-concatenation.mdxindex 0000000000,09d732a1eb..af46eed7d6mode 000000,100644..100644--- a/packages/docs/docs/options/for-seamless-aac-concatenation.mdx+++ b/packages/docs/docs/options/for-seamless-aac-concatenation.mdx@@@ -1,0 -1,42 +1,42 @@@+ ---+ image: /generated/articles-docs-options-for-seamless-aac-concatenation.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "For seamless AAC concatenation"-sidebar_position: 43++sidebar_position: 44+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/for-seamless-aac-concatenation.tsx+ ---++ If enabled, the audio is trimmed to the nearest AAC frame, which is required for seamless concatenation of AAC files. This is a requirement if you later want to combine multiple video snippets seamlessly.<br /><br /> This option is used internally. There is currently no documentation yet for to concatenate the audio chunks.++ ## CLI flag++ ```text+ --for-seamless-aac-concatenation+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMedia()`](/docs/renderer/render-media#forseamlessaacconcatenation)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#forseamlessaacconcatenation)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setForSeamlessAacConcatenation(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/force-new.mdxindex 0000000000,32ee513db5..c2a0891680mode 000000,100644..100644--- a/packages/docs/docs/options/force-new.mdx+++ b/packages/docs/docs/options/force-new.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-force-new.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Force New Studio"-sidebar_position: 44++sidebar_position: 45+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/force-new-studio.tsx+ ---++ Forces starting a new Studio instance even if one is already running on the same port for the same project.++ ## CLI flag++ ```text+ --force-new+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setForceNewStudioEnabled(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/fps.mdxindex 0000000000,789a57c9f5..82287e0839mode 000000,100644..100644--- a/packages/docs/docs/options/fps.mdx+++ b/packages/docs/docs/options/fps.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-fps.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Override FPS"-sidebar_position: 70++sidebar_position: 71+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/override-fps.tsx+ ---++ Overrides the frames per second of the composition.++ ## CLI flag++ ```text+ --fps <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.overrideFps(25);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/frame.mdxindex 0000000000,12e1172d9d..a2f1241eefmode 000000,100644..100644--- a/packages/docs/docs/options/frame.mdx+++ b/packages/docs/docs/options/frame.mdx@@@ -1,0 -1,36 +1,36 @@@+ ---+ image: /generated/articles-docs-options-frame.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Frame"-sidebar_position: 45++sidebar_position: 46+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/still-frame.tsx+ ---++ Which frame should be rendered when rendering a still. Default `0`. From v3.2.27, negative values are allowed, with `-1` being the last frame.++ ## CLI flag++ ```text+ --frame <value>+ ```++ The following CLI commands accept this option:++ - [`remotion still`](/docs/cli/still)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#frame)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#frame)+ - [`renderStill()`](/docs/renderer/render-still#frame)+ - [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web#frame)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/frames.mdxindex 0000000000,c277464175..81f2c8cf36mode 000000,100644..100644--- a/packages/docs/docs/options/frames.mdx+++ b/packages/docs/docs/options/frames.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-frames.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Frame Range"-sidebar_position: 46++sidebar_position: 47+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/frames.tsx+ ---++ Render a subset of a video. Pass a single number to render a still, or a range (e.g. `0-9`) to render a subset of frames. Pass `100-` to render from frame 100 to the end.++ ## CLI flag++ ```text+ --frames <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#framerange)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#framerange)+ - [`combineChunks()`](/docs/renderer/combine-chunks#framerange)+ - [`renderFrames()`](/docs/renderer/render-frames#framerange)+ - [`renderMedia()`](/docs/renderer/render-media#framerange)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#framerange)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setFrameRange(90); // To render only the 91st frame+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/gl.mdxindex 0000000000,2f2f1d6210..dd1469ccb7mode 000000,100644..100644--- a/packages/docs/docs/options/gl.mdx+++ b/packages/docs/docs/options/gl.mdx@@@ -1,0 -1,76 +1,76 @@@+ ---+ image: /generated/articles-docs-options-gl.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "OpenGL renderer"-sidebar_position: 67++sidebar_position: 68+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/gl.tsx+ ---++ <details>++ <summary>Changelog</summary>++ - From Remotion v2.6.7 until v3.0.7, the default for Remotion Lambda was `swiftshader`, but from v3.0.8 the default is `swangle` (Swiftshader on Angle) since Chrome 101 added support for it.+ - From Remotion v2.4.3 until v2.6.6, the default was `angle`, however it turns out to have a small memory leak that could crash long Remotion renders.++ </details>++ Select the OpenGL renderer backend for Chromium. <br />Accepted values:++ - `"angle"`+ - `"egl"`+ - `"swiftshader"`+ - `"swangle"`+ - `"vulkan"` (_from Remotion v4.0.41_)+ - `"angle-egl"` (_from Remotion v4.0.51_)++ The default is `null`, letting Chrome decide, except on Lambda where the default is `"swangle"`++ ## CLI flag++ ```text+ --gl <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#gl)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#gl)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#gl)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#gl)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#gl)+ - [`renderFrames()`](/docs/renderer/render-frames#gl)+ - [`renderMedia()`](/docs/renderer/render-media#gl)+ - [`renderStill()`](/docs/renderer/render-still#gl)++ ## Config file++ ```tsx twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';++ // ---cut---++ Config.setChromiumOpenGlRenderer('angle');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/gop.mdxindex 0000000000,61b35a1f75..4e2a346489mode 000000,100644..100644--- a/packages/docs/docs/options/gop.mdx+++ b/packages/docs/docs/options/gop.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-gop.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "GOP size"-sidebar_position: 47++sidebar_position: 48+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/gop-size.tsx+ ---++ Set the maximum number of frames between two keyframes. This maps to FFmpeg's `-g` option. Default: Let the encoder decide.++ ## CLI flag++ ```text+ --gop <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#gopsize)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#gopsize)+ - [`renderMedia()`](/docs/renderer/render-media#gopsize)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#gopsize)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setGopSize(239);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/hardware-acceleration.mdxindex 0000000000,cd7bdc0af3..c7582afce7mode 000000,100644..100644--- a/packages/docs/docs/options/hardware-acceleration.mdx+++ b/packages/docs/docs/options/hardware-acceleration.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-hardware-acceleration.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Hardware Acceleration"-sidebar_position: 48++sidebar_position: 49+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/hardware-acceleration.tsx+ ---++ One of+ "disable", "if-possible", or "required"+ . Default "disable". Encode using a hardware-accelerated encoder if+ available. If set to "required" and no hardware-accelerated encoder is+ available, then the render will fail.++ ## CLI flag++ ```text+ --hardware-acceleration <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMedia()`](/docs/renderer/render-media#hardwareacceleration)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#hardwareacceleration)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#hardwareacceleration)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setHardwareAcceleration('if-possible');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/height.mdxindex 0000000000,fac69b73ab..4827a2907fmode 000000,100644..100644--- a/packages/docs/docs/options/height.mdx+++ b/packages/docs/docs/options/height.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-height.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Override Height"-sidebar_position: 71++sidebar_position: 72+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/override-height.tsx+ ---++ Overrides the height of the composition.++ ## CLI flag++ ```text+ --height <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.overrideHeight(600);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/ignore-certificate-errors.mdxindex 0000000000,e7d291de83..23ed458767mode 000000,100644..100644--- a/packages/docs/docs/options/ignore-certificate-errors.mdx+++ b/packages/docs/docs/options/ignore-certificate-errors.mdx@@@ -1,0 -1,58 +1,58 @@@+ ---+ image: /generated/articles-docs-options-ignore-certificate-errors.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Ignore certificate errors"-sidebar_position: 49++sidebar_position: 50+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/ignore-certificate-errors.tsx+ ---++ Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored.++ ## CLI flag++ ```text+ --ignore-certificate-errors+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#ignorecertificateerrors)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#ignorecertificateerrors)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#ignorecertificateerrors)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#ignorecertificateerrors)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#ignorecertificateerrors)+ - [`renderFrames()`](/docs/renderer/render-frames#ignorecertificateerrors)+ - [`renderMedia()`](/docs/renderer/render-media#ignorecertificateerrors)+ - [`renderStill()`](/docs/renderer/render-still#ignorecertificateerrors)++ ## Config file++ ```tsx twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';++ // ---cut---++ Config.setChromiumIgnoreCertificateErrors(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/image-sequence-pattern.mdxindex 0000000000,84f6533975..3253c28ecamode 000000,100644..100644--- a/packages/docs/docs/options/image-sequence-pattern.mdx+++ b/packages/docs/docs/options/image-sequence-pattern.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-image-sequence-pattern.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Image Sequence Pattern"-sidebar_position: 51++sidebar_position: 52+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/image-sequence-pattern.tsx+ ---++ Pattern for naming image sequence files. Supports `[frame]` for the zero-padded frame number and `[ext]` for the file extension.++ ## CLI flag++ ```text+ --image-sequence-pattern <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderFrames()`](/docs/renderer/render-frames#imagesequencepattern-)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setImageSequencePattern('frame_[frame]_custom.[ext]');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/index.mdxindex 0000000000,e69e2520d8..da342b08f7mode 000000,100644..100644--- a/packages/docs/docs/options/index.mdx+++ b/packages/docs/docs/options/index.mdx@@@ -1,0 -1,113 +1,114 @@@+ ---+ image: /generated/articles-docs-options-index.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: Options+ slug: /options+ crumb: API+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/docs/generate-option-docs.ts+ ---++ A list of options that Remotion supports.++ CLI flags override [configuration file defaults](/docs/config).++ Only the CLI reads the config file. In programmatic APIs, you need to pass all options explicitly.++ - [@remotion/media cache size](/docs/options/media-cache-size-in-bytes) (`--media-cache-size-in-bytes`)+ - [Allow HTML-in-canvas for client-side rendering](/docs/options/allow-html-in-canvas) (`--allow-html-in-canvas`)+ - [API key](/docs/options/api-key)+ - [Audio Bitrate](/docs/options/audio-bitrate) (`--audio-bitrate`)+ - [Audio Codec](/docs/options/audio-codec) (`--audio-codec`)+ - [Audio Latency Hint](/docs/options/audio-latency-hint) (`--audio-latency-hint`)+ - [Beep on finish](/docs/options/beep-on-finish) (`--beep-on-finish`)+ - [Benchmark concurrencies](/docs/options/concurrencies) (`--concurrencies`)+ - [Benchmark runs](/docs/options/runs) (`--runs`)+ - [Binaries Directory](/docs/options/binaries-directory) (`--binaries-directory`)+ - [Browser](/docs/options/browser) (`--browser`)+ - [Browser download callback function](/docs/options/on-browser-download)+ - [Browser executable](/docs/options/browser-executable) (`--browser-executable`)+ - [Chrome Mode](/docs/options/chrome-mode) (`--chrome-mode`)+ - [Codec](/docs/options/codec) (`--codec`)+ - [Color space](/docs/options/color-space) (`--color-space`)+ - [Concurrency](/docs/options/concurrency) (`--concurrency`)+ - [Config file](/docs/options/config) (`--config`)+ - [Create reproduction](/docs/options/repro) (`--repro`)+ - [CRF](/docs/options/crf) (`--crf`)+ - [Dark Mode](/docs/options/dark-mode) (`--dark-mode`)+ - [Default coding agent](/docs/options/coding-agent) (`--coding-agent`)+ - [Default editor](/docs/options/editor) (`--editor`)+ - [delayRender() timeout](/docs/options/timeout) (`--timeout`)+ - [Disable browser auto-open](/docs/options/no-open) (`--no-open`)+ - [Disable Git source](/docs/options/disable-git-source) (`--disable-git-source`)+ - [Disable Headless Mode](/docs/options/disable-headless) (`--disable-headless`)+ - [Disable or Enable keyboard shortcuts](/docs/options/disable-keyboard-shortcuts) (`--disable-keyboard-shortcuts`)+ - [Disable or enable Studio canvas tabs](/docs/options/disable-canvas-tabs) (`--disable-canvas-tabs`)+ - [Disable or enable Studio interactivity](/docs/options/disable-interactivity) (`--disable-interactivity`)+ - [Disable or Enable the Ask AI option](/docs/options/disable-ask-ai) (`--disable-ask-ai`)++- [Disable shared-memory capture](/docs/options/disable-shared-memory-capture) (`--disable-shared-memory-capture`)+ - [Disable web security](/docs/options/disable-web-security) (`--disable-web-security`)+ - [Disallow parallel encoding](/docs/options/disallow-parallel-encoding) (`--disallow-parallel-encoding`)+ - [Enable cancellation](/docs/options/enable-cancellation) (`--enable-cancellation`)+ - [Enable Cross-Site Isolation](/docs/options/cross-site-isolation) (`--cross-site-isolation`)+ - [Enable Lambda Insights](/docs/options/enable-lambda-insights) (`--enable-lambda-insights`)+ - [Enable Multiprocess on Linux](/docs/options/enable-multiprocess-on-linux) (`--enable-multiprocess-on-linux`)+ - [Enforce Audio Track](/docs/options/enforce-audio-track) (`--enforce-audio-track`)+ - [Env File](/docs/options/env-file) (`--env-file`)+ - [Every nth frame](/docs/options/every-nth-frame) (`--every-nth-frame`)+ - [FFmpeg -bufsize flag](/docs/options/buffer-size) (`--buffer-size`)+ - [FFmpeg -maxrate flag](/docs/options/max-rate) (`--max-rate`)+ - [For seamless AAC concatenation](/docs/options/for-seamless-aac-concatenation) (`--for-seamless-aac-concatenation`)+ - [Force New Studio](/docs/options/force-new) (`--force-new`)+ - [Frame](/docs/options/frame) (`--frame`)+ - [Frame Range](/docs/options/frames) (`--frames`)+ - [GOP size](/docs/options/gop) (`--gop`)+ - [Hardware Acceleration](/docs/options/hardware-acceleration) (`--hardware-acceleration`)+ - [Ignore certificate errors](/docs/options/ignore-certificate-errors) (`--ignore-certificate-errors`)+ - [Image Sequence](/docs/options/sequence) (`--sequence`)+ - [Image Sequence Pattern](/docs/options/image-sequence-pattern) (`--image-sequence-pattern`)+ - [Input Props](/docs/options/props) (`--props`)+ - [IPv4](/docs/options/ipv4) (`--ipv4`)+ - [Is Production](/docs/options/is-production) (`--is-production`)+ - [JPEG Quality](/docs/options/jpeg-quality) (`--jpeg-quality`)+ - [Keep AudioContext alive (experimental)](/docs/options/experimental-keep-audio-context-alive) (`--experimental-keep-audio-context-alive`)+ - [Lambda render expiration](/docs/options/delete-after) (`--delete-after`)+ - [Lambda render expiration](/docs/options/enable-folder-expiry) (`--enable-folder-expiry`)+ - [License key](/docs/options/license-key) (`--license-key`)+ - [Log Level](/docs/options/log) (`--log`)+ - [Metadata](/docs/options/metadata) (`--metadata`)+ - [Muted](/docs/options/muted) (`--muted`)+ - [Number of GIF loops](/docs/options/number-of-gif-loops) (`--number-of-gif-loops`)+ - [Number of shared audio tags](/docs/options/number-of-shared-audio-tags) (`--number-of-shared-audio-tags`)+ - [OffthreadVideo cache size](/docs/options/offthreadvideo-cache-size-in-bytes) (`--offthreadvideo-cache-size-in-bytes`)+ - [OffthreadVideo threads](/docs/options/offthreadvideo-video-threads) (`--offthreadvideo-video-threads`)+ - [OpenGL renderer](/docs/options/gl) (`--gl`)+ - [Output Directory](/docs/options/out-dir) (`--out-dir`)+ - [Override Duration](/docs/options/duration) (`--duration`)+ - [Override FPS](/docs/options/fps) (`--fps`)+ - [Override Height](/docs/options/height) (`--height`)+ - [Override Width](/docs/options/width) (`--width`)+ - [Overwrite output](/docs/options/overwrite) (`--overwrite`)+ - [Package Manager](/docs/options/package-manager) (`--package-manager`)+ - [Pixel format](/docs/options/pixel-format) (`--pixel-format`)+ - [Port](/docs/options/port) (`--port`)+ - [Prefer lossless](/docs/options/prefer-lossless) (`--prefer-lossless`)+ - [Preview Sample Rate](/docs/options/preview-sample-rate) (`--preview-sample-rate`)+ - [ProRes profile](/docs/options/prores-profile) (`--prores-profile`)+ - [Public Directory](/docs/options/public-dir) (`--public-dir`)+ - [Public License Key](/docs/options/public-license-key) (`--public-license-key`)+ - [Public Path](/docs/options/public-path) (`--public-path`)+ - [Rspack](/docs/options/rspack) (`--rspack`)+ - [Sample Rate](/docs/options/sample-rate) (`--sample-rate`)+ - [Scale](/docs/options/scale) (`--scale`)+ - [Separate audio to](/docs/options/separate-audio-to) (`--separate-audio-to`)+ - [Skip Skills](/docs/options/skip-skills) (`--skip-skills`)+ - [Still Image Format](/docs/options/still-image-format) (`--image-format`)+ - [Throw if site exists](/docs/options/throw-if-site-exists) (`--throw-if-site-exists`)+ - [User agent](/docs/options/user-agent) (`--user-agent`)+ - [Version](/docs/options/version) (`--version`)+ - [Video Bitrate](/docs/options/video-bitrate) (`--video-bitrate`)+ - [Video Image Format](/docs/options/video-image-format) (`--image-format`)+ - [Webhook custom data](/docs/options/webhook-custom-data) (`--webhook-custom-data`)+ - [Webpack Bundle Caching](/docs/options/bundle-cache) (`--bundle-cache`)+ - [Webpack Polling](/docs/options/webpack-poll) (`--webpack-poll`)+ - [x264 Preset](/docs/options/x264-preset) (`--x264-preset`)diff --cc packages/docs/docs/options/ipv4.mdxindex 0000000000,ac5149513c..3c02a9f07fmode 000000,100644..100644--- a/packages/docs/docs/options/ipv4.mdx+++ b/packages/docs/docs/options/ipv4.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-ipv4.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "IPv4"-sidebar_position: 53++sidebar_position: 54+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/ipv4.tsx+ ---++ Forces Remotion to bind to an IPv4 interface for the Studio server.++ ## CLI flag++ ```text+ --ipv4+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setIPv4(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/is-production.mdxindex 0000000000,4a030e9fe7..0e3c8d9d90mode 000000,100644..100644--- a/packages/docs/docs/options/is-production.mdx+++ b/packages/docs/docs/options/is-production.mdx@@@ -1,0 -1,37 +1,37 @@@+ ---+ image: /generated/articles-docs-options-is-production.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Is Production"-sidebar_position: 54++sidebar_position: 55+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/is-production.tsx+ ---++ Pass `false` if this a development render to not count it as a billable render on remotion.pro. Only can be used in conjuction with `licenseKey`.++ ## CLI flag++ ```text+ --is-production+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#isproduction)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#isproduction)+ - [`renderMedia()`](/docs/renderer/render-media#isproduction)+ - [`renderStill()`](/docs/renderer/render-still#isproduction)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#isproduction)+ - [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web#isproduction)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/jpeg-quality.mdxindex 0000000000,1eb5426870..2b87554827mode 000000,100644..100644--- a/packages/docs/docs/options/jpeg-quality.mdx+++ b/packages/docs/docs/options/jpeg-quality.mdx@@@ -1,0 -1,52 +1,52 @@@+ ---+ image: /generated/articles-docs-options-jpeg-quality.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "JPEG Quality"-sidebar_position: 55++sidebar_position: 56+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/jpeg-quality.tsx+ ---++ Sets the quality of the generated JPEG images. Must be an integer between 0 and 100. Default: 80.++ ## CLI flag++ ```text+ --jpeg-quality <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#jpegquality)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#jpegquality)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#jpegquality)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#jpegquality)+ - [`renderFrames()`](/docs/renderer/render-frames#jpegquality)+ - [`renderMedia()`](/docs/renderer/render-media#jpegquality)+ - [`renderStill()`](/docs/renderer/render-still#jpegquality)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setJpegQuality(90);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/license-key.mdxindex 0000000000,b30d0c81e0..c956e7258fmode 000000,100644..100644--- a/packages/docs/docs/options/license-key.mdx+++ b/packages/docs/docs/options/license-key.mdx@@@ -1,0 -1,37 +1,37 @@@+ ---+ image: /generated/articles-docs-options-license-key.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "License key"-sidebar_position: 59++sidebar_position: 60+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/license-key.tsx+ ---++ License key for sending a usage event using `@remotion/licensing`.++ ## CLI flag++ ```text+ --license-key <value>+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#licensekey)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#licensekey)+ - [`renderMedia()`](/docs/renderer/render-media#licensekey)+ - [`renderStill()`](/docs/renderer/render-still#licensekey)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#licensekey)+ - [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web#licensekey)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/log.mdxindex 0000000000,115ff808fd..75f7796b0dmode 000000,100644..100644--- a/packages/docs/docs/options/log.mdx+++ b/packages/docs/docs/options/log.mdx@@@ -1,0 -1,74 +1,74 @@@+ ---+ image: /generated/articles-docs-options-log.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Log Level"-sidebar_position: 60++sidebar_position: 61+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/log-level.tsx+ ---++ One of `trace`, `verbose`, `info`, `warn`, `error`.<br /> Determines how much info is being logged to the console.<br /><br /> Default `info`.++ ## CLI flag++ ```text+ --log <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion bundle`](/docs/cli/bundle)+ - [`remotion browser ensure`](/docs/cli/browser/ensure)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion versions`](/docs/cli/versions)+ - [`remotion upgrade`](/docs/cli/upgrade)+ - [`remotion add`](/docs/cli/add)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)++ ## APIs that have this option++ The following APIs accept this option:++ - [`deploySite()`](/docs/cloudrun/deploysite#loglevel)+ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#loglevel)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#loglevel)+ - [`deploySite()`](/docs/lambda/deploysite#loglevel)+ - [`deploySiteFromBundle()`](/docs/lambda/deploysitefrombundle#loglevel)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#loglevel)+ - [`getFunctionInfo()`](/docs/lambda/getfunctioninfo#loglevel)+ - [`getFunctions()`](/docs/lambda/getfunctions#loglevel)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#loglevel)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#loglevel)+ - [`combineChunks()`](/docs/renderer/combine-chunks#loglevel)+ - [`ensureBrowser()`](/docs/renderer/ensure-browser#loglevel)+ - [`extractAudio()`](/docs/renderer/extract-audio#loglevel)+ - [`getCompositions()`](/docs/renderer/get-compositions#loglevel)+ - [`getSilentParts()`](/docs/renderer/get-silent-parts#loglevel)+ - [`getVideoMetadata()`](/docs/renderer/get-video-metadata#loglevel)+ - [`openBrowser()`](/docs/renderer/open-browser#loglevel)+ - [`renderFrames()`](/docs/renderer/render-frames#loglevel)+ - [`renderMedia()`](/docs/renderer/render-media#loglevel)+ - [`renderStill()`](/docs/renderer/render-still#loglevel)+ - [`selectComposition()`](/docs/renderer/select-composition#loglevel)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#loglevel)+ - [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web#loglevel)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setLogLevel('verbose');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/max-rate.mdxindex 0000000000,b85cc439aa..d799c56b59mode 000000,100644..100644--- a/packages/docs/docs/options/max-rate.mdx+++ b/packages/docs/docs/options/max-rate.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-max-rate.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "FFmpeg -maxrate flag"-sidebar_position: 42++sidebar_position: 43+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/encoding-max-rate.tsx+ ---++ The value for the `-maxrate` flag of FFmpeg. Should be used in conjunction with the encoding buffer size flag. With the VP8, VP9 and AV1 codecs, a video bitrate must also be set.++ ## CLI flag++ ```text+ --max-rate <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#maxrate)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#maxrate)+ - [`renderMedia()`](/docs/renderer/render-media#maxrate)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#maxrate)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setEncodingMaxRate('5000k');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/metadata.mdxindex 0000000000,32ad855c18..04a16607c9mode 000000,100644..100644--- a/packages/docs/docs/options/metadata.mdx+++ b/packages/docs/docs/options/metadata.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-metadata.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Metadata"-sidebar_position: 61++sidebar_position: 62+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/metadata.tsx+ ---++ ## JavaScript API++ An object containing metadata to be embedded in the video. See [here](/docs/metadata) for which metadata is accepted.++ ## Command line++ Metadata to be embedded in the video. See [here](/docs/metadata) for which metadata is accepted.<br />The parameter must be in the format of `--metadata key=value` and can be passed multiple times.++ ## CLI flag++ ```text+ --metadata <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#metadata)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#metadata)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#metadata)+ - [`combineChunks()`](/docs/renderer/combine-chunks#metadata)+ - [`renderMedia()`](/docs/renderer/render-media#metadata)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#metadata)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#metadata)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/muted.mdxindex 0000000000,1a27007570..0a0c1f6189mode 000000,100644..100644--- a/packages/docs/docs/options/muted.mdx+++ b/packages/docs/docs/options/muted.mdx@@@ -1,0 -1,49 +1,49 @@@+ ---+ image: /generated/articles-docs-options-muted.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Muted"-sidebar_position: 62++sidebar_position: 63+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/mute.tsx+ ---++ The Audio of the video will be omitted.++ ## CLI flag++ ```text+ --muted+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#muted)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#muted)+ - [`renderFrames()`](/docs/renderer/render-frames#muted)+ - [`renderMedia()`](/docs/renderer/render-media#muted)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#muted)+ - [`canRenderMediaOnWeb()`](/docs/web-renderer/can-render-media-on-web#muted)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#muted)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setMuted(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/number-of-gif-loops.mdxindex 0000000000,f8a05c3d88..ecb81e5bc9mode 000000,100644..100644--- a/packages/docs/docs/options/number-of-gif-loops.mdx+++ b/packages/docs/docs/options/number-of-gif-loops.mdx@@@ -1,0 -1,52 +1,52 @@@+ ---+ image: /generated/articles-docs-options-number-of-gif-loops.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Number of GIF loops"-sidebar_position: 63++sidebar_position: 64+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/number-of-gif-loops.tsx+ ---++ Allows you to set the number of loops as follows:++ - `null` (or omitting in the CLI) plays the GIF indefinitely.+ - `0` disables looping+ - `1` loops the GIF once (plays twice in total)+ - `2` loops the GIF twice (plays three times in total) and so on.++ ## CLI flag++ ```text+ --number-of-gif-loops <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#numberofgifloops)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#numberofgifloops)+ - [`combineChunks()`](/docs/renderer/combine-chunks#numberofgifloops)+ - [`renderMedia()`](/docs/renderer/render-media#numberofgifloops)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#numberofgifloops)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setNumberOfGifLoops(2);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/number-of-shared-audio-tags.mdxindex 0000000000,471c7e1c69..1f0306ab16mode 000000,100644..100644--- a/packages/docs/docs/options/number-of-shared-audio-tags.mdx+++ b/packages/docs/docs/options/number-of-shared-audio-tags.mdx@@@ -1,0 -1,34 +1,34 @@@+ ---+ image: /generated/articles-docs-options-number-of-shared-audio-tags.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Number of shared audio tags"-sidebar_position: 64++sidebar_position: 65+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/number-of-shared-audio-tags.tsx+ ---++ Set number of shared audio tags. See [Using the numberOfSharedAudioTags prop](/docs/player/autoplay#using-the-numberofsharedaudiotags-prop) for more information.++ ## CLI flag++ ```text+ --number-of-shared-audio-tags <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';++ // ---cut---+ Config.setNumberOfSharedAudioTags(5);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdxindex 0000000000,99ed9ea130..6de60aa42cmode 000000,100644..100644--- a/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdx+++ b/packages/docs/docs/options/offthreadvideo-cache-size-in-bytes.mdx@@@ -1,0 -1,48 +1,48 @@@+ ---+ image: /generated/articles-docs-options-offthreadvideo-cache-size-in-bytes.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "OffthreadVideo cache size"-sidebar_position: 65++sidebar_position: 66+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/offthreadvideo-cache-size.tsx+ ---++ From v4.0, Remotion has a cache for [`<OffthreadVideo>`](/docs/offthreadvideo) frames. The default is `null`, corresponding to half of the system memory available when the render starts.<br /> This option allows to override the size of the cache. The higher it is, the faster the render will be, but the more memory will be used.<br />The used value will be printed when running in verbose mode.<br />Default: `null`++ ## CLI flag++ ```text+ --offthreadvideo-cache-size-in-bytes <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#offthreadvideocachesizeinbytes)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#offthreadvideocachesizeinbytes)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#offthreadvideocachesizeinbytes)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#offthreadvideocachesizeinbytes)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#offthreadvideocachesizeinbytes)+ - [`getCompositions()`](/docs/renderer/get-compositions#offthreadvideocachesizeinbytes)+ - [`renderFrames()`](/docs/renderer/render-frames#offthreadvideocachesizeinbytes)+ - [`renderMedia()`](/docs/renderer/render-media#offthreadvideocachesizeinbytes)+ - [`renderStill()`](/docs/renderer/render-still#offthreadvideocachesizeinbytes)+ - [`selectComposition()`](/docs/renderer/select-composition#offthreadvideocachesizeinbytes)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/offthreadvideo-video-threads.mdxindex 0000000000,1392601d51..84e33641a1mode 000000,100644..100644--- a/packages/docs/docs/options/offthreadvideo-video-threads.mdx+++ b/packages/docs/docs/options/offthreadvideo-video-threads.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-offthreadvideo-video-threads.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "OffthreadVideo threads"-sidebar_position: 66++sidebar_position: 67+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/offthreadvideo-threads.tsx+ ---++ The number of threads that[`<OffthreadVideo>`](/docs/offthreadvideo) can start to extract frames. The default is 2. Increase carefully, as too many threads may cause instability.++ ## CLI flag++ ```text+ --offthreadvideo-video-threads <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#offthreadvideothreads)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#offthreadvideothreads)+ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#offthreadvideothreads)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#offthreadvideothreads)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#offthreadvideothreads)+ - [`getCompositions()`](/docs/renderer/get-compositions#offthreadvideothreads)+ - [`renderFrames()`](/docs/renderer/render-frames#offthreadvideothreads)+ - [`renderMedia()`](/docs/renderer/render-media#offthreadvideothreads)+ - [`renderStill()`](/docs/renderer/render-still#offthreadvideothreads)+ - [`selectComposition()`](/docs/renderer/select-composition#offthreadvideothreads)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/out-dir.mdxindex 0000000000,1f37337225..37d22e8e7amode 000000,100644..100644--- a/packages/docs/docs/options/out-dir.mdx+++ b/packages/docs/docs/options/out-dir.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-out-dir.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Output Directory"-sidebar_position: 68++sidebar_position: 69+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/out-dir.tsx+ ---++ Define the location of the resulting bundle. By default it is a folder called `build`, adjacent to the [Remotion Root](/docs/terminology/remotion-root).++ ## CLI flag++ ```text+ --out-dir <value>+ ```++ The following CLI commands accept this option:++ - [`remotion bundle`](/docs/cli/bundle)++ ## APIs that have this option++ The following APIs accept this option:++ - [`bundle()`](/docs/bundle#outdir)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setBundleOutDir('./custom-build-dir');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/overwrite.mdxindex 0000000000,0e6d5f5af9..16561508ffmode 000000,100644..100644--- a/packages/docs/docs/options/overwrite.mdx+++ b/packages/docs/docs/options/overwrite.mdx@@@ -1,0 -1,36 +1,36 @@@+ ---+ image: /generated/articles-docs-options-overwrite.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Overwrite output"-sidebar_position: 73++sidebar_position: 74+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/overwrite.tsx+ ---++ If set to `false`, will prevent rendering to a path that already exists. Default is `true`.++ ## CLI flag++ ```text+ --overwrite+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#overwrite)+ - [`renderMedia()`](/docs/renderer/render-media#overwrite)+ - [`renderStill()`](/docs/renderer/render-still#overwrite)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/package-manager.mdxindex 0000000000,be2fb67198..1e7cada9femode 000000,100644..100644--- a/packages/docs/docs/options/package-manager.mdx+++ b/packages/docs/docs/options/package-manager.mdx@@@ -1,0 -1,26 +1,26 @@@+ ---+ image: /generated/articles-docs-options-package-manager.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Package Manager"-sidebar_position: 74++sidebar_position: 75+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/package-manager.tsx+ ---++ Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.<br />Acceptable values are `npm`, `yarn`, `pnpm`, `bun` and `nub`.++ ## CLI flag++ ```text+ --package-manager <value>+ ```++ The following CLI commands accept this option:++ - [`remotion upgrade`](/docs/cli/upgrade)+ - [`remotion add`](/docs/cli/add)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/pixel-format.mdxindex 0000000000,bbfb8ca4c3..132c2fc992mode 000000,100644..100644--- a/packages/docs/docs/options/pixel-format.mdx+++ b/packages/docs/docs/options/pixel-format.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-pixel-format.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Pixel format"-sidebar_position: 75++sidebar_position: 76+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/pixel-format.tsx+ ---++ Sets the pixel format in FFmpeg. See [the FFmpeg docs for an explanation](https://trac.ffmpeg.org/wiki/Chroma%20Subsampling). Acceptable values: "yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le".++ ## CLI flag++ ```text+ --pixel-format <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#pixelformat)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#pixelformat)+ - [`renderMedia()`](/docs/renderer/render-media#pixelformat)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#pixelformat)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setPixelFormat('yuv420p');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/port.mdxindex 0000000000,5cac87f50b..71e136508cmode 000000,100644..100644--- a/packages/docs/docs/options/port.mdx+++ b/packages/docs/docs/options/port.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-port.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Port"-sidebar_position: 76++sidebar_position: 77+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/port.tsx+ ---++ Set a custom HTTP server port for the Studio or the render process. If not defined, Remotion will try to find a free port.++ ## CLI flag++ ```text+ --port <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setStudioPort(3003);+ ```++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setRendererPort(3004);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/prefer-lossless.mdxindex 0000000000,ddb2c89572..99c32f21f9mode 000000,100644..100644--- a/packages/docs/docs/options/prefer-lossless.mdx+++ b/packages/docs/docs/options/prefer-lossless.mdx@@@ -1,0 -1,41 +1,41 @@@+ ---+ image: /generated/articles-docs-options-prefer-lossless.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Prefer lossless"-sidebar_position: 77++sidebar_position: 78+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/prefer-lossless.tsx+ ---++ Uses a lossless audio codec, if one is available for the codec. If you set`audioCodec`, it takes priority over `preferLossless`.++ ## CLI flag++ ```text+ --prefer-lossless+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#preferlossless)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#preferlossless)+ - [`combineChunks()`](/docs/renderer/combine-chunks#preferlossless)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setPreferLosslessAudio(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/preview-sample-rate.mdxindex 0000000000,c7e3a5b3a7..72090e7a5amode 000000,100644..100644--- a/packages/docs/docs/options/preview-sample-rate.mdx+++ b/packages/docs/docs/options/preview-sample-rate.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-preview-sample-rate.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Preview Sample Rate"-sidebar_position: 78++sidebar_position: 79+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/preview-sample-rate.tsx+ ---++ Controls the sample rate used for audio playback during preview. When unset, Remotion uses `48000` Hz.++ ## CLI flag++ ```text+ --preview-sample-rate <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setPreviewSampleRate(44100);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/props.mdxindex 0000000000,43709602a7..c128a1a405mode 000000,100644..100644--- a/packages/docs/docs/options/props.mdx+++ b/packages/docs/docs/options/props.mdx@@@ -1,0 -1,34 +1,34 @@@+ ---+ image: /generated/articles-docs-options-props.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Input Props"-sidebar_position: 52++sidebar_position: 53+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/props.tsx+ ---++ Input Props to pass to the selected composition of your video. Must be a serialized JSON string (`--props='{"hello": "world"}'`) or a path to a JSON file (`./path/to/props.json`).++ ## CLI flag++ ```text+ --props <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/prores-profile.mdxindex 0000000000,879e5d98af..1e574f50aamode 000000,100644..100644--- a/packages/docs/docs/options/prores-profile.mdx+++ b/packages/docs/docs/options/prores-profile.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-prores-profile.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "ProRes profile"-sidebar_position: 79++sidebar_position: 80+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/prores-profile.tsx+ ---++ Set the ProRes profile. This option is only valid if the codec has been set to `prores`. Possible values: "4444-xq", "4444", "hq", "standard", "light", "proxy". Default: `"hq"`. See [here](https://video.stackexchange.com/a/14715) for an explanation of possible values.++ ## CLI flag++ ```text+ --prores-profile <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#proresprofile)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#proresprofile)+ - [`renderMedia()`](/docs/renderer/render-media#proresprofile)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#proresprofile)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setProResProfile('4444');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/public-dir.mdxindex 0000000000,d9f07fa561..bb1a7ede58mode 000000,100644..100644--- a/packages/docs/docs/options/public-dir.mdx+++ b/packages/docs/docs/options/public-dir.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-public-dir.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Public Directory"-sidebar_position: 80++sidebar_position: 81+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/public-dir.tsx+ ---++ Define the location of the [`public/ directory`](/docs/terminology/public-dir). If not defined, Remotion will assume the location is the \`public\` folder in your Remotion root.++ ## CLI flag++ ```text+ --public-dir <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion bundle`](/docs/cli/bundle)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda sites create`](/docs/lambda/cli/sites/create)++ ## APIs that have this option++ The following APIs accept this option:++ - [`bundle()`](/docs/bundle#publicdir)+ - [`deploySite()`](/docs/cloudrun/deploysite#publicdir)+ - [`deploySite()`](/docs/lambda/deploysite#publicdir)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setPublicDir('./custom-public-dir');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/public-license-key.mdxindex 0000000000,d73f12540e..953d887b2dmode 000000,100644..100644--- a/packages/docs/docs/options/public-license-key.mdx+++ b/packages/docs/docs/options/public-license-key.mdx@@@ -1,0 -1,35 +1,35 @@@+ ---+ image: /generated/articles-docs-options-public-license-key.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Public License Key"-sidebar_position: 81++sidebar_position: 82+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/public-license-key.tsx+ ---++ The public license key for your company license, obtained from the License keys page on [remotion.pro](https://remotion.pro/dashboard). If you are eligible for the free license, pass "free-license".++ ## CLI flag++ ```text+ --public-license-key <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setPublicLicenseKey('your-license-key');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/public-path.mdxindex 0000000000,125047c2da..3f85d3dd19mode 000000,100644..100644--- a/packages/docs/docs/options/public-path.mdx+++ b/packages/docs/docs/options/public-path.mdx@@@ -1,0 -1,35 +1,35 @@@+ ---+ image: /generated/articles-docs-options-public-path.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Public Path"-sidebar_position: 82++sidebar_position: 83+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/public-path.tsx+ ---++ The path of the URL where the bundle is going to be hosted. By default it is `./`, making the bundle relocatable. Set an absolute path such as `/sites/my-site/` to host the bundle at a fixed location.++ ## CLI flag++ ```text+ --public-path <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion bundle`](/docs/cli/bundle)+ - [`remotion benchmark`](/docs/cli/benchmark)++ ## APIs that have this option++ The following APIs accept this option:++ - [`bundle()`](/docs/bundle#publicpath)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/rspack.mdxindex 0000000000,15497d817a..fc7bd26edcmode 000000,100644..100644--- a/packages/docs/docs/options/rspack.mdx+++ b/packages/docs/docs/options/rspack.mdx@@@ -1,0 -1,47 +1,47 @@@+ ---+ image: /generated/articles-docs-options-rspack.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Rspack"-sidebar_position: 83++sidebar_position: 84+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/rspack.tsx+ ---++ Uses Rspack instead of Webpack as the bundler for the Studio or bundle.++ ## CLI flag++ ```text+ --rspack+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion bundle`](/docs/cli/bundle)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda sites create`](/docs/lambda/cli/sites/create)+ - [`remotion cloudrun sites create`](/docs/cloudrun/cli/sites/create)++ ## APIs that have this option++ The following APIs accept this option:++ - [`deploySite()`](/docs/cloudrun/deploysite#rspack)+ - [`deploySite()`](/docs/lambda/deploysite#rspack)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setRspack(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/sample-rate.mdxindex 0000000000,8791fe7d24..bc4eeec589mode 000000,100644..100644--- a/packages/docs/docs/options/sample-rate.mdx+++ b/packages/docs/docs/options/sample-rate.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-sample-rate.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Sample Rate"-sidebar_position: 84++sidebar_position: 85+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/sample-rate.tsx+ ---++ Controls the sample rate of the output audio. The default is `48000` Hz. Match this to your source audio to avoid resampling artifacts.++ ## CLI flag++ ```text+ --sample-rate <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#samplerate)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#samplerate)+ - [`renderMedia()`](/docs/renderer/render-media#samplerate)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#samplerate)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setSampleRate(44100);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/scale.mdxindex 0000000000,39b2abe1be..2a0476e6e3mode 000000,100644..100644--- a/packages/docs/docs/options/scale.mdx+++ b/packages/docs/docs/options/scale.mdx@@@ -1,0 -1,55 +1,55 @@@+ ---+ image: /generated/articles-docs-options-scale.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Scale"-sidebar_position: 85++sidebar_position: 86+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/scale.tsx+ ---++ Scales the output dimensions by a factor. For example, a 1280x720px frame will become a 1920x1080px frame with a scale factor of `1.5`. See [Scaling](/docs/scaling) for more details.++ ## CLI flag++ ```text+ --scale <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#scale)+ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#scale)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#scale)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#scale)+ - [`renderFrames()`](/docs/renderer/render-frames#scale)+ - [`renderMedia()`](/docs/renderer/render-media#scale)+ - [`renderStill()`](/docs/renderer/render-still#scale)+ - [`canRenderMediaOnWeb()`](/docs/web-renderer/can-render-media-on-web#scale)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#scale)+ - [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web#scale)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setScale(2);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/separate-audio-to.mdxindex 0000000000,a15bd49abb..1b10378cc0mode 000000,100644..100644--- a/packages/docs/docs/options/separate-audio-to.mdx+++ b/packages/docs/docs/options/separate-audio-to.mdx@@@ -1,0 -1,32 +1,32 @@@+ ---+ image: /generated/articles-docs-options-separate-audio-to.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Separate audio to"-sidebar_position: 86++sidebar_position: 87+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/separate-audio.tsx+ ---++ If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. If the render contains no audio, a silent audio file is produced even when enforceAudioTrack is false. The muted option still takes precedence. It is recommended to use an absolute path. If a relative path is passed, it is relative to the Remotion Root.++ ## CLI flag++ ```text+ --separate-audio-to <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMedia()`](/docs/renderer/render-media#separateaudioto)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#separateaudioto)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/sequence.mdxindex 0000000000,4b7ac042e8..08502574damode 000000,100644..100644--- a/packages/docs/docs/options/sequence.mdx+++ b/packages/docs/docs/options/sequence.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-sequence.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Image Sequence"-sidebar_position: 50++sidebar_position: 51+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/image-sequence.tsx+ ---++ Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See [`setImageSequence()`](/docs/config#setimagesequence) for more details.++ ## CLI flag++ ```text+ --sequence+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setImageSequence(true);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/skip-skills.mdxindex 0000000000,03833666c7..82709c7712mode 000000,100644..100644--- a/packages/docs/docs/options/skip-skills.mdx+++ b/packages/docs/docs/options/skip-skills.mdx@@@ -1,0 -1,25 +1,25 @@@+ ---+ image: /generated/articles-docs-options-skip-skills.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Skip Skills"-sidebar_position: 87++sidebar_position: 88+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/skip-skills.tsx+ ---++ Do not update installed Remotion Agent Skills while upgrading Remotion.++ ## CLI flag++ ```text+ --skip-skills+ ```++ The following CLI commands accept this option:++ - [`remotion upgrade`](/docs/cli/upgrade)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/still-image-format.mdxindex 0000000000,cbcb6d5c9c..5167a07710mode 000000,100644..100644--- a/packages/docs/docs/options/still-image-format.mdx+++ b/packages/docs/docs/options/still-image-format.mdx@@@ -1,0 -1,44 +1,44 @@@+ ---+ image: /generated/articles-docs-options-still-image-format.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Still Image Format"-sidebar_position: 88++sidebar_position: 89+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/still-image-format.tsx+ ---++ The image format to use when rendering a still. Must be one of "png", "jpeg", "pdf", "webp". Default: `"png"`.++ ## CLI flag++ ```text+ --image-format <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion still`](/docs/cli/still)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderStillOnCloudrun()`](/docs/cloudrun/renderstilloncloudrun#imageformat)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#imageformat)+ - [`renderStill()`](/docs/renderer/render-still#imageformat)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setStillImageFormat('pdf');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/throw-if-site-exists.mdxindex 0000000000,8a1e77673d..d13096a2f8mode 000000,100644..100644--- a/packages/docs/docs/options/throw-if-site-exists.mdx+++ b/packages/docs/docs/options/throw-if-site-exists.mdx@@@ -1,0 -1,32 +1,32 @@@+ ---+ image: /generated/articles-docs-options-throw-if-site-exists.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Throw if site exists"-sidebar_position: 89++sidebar_position: 90+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/throw-if-site-exists.tsx+ ---++ 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.++ ## CLI flag++ ```text+ --throw-if-site-exists+ ```++ The following CLI commands accept this option:++ - [`remotion lambda sites create`](/docs/lambda/cli/sites/create)++ ## APIs that have this option++ The following APIs accept this option:++ - [`deploySite()`](/docs/lambda/deploysite#throwifsiteexists)+ - [`deploySiteFromBundle()`](/docs/lambda/deploysitefrombundle#throwifsiteexists)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/user-agent.mdxindex 0000000000,9d58204725..d4c39d14eemode 000000,100644..100644--- a/packages/docs/docs/options/user-agent.mdx+++ b/packages/docs/docs/options/user-agent.mdx@@@ -1,0 -1,45 +1,45 @@@+ ---+ image: /generated/articles-docs-options-user-agent.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "User agent"-sidebar_position: 90++sidebar_position: 91+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/user-agent.tsx+ ---++ Lets you set a custom user agent that the headless Chrome browser assumes.++ ## CLI flag++ ```text+ --user-agent <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion compositions`](/docs/cli/compositions)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion gpu`](/docs/cli/gpu)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion lambda compositions`](/docs/lambda/cli/compositions)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## APIs that have this option++ The following APIs accept this option:++ - [`getCompositionsOnLambda()`](/docs/lambda/getcompositionsonlambda#useragent)+ - [`renderStillOnLambda()`](/docs/lambda/renderstillonlambda#useragent)+ - [`renderFrames()`](/docs/renderer/render-frames#useragent)+ - [`renderMedia()`](/docs/renderer/render-media#useragent)+ - [`renderStill()`](/docs/renderer/render-still#useragent)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/version.mdxindex 0000000000,247fc87a9d..fdaaafe9f6mode 000000,100644..100644--- a/packages/docs/docs/options/version.mdx+++ b/packages/docs/docs/options/version.mdx@@@ -1,0 -1,25 +1,25 @@@+ ---+ image: /generated/articles-docs-options-version.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Version"-sidebar_position: 91++sidebar_position: 92+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/version-flag.tsx+ ---++ Install a specific version. Also enables downgrading to an older version.++ ## CLI flag++ ```text+ --version <value>+ ```++ The following CLI commands accept this option:++ - [`remotion upgrade`](/docs/cli/upgrade)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/video-bitrate.mdxindex 0000000000,1d7f80b17c..383d1738f4mode 000000,100644..100644--- a/packages/docs/docs/options/video-bitrate.mdx+++ b/packages/docs/docs/options/video-bitrate.mdx@@@ -1,0 -1,49 +1,49 @@@+ ---+ image: /generated/articles-docs-options-video-bitrate.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Video Bitrate"-sidebar_position: 92++sidebar_position: 93+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/video-bitrate.tsx+ ---++ Specify the target bitrate for the generated video. The syntax for FFmpeg's`-b:v` parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: `512K` for 512 kbps, `1M` for 1 Mbps.++ ## CLI flag++ ```text+ --video-bitrate <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#videobitrate)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#videobitrate)+ - [`renderMedia()`](/docs/renderer/render-media#videobitrate)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#videobitrate)+ - [`canRenderMediaOnWeb()`](/docs/web-renderer/can-render-media-on-web#videobitrate)+ - [`getEncodableVideoCodecs()`](/docs/web-renderer/get-encodable-video-codecs#videobitrate)+ - [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web#videobitrate)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setVideoBitrate('1M');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/video-image-format.mdxindex 0000000000,9dc0a39d45..0cc344acabmode 000000,100644..100644--- a/packages/docs/docs/options/video-image-format.mdx+++ b/packages/docs/docs/options/video-image-format.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-video-image-format.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Video Image Format"-sidebar_position: 93++sidebar_position: 94+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/video-image-format.tsx+ ---++ The image format to use when rendering frames for a video. Must be one of "png", "jpeg", "none". Default: `"jpeg"`. JPEG is faster, but does not support transparency.++ ## CLI flag++ ```text+ --image-format <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#imageformat)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#imageformat)+ - [`renderFrames()`](/docs/renderer/render-frames#imageformat)+ - [`renderMedia()`](/docs/renderer/render-media#imageformat)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setVideoImageFormat('png');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/webhook-custom-data.mdxindex 0000000000,5412cc57f0..312e588671mode 000000,100644..100644--- a/packages/docs/docs/options/webhook-custom-data.mdx+++ b/packages/docs/docs/options/webhook-custom-data.mdx@@@ -1,0 -1,31 +1,31 @@@+ ---+ image: /generated/articles-docs-options-webhook-custom-data.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Webhook custom data"-sidebar_position: 94++sidebar_position: 95+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/webhook-custom-data.tsx+ ---++ ## JavaScript API++ Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload.++ ## Command line++ Pass up to 1,024 bytes of a JSON-serializable object to the webhook. This data will be included in the webhook payload. Alternatively, pass a file path pointing to a JSON file++ ## CLI flag++ ```text+ --webhook-custom-data <value>+ ```++ The following CLI commands accept this option:++ - [`remotion lambda render`](/docs/lambda/cli/render)++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/webpack-poll.mdxindex 0000000000,c75559b025..689bc6d393mode 000000,100644..100644--- a/packages/docs/docs/options/webpack-poll.mdx+++ b/packages/docs/docs/options/webpack-poll.mdx@@@ -1,0 -1,33 +1,33 @@@+ ---+ image: /generated/articles-docs-options-webpack-poll.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Webpack Polling"-sidebar_position: 96++sidebar_position: 97+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/webpack-poll.tsx+ ---++ 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.++ ## CLI flag++ ```text+ --webpack-poll <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setWebpackPollingInMilliseconds(1000);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/width.mdxindex 0000000000,a8414ba520..164136a148mode 000000,100644..100644--- a/packages/docs/docs/options/width.mdx+++ b/packages/docs/docs/options/width.mdx@@@ -1,0 -1,39 +1,39 @@@+ ---+ image: /generated/articles-docs-options-width.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "Override Width"-sidebar_position: 72++sidebar_position: 73+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/override-width.tsx+ ---++ Overrides the width of the composition.++ ## CLI flag++ ```text+ --width <value>+ ```++ The following CLI commands accept this option:++ - [`remotion render`](/docs/cli/render)+ - [`remotion still`](/docs/cli/still)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion lambda still`](/docs/lambda/cli/still)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)+ - [`remotion cloudrun still`](/docs/cloudrun/cli/still)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.overrideWidth(900);+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/options/x264-preset.mdxindex 0000000000,c7925b9b04..a11a295dccmode 000000,100644..100644--- a/packages/docs/docs/options/x264-preset.mdx+++ b/packages/docs/docs/options/x264-preset.mdx@@@ -1,0 -1,46 +1,46 @@@+ ---+ image: /generated/articles-docs-options-x264-preset.png+ # Generated by packages/docs/generate-option-docs.ts. Do not edit directly.+ # Regenerate: cd packages/docs && bun run generate-option-docs+ title: "x264 Preset"-sidebar_position: 97++sidebar_position: 98+ crumb: Options+ custom_edit_url: https://github.com/remotion-dev/remotion/edit/main/packages/renderer/src/options/x264-preset.tsx+ ---++ Sets a x264 preset profile. Only applies to videos rendered with `h264` codec.<br />Possible values: `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow`, `placebo`.<br />Default: `medium`++ ## CLI flag++ ```text+ --x264-preset <value>+ ```++ The following CLI commands accept this option:++ - [`remotion studio`](/docs/cli/studio)+ - [`remotion render`](/docs/cli/render)+ - [`remotion benchmark`](/docs/cli/benchmark)+ - [`remotion lambda render`](/docs/lambda/cli/render)+ - [`remotion cloudrun render`](/docs/cloudrun/cli/render)++ ## APIs that have this option++ The following APIs accept this option:++ - [`renderMediaOnCloudrun()`](/docs/cloudrun/rendermediaoncloudrun#x264preset)+ - [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda#x264preset)+ - [`renderMedia()`](/docs/renderer/render-media#x264preset)+ - [`stitchFramesToVideo()`](/docs/renderer/stitch-frames-to-video#x264preset)++ ## Config file++ ```ts twoslash title="remotion.config.ts"+ import {Config} from '@remotion/cli/config';+ // ---cut---+ Config.setX264Preset('fast');+ ```++ ## See also++ - [All options](/docs/options)diff --cc packages/docs/docs/quality.mdxindex e13941f5c3,a6000857f2..25a49ca0fd--- a/packages/docs/docs/quality.mdx+++ b/packages/docs/docs/quality.mdx@@@ -58,15 -58,13 +58,15 @@@ Use [Output Scaling](/docs/options/scal## JPEG Quality-Remotion makes screenshots of the browser page by default in JPEG format.+When Remotion captures video frames as screenshots, the default format is JPEG.The JPEG quality by default is 80 (on a scale of 0 to 100).- You may tweak it using the [`--jpeg-quality`](/docs/cli/render#--jpeg-quality) flag or switch to PNG as the image format using [`--image-format=png`](/docs/cli/render#--image-format) (slower).+ You may tweak it using the [`--jpeg-quality`](/docs/options/jpeg-quality) flag or switch to PNG as the image format using [`--image-format=png`](/docs/options/video-image-format) (slower).+When [shared-memory capture](/docs/shared-memory-capture) is active, video frames are passed to FFmpeg without JPEG compression. The JPEG quality setting has no effect on those frames.+## Color accuracy- Export your video in [`bt709`](/docs/cli/render#--color-space) for more accurate colors.+ Export your video in [`bt709`](/docs/options/color-space) for more accurate colors.:::noteThis will become the default in Remotion 5.0.diff --cc packages/docs/docs/troubleshooting/sigkill.mdxindex d971558225,260c1f8408..86083f6ee5--- a/packages/docs/docs/troubleshooting/sigkill.mdx+++ b/packages/docs/docs/troubleshooting/sigkill.mdx@@@ -43,7 -43,7 +43,7 @@@ Set a lower [`concurrency`](/docs/termi## Disallow parallel encoding- [Parallel encoding](/docs/parallel-encoding) encodes video while frames are still being rendered, so the browser and FFmpeg need memory at the same time. Use [`--disallow-parallel-encoding`](/docs/cli/render#--disallow-parallel-encoding) or [`disallowParallelEncoding`](/docs/renderer/render-media#disallowparallelencoding) to only start encoding once all frames are rendered. This lowers the peak memory usage, but may make rendering slower.-H.264 and H.265 videos are encoded while frames are still being rendered, so the browser and FFmpeg need memory at the same time. Use the [`disallowParallelEncoding` option](/docs/options/disallow-parallel-encoding) to only start encoding once all frames are rendered. This lowers the peak memory usage, but makes rendering slower.++[Parallel encoding](/docs/parallel-encoding) encodes video while frames are still being rendered, so the browser and FFmpeg need memory at the same time. Use the [`disallowParallelEncoding` option](/docs/options/disallow-parallel-encoding) to only start encoding once all frames are rendered. This lowers the peak memory usage, but may make rendering slower.## Allocate more memory to your systemdiff --cc packages/docs/src/data/articles.tsindex 4b36758214,0288f8d7ab..2e6510aa0c--- a/packages/docs/src/data/articles.ts+++ b/packages/docs/src/data/articles.ts@@@ -639,6 -639,888 +639,897 @@@ export const articles =noAi: false,slug: 'canvas-capture/installation',},+ {+ id: 'options/allow-html-in-canvas',+ title: 'Allow HTML-in-canvas for client-side rendering',+ relativePath: 'docs/options/allow-html-in-canvas.mdx',+ compId: 'articles-docs-options-allow-html-in-canvas',+ crumb: 'Options',+ noAi: false,+ slug: 'options/allow-html-in-canvas',+ },+ {+ id: 'options/api-key',+ title: 'API key',+ relativePath: 'docs/options/api-key.mdx',+ compId: 'articles-docs-options-api-key',+ crumb: 'Options',+ noAi: false,+ slug: 'options/api-key',+ },+ {+ id: 'options/audio-bitrate',+ title: 'Audio Bitrate',+ relativePath: 'docs/options/audio-bitrate.mdx',+ compId: 'articles-docs-options-audio-bitrate',+ crumb: 'Options',+ noAi: false,+ slug: 'options/audio-bitrate',+ },+ {+ id: 'options/audio-codec',+ title: 'Audio Codec',+ relativePath: 'docs/options/audio-codec.mdx',+ compId: 'articles-docs-options-audio-codec',+ crumb: 'Options',+ noAi: false,+ slug: 'options/audio-codec',+ },+ {+ id: 'options/audio-latency-hint',+ title: 'Audio Latency Hint',+ relativePath: 'docs/options/audio-latency-hint.mdx',+ compId: 'articles-docs-options-audio-latency-hint',+ crumb: 'Options',+ noAi: false,+ slug: 'options/audio-latency-hint',+ },+ {+ id: 'options/beep-on-finish',+ title: 'Beep on finish',+ relativePath: 'docs/options/beep-on-finish.mdx',+ compId: 'articles-docs-options-beep-on-finish',+ crumb: 'Options',+ noAi: false,+ slug: 'options/beep-on-finish',+ },+ {+ id: 'options/binaries-directory',+ title: 'Binaries Directory',+ relativePath: 'docs/options/binaries-directory.mdx',+ compId: 'articles-docs-options-binaries-directory',+ crumb: 'Options',+ noAi: false,+ slug: 'options/binaries-directory',+ },+ {+ id: 'options/browser-executable',+ title: 'Browser executable',+ relativePath: 'docs/options/browser-executable.mdx',+ compId: 'articles-docs-options-browser-executable',+ crumb: 'Options',+ noAi: false,+ slug: 'options/browser-executable',+ },+ {+ id: 'options/browser',+ title: 'Browser',+ relativePath: 'docs/options/browser.mdx',+ compId: 'articles-docs-options-browser',+ crumb: 'Options',+ noAi: false,+ slug: 'options/browser',+ },+ {+ id: 'options/buffer-size',+ title: 'FFmpeg -bufsize flag',+ relativePath: 'docs/options/buffer-size.mdx',+ compId: 'articles-docs-options-buffer-size',+ crumb: 'Options',+ noAi: false,+ slug: 'options/buffer-size',+ },+ {+ id: 'options/bundle-cache',+ title: 'Webpack Bundle Caching',+ relativePath: 'docs/options/bundle-cache.mdx',+ compId: 'articles-docs-options-bundle-cache',+ crumb: 'Options',+ noAi: false,+ slug: 'options/bundle-cache',+ },+ {+ id: 'options/chrome-mode',+ title: 'Chrome Mode',+ relativePath: 'docs/options/chrome-mode.mdx',+ compId: 'articles-docs-options-chrome-mode',+ crumb: 'Options',+ noAi: false,+ slug: 'options/chrome-mode',+ },+ {+ id: 'options/codec',+ title: 'Codec',+ relativePath: 'docs/options/codec.mdx',+ compId: 'articles-docs-options-codec',+ crumb: 'Options',+ noAi: false,+ slug: 'options/codec',+ },+ {+ id: 'options/coding-agent',+ title: 'Default coding agent',+ relativePath: 'docs/options/coding-agent.mdx',+ compId: 'articles-docs-options-coding-agent',+ crumb: 'Options',+ noAi: false,+ slug: 'options/coding-agent',+ },+ {+ id: 'options/color-space',+ title: 'Color space',+ relativePath: 'docs/options/color-space.mdx',+ compId: 'articles-docs-options-color-space',+ crumb: 'Options',+ noAi: false,+ slug: 'options/color-space',+ },+ {+ id: 'options/concurrencies',+ title: 'Benchmark concurrencies',+ relativePath: 'docs/options/concurrencies.mdx',+ compId: 'articles-docs-options-concurrencies',+ crumb: 'Options',+ noAi: false,+ slug: 'options/concurrencies',+ },+ {+ id: 'options/concurrency',+ title: 'Concurrency',+ relativePath: 'docs/options/concurrency.mdx',+ compId: 'articles-docs-options-concurrency',+ crumb: 'Options',+ noAi: false,+ slug: 'options/concurrency',+ },+ {+ id: 'options/config',+ title: 'Config file',+ relativePath: 'docs/options/config.mdx',+ compId: 'articles-docs-options-config',+ crumb: 'Options',+ noAi: false,+ slug: 'options/config',+ },+ {+ id: 'options/crf',+ title: 'CRF',+ relativePath: 'docs/options/crf.mdx',+ compId: 'articles-docs-options-crf',+ crumb: 'Options',+ noAi: false,+ slug: 'options/crf',+ },+ {+ id: 'options/cross-site-isolation',+ title: 'Enable Cross-Site Isolation',+ relativePath: 'docs/options/cross-site-isolation.mdx',+ compId: 'articles-docs-options-cross-site-isolation',+ crumb: 'Options',+ noAi: false,+ slug: 'options/cross-site-isolation',+ },+ {+ id: 'options/dark-mode',+ title: 'Dark Mode',+ relativePath: 'docs/options/dark-mode.mdx',+ compId: 'articles-docs-options-dark-mode',+ crumb: 'Options',+ noAi: false,+ slug: 'options/dark-mode',+ },+ {+ id: 'options/delete-after',+ title: 'Lambda render expiration',+ relativePath: 'docs/options/delete-after.mdx',+ compId: 'articles-docs-options-delete-after',+ crumb: 'Options',+ noAi: false,+ slug: 'options/delete-after',+ },+ {+ id: 'options/disable-ask-ai',+ title: 'Disable or Enable the Ask AI option',+ relativePath: 'docs/options/disable-ask-ai.mdx',+ compId: 'articles-docs-options-disable-ask-ai',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-ask-ai',+ },+ {+ id: 'options/disable-canvas-tabs',+ title: 'Disable or enable Studio canvas tabs',+ relativePath: 'docs/options/disable-canvas-tabs.mdx',+ compId: 'articles-docs-options-disable-canvas-tabs',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-canvas-tabs',+ },+ {+ id: 'options/disable-git-source',+ title: 'Disable Git source',+ relativePath: 'docs/options/disable-git-source.mdx',+ compId: 'articles-docs-options-disable-git-source',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-git-source',+ },+ {+ id: 'options/disable-headless',+ title: 'Disable Headless Mode',+ relativePath: 'docs/options/disable-headless.mdx',+ compId: 'articles-docs-options-disable-headless',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-headless',+ },+ {+ id: 'options/disable-interactivity',+ title: 'Disable or enable Studio interactivity',+ relativePath: 'docs/options/disable-interactivity.mdx',+ compId: 'articles-docs-options-disable-interactivity',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-interactivity',+ },+ {+ id: 'options/disable-keyboard-shortcuts',+ title: 'Disable or Enable keyboard shortcuts',+ relativePath: 'docs/options/disable-keyboard-shortcuts.mdx',+ compId: 'articles-docs-options-disable-keyboard-shortcuts',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-keyboard-shortcuts',+ },++ {++ id: 'options/disable-shared-memory-capture',++ title: 'Disable shared-memory capture',++ relativePath: 'docs/options/disable-shared-memory-capture.mdx',++ compId: 'articles-docs-options-disable-shared-memory-capture',++ crumb: 'Options',++ noAi: false,++ slug: 'options/disable-shared-memory-capture',++ },+ {+ id: 'options/disable-web-security',+ title: 'Disable web security',+ relativePath: 'docs/options/disable-web-security.mdx',+ compId: 'articles-docs-options-disable-web-security',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disable-web-security',+ },+ {+ id: 'options/disallow-parallel-encoding',+ title: 'Disallow parallel encoding',+ relativePath: 'docs/options/disallow-parallel-encoding.mdx',+ compId: 'articles-docs-options-disallow-parallel-encoding',+ crumb: 'Options',+ noAi: false,+ slug: 'options/disallow-parallel-encoding',+ },+ {+ id: 'options/duration',+ title: 'Override Duration',+ relativePath: 'docs/options/duration.mdx',+ compId: 'articles-docs-options-duration',+ crumb: 'Options',+ noAi: false,+ slug: 'options/duration',+ },+ {+ id: 'options/editor',+ title: 'Default editor',+ relativePath: 'docs/options/editor.mdx',+ compId: 'articles-docs-options-editor',+ crumb: 'Options',+ noAi: false,+ slug: 'options/editor',+ },+ {+ id: 'options/enable-cancellation',+ title: 'Enable cancellation',+ relativePath: 'docs/options/enable-cancellation.mdx',+ compId: 'articles-docs-options-enable-cancellation',+ crumb: 'Options',+ noAi: false,+ slug: 'options/enable-cancellation',+ },+ {+ id: 'options/enable-folder-expiry',+ title: 'Lambda render expiration',+ relativePath: 'docs/options/enable-folder-expiry.mdx',+ compId: 'articles-docs-options-enable-folder-expiry',+ crumb: 'Options',+ noAi: false,+ slug: 'options/enable-folder-expiry',+ },+ {+ id: 'options/enable-lambda-insights',+ title: 'Enable Lambda Insights',+ relativePath: 'docs/options/enable-lambda-insights.mdx',+ compId: 'articles-docs-options-enable-lambda-insights',+ crumb: 'Options',+ noAi: false,+ slug: 'options/enable-lambda-insights',+ },+ {+ id: 'options/enable-multiprocess-on-linux',+ title: 'Enable Multiprocess on Linux',+ relativePath: 'docs/options/enable-multiprocess-on-linux.mdx',+ compId: 'articles-docs-options-enable-multiprocess-on-linux',+ crumb: 'Options',+ noAi: false,+ slug: 'options/enable-multiprocess-on-linux',+ },+ {+ id: 'options/enforce-audio-track',+ title: 'Enforce Audio Track',+ relativePath: 'docs/options/enforce-audio-track.mdx',+ compId: 'articles-docs-options-enforce-audio-track',+ crumb: 'Options',+ noAi: false,+ slug: 'options/enforce-audio-track',+ },+ {+ id: 'options/env-file',+ title: 'Env File',+ relativePath: 'docs/options/env-file.mdx',+ compId: 'articles-docs-options-env-file',+ crumb: 'Options',+ noAi: false,+ slug: 'options/env-file',+ },+ {+ id: 'options/every-nth-frame',+ title: 'Every nth frame',+ relativePath: 'docs/options/every-nth-frame.mdx',+ compId: 'articles-docs-options-every-nth-frame',+ crumb: 'Options',+ noAi: false,+ slug: 'options/every-nth-frame',+ },+ {+ id: 'options/experimental-keep-audio-context-alive',+ title: 'Keep AudioContext alive (experimental)',+ relativePath: 'docs/options/experimental-keep-audio-context-alive.mdx',+ compId: 'articles-docs-options-experimental-keep-audio-context-alive',+ crumb: 'Options',+ noAi: false,+ slug: 'options/experimental-keep-audio-context-alive',+ },+ {+ id: 'options/for-seamless-aac-concatenation',+ title: 'For seamless AAC concatenation',+ relativePath: 'docs/options/for-seamless-aac-concatenation.mdx',+ compId: 'articles-docs-options-for-seamless-aac-concatenation',+ crumb: 'Options',+ noAi: false,+ slug: 'options/for-seamless-aac-concatenation',+ },+ {+ id: 'options/force-new',+ title: 'Force New Studio',+ relativePath: 'docs/options/force-new.mdx',+ compId: 'articles-docs-options-force-new',+ crumb: 'Options',+ noAi: false,+ slug: 'options/force-new',+ },+ {+ id: 'options/fps',+ title: 'Override FPS',+ relativePath: 'docs/options/fps.mdx',+ compId: 'articles-docs-options-fps',+ crumb: 'Options',+ noAi: false,+ slug: 'options/fps',+ },+ {+ id: 'options/frame',+ title: 'Frame',+ relativePath: 'docs/options/frame.mdx',+ compId: 'articles-docs-options-frame',+ crumb: 'Options',+ noAi: false,+ slug: 'options/frame',+ },+ {+ id: 'options/frames',+ title: 'Frame Range',+ relativePath: 'docs/options/frames.mdx',+ compId: 'articles-docs-options-frames',+ crumb: 'Options',+ noAi: false,+ slug: 'options/frames',+ },+ {+ id: 'options/gl',+ title: 'OpenGL renderer',+ relativePath: 'docs/options/gl.mdx',+ compId: 'articles-docs-options-gl',+ crumb: 'Options',+ noAi: false,+ slug: 'options/gl',+ },+ {+ id: 'options/gop',+ title: 'GOP size',+ relativePath: 'docs/options/gop.mdx',+ compId: 'articles-docs-options-gop',+ crumb: 'Options',+ noAi: false,+ slug: 'options/gop',+ },+ {+ id: 'options/hardware-acceleration',+ title: 'Hardware Acceleration',+ relativePath: 'docs/options/hardware-acceleration.mdx',+ compId: 'articles-docs-options-hardware-acceleration',+ crumb: 'Options',+ noAi: false,+ slug: 'options/hardware-acceleration',+ },+ {+ id: 'options/height',+ title: 'Override Height',+ relativePath: 'docs/options/height.mdx',+ compId: 'articles-docs-options-height',+ crumb: 'Options',+ noAi: false,+ slug: 'options/height',+ },+ {+ id: 'options/ignore-certificate-errors',+ title: 'Ignore certificate errors',+ relativePath: 'docs/options/ignore-certificate-errors.mdx',+ compId: 'articles-docs-options-ignore-certificate-errors',+ crumb: 'Options',+ noAi: false,+ slug: 'options/ignore-certificate-errors',+ },+ {+ id: 'options/image-sequence-pattern',+ title: 'Image Sequence Pattern',+ relativePath: 'docs/options/image-sequence-pattern.mdx',+ compId: 'articles-docs-options-image-sequence-pattern',+ crumb: 'Options',+ noAi: false,+ slug: 'options/image-sequence-pattern',+ },+ {+ id: 'options/index',+ title: 'Options',+ relativePath: 'docs/options/index.mdx',+ compId: 'articles-docs-options-index',+ crumb: 'API',+ noAi: false,+ slug: 'options',+ },+ {+ id: 'options/ipv4',+ title: 'IPv4',+ relativePath: 'docs/options/ipv4.mdx',+ compId: 'articles-docs-options-ipv4',+ crumb: 'Options',+ noAi: false,+ slug: 'options/ipv4',+ },+ {+ id: 'options/is-production',+ title: 'Is Production',+ relativePath: 'docs/options/is-production.mdx',+ compId: 'articles-docs-options-is-production',+ crumb: 'Options',+ noAi: false,+ slug: 'options/is-production',+ },+ {+ id: 'options/jpeg-quality',+ title: 'JPEG Quality',+ relativePath: 'docs/options/jpeg-quality.mdx',+ compId: 'articles-docs-options-jpeg-quality',+ crumb: 'Options',+ noAi: false,+ slug: 'options/jpeg-quality',+ },+ {+ id: 'options/license-key',+ title: 'License key',+ relativePath: 'docs/options/license-key.mdx',+ compId: 'articles-docs-options-license-key',+ crumb: 'Options',+ noAi: false,+ slug: 'options/license-key',+ },+ {+ id: 'options/log',+ title: 'Log Level',+ relativePath: 'docs/options/log.mdx',+ compId: 'articles-docs-options-log',+ crumb: 'Options',+ noAi: false,+ slug: 'options/log',+ },+ {+ id: 'options/max-rate',+ title: 'FFmpeg -maxrate flag',+ relativePath: 'docs/options/max-rate.mdx',+ compId: 'articles-docs-options-max-rate',+ crumb: 'Options',+ noAi: false,+ slug: 'options/max-rate',+ },+ {+ id: 'options/media-cache-size-in-bytes',+ title: '@remotion/media cache size',+ relativePath: 'docs/options/media-cache-size-in-bytes.mdx',+ compId: 'articles-docs-options-media-cache-size-in-bytes',+ crumb: 'Options',+ noAi: false,+ slug: 'options/media-cache-size-in-bytes',+ },+ {+ id: 'options/metadata',+ title: 'Metadata',+ relativePath: 'docs/options/metadata.mdx',+ compId: 'articles-docs-options-metadata',+ crumb: 'Options',+ noAi: false,+ slug: 'options/metadata',+ },+ {+ id: 'options/muted',+ title: 'Muted',+ relativePath: 'docs/options/muted.mdx',+ compId: 'articles-docs-options-muted',+ crumb: 'Options',+ noAi: false,+ slug: 'options/muted',+ },+ {+ id: 'options/no-open',+ title: 'Disable browser auto-open',+ relativePath: 'docs/options/no-open.mdx',+ compId: 'articles-docs-options-no-open',+ crumb: 'Options',+ noAi: false,+ slug: 'options/no-open',+ },+ {+ id: 'options/number-of-gif-loops',+ title: 'Number of GIF loops',+ relativePath: 'docs/options/number-of-gif-loops.mdx',+ compId: 'articles-docs-options-number-of-gif-loops',+ crumb: 'Options',+ noAi: false,+ slug: 'options/number-of-gif-loops',+ },+ {+ id: 'options/number-of-shared-audio-tags',+ title: 'Number of shared audio tags',+ relativePath: 'docs/options/number-of-shared-audio-tags.mdx',+ compId: 'articles-docs-options-number-of-shared-audio-tags',+ crumb: 'Options',+ noAi: false,+ slug: 'options/number-of-shared-audio-tags',+ },+ {+ id: 'options/offthreadvideo-cache-size-in-bytes',+ title: 'OffthreadVideo cache size',+ relativePath: 'docs/options/offthreadvideo-cache-size-in-bytes.mdx',+ compId: 'articles-docs-options-offthreadvideo-cache-size-in-bytes',+ crumb: 'Options',+ noAi: false,+ slug: 'options/offthreadvideo-cache-size-in-bytes',+ },+ {+ id: 'options/offthreadvideo-video-threads',+ title: 'OffthreadVideo threads',+ relativePath: 'docs/options/offthreadvideo-video-threads.mdx',+ compId: 'articles-docs-options-offthreadvideo-video-threads',+ crumb: 'Options',+ noAi: false,+ slug: 'options/offthreadvideo-video-threads',+ },+ {+ id: 'options/on-browser-download',+ title: 'Browser download callback function',+ relativePath: 'docs/options/on-browser-download.mdx',+ compId: 'articles-docs-options-on-browser-download',+ crumb: 'Options',+ noAi: false,+ slug: 'options/on-browser-download',+ },+ {+ id: 'options/out-dir',+ title: 'Output Directory',+ relativePath: 'docs/options/out-dir.mdx',+ compId: 'articles-docs-options-out-dir',+ crumb: 'Options',+ noAi: false,+ slug: 'options/out-dir',+ },+ {+ id: 'options/overwrite',+ title: 'Overwrite output',+ relativePath: 'docs/options/overwrite.mdx',+ compId: 'articles-docs-options-overwrite',+ crumb: 'Options',+ noAi: false,+ slug: 'options/overwrite',+ },+ {+ id: 'options/package-manager',+ title: 'Package Manager',+ relativePath: 'docs/options/package-manager.mdx',+ compId: 'articles-docs-options-package-manager',+ crumb: 'Options',+ noAi: false,+ slug: 'options/package-manager',+ },+ {+ id: 'options/pixel-format',+ title: 'Pixel format',+ relativePath: 'docs/options/pixel-format.mdx',+ compId: 'articles-docs-options-pixel-format',+ crumb: 'Options',+ noAi: false,+ slug: 'options/pixel-format',+ },+ {+ id: 'options/port',+ title: 'Port',+ relativePath: 'docs/options/port.mdx',+ compId: 'articles-docs-options-port',+ crumb: 'Options',+ noAi: false,+ slug: 'options/port',+ },+ {+ id: 'options/prefer-lossless',+ title: 'Prefer lossless',+ relativePath: 'docs/options/prefer-lossless.mdx',+ compId: 'articles-docs-options-prefer-lossless',+ crumb: 'Options',+ noAi: false,+ slug: 'options/prefer-lossless',+ },+ {+ id: 'options/preview-sample-rate',+ title: 'Preview Sample Rate',+ relativePath: 'docs/options/preview-sample-rate.mdx',+ compId: 'articles-docs-options-preview-sample-rate',+ crumb: 'Options',+ noAi: false,+ slug: 'options/preview-sample-rate',+ },+ {+ id: 'options/props',+ title: 'Input Props',+ relativePath: 'docs/options/props.mdx',+ compId: 'articles-docs-options-props',+ crumb: 'Options',+ noAi: false,+ slug: 'options/props',+ },+ {+ id: 'options/prores-profile',+ title: 'ProRes profile',+ relativePath: 'docs/options/prores-profile.mdx',+ compId: 'articles-docs-options-prores-profile',+ crumb: 'Options',+ noAi: false,+ slug: 'options/prores-profile',+ },+ {+ id: 'options/public-dir',+ title: 'Public Directory',+ relativePath: 'docs/options/public-dir.mdx',+ compId: 'articles-docs-options-public-dir',+ crumb: 'Options',+ noAi: false,+ slug: 'options/public-dir',+ },+ {+ id: 'options/public-license-key',+ title: 'Public License Key',+ relativePath: 'docs/options/public-license-key.mdx',+ compId: 'articles-docs-options-public-license-key',+ crumb: 'Options',+ noAi: false,+ slug: 'options/public-license-key',+ },+ {+ id: 'options/public-path',+ title: 'Public Path',+ relativePath: 'docs/options/public-path.mdx',+ compId: 'articles-docs-options-public-path',+ crumb: 'Options',+ noAi: false,+ slug: 'options/public-path',+ },+ {+ id: 'options/repro',+ title: 'Create reproduction',+ relativePath: 'docs/options/repro.mdx',+ compId: 'articles-docs-options-repro',+ crumb: 'Options',+ noAi: false,+ slug: 'options/repro',+ },+ {+ id: 'options/rspack',+ title: 'Rspack',+ relativePath: 'docs/options/rspack.mdx',+ compId: 'articles-docs-options-rspack',+ crumb: 'Options',+ noAi: false,+ slug: 'options/rspack',+ },+ {+ id: 'options/runs',+ title: 'Benchmark runs',+ relativePath: 'docs/options/runs.mdx',+ compId: 'articles-docs-options-runs',+ crumb: 'Options',+ noAi: false,+ slug: 'options/runs',+ },+ {+ id: 'options/sample-rate',+ title: 'Sample Rate',+ relativePath: 'docs/options/sample-rate.mdx',+ compId: 'articles-docs-options-sample-rate',+ crumb: 'Options',+ noAi: false,+ slug: 'options/sample-rate',+ },+ {+ id: 'options/scale',+ title: 'Scale',+ relativePath: 'docs/options/scale.mdx',+ compId: 'articles-docs-options-scale',+ crumb: 'Options',+ noAi: false,+ slug: 'options/scale',+ },+ {+ id: 'options/separate-audio-to',+ title: 'Separate audio to',+ relativePath: 'docs/options/separate-audio-to.mdx',+ compId: 'articles-docs-options-separate-audio-to',+ crumb: 'Options',+ noAi: false,+ slug: 'options/separate-audio-to',+ },+ {+ id: 'options/sequence',+ title: 'Image Sequence',+ relativePath: 'docs/options/sequence.mdx',+ compId: 'articles-docs-options-sequence',+ crumb: 'Options',+ noAi: false,+ slug: 'options/sequence',+ },+ {+ id: 'options/skip-skills',+ title: 'Skip Skills',+ relativePath: 'docs/options/skip-skills.mdx',+ compId: 'articles-docs-options-skip-skills',+ crumb: 'Options',+ noAi: false,+ slug: 'options/skip-skills',+ },+ {+ id: 'options/still-image-format',+ title: 'Still Image Format',+ relativePath: 'docs/options/still-image-format.mdx',+ compId: 'articles-docs-options-still-image-format',+ crumb: 'Options',+ noAi: false,+ slug: 'options/still-image-format',+ },+ {+ id: 'options/throw-if-site-exists',+ title: 'Throw if site exists',+ relativePath: 'docs/options/throw-if-site-exists.mdx',+ compId: 'articles-docs-options-throw-if-site-exists',+ crumb: 'Options',+ noAi: false,+ slug: 'options/throw-if-site-exists',+ },+ {+ id: 'options/timeout',+ title: 'delayRender() timeout',+ relativePath: 'docs/options/timeout.mdx',+ compId: 'articles-docs-options-timeout',+ crumb: 'Options',+ noAi: false,+ slug: 'options/timeout',+ },+ {+ id: 'options/user-agent',+ title: 'User agent',+ relativePath: 'docs/options/user-agent.mdx',+ compId: 'articles-docs-options-user-agent',+ crumb: 'Options',+ noAi: false,+ slug: 'options/user-agent',+ },+ {+ id: 'options/version',+ title: 'Version',+ relativePath: 'docs/options/version.mdx',+ compId: 'articles-docs-options-version',+ crumb: 'Options',+ noAi: false,+ slug: 'options/version',+ },+ {+ id: 'options/video-bitrate',+ title: 'Video Bitrate',+ relativePath: 'docs/options/video-bitrate.mdx',+ compId: 'articles-docs-options-video-bitrate',+ crumb: 'Options',+ noAi: false,+ slug: 'options/video-bitrate',+ },+ {+ id: 'options/video-image-format',+ title: 'Video Image Format',+ relativePath: 'docs/options/video-image-format.mdx',+ compId: 'articles-docs-options-video-image-format',+ crumb: 'Options',+ noAi: false,+ slug: 'options/video-image-format',+ },+ {+ id: 'options/webhook-custom-data',+ title: 'Webhook custom data',+ relativePath: 'docs/options/webhook-custom-data.mdx',+ compId: 'articles-docs-options-webhook-custom-data',+ crumb: 'Options',+ noAi: false,+ slug: 'options/webhook-custom-data',+ },+ {+ id: 'options/webpack-poll',+ title: 'Webpack Polling',+ relativePath: 'docs/options/webpack-poll.mdx',+ compId: 'articles-docs-options-webpack-poll',+ crumb: 'Options',+ noAi: false,+ slug: 'options/webpack-poll',+ },+ {+ id: 'options/width',+ title: 'Override Width',+ relativePath: 'docs/options/width.mdx',+ compId: 'articles-docs-options-width',+ crumb: 'Options',+ noAi: false,+ slug: 'options/width',+ },+ {+ id: 'options/x264-preset',+ title: 'x264 Preset',+ relativePath: 'docs/options/x264-preset.mdx',+ compId: 'articles-docs-options-x264-preset',+ crumb: 'Options',+ noAi: false,+ slug: 'options/x264-preset',+ },{id: 'sdk/canvas',title: '<Canvas>',diff --cc packages/docs/static/generated/articles-docs-options-disable-shared-memory-capture.pngindex 0000000000,0000000000..107b68643anew file mode 100644Binary files differdiff --cc packages/renderer/src/options/disable-shared-memory-capture.tsxindex f3aec3dec6,0000000000..9e3d218b29mode 100644,000000..100644--- a/packages/renderer/src/options/disable-shared-memory-capture.tsx+++ b/packages/renderer/src/options/disable-shared-memory-capture.tsx@@@ -1,34 -1,0 +1,35 @@@+import type {AnyRemotionOption} from './option';++let disableSharedMemoryCapture = false;++const cliFlag = 'disable-shared-memory-capture' as const;++export const disableSharedMemoryCaptureOption = {+ name: 'Disable shared-memory capture',+ cliFlag,+ description: () => (+ <>+ Disables shared-memory capture and uses regular JPEG or PNG screenshots+ instead. Parallel encoding remains enabled. Default <code>false</code>.+ </>+ ),+ ssrName: 'disableSharedMemoryCapture',- docLink: 'https://www.remotion.dev/docs/shared-memory-capture#opt-out',++ docLink:++ 'https://www.remotion.dev/docs/options/disable-shared-memory-capture',+ type: false as boolean,+ getValue: ({commandLine}) => {+ if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {+ return {value: commandLine[cliFlag] as boolean, source: 'cli'};+ }++ if (disableSharedMemoryCapture !== false) {+ return {value: disableSharedMemoryCapture, source: 'config'};+ }++ return {value: false, source: 'default'};+ },+ setConfig(value) {+ disableSharedMemoryCapture = value;+ },+ id: cliFlag,+} satisfies AnyRemotionOption<boolean>;