demo-video
Installation
SKILL.md
Demo video
A film is one folder in the product repo (default video/<name>/). index.html is the film, music.json is the music edit, and everything rendered stays out of git. Every frame is seek(t), a pure function of time with no CSS transitions, timers, or state carried between frames. That means any frame can be re-rendered on its own, and a 240 fps capture blends into clean 60 fps motion blur.
<skill-dir> is the directory holding this file. Run every command from the product repo root.
Quick start
K=<skill-dir>/scripts
eval "$(bash $K/setup.sh)" # once per machine (~/.cache/demo-video-tools); sets PY, PW_MODULE, FFMPEG
FONT=inter bash $K/new-film.sh video/launch public/logo.svg # template, product font, logo, music.json, git excludes
$PY $K/beats.py video/launch/assets/song.mp3 # tempo, downbeat, seams, key → fill music.json
To preview any moment, load file://<abs-path>/video/launch/index.html?t=3 in Chrome. The render loop: