GenAI Unplugged

Claude Code Video Editing Tutorial: One Raw Clip to a Finished Video

A step by step Claude Code video editing tutorial: set up the tools once, cut pauses and retakes, fix names, add captions, set loudness and add graphics.

In this tutorial Claude Code edits one raw 66 second clip in eight steps: tools, one folder, a timed transcript, pauses, retakes, names and captions, sound at -14 LUFS, then graphics. The clip came out at 34 seconds, and every step left a file you can check.

Table of contents

This is the written version of episode 1 of my series My AI video team. In the video, Claude Code takes one raw minute of me to a finished video. The take ran 66.6 seconds, with four long pauses and four retakes, where I stop, lose the line and start again. It came out at 34 seconds, with the names spelled right, captions on, the sound at -14 LUFS and graphics added. I never opened an editing app.

The whole edit is eight steps. Each step reads the file the step before it made and writes one new file you can open. So you check the edit by reading files, not by dragging through a timeline.

The tutorial at a glance

Step What Claude Code does The file it leaves On my clip
1. Tools Installs ffmpeg, Whisper and HyperFrames, tests each one a setup check and a 2 second test card done once per computer
2. Folder Writes your edit rules and your names list rules.md, names.md one folder per video
3. Transcript A start and end time on every word transcript.json about 4 minutes
4. Pauses Cuts long pauses without clipping a word cuts.json, cut.py, tight.mp4 66.6 s to 53 s, 4 pauses cut
5. Retakes Keeps only your last take of each line cuts.md, cut.mp4 down to 34.4 s
6. Names and captions Fixes misheard names, writes captions captions.srt 2 names fixed, 18 captions
7. Sound Sets the loudness YouTube plays at edited.mp4 -22.5 to -14 LUFS
8. Graphics Plans, builds and renders the graphics storyboard.md, final.mp4 about 14 minute render

What you need before you start

  • Claude Code, installed and signed in. It needs a paid plan, and Pro is enough for a one minute take, because it uses very little of your limit. Plan prices are on Anthropic's pricing page.
  • A Mac or Windows computer. On Apple silicon the transcript runs on mlx-whisper, anywhere else on faster-whisper.
  • Node.js 22 or newer, for HyperFrames in step 8.
  • One raw take where you talk to camera. A one minute clip is the right size for your first run.

You do not install the rest by hand. Step 1 does it.

Step 1: Set up the tools once

You do this only once on your computer. Three free tools do the work, and Claude Code drives all three:

  • ffmpeg cuts and joins the video. Claude writes every ffmpeg command for you.
  • Whisper writes down what you said and puts a time on every single word.
  • HyperFrames is a free, open source tool from HeyGen that turns a web page into a video. Step 8 uses it for the graphics.

Open Claude Code in an empty folder and paste this first prompt:

Set up this folder to edit videos. Check that ffmpeg, ffprobe and Python 3 are installed, and install only what is missing. Make a .venv here with a Whisper that times every word: mlx-whisper on Apple silicon, faster-whisper anywhere else, model large-v3-turbo. Test each tool in a setup-check folder and list what you found.

A second prompt in the same chat adds HyperFrames and renders a 2 second test card that says Ready. When the card plays, close Claude Code and open it again, so it loads the new HyperFrames skills.

Step 2: One folder, two small files

Each video gets its own folder, and the raw take inside it is always called raw.mp4. That way every step finds the same files.

The second prompt writes down your editing taste in rules.md, in plain words: shrink any pause over 1 second to a short breath, when you say "retake" keep only your last take, leave out false starts and um and uh. It also writes names.md, the names your transcriber gets wrong. Put your own names in. Every time Whisper gets a name wrong on a later video, you add one line.

The one prompt everyone tries first

Most of us type one line and hope for the best. I did exactly that, in a fresh copy of the folder:

Cut the dead air and the retakes out of raw.mp4 and save it as edited.mp4.

To be fair to it, it works. The pauses and retakes are gone and the video plays fine. However, look at what it left behind. There was only edited.mp4: no transcript, no captions, no list of cuts. Its five cuts lived in the chat, and that chat is gone next week. It said the names would be wrong in captions, but it did not fix them. And the sound was still at -22 LUFS, too quiet for YouTube.

Suppose you hired an editor. You would ask them for the list of what they cut and why, and Claude Code is no different. One prompt gives you a video and a story about it. Steps give you files you can check.

Step 3: Every word, with a time

To cut anything safely, you first need to know when every word starts and ends. The transcript prompt runs Whisper with a start and end time on each word, so a cut lands in the gap between two words instead of in the middle of one. Whisper can skip or invent words, so the prompt also asks Claude to check that every stretch of speech has words.

On my machine it took about 4 minutes. In transcript.json, Whisper wrote my channel as "Jhenea Unplugged" and Claude Code as "Cloudcode". Leave them wrong for now. Step 6 fixes them.

Step 4: Cut the long pauses

This is where a lot of AI edits clip the first or last sound of a word. The prompt reads rules.md and transcript.json, finds the pauses from the sound itself (transcript times can be a little off), and cuts picture and sound at the same video frames, so your lips never drift from your voice.

It also saves cut.py, the script it wrote, so the same cut can run again on your next take. On my clip it cut the four long pauses, and the take went from 66.6 seconds to 53.

Step 5: Cut the retakes

This step used to take me the longest in every edit. When I mess up a line while recording, I say the word "retake" out loud and start the line again. The prompt keeps only my last attempt at each line:

Now cut the retakes using rules.md, transcript.json and cuts.json. Keep only my last take of each line, and leave out false starts and um and uh. Add the cuts to cuts.json, render cut.mp4 from raw.mp4 the same way, and check it by transcribing it again. Write cuts.md: every cut with its time, the words cut and the reason.

The last part matters most. Claude transcribes the cut again, which proves nothing it kept was cut short. That check is the reason I trust this step. cuts.md listed the four retakes, the attempts before them and one false start, and the take was down to 34.4 seconds. You review the whole edit by reading that one file.

Step 6: Fix the names and write captions

The names prompt fixes every name in the transcript the way names.md spells it, then writes captions.srt for the cut video. The lines break where a phrase ends, so they read the way you speak. On my clip, "Jhenea Unplugged" became GenAI Unplugged, "Cloudcode" became Claude Code, and it made 18 captions. If it names a word that still looks misheard, that is one more line in names.md.

Step 7: Finish the sound

LUFS is nothing but a measure of how loud a video sounds to our ears. YouTube plays videos at roughly -14 LUFS, so a video below that sounds small next to the one before it. The finish prompt makes edited.mp4 at -14 LUFS with the true peak at or under -1.5 dBTP, which keeps the loud bits from sounding rough after YouTube compresses the file. It also adds the captions as a subtitle track viewers can turn on.

Claude printed a table of raw against edited: the raw take was at -22.5 LUFS, the edit at -14. That is a clean cut, from five prompts, and every step left a file you can open.

Step 8: One prompt for the graphics

In my own pipeline, the graphics are three separate jobs: a style, a storyboard and the frames. In the tutorial I put all three into one prompt, so you can see the idea working on one clip. Claude designs each card as a web page, HyperFrames turns those pages into video, and every graphic is timed to the captions from step 6.

The trick is storyboard.md. It is a plan you can read in a few seconds, before anything renders. A render takes minutes (this one ran for about 14), so you fix the plan, not the video. final.mp4 has a title card, my name as a lower third, the captions, and on the big lines my video slides to one side for a bold graphic and then comes back. My face is never covered.

What this saves on a full video

One clip is the recipe. On my own channel the same idea goes a lot further. My TV video went from a 38 minute take to a 17 minute video. That edit used to take me a full day in Descript. Now it runs for about four and a half hours on its own, and my part is to record, answer a few questions on my phone and watch it once.

The full pipeline after the first edit (brand style, pacing, storyboard, designed frames and music, checking, and making it learn from your answers) is on my 14-step long-form guide.

Get every prompt free

You do not have to type the prompts from this page. All ten prompts from the video are in my free Video Editing Starter Kit, exactly as I typed them, with rules.md, names.md and the one minute practice clip I edit on screen. Make one folder, drop the clip in it as raw.mp4, and paste the Step 1 prompt.

Run it as one system on your own footage

The tutorial is a recipe: you run each step by hand on one clip. My Video Editing with Claude cohort is the kitchen. Over five live Sundays from 10 January, I run one stage on my own recording and you run it on yours in the same session, with office hours every Thursday. By the end you have published one long-form video and three Shorts of your own, built by a pipeline you understand and can change.

New to Claude Code itself? Start with my free Claude Code course. Want the bigger picture first? See how to learn video editing with Claude, or check whether Claude can edit your videos at all and what it costs.

A note on the numbers

Every number on this page comes from my own run in the video. Claude writes its own scripts each run, so your times and loudness will move a little. Read each step's report, then check the file yourself.

Frequently asked questions

What do I need to follow this Claude Code video editing tutorial?

Claude Code installed and signed in on a paid Claude plan, a Mac or Windows computer, and Node.js 22 or newer for HyperFrames. Pro is enough for a one minute take. ffmpeg, Whisper and HyperFrames are free, and Step 1 installs whatever is missing.

How long does the edit take?

On my machine the transcript took about 4 minutes and the graphics render ran for about 14 minutes. The other steps take a minute or two each. Most of your time goes into reading each step's report before you move on.

Why not edit the whole video with one prompt?

I tried it on the same clip. The pauses and retakes were gone, but there was no transcript, no captions and no list of what it cut, the names were still wrong, and the sound sat at -22 LUFS, too quiet for YouTube. Steps give you files you can check.

Does this work on Windows?

Yes. Step 1 picks faster-whisper on Windows and mlx-whisper on Apple silicon, and ffmpeg and HyperFrames run on both. You paste the same prompts.

Do I need to know how to code?

No. Every step is a prompt in plain English. Claude writes and runs the scripts. Your job is to read what it reports and look at the file it made.

Where do I get all ten prompts?

Every prompt from the video is in my free Video Editing Starter Kit, exactly as I typed it, with rules.md, names.md and the one minute practice clip I edit on screen.

Ready to Join the Video Editing with Claude Cohort?

A step by step Claude Code video editing tutorial: set up the tools once, cut pauses and retakes, fix names, add captions, set loudness and add graphics.

Join the Video Editing with Claude Cohort