Skip to content

🎥 Make videos programmatically with React

`@remotion/lambda`: Set `optimizeForSpeed` to true

Jonny Burger48a2501bc502
diff --git a/packages/renderer/src/screenshot-task.ts b/packages/renderer/src/screenshot-task.ts
index d9ce420d50..19092aa55c 100644
--- a/packages/renderer/src/screenshot-task.ts
+++ b/packages/renderer/src/screenshot-task.ts
@@ -75,7 +75,7 @@ export const screenshotTask = async ({
width,
},
captureBeyondViewport: true,
- optimizeForSpeed: false,
+ optimizeForSpeed: true,
// We find that there is a 0.1% framedrop when rendering under memory pressure
// which can be circumvented by disabling this option on Lambda.
// To be determined: Is this a problem with Lambda, or the Chrome version