hn.today

Fframes: Programmatic video rendering framework in Rust

github.com6 points0 comments
Screenshot of Fframes: Programmatic video rendering framework in Rust

Fframes is a Rust framework for creating videos in code, aimed at making rapid, AI-assisted iteration practical while keeping rendering fast. A video is defined by a Rust implementation that returns an SVG scene for each frame; timelines and animation functions control movement and other changes. The project says its renderer is more than 30 times faster than Remotion. Creators can start by giving an AI agent the framework’s skill, or install the command-line tool, generate a project, and preview it locally. The built-in preview supports scrubbing, scene navigation, frame stepping, and playback, with GPU or CPU drawing and configurable video sizes and frame rates.

The repository includes examples spanning simple animated graphics, multi-scene announcements, product explainers, portrait social videos, captions, audio visualizations, 3D compositions, and GPU shaders. Some demonstrate complex combinations of SVG, 3D, sound, and shader effects, while others serve as templates or renderer stress tests. Fframes also supports source video and audio through FFmpeg, with available codecs and acceleration depending on build features and installed libraries. Setup varies by platform: macOS and Linux can use prebuilt dependencies or compile them, while Windows relies on shared FFmpeg libraries and has different codec constraints. Users need Rust, and Node.js when working on the editor; the detailed build notes explain dependencies, portability options, and common troubleshooting issues.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.