Alternatives to GSAP + Playwright / FFmpeg (DIY HTML-to-Video)
Many teams start by animating a page with GSAP, launching Playwright, stepping requestAnimationFrame or taking screenshots, and piping frames into FFmpeg. That DIY pipeline works for a quick prototype, then breaks on audio sync, font loading, slow headless GPUs, and dropped frames. These tools replace the capture plumbing.
We make ExodeUI. For pure HTML/GSAP-to-MP4 rendering, HyperFrames or Remotion are usually the most direct drop-in replacement for a custom Playwright/FFmpeg script.
Use HyperFrames (heygen-com/hyperframes, Apache 2.0) if you want to keep HTML, CSS, and paused GSAP timelines while letting a maintained CLI handle deterministic frame capture, audio mixing, and linting. Use Remotion if you prefer React components and cloud rendering. Use ExodeUI if you want a visual editor and MCP server (claude-exode-mcp) that exports both live interactive UI runtimes and rendered video without writing capture scripts.
Quick picks by job
| If you need | Use |
|---|---|
| Keep HTML, CSS, and GSAP without capture scripts | HyperFrames |
| React-driven video rendering and AWS Lambda scale | Remotion |
| TypeScript canvas timelines with FFmpeg export | Motion Canvas |
| Visual editor + MCP for interactive UI and video export | ExodeUI |
| Recording a full existing live web app | Keep DIY Playwright + FFmpeg |
Side-by-side comparison
| Approach | Handles audio sync | Handles fonts / determinism | Stack | License / Cost |
|---|---|---|---|---|
| HyperFrames | Yes (built-in mixer) | Yes (lint + seekable runtime) | HTML, CSS, GSAP | Apache 2.0 open source |
| Remotion | Yes | Yes | React / TypeScript | Free up to 3-person teams; paid Company License for 4+ |
| Motion Canvas | Yes (audio track sync) | Yes (Vite + canvas) | TypeScript generators | MIT open source |
| ExodeUI | Yes (audio triggers) | Yes (visual + MCP export) | .exode JSON / visual editor | Free Community; Pro $5/mo (yearly) |
| DIY Playwright + FFmpeg | Manual | Manual | Custom Node + Chromium | Open-source stack + engineering time |
How we compared them
- How cleanly it replaces custom virtual-time stepping and screenshot loops
- Whether it handles audio mixing and font readiness automatically
- Deterministic frame-accurate output across machines and CI
- License, pricing, and AI coding agent support
The 5 options compared
1. HyperFrames
Best for: The closest drop-in replacement for GSAP + Playwright + FFmpeg
- Platforms
- Node.js >= 22 + FFmpeg
- Price
- Free and open source (Apache 2.0)
- Output
- Deterministic MP4
HyperFrames keeps your exact web primitives—HTML, CSS, and gsap.timeline({ paused: true })—and replaces your custom Playwright screenshot loop with npx hyperframes render. It also runs npx hyperframes lint to catch CSS transform conflicts, missing font faces, and media timing mistakes before you render.
Pros and cons
- Keeps HTML, CSS, and GSAP so you do not rewrite in React
- Deterministic frame capture and built-in audio mixing
- Ships agent skills for Claude Code and Cursor
- Requires structuring compositions around data-* attributes and window.__timelines
- Video-only output
2. Remotion
Best for: High-volume programmatic video in React
- Platforms
- Node.js, macOS, Windows, Linux, AWS Lambda
- Price
- Free for individuals, non-profits, and teams up to 3; Company License from $25/seat/month or $0.01/render ($100/mo min)
- Output
- MP4, WebM, GIF, image sequences
Remotion solves headless capture, multi-threaded rendering, audio mixing, and cloud Lambda scaling inside a React component model. If your DIY script is turning into a product feature, Remotion saves months of infrastructure work.
Pros and cons
- Battle-tested parallel rendering and AWS Lambda support
- Studio preview for scrubbing frames in development
- Requires React rather than plain HTML/GSAP
- Paid Company License required for 4+ person companies
3. Motion Canvas
Best for: Procedural 2D animations in TypeScript without DOM quirks
- Platforms
- Vite (Browser) + Node.js
- Price
- Free and open source (MIT License)
- Output
- Image sequences + FFmpeg video
Instead of automating Chromium to screenshot DOM elements, Motion Canvas renders directly on an HTML5 Canvas from TypeScript generator scripts and exports clean frame sequences for FFmpeg.
Pros and cons
- Avoids DOM layout shifts and browser screenshot overhead
- MIT licensed for commercial use
- You cannot reuse existing HTML/CSS pages directly
4. ExodeUI
Best for: Skipping capture scripts when you want visual editing, MCP, and live UI + video
- Platforms
- Browser, macOS, Windows; React, Vue, Svelte, Angular, Solid, React Native, SwiftUI, Flutter
- Price
- Free Community plan; Professional $5/month billed yearly
- Output
- .exode JSON, .bexode runtime bundle, React component, static web page, rendered video
If you were only rendering GSAP to MP4 because embedding interactive animations across frameworks felt painful, ExodeUI removes the video-capture step. Build the motion visually or with claude-exode-mcp, run it interactively in your app, or export rendered video directly.
Pros and cons
- Exports both interactive app runtimes and rendered video
- Visual editor plus 149-tool MCP server for AI coding agents
- Does not take arbitrary existing HTML/GSAP pages as input
5. Keep DIY Playwright + FFmpeg
Best for: Capturing full interactive user sessions in an existing web app
- Platforms
- Node.js, Chromium, FFmpeg
- Price
- Free (engineering maintenance cost)
- Output
- MP4, WebM
If you need to log into a real app, click buttons, wait for API responses, and record a complex WebGL or canvas viewport, a custom Playwright script is still the right tool because composition frameworks expect deterministic, offline timelines.
Pros and cons
- Works on any live website without rewriting it
- Full control over browser state and network mocks
- Real-time recording drops frames under CPU load
- You own all maintenance across Chrome and FFmpeg updates