"No composition found"
"No composition found"
Your directory needs an
index.html with a valid composition. The root element must have a data-composition-id attribute.Fix: Run npx hyperframes init to create a composition from an example, or verify your index.html has the correct structure:index.html
"FFmpeg not found"
"FFmpeg not found"
Local rendering requires FFmpeg installed on your system. Install it for your platform:After installing, run
npx hyperframes doctor to verify the CLI can find it.Lint errors
Lint errors
Run
npx hyperframes lint to check for common structural issues (see CLI: lint):Preview not updating
Preview not updating
Make sure you are editing the
index.html in the project directory. The preview server watches for file changes and auto-reloads.If changes still do not appear:- Check the terminal for errors from the preview server
- Stop and restart
npx hyperframes preview - Hard-refresh the browser: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (macOS)
- Clear the browser cache if CSS changes are not reflected
Preview stutters or plays at a low frame rate
Preview stutters or plays at a low frame rate
Symptom: Preview playback is jerky or skips frames, but the rendered mp4 looks fine.Cause: Individual frames are taking longer than 16-33ms to paint. Render hides this (it captures frames one at a time), preview does not.Common culprits, most to least frequent:See Performance for the full guide on expensive CSS patterns and how to fix them.
- Stacked
backdrop-filter: blur()layers, especially at radii above 32px - Source images at very high resolution (above 4K) displayed in small regions
filter: blur()orfilter: drop-shadow()on large elements- Many elements with
box-shadowortext-shadowthat also animate
Terminal
Render looks different from preview
Render looks different from preview
Use See Rendering: When to Use Each Mode for guidance on choosing between local and Docker rendering.
--docker mode for deterministic output. Local renders may differ due to:- Font availability — different fonts on different platforms cause text reflow
- Chrome version — local Chromium vs. Docker’s pinned version can render slightly differently
- System-specific rendering — GPU compositing, subpixel antialiasing, etc.
Terminal
Docker mode fails to start
Docker mode fails to start
Verify Docker is installed and the daemon is running:Common issues:
Terminal
- Docker not running: Start Docker Desktop or the Docker daemon
- Permission denied: Add your user to the
dockergroup (sudo usermod -aG docker $USER) and restart your shell - Image pull fails: Check your internet connection; the first render downloads the Hyperframes Docker image
Render is slow
Render is slow
Try these optimizations:
- Use
--quality draftduring development for faster encoding - Run
npx hyperframes benchmarkto find the optimal worker count for your system - Local Chrome/WebGL GPU capture is enabled automatically; compare with
--no-browser-gpuif troubleshooting - Use
--gpufor hardware-accelerated encoding (local mode only) - Reduce
--fpsto 24 if 30fps is not needed - Check that your composition does not have unnecessary elements or overly complex animations
Video asset plays black in preview but renders fine (HEVC/H.265)
Video asset plays black in preview but renders fine (HEVC/H.265)
Rendering decodes video assets with FFmpeg, so HEVC (H.265) inputs render correctly on every platform. Live preview is different:
preview, play, Studio, and published player pages play the file in your browser, and not every browser decodes HEVC (Chrome 107+, Edge, and Safari do on most modern hardware; Firefox does not).If an HEVC asset shows a black or frozen frame in preview:- Confirm the render itself is fine:
npx hyperframes renderoutput will contain the video. - For authoring, generate an H.264 proxy (
ffmpeg -i asset.mp4 -c:v libx264 -crf 18 proxy.mp4) and point the composition at it while you iterate. - Swap the HEVC original back before the final render, or keep the proxy; both render correctly.
npx hyperframes lint flags HEVC assets with an info-level hevc_preview_codec note. See Rendering: Input Video Codecs.System Diagnostics
Runnpx hyperframes doctor to check your environment:
Terminal
doctor reports issues, address them before rendering.
Still Stuck?
If none of the above resolves your issue:- Run
npx hyperframes infoto gather system and project details - Check GitHub Issues for similar reports
- Open a new issue with the output of
npx hyperframes infoand steps to reproduce
Next Steps
Common Mistakes
Coding pitfalls that break compositions
Rendering
Rendering modes, options, and tips
CLI Reference
Full list of CLI commands
Contributing
Report bugs and contribute fixes