Skip to content

remotion-dev/trailer-lambda

Repository files navigation

Remotion Lambda Trailer

This is the source code the Remotion Lambda trailer. This video was written entirely in React using Remotion.

Rendering via Remotion Lambda

To validate the claim in the video that it can be rendered in 15 seconds, first set up Remotion Lambda. Afterwards, deploy the project and render across 200 Lambda functions:

npx remotion lambda sites create src/index.tsx --site-name=trailer
npx remotion lambda render trailer Main --frames-per-lambda=12
npx remotion lambda render trailer Main --frames-per-lambda=12

On the second render, you should see a render time of around 15 seconds. We've achieved a time of 14.6 seconds in our best run. Note: We are rendering the video twice to "warm up" the Lambda functions. There is no caching going on.

Commands

Start Preview

npm start

Render video

npm run build

Upgrade Remotion

npm run upgrade

Docs

Get started with Remotion by reading the fundamentals page.

Issues

Found an issue with Remotion? File an issue here.

License

This code: MIT
Remotion: Notice that for some entities a company license is needed. Read the terms here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published