NewsCrawler.org

fframes: a framework that renders videos from code

Watch fframes-intro
dmtrKovalenko/fframes
Watch made-of-motion
Watch arm
Image: github.com

fframes is a framework for rendering videos from code. Its stated goals are quick iteration for an AI agent, a real-time preview for the developer, and the fastest rendering speed in the industry. The authors say it is more than 30 times faster than remotion.

Every frame is an SVG[1] tree returned by a Rust function, written with the svgr! macro[2]. In the hello-world example, a 1920x1080 video at 30 FPS lasts 30 seconds: a square moves along a timeline while a line of text shows the current frame.

To start, run npx skills add https://fframes.studio and ask an AI agent to make a video. Without an agent, install cargo-fframes with cargo install, create a project with cargo fframes new, and run preview. The preview timeline supports scrubbing, jumping between scenes and stepping one frame at a time, and on macOS it tries VideoToolbox for supported source videos.

Repository fframes github.com

Open source framework that renders videos from Rust code, where each frame is an SVG tree built with the svgr! macro.

Stars: 4,900Forks: 140License: MITUpdated:

Read the original github.com

Sources

  • GitHub Trending

    dmtrKovalenko/fframes

    550 stars today5,100 stars140 forks

First seen: Читать по-русски

Open as a page