Cut silences from a talking video
Find the long pauses in a talking video, check each cut point before anything is cut, then remove the dead air with the sound kept in sync.
For anyone who records talking videos, tutorials or updates and spends time trimming the gaps by hand · Claude Code or Claude · Intermediate
Tested Nov 5, 2026See the receipt
Copy the prompt
Fill in the [brackets] after you paste it.
You are cutting the pauses out of a talking video with FFmpeg in this folder. Do not post or upload anything. Never change or delete my original file.
Video: [FILE NAME]
Cut pauses longer than: [1] second
Keep this much quiet on each side of a cut: [0.2] seconds
1. Check FFmpeg is installed. Tell me the video's length, frame rate and whether it has sound.
2. Find the pauses with FFmpeg's silencedetect filter, starting at noise=-30dB. List each pause with its start, end and length, and the total time that would come out. If it finds none, or pauses inside sentences, adjust the noise level and tell me why. Wait for my OK.
3. Cut the pauses, keeping the quiet on each side so no word is clipped. Take the video and the sound from the same time ranges in one FFmpeg command so they stay in sync. Write a new MP4 (H.264, AAC, fast start).
4. Check the result: the length before and after, the video and sound stream lengths (they should match), and where each cut lands in the new file. Save a still frame just after the first 3 cuts and look at them.
5. Tell me which cuts to listen to, for example any that land close to a word.Copied. Paste it into Claude Code next.
Free PDF
Get this setup as a PDF
Enter your email and a print-ready copy of this setup opens here, to save as a PDF. The free starter pack opens too. Tap confirm in the email that follows to get occasional new setups. Unsubscribe anytime.
Already a subscriber? Unlock it on this device
Free PDF
A confirmation email is on its way too: tap confirm in it to get new setups by email.
Three ways to run this setup
Free
Copy and paste it yourself
Copy the prompt above into ChatGPT, Claude or Grok. It drafts. You approve.
Go to the prompt$9 once
Complete Pack
One payment, no membership. Opens the pack pages: Bot Safety Checklist, Second Brain Starter Vault, Voice File Starter, Tested Grok Bot prompt pack, Write it as code prompts.
See the Complete PackFree to start, VIP $19 a month
Save it as a bot in the guided setup app
The app turns this setup into a bot with the draft-only rules. 3 setups build free; the rest are part of VIP. A human reviews a prompt or setup for you within 24 hours, up to 2 a month.
Build it in the app
3 steps
- Copy the prompt.
- Paste it into Claude Code.
- Fill in the [brackets], then read the answer before you send or use it.
Quick answer
Ask Claude Code to find the pauses with FFmpeg's silencedetect filter and list them before it cuts anything. Approve the list, then have it cut the video and sound from the same time ranges, leaving a little quiet on each side of every cut so no word is clipped. Check that the video and sound lengths still match, and listen to the cuts.
How do you set it up?
Tools
- Claude Code (in the terminal or the desktop app)
- FFmpeg, the free video tool Claude Code runs for you
- A talking video you own or have the rights to edit
- Optional: auto-editor, a free tool that does the cut in one command
Steps
- Make a folder with a copy of your video in it. Cutting changes every time after the first cut, so cut pauses before you add captions.
- Decide how long a pause has to be before it goes, and how much quiet to keep on each side of a cut. The prompt starts at 1 second and 0.2 seconds.
- Open Claude Code in that folder and paste the prompt below. It lists every pause it found, with times, and waits.
- Read the list. Keep a pause that is there on purpose, like a beat before a punchline, by telling it which one to leave in.
- Say OK. It cuts the pauses and checks that the video and the sound are still the same length.
- Listen to the first few cuts it points you to. If a word sounds clipped, ask for more quiet around the cuts and run it again. The new file is re-encoded, so a long video takes a few minutes to write.
Where to paste this prompt
Claude Code → terminal, IDE extension, or web session in your project directory
More ways to run it
Which chat tools work with this prompt?
Paste the prompt into any of these assistants (free or paid tiers).
- Claude Code
The receipt
Ran on Claude in a Claude Code session, Nov 5, 2026: a 60-second made-up talking clip with 5 written-in pauses was checked with silencedetect, the 5 pauses were listed and approved, and one FFmpeg command cut 11.8 seconds with the video and sound streams matching to 0.001 s. Nothing was posted.
What this sticker meansLast updated: · Last reviewed:
Before you use this
Who it is for: Anyone who records talking videos, tutorials or updates and spends time trimming the gaps by hand. You need Claude Code and FFmpeg on a computer. Nothing else to install.
What it is allowed to do: Drafts for you. Writes drafts (emails, posts, plans, replies). You review and send. Nothing goes out without you.
At a glance: time, cost and difficulty
At a glance
All outcome figures are estimates from cited sources, not independent verification by us.
- What it is allowed to do
- Drafts for you
Writes drafts (emails, posts, plans, replies). You review and send. Nothing goes out without you.
- Time saved (estimate)
- Not measured yet
- Difficulty
- Intermediate
- Tools needed
- Claude Code, FFmpeg, auto-editor
- Typical cost
- Claude Code comes with Claude's paid plans, from Pro at $20 a month or $17 a month billed yearly (Anthropic pricing page, Nov 5, 2026), or an Anthropic Console account. FFmpeg is free. auto-editor, the optional one-command tool, is free and public domain.
Reviewed Nov 5, 2026
Basis (estimate): No timing claim: the sources do not time cutting pauses by hand.
What went wrong in the test, and the rule that fixed it
Where agents tend to stall on this job. More patterns in Where AI gets stuck.
- Claude Code may refuse its own command when it uses a shell variable. It rewrites it with full file paths; no action needed.
What tips make it smoother?
- Cut pauses first, then make captions. Captions made before the cut no longer line up.
- If you want one command instead of a prompt, auto-editor your-video.mp4 --margin 0.2sec --no-open does the same cut. It re-encodes the whole file, and in the test it took about 6 times longer than the FFmpeg route.
- A noisy room raises the floor. If it finds no pauses, ask it to try a noise level closer to zero, like -25dB.
Where do the claims come from?
Summaries use public sources linked below, not independent verification. How setups are picked.
- Read FFmpeg’s write-up (ffmpeg.org)
FFmpeg: The silencedetect filter reports where the sound stays below a noise level for at least a set duration (options noise and duration; defaults checked with ffmpeg -h filter=silencedetect in FFmpeg 6.1.1).
- Read auto-editor’s write-up (github.com)
auto-editor: auto-editor cuts silent parts of a video automatically, can export a timeline for editing apps, and is released under the Unlicense (public domain).
- Read Anthropic’s write-up (code.claude.com)
Anthropic: Claude Code docs: it reads files, edits files and runs commands. Most surfaces need a Claude subscription or Anthropic Console account.
Common questions
- Can Claude cut the silences out of a video?
- Claude Code can, by running FFmpeg on your computer. It finds the pauses, lists them for you to approve, then cuts the video and sound from the same time ranges so they stay in sync.
- Will it cut off the ends of words?
- The prompt keeps a little quiet on each side of every cut, starting at 0.2 seconds. If a word still sounds clipped, ask for more and run it again.
- Do I need auto-editor?
- No. FFmpeg alone does the job with this prompt. auto-editor is a free tool that does the same cut in one command, which helps if you cut pauses often.
Free kit by email
Get the free kit by email
The starter pack and the Portable AI Office, sent to your inbox. New setups by email after that. Unsubscribe any time.
What to do next
- Add captions from speech with Claude
Turn the talking in a video into a caption file with Whisper on your computer, fix the names, then burn the captions in or keep them as a file.
- Edit a video for social with Claude
Have Claude Code trim a video you already have, reframe it for Reels or Shorts, burn in captions and export a file ready to post.
- Make feed versions and a thumbnail
Turn one video into 9:16, 4:5 and 1:1 versions with captions inside the frame, plus a thumbnail from a good frame and a smaller copy for upload limits.
Have a setup that works? Submit it. We credit sources and write it up in plain language.