Latest / AI Fire Daily / #684 Neil: AI Video Editing With Claude Code From Raw Clips to MP4
Transcript
- 0:00Imagine editing a 10 -minute YouTube video without
- 0:03ever opening a timeline, just by texting your
- 0:06computer. Yeah, and what if that text conversation
- 0:09actually produced a fully -polished, color -graded,
- 0:13subtitled cut? It completely shatters the traditional
- 0:16editing workflow. Welcome to this deep dive.
- 0:20Hey, everyone. Today we are unpacking a really
- 0:22fascinating guide. It explores using Claude Code
- 0:25for automated AI video editing. Our mission here
- 0:29is to understand how this fundamental shift in
- 0:32human computer interaction actually works in
- 0:34practice. It is a massive shift. Yeah. We will
- 0:37trace the entire journey, starting with the core
- 0:39concept and the local setup environment. Right.
- 0:43From there, we will look at how the AI analyzes
- 0:45and trims raw footage to create a rough cut.
- 0:48And finally, we'll explore how it polishes the
- 0:50video with visual effects before exporting the
- 0:53final file. You're completely bypassing traditional
- 0:56nonlinear editors, like no Premiere Pro, no CapCut.
- 1:00You don't even open a graphical interface. Right.
- 1:03But we can't really edit a video with AI until
- 1:05we understand what tools are actually talking
- 1:07to each other. Exactly. So let's establish the
- 1:10foundation. How is this even happening without
- 1:13an editing program? Well, that is the core premise
- 1:16of the source material. The user basically integrates
- 1:19an open source AI skill called video use, which
- 1:22is derived from the browser use project. And
- 1:25they connect it directly into Cloud Code. So
- 1:28Cloud Code just acts as your terminal -based
- 1:30assistant. It's like stacking Lego blocks of
- 1:33data but using your voice instead of your hands.
- 1:35That is a great way to look at it. You are just
- 1:37telling the machine how to build the final product,
- 1:40and it figures out how to snap the pieces together.
- 1:42Yeah, and the setup process they describe is
- 1:45surprisingly elegant. The user basically just
- 1:47points Claude code to a specific GitHub repository.
- 1:50Just a link? Yeah, literally just github .com
- 1:53slash browser dash use slash video use. So they
- 1:56just handed the link and say figure it out. Almost
- 1:59exactly that. They prompt Claude code to read
- 2:02two specific files from that repo, the install
- 2:05.md and the skill .md. So Claude is essentially
- 2:09reading its own instruction manual, figures out
- 2:12what dependencies it needs, installs the required
- 2:15Python tools, and registers video use as a brand
- 2:17new capability. It's literally learning a new
- 2:20skill in real time. Yeah, it is wild. But the
- 2:23source mentions a very specific choice here.
- 2:25The user actively chooses to configure a local
- 2:28transcription model instead of relying on default
- 2:31cloud options like 11Labs Scribe. Right. They
- 2:34instruct Claude to switch over to Faster Whisper
- 2:36instead. OK. Let me quickly clarify that for
- 2:39everyone listening. Faster Whisper is a fast,
- 2:44locally run tool that turns speech into text.
- 2:46Exactly. And Claude code handles that transition
- 2:49seamlessly. It verifies the installation. Then
- 2:52it tests Faster Whisper with a tiny audio clip
- 2:55just to make sure it works. Makes sense. And
- 2:57it successfully generates a transcript with exact
- 3:00timestamps. At that point, the basic editing
- 3:03engine is ready. I have to ask though, why would
- 3:06someone specifically request local transcription
- 3:09instead of the default? Mostly for privacy. Avoiding
- 3:12API costs and keeping all the processing right
- 3:14on your machine. Because of the file sizes? Yeah.
- 3:17When you're dealing with gigabytes of raw video,
- 3:19cloud servers create a huge bottleneck. plus
- 3:22the data security risks if you are editing sensitive
- 3:25material. So it saves money and keeps your data
- 3:28completely private. That makes a lot of sense.
- 3:31Exactly. It gives you total control. OK. So now
- 3:34the AI can essentially hear the audio locally.
- 3:38How does it actually decide what to cut? This
- 3:41is where I get a little skeptical. Yeah. Editing
- 3:43is so subjective. Right. Well, this is where
- 3:46the real experiment begins. The user creates
- 3:49a folder called YouTube -tutorial and drops in
- 3:52a 48 -second raw video file. This is the raw,
- 3:55messy, unedited footage. Exactly. RawAITutorial
- 3:58.mp4. They open Claude code in that folder and
- 4:02prompt it to analyze the video. Using that new
- 4:05video use skill. Right. And they remind Claude
- 4:08to strictly use Faster Whisper. They give it
- 4:11a very crucial boundary, though. They say, don't
- 4:13edit anything until I approve your plan. Yes.
- 4:16They ask for a comprehensive editing strategy,
- 4:19explicitly telling it to identify awkward pauses,
- 4:22speaking mistakes, and unnecessary sections.
- 4:25I have to admit, I still wrestle with prompt
- 4:27drift myself, so letting it dictate the cuts
- 4:30is daunting. Handing over creative pacing feels
- 4:33risky. It totally feels risky. But Claude analyzes
- 4:36that 48 -second clip, and it comes back with
- 4:38a surprisingly accurate hit list. Wow. It finds
- 4:42a false start right at the beginning. It identifies
- 4:45awkward pauses where the speaker was clearly
- 4:47thinking. It even catches a specific speaking
- 4:51mistake. And it suggests cutting the 48 seconds
- 4:54down to about 30. Yeah. And the user approves
- 4:57it. But they establish very specific constraints
- 5:00for the rough cut. Right. Technical and creative
- 5:02guardrails. They tell it to keep the 16 by 9
- 5:04ratio at 720p. But the really interesting part
- 5:07is the pacing. They tell Claude to trim the silent
- 5:10pauses down to exactly 0 .3 seconds. That is
- 5:14incredibly specific. It is, and it's basically
- 5:17the secret sauce of modern video editing. A 0
- 5:20.3 second pause feels perfectly human. Yeah,
- 5:23it gives you just enough time to process the
- 5:24sentence. Exactly, without losing momentum. Because
- 5:27if the pause is longer, the video drags. But
- 5:29if you strip silence entirely, the speaker sounds
- 5:32like a breathless robot. Right. Editors usually
- 5:34spend hours manually slicing dead air down to
- 5:37specific milliseconds. This user just programmed
- 5:40that workflow into one sentence. trim pauses
- 5:42to 0 .3 seconds. That is profound. They are mathematically
- 5:47programming the cadence of human speech. And
- 5:49he goes further. They tell it to remove a specific
- 5:52filler word. They explicitly want the word, uh,
- 5:55removed from the final cut. But the guide notes
- 5:57an interesting glitch here. The local transcriber
- 5:59actually missed that specific, uh, in the text
- 6:02output. Completely missed it. The text looked
- 6:05clean, but the user knew they stumbled. So they
- 6:08told Claude to remove it anyway, overwriting
- 6:10the transcript. And Cloud executes all this using
- 6:13FFmpeg, right? FFmpeg is basically the Swiss
- 6:16army knife of media processing, a command line
- 6:18tool that can splice almost any video format.
- 6:22Exactly. Cloud calculates the exact cut points
- 6:25and writes an FFmpeg script to handle the brute
- 6:27force splicing. Creating a preview .mp4 file.
- 6:30Yes. And the numbers on this are striking. It
- 6:33drops from 48 .2 seconds down to a tight 29 .9
- 6:37seconds. Almost... 20 seconds of dead air just
- 6:40vaporized. And the user checks it. The cuts sound
- 6:44incredibly natural. No important words get clipped.
- 6:47Let's unpack that transcription error for a second.
- 6:50If the transcriber missed the uh, how did the
- 6:53AI know to cut it? Claude cross -references the
- 6:55text with the audio pacing, allowing the user's
- 6:58prompt to override minor transcription errors.
- 7:00It looks at the temporal gaps. Great. If there
- 7:03is an audio gap where the user says there's an
- 7:05uh, Claude infers the location and splices it
- 7:08out. The prompt acts as a safety net for the
- 7:11AI's mistakes. You are actively managing its
- 7:14blind spots. Exactly. The human director is still
- 7:16entirely essential. OK, so a tightly cut 30 -second
- 7:21video is a great start. But it is really just
- 7:24the skeleton. Next, we need to add the skin and
- 7:27polish. Right. And without opening a traditional
- 7:30editing interface, no timelines. This brings
- 7:33us to polishing with prompts. The user submits
- 7:36a massive prompt to finalize the video. But their
- 7:39first instruction is a strict defensive maneuver.
- 7:42They demand that the original cuts remain completely
- 7:45untouched. Keep all approved cuts and the original
- 7:48narration. Priority one. Language models can
- 7:51get overzealous trying to re -optimize things
- 7:53you already approved. So from there, it's three
- 7:56distinct tasks. First being subtitles. Right.
- 7:59They want Accurate subtitles matching the new
- 8:0229 .9 second duration. And they give very strict,
- 8:05granular style guidelines. Very strict. Exactly
- 8:08three to five words per segment. A clean, bold
- 8:11sans serif font. White text with a subtle black
- 8:14outline. Placed near the bottom center. Yeah,
- 8:16and they explicitly command Claude to keep them
- 8:18within safe margins, like make sure subtitles
- 8:21don't cover important slide content. Task two
- 8:24focuses on video colors. And I find it hard to
- 8:27believe an AI got a color grade right on the
- 8:30first try from text. I mean, how do you describe
- 8:32a color grade to code? It is incredibly difficult,
- 8:36which is why the prompt is brilliant in its restraint.
- 8:39They ask for a subtle, natural color grade. Improve
- 8:42contrast only where needed. They tell it to avoid
- 8:44oversaturation and cinematic filters. Exactly.
- 8:47Keep backgrounds readable and maintain consistent
- 8:49colors. It is a very restrained, professional
- 8:53approach. Task 3 gets genuinely ambitious. Visual
- 8:57effects. The most dynamic part. They ask Claude
- 8:59to find two or three moments where simple animations
- 9:02would clarify the tutorial. Look, notice they
- 9:04don't dictate the exact time stamps. No, they
- 9:07give the AI creative freedom within established
- 9:09constraints, highlighting keywords, subtle motion,
- 9:11or a simple call out. But they require the animations
- 9:14to match the narration perfectly. Keep them short,
- 9:18easy to read, and do not cover the subtitles.
- 9:21So Claude processes this massive prompt and renders
- 9:25an updated preview .mp4. And it succeeds on all
- 9:28fronts. It places 18 subtitle cues perfectly,
- 9:31adjusts the colors subtly, and successfully adds
- 9:34three animated highlights. It actually found
- 9:36the right moments itself based purely on context.
- 9:39Yes. Highlighting phrases like three simple ways
- 9:42and explain the goal exactly when spoken. It
- 9:45understood the semantic importance. Whoa. Imagine
- 9:49scaling this to a billion queries or automating
- 9:51100 tutorials overnight. Oh yeah, the efficiency
- 9:54gains are staggering. If you don't have to manually
- 9:57hunt for key phrases, the bottleneck just disappears.
- 10:00Exactly. The user reviews it, subtitles are clear,
- 10:04animations hit perfectly, audio is natural. And
- 10:07the video structure was completely maintained.
- 10:10Yes. So the user gives final approval to export
- 10:14final .mp4. But I have a question about those
- 10:16visual effects. Doesn't adding visual effects
- 10:19purely via text prompt risk things overlapping
- 10:22or looking messy? Yes, which is why the prompt
- 10:25explicitly commanded Claude to keep subtitles
- 10:28within safe margins and not cover important slide
- 10:31content. You have to code common sense into the
- 10:35prompt itself. Precisely. Because the machine
- 10:37doesn't just know what visually looks good. Precisely.
- 10:42You define the boundaries of the canvas before
- 10:43you tell it to paint. We will explore the final
- 10:46export details right after this. Insert sponsor
- 10:49read here. We are looking at the final stage
- 10:52of this AI video editing workflow. The user is
- 10:54ready to export. They give Claude the final export
- 10:57settings. 1280 by 720 resolution, 16 by 9 ratio.
- 11:02The frame rate matches the source video. And
- 11:04they specify the exact codex. H .264 for video,
- 11:08AAC for audio. The universal industry standards
- 11:10for web video. Upload that to YouTube or Twitter
- 11:13and it plays flawlessly. Yes, Claude exports
- 11:16final .mp4 and actually checks its own work afterward,
- 11:19verifying there are no playback errors. And through
- 11:22all this, the original raw footage remains completely
- 11:25unchanged. Always preserved. The final video
- 11:28is exactly 29 .86 seconds, 18 perfectly timed
- 11:32subtitles, three context -aware highlights, a
- 11:36natural color grade. All done without a timeline
- 11:38or a razor tool. Let's pull back. What is the
- 11:42major takeaway we should be pulling from this
- 11:44source? The major takeaway is that we are witnessing
- 11:47a fundamental shift in workflow. Going from 48
- 11:50seconds of messy raw footage to a highly polished
- 11:53deliverable. A color -graded, subtitled, 29 .86
- 11:57second MP4. Right. And achieved entirely by typing
- 12:00conversational instructions into a terminal.
- 12:02Language has officially become the new user interface
- 12:05for video editing. Exactly. The author heavily
- 12:08recommends this specific workflow for YouTube
- 12:10tutorials. It is incredibly efficient for repetitive
- 12:13formats. But it's important to remember that
- 12:15you still need to review the output. You are
- 12:18the director. You have to catch things like that
- 12:20missed uh. Absolutely. But the heavy, tedious
- 12:23lifting is automated. The author suggests starting
- 12:26with a short video just to get comfortable. Which
- 12:28brings us to our call to action for you, the
- 12:30listener. Try this out. Yes. Record a quick 30
- 12:34second talking head video on your phone. Just
- 12:37talk about your breakfast. Set up a local LLM
- 12:39environment and run your messy video through
- 12:41this workflow. Watch it analyze your speech and
- 12:44slice out awkward pauses based purely on your
- 12:46commands. It is a profound experience to see
- 12:49a computer edit a video without you touching
- 12:52a timeline. It permanently changes how you think
- 12:54about media creation. It really does. we are
- 12:57rapidly moving toward having nuanced, collaborative
- 13:00conversations with our tools. The tools are finally
- 13:02learning to speak our language. Which leaves
- 13:04us with this final thought. If an AI can accurately
- 13:08edit a video based on your text prompt today,
- 13:12how long until the AI edits the video dynamically,
- 13:15in real time, matching the specific attention
- 13:18span and learning style of whoever's watching
- 13:20it? Think about that.