Skip to content

🎥 Make videos programmatically with React

Merge remote-tracking branch 'origin/main' into codex/docs-option-sidebar-order

Jonny Burger05123579c41c
diff --cc packages/docs/docs/options/disable-shared-memory-capture.mdx
index 0000000000,c0be000098..1819accad8
mode 000000,100644..100644
--- a/packages/docs/docs/options/disable-shared-memory-capture.mdx
+++ b/packages/docs/docs/options/disable-shared-memory-capture.mdx
@@@ -1,0 -1,44 +1,43 @@@
+ ---
+ 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)