Files
hyperframes/packages/cli/src/docs/rendering.md
T
Vance Ingalls 20be2ea1c2 style: apply oxfmt baseline formatting across all source files (#25)
## Summary
- Run `oxfmt .` across the entire codebase to establish formatted baseline
- 299 files changed — mechanical formatting only, no logic changes
- Double quotes, semicolons, 2-space indent, trailing commas, 100 print width

Part 3/4 of [VA-851](https://linear.app/heygen/issue/VA-851/pre-migration-configure-eslint-prettier-and-conventional-commits)

## Test plan
- [x] `pnpm format:check` — all 426 files pass
- [x] `pnpm -r typecheck` — all packages pass
- [x] `pnpm build` — all packages build
- [x] All 348 tests pass
2026-03-23 17:15:14 -07:00

856 B

Rendering

Render compositions to MP4 with npx hyperframes render.

Local Mode (default)

Uses Puppeteer (bundled Chromium) + system FFmpeg. Fast for iteration. Requires: FFmpeg installed (brew install ffmpeg or apt install ffmpeg).

Docker Mode (--docker)

Deterministic output with exact Chrome version and fonts. For production. Requires: Docker installed and running.

Options

  • -f, --fps — 24, 30, or 60 (default: 30)
  • -q, --quality — draft, standard, high (default: standard)
  • -w, --workers — Parallel workers 1-8 (default: auto)
  • --gpu — Use GPU encoding (NVENC, VideoToolbox, VAAPI)
  • -o, --output — Custom output path

Tips

  • Use draft quality for fast previews during development
  • Use npx hyperframes benchmark to find optimal settings
  • 4 workers is usually the sweet spot for most compositions