# Alternatives to GSAP + Playwright / FFmpeg (DIY HTML-to-Video)

> 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.

*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.*

Updated November 2026. Source: https://www.exodeui.com/gsap-playwright-ffmpeg-alternatives/

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.

## Quick picks

- 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**

## The 5 options compared

### 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: 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

Cons: Requires structuring compositions around data-* attributes and window.__timelines; Video-only output

### 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: Battle-tested parallel rendering and AWS Lambda support; Studio preview for scrubbing frames in development

Cons: Requires React rather than plain HTML/GSAP; Paid Company License required for 4+ person companies

### 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: Avoids DOM layout shifts and browser screenshot overhead; MIT licensed for commercial use

Cons: You cannot reuse existing HTML/CSS pages directly

### 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: Exports both interactive app runtimes and rendered video; Visual editor plus 149-tool MCP server for AI coding agents

Cons: Does not take arbitrary existing HTML/GSAP pages as input

### 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: Works on any live website without rewriting it; Full control over browser state and network mocks

Cons: Real-time recording drops frames under CPU load; You own all maintenance across Chrome and FFmpeg updates

## Frequently asked questions

### Why does Playwright page.video() look choppy for animations?

Built-in video recording captures in real time, so any CPU spike or garbage collection pause drops frames. Deterministic tools pause the timeline and advance frame by frame.

### What is the easiest migration from GSAP + Playwright + FFmpeg?

HyperFrames is the closest match because it keeps HTML, CSS, and paused GSAP timelines while handling frame stepping, linting, and FFmpeg encoding.

### Do I need to render video if the animation is for my own website?

Usually no. Running an interactive runtime (like ExodeUI, GSAP, or Motion) gives you crisp vectors, small payloads, and user interactivity instead of a heavy MP4.

### Can ExodeUI export video without custom FFmpeg scripts?

Yes. Both the ExodeUI editor and claude-exode-mcp include rendered video export.

## Related

- [HyperFrames alternatives](https://www.exodeui.com/hyperframes-alternatives/)
- [ExodeUI vs HyperFrames](https://www.exodeui.com/compare/exodeui-vs-hyperframes/)
- [Best Remotion alternatives](https://www.exodeui.com/best-remotion-alternatives/)
- [Best Motion Canvas alternatives](https://www.exodeui.com/best-motion-canvas-alternatives/)
