Skip to content

🎥 Make videos programmatically with React

try to render a 11mins file

Shankhadeep Dey76e9c2be2d03
diff --git a/packages/lambda/remotion-project/Root.tsx b/packages/lambda/remotion-project/Root.tsx
index 0deea97c73..93c69581b5 100644
--- a/packages/lambda/remotion-project/Root.tsx
+++ b/packages/lambda/remotion-project/Root.tsx
@@ -6,7 +6,7 @@ export const RemotionRoot: React.FC = () => {
return (
<Composition
fps={30}
- durationInFrames={1000}
+ durationInFrames={20000}
component={MyVideo}
height={1080}
width={1920}
diff --git a/packages/lambda/src/create-lambda.ts b/packages/lambda/src/create-lambda.ts
index f84ef3683d..9f2f651691 100644
--- a/packages/lambda/src/create-lambda.ts
+++ b/packages/lambda/src/create-lambda.ts
@@ -97,7 +97,7 @@ xns(async () => {
Runtime: 'nodejs12.x',
Description: 'Renders a Remotion video.',
MemorySize: 1769 * 2,
- Timeout: 60,
+ Timeout: 300,
Layers: [layerArn],
VpcConfig: ENABLE_EFS
? {