Crafting beautiful video frames with code
summary
Programmatic video renders each frame as a tiny web page: using Remotion + React to query the current frame and manipulate CSS, and embedding Rive vector animations via its JS canvas runtime so the animation is driven to a precise frame. Cloud export uses lambda-based concurrent rendering that spins many headless Chromium instances to screenshot frames (tradeoff: speed versus cost), with typical settings like 30 fps and configurable frames-per-lambda (e.g. 300 frames ÷ 30 = 10 lambdas). Practical demos: Spotify‑style wrapped campaigns, gameplay highlight reels, and sharable MP4s.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 3:13What is programmatic video
- 7:05Programmatic video with Remotion
- 9:39Design importance in video
- 11:01Using Rive for animations
- 14:17Wrapped campaigns as use case
- 17:05Live coding with Rive and Remotion
- 22:26Rendering videos in the cloud
- 28:25Fancy visuals and examples
- 34:29Conclusion and Q&A
