How to edit video with Claude Code: cuts, captions and sound
Updated · 2 min read
Claude can't watch your video. It reads a transcript, file details and the frames you extract, and it writes the commands that cut, caption and mix. That's enough for most short-form editing, if you give it the right inputs.
This is the loop we run for every Shortsman video, cut down to the parts you can copy.
Step 1: a transcript with word timestamps
Run speech-to-text that gives a start and end time for every word (Whisper, ElevenLabs Scribe and others do). Save it as JSON next to the video. Every later step uses these times, so this is the one step not to skip.
If you have a script, ask Claude to compare it with the transcript. Where they differ, trust the audio.
Step 2: cut on the transcript
Give Claude the transcript and say what to drop: retakes, long pauses, filler words, the sentence that went nowhere. Ask for a cut list (start, end, reason) as a file you read before anything renders.
Then have it write the FFmpeg commands from that list, with short audio fades of 20 to 30 milliseconds at every cut so the cuts don't click.
Step 3: captions from the same timestamps
- Two to four words per caption, broken at natural pauses.
- Each phrase appears on its first word and leaves on its last, from the timestamps, not from a guess.
- Keep them in the middle band of the frame, away from the app's buttons.
- Burn them in with a heavy font and a dark outline; a highlight on the current word helps.
Step 4: graphics as code
For titles, numbers, charts and interface on top of the video, an HTML-to-video framework is easier for Claude than FFmpeg filters. With HyperFrames, Claude writes an HTML page on a timeline and the renderer turns it into frames; with Remotion, the same in React.
Tie every graphic to a word in the transcript, so the number appears when the voice says it.
Step 5: the sound pass
- Music well under the voice, ducked further while someone speaks.
- A short sound on each event: a pop on a caption, a whoosh on a cut, a click on a tap.
- Bring the mix to about −14 LUFS, the level YouTube normalizes to.
- Export a copy without music, in case a platform mutes the track.
Step 6: check frames, not code
Extract a frame every second or at each cut and lay them out as a contact sheet. Claude can read images: ask it to flag text that overflows, captions under the buttons and stretches where nothing moves. Fix, render again, look again.
Or skip the setup
If you don't have footage and want a finished short from a topic or a link, Shortsman runs this whole loop for you: Claude writes and directs, and code draws every frame.
AI video editing: Shortsman builds the whole edit for you: cuts on the voice, word-by-word captions, a sound on every event and music ducked under the voice. Change anything by saying it in words.