vlog-edit
Edit raw selfie or talking-head footage into a captioned 9:16 short with a hook, full-frame data cards, a map, a picked-from-a-list moment, b-roll cutaways and an outro, then check the render with aut
SKILL.mdvlog-edit/SKILL.md
GitHubvlog-edit
Turn phone footage into a short that looks produced: every cut lands in a pause, captions sit in one band on every shot, graphics fill the frame and build while he talks, and the judges check the file before you hand it over.
The engine is scripts/vlog.py (Python, ffmpeg, Pillow, numpy, faster-whisper). You author one
file, EDIT.json, and everything in it is keyed to words, never to seconds you typed.
Setup (once)
pip install -r scripts/requirements.txt # faster-whisper, pillow, numpy
python3 scripts/vlog.py setup # fetches Inter Display (SIL OFL) to ~/.cache/vlog-edit
Needs ffmpeg and ffprobe on PATH (or set VLOG_EDIT_FFMPEG / VLOG_EDIT_FFPROBE).
Workflow
Transcribe. Write an
EDIT.jsonwith onlynameandclips, then:python3 scripts/vlog.py transcribe EDIT.jsonIt prints every word with its index and marks real pauses as
|0.6s|. Word edges are refined with a voice-activity detector, because Whisper closes every pause into the word before it. Read the whole transcript before deciding anything. Check the detected language: do not setlanguageunless you are sure, because forcing English on German speech silently translates. Accented English is often transcribed as the speaker's first language; when the speaker says what they said, usefix, and leave out any stretch you cannot transcribe with confidence.transcribere-hears every sentence on its own and printsDISPUTEDwhere the two passes disagree. The sentence-on-its-own reading is usually right; if a disputed line changes the meaning ("it works" / "it doesn't work") and you still cannot tell, cut the line.Find the story. Pick
keepranges by word index. Drop retakes, false starts and filler; keep the best take of each line. Pauses longer thantighten(0.35 s) are cut down automatically, so do not fight the pacing by hand.Write the hook. One line, the reason to keep watching, in the speaker's own framing. It covers the first ~2 s and is the thumbnail, so captions wait until it has faded.
Plan the visuals. At most one visual per sentence, in this order of preference:
- a card when the words name a number, a place, a choice or a prompt
(
stat,map,listwith apick,prompt); - a b-roll cutaway from another clip when the words describe what is around him;
- otherwise stay on his face. A face is not a gap to fill.
Each visual gets
atanduntilword references. Seereferences/edit-json.md.
- a card when the words name a number, a place, a choice or a prompt
(
Source every figure. A
statrefuses to render withoutsource. Put on screen only what you can cite; if the date or scope of a figure is uncertain, leave it out of the copy rather than guessing (say "2026 count", not a month you inferred).Speech in another language? Captions stay exactly what was said, in that language, and a
subtitlesline underneath carries a faithful translation per sentence. Skip the line when the sentence is already in the viewer's language.Fix the ASR, pick caption keys.
fixreplaces misheard words ("for your eye" -> "for AI.").captions.keysare the one or two words per line that carry the meaning; they get the accent box. Brand and product names spelled right.Render and judge.
python3 scripts/vlog.py render EDIT.json python3 scripts/vlog.py qa EDIT.jsonqaexits 1 on any finding. Fix the cause and re-render; do not tune a threshold to pass. Then look at the contact sheet (renders/<name>.contact.jpg). The judges catch broken cuts, not bad taste.Deliver the mp4, the one-line judge summary, and anything you left out and why.
What the judges check (references/judges.md)
| judge | fails on |
|---|---|
| cut | GHOST (a dissolve: both pictures at once), FLASH (a shot under 0.4 s), STROBE, FROZEN and CREEP (a card that stops moving), OFFBEAT (a cut inside a word) |
| picture | wrong size, black frames, length off the plan |
| loudness | integrated loudness more than 1 LU off target (-14 LUFS), peak at the ceiling |
| voice over music | the ducked bed within 10 dB of the voice under any kept word |
| speech | a kept word clipped by the cut (Whisper per sentence on the cut voice vs the plan) |
The rules the engine enforces for you
These came from real cuts that looked broken; references/editing-grammar.md has the why.
- A card is a cut, never a dissolve, and it lands on content: the title is there on frame one.
- Card and cutaway edges snap to the gap between words, and to a join in the footage when one is within four frames. No shot shorter than 0.45 s survives between two cuts.
- A cutaway next to a card slides 0.06 s under it, so no sliver of face flashes between them.
- Everything that moves moves sub-pixel, and every card keeps pushing to its last frame.
- Figures fade in at their final value. Nothing counts up through numbers nobody counted.
- Captions: one band, caps, spoken words full, upcoming words dim, key words boxed, navy on light cards, white with a soft shadow on footage, the finished line held through a breath. On footage a soft dark ramp sits under the band, because white type vanishes on sky and white walls.
Files
scripts/vlog.pyCLI;scripts/look.pyevery graphic;scripts/judge_cut.pythe cut judgereferences/edit-json.mdthe full EDIT.json contract with examplesreferences/editing-grammar.mdwhy each rule existsreferences/judges.mdwhat each judge measures and how it was calibratedtests/test_smoke.pyrenders a synthetic clip end to end and asserts every judge passes