fframes-video
Making videos with fframes
fframes is a Rust library that renders video from
code. A video is a Rust struct with a render_frame(frame) -> Svgr method: for every frame it
returns an SVG tree, built with the svgr! macro (SVG markup with {rust expressions}).
Scenes split the timeline, timeline! and springs animate values, an audio map places sound,
and ffmpeg encodes the result.
Each project gets a command line (from fframes::cli). Use it for everything: render a video,
open the real-time preview window, and look at frames, contact sheets and loudness numbers as
files you can read. Read references/design.md before designing, references/api.md while
writing code and references/audio.md for sound.
When matching a supplied video, first follow the reference-analysis guidance in
references/design.md. Its cuts, pacing and motion take precedence over the design defaults
below; fast edits and intentional black frames may be part of the requested result.