Skip to content
Editing videos

Editing and re-exporting the videos

Every runbook has a step-by-step video. This page covers changing one: editing it on its page, exporting and re-encoding it, and keeping the copy of its source in the repository in step.

Editing and re-exporting

From the editable page. Open the video’s editable page from its runbook’s index, ask Claude for the change in a Claude Code session, then use Export on that page to download an MP4. Check the resolution and frame rate in the export dialog: the first video was exported at 1080p and 60 fps, the later ones at 720p and 15 fps.

From the repo, if the page is gone. The pages are private to the account that made them until shared, and they last until someone deletes them, or until an Enterprise organization’s artifact retention period removes them (Organization settings > Data and privacy). Each runbook’s source/ folder holds everything needed to rebuild its video: scenes.json (scene list, lengths, palette, fonts), base.css, shared.js (the board and the story data), one scene-<id>.js per scene and score.js. Ask Claude to create a new Motion artifact and write each file into its store as modules/<file name>, plus film/script set to window.CUT = kit.scenes();. The four maintenance videos can also be regenerated with infrastructure/tools/build_maintenance_films.py, which checks panel and terminal layout limits before it writes anything.

After changing a video on its page, copy its source back into its folder’s source/ in the same MR as the new video, so the two stay in step.

A 1080p, 60 fps export comes out at about 8 Mbit/s (around 80 MB for 80 seconds). Re-encode it before committing; for these flat diagrams the result looks the same at a fifth of the size:

ffmpeg -i "Provisioning a Cell.mp4" -c:v libx264 -preset slow -crf 23 -tune animation \
  -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart docs/infrastructure/provisioning-a-cell/provisioning-a-cell.mp4

*.mp4 files are stored with Git LFS (see .gitattributes), so a re-export does not grow the repository history. Run git lfs install once before cloning or pulling to get the video rather than a pointer file.

Last updated on