Videos with a browser and ffmpeg - the kit
The guide that goes with this: https://azorius.com/guides/videos-with-a-browser-and-ffmpeg

  short.json      your video: one entry per beat (frame text + the line spoken over it)
  make-short.js   narrate -> measure -> render -> clips -> crossfade -> mix -> check
  check-short.js  checks any finished MP4:  node check-short.js out/your.mp4

Setup (once):
  npm install
  npx playwright install chromium
  python3 -m venv .venv
  .venv/bin/pip install piper-tts            (Windows: .venv\Scripts\pip install piper-tts)
  .venv/bin/python -m piper.download_voices --download-dir voices en_GB-alan-medium

Build:
  node make-short.js

Music is optional. Put a track you have a licence for next to short.json as bed.mp3,
and write down where it came from. Without one, the video is narration only.
