
How to Edit Videos with Claude Code (No Video Editing Software Required)
Turn massive screen recordings into web-ready videos in minutes. Trim, compress, and convert videos using plain English commands-no FFmpeg knowledge needed.
This video started as a 336MB screen recording. Claude Code compressed it to under 10MB for web embedding.
I had a 336MB screen recording. I needed it on my website. I didn't want to open Premiere Pro.
That's the whole story. A 5-minute demo I recorded showing Claude Code building Google Analytics dashboards. The original file was 336 megabytes-way too large to embed on a webpage, and I'd need to trim it anyway.
Old me would have opened video editing software. Or paid for a cloud compression service. Or just... not embedded the video at all.
Instead, I typed one sentence to Claude Code:
Trim this video to the good part, compress it for web, and make it embeddable.
Three minutes later: a 5.9MB video file, perfectly trimmed, with playback controls, ready to embed.
No video editing software. No FFmpeg documentation rabbit holes. No "what codec should I use" research spirals.
Just results.
I've been singing Claude Code's praises to anyone who will listen. The ability to do any command-line task without actually knowing the commands is game-changing. Video editing with FFmpeg used to be my nemesis. Now it's just... done.
This guide shows you how to do the same thing-whether you're compressing screen recordings, batch processing marketing videos, or just trying to get a file under your platform's size limit.
Why This Matters (Especially for Non-Technical People)
Here's the problem with video editing: you either learn complex software or you pay someone who has.
FFmpeg is the industry-standard tool for video processing. It's free. It's powerful. It can do literally anything you need to do with video.
It's also infamous for commands that look like this:
ffmpeg -i input.mp4 -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2" -c:v libx264 -preset slow -crf 23 -c:a aac -b:a 128k output.mp4
That's a real command. For a simple resize and compress operation.
Claude Code changes the equation. You describe what you want. Claude writes and executes the FFmpeg commands. You get the result.
No documentation. No Stack Overflow. No syntax errors.
New to Claude Code? This guide assumes you have it installed. If not, follow our 15-minute Mac setup guide first, then come back here.
Getting Started: The Basics
Before diving into specific workflows, here's what you need to know.
Check if FFmpeg is Installed
Claude Code will check for you, but if you're curious:
If it's not installed, Claude Code will offer to install it:
Point Claude Code at Your Video
Navigate to the folder containing your video, or give Claude the full path:
Now just describe what you need.
Compress Videos for Web (The Most Common Use Case)
This is what most people need: take a large video file and make it small enough to embed on a website, send via email, or upload to a platform with size limits.
You need to compress a large video for web embedding
I have [filename] that's [size]. Compress it for web embedding-target under [size limit] while keeping it looking professional. This is for [website/email/platform].
Understanding Quality Settings (If You Care)
You don't need to understand these-Claude handles them automatically. But if you're curious:
| Setting | What It Does | Claude's Default |
|---|---|---|
| CRF (Constant Rate Factor) | Quality level. Lower = better quality, larger file. 18 is nearly lossless, 28 is good for web. | 23-28 depending on target size |
| Preset | Speed vs compression. Slower = smaller files. | "medium" for balance, "slow" for best compression |
| Resolution | Pixel dimensions. Smaller = smaller files. | Keeps original unless you need smaller |
| Codec | Video format. H.264 is universal, H.265 is 25% smaller but less compatible. | H.264 for web, H.265 for archive |
Pro tip: Tell Claude your use case. "For embedding on my Webflow site" or "for sending via Slack" helps it choose optimal settings automatically.
Trim Videos to Specific Sections
You recorded a 10-minute demo but only need the 45-second highlight? Claude handles it.
Multiple Clips from One Video
Need several clips from a longer recording? Do it in one request:
You need to extract multiple clips from a long video
From meeting-recording.mp4, extract these clips: 1) The intro from 0:00 to 0:45, save as 'intro.mp4'. 2) The product demo from 12:30 to 15:00, save as 'demo.mp4'. 3) The Q&A highlight from 28:15 to 29:30, save as 'qa-highlight.mp4'. Compress each for social media sharing.
Trim + Compress in One Step
This is the workflow I used for my 336MB screen recording:
Batch Processing Multiple Videos
This is where Claude Code really shines. Marketing teams, content creators, and anyone dealing with multiple videos will love this.
Convert an Entire Folder
You need to process multiple videos with the same settings
Process all video files in [folder name]: 1) Convert to MP4 if not already. 2) Compress to under [target size] each. 3) Resize to [resolution] if larger. 4) Save to a new folder called '[output folder]' with the same filenames. Show me progress as you go.
Create Social Media Clips from Long Videos
Turn one video into multiple platform-specific versions:
You need the same video optimized for different platforms
Take product-demo.mp4 and create versions for: 1) YouTube (keep original 16:9, compress for upload). 2) Instagram Feed (1:1 square, crop to center, under 100MB). 3) Instagram Stories/Reels (9:16 vertical, crop to center, under 30 seconds). 4) LinkedIn (16:9, under 200MB, high quality). 5) Twitter (16:9, under 512MB). Save each with the platform name in the filename.
Extract Audio from Videos
Need just the audio track? Maybe for a podcast, transcription, or using the audio elsewhere?
You need to extract audio from a video file
Extract the audio from [video file] and save as [format: MP3/WAV/M4A]. I need it for [podcast/transcription/music production]. [Optional: Normalize the volume levels / Remove silence at the beginning and end].
Add Watermarks and Overlays
Protect your content or add branding without opening video editing software.
Text Overlays
You need to add text to a video
Add text overlay to [video file]: '[Your text here]' in the [position: top/bottom/center], using a [color] font with a [dark/light] background for readability. Show it for the [first X seconds / entire video / from X to Y timestamp].
Convert Between Formats
Different platforms and software require different formats. Claude handles conversions seamlessly.
| From | To | Common Use Case |
|---|---|---|
| MOV | MP4 | iPhone/Mac recordings for web |
| MKV | MP4 | Downloaded videos for editing |
| AVI | MP4 | Legacy footage for modern platforms |
| MP4 | GIF | Creating animated previews |
| MP4 | WebM | Optimal web playback |
Create GIFs from Video Clips
You need an animated GIF from a video
Create a GIF from [video file], using the section from [start time] to [end time]. Optimize it for [web/social media/email] with a max width of [pixels]. Keep it under [file size limit].
Real-World Prompt Examples
Here are copy-paste prompts for common scenarios:
For Screen Recordings & Tutorials
I recorded a tutorial called tutorial-raw.mov (800MB, 12 minutes).
I need to:
1. Trim out the first 30 seconds (I was setting up)
2. Remove the last 2 minutes (just me closing apps)
3. Compress to under 50MB for YouTube upload
4. Keep it crisp enough that code is readable
Save as tutorial-final.mp4
For Marketing Teams
I have 10 customer testimonial videos in the 'testimonials' folder.
For each one:
1. Add our company logo (brand/logo.png) as watermark in bottom-left
2. Compress for web (target 1-2MB each)
3. Also create a 15-second clip from the best part of each (you pick what seems most impactful)
Save watermarked versions to 'testimonials-branded/'
Save clips to 'testimonials-clips/'
For Social Media Managers
I have a 3-minute product video (product-full.mp4).
Create the following versions:
1. Full video for YouTube (compress to under 100MB)
2. 60-second highlight reel for Instagram (pick the best parts)
3. 30-second teaser for TikTok (vertical 9:16, grab attention fast)
4. 15-second clip for Instagram Stories
5. Square version for LinkedIn feed
For vertical versions, crop to the center of the action.
Add "New Product Launch" text overlay to the first 3 seconds of each.
For Podcast Producers
I have video recordings of 5 podcast episodes in 'raw-episodes/'.
For each episode:
1. Extract audio as high-quality MP3 (320kbps)
2. Normalize the audio levels
3. Trim silence from the beginning and end
4. Save to 'audio-episodes/' with the same name but .mp3 extension
5. Also create a 1-minute "best moment" video clip for promotion
Advanced Video Workflows
For those who want to go further, Claude Code can create automated workflows.
Watch Folder for Automatic Processing
You want to automatically process videos dropped into a folder
Create a script that watches the 'incoming-videos' folder. When a new video appears: 1) Compress it for web (under 10MB). 2) Move the original to 'originals/'. 3) Save the compressed version to 'processed/'. 4) Log what was done to 'processing-log.txt'. Run this in the background.
Bulk Transcribe + Clip
This workflow combines Claude Code with transcription to automatically find and clip key moments:
I have a folder of meeting recordings. For each one:
1. Extract the audio and transcribe it (you can use Whisper)
2. Find any moment where someone says "key takeaway" or "action item"
3. Create a 30-second clip around each of those moments
4. Save clips with descriptive names based on what was said
Embedding Videos in Your Website
Once your video is compressed, embedding it is straightforward. Here's the code I use:
<video
controls
autoplay
loop
muted
playsinline
style="width: 100%; max-width: 800px; border-radius: 12px;"
>
<source src="/videos/your-video.mp4" type="video/mp4" />
</video>
Why these attributes?
controls: Shows play/pause/volume (essential for UX)autoplay+muted: Video plays automatically (only works if muted)loop: Keeps playing (great for demos)playsinline: Prevents fullscreen on mobile Safari
If you're using React/Next.js, you can ask Claude to generate a proper video component for you.
Tips for Better Results
1. Be specific about your use case
Instead of: "Compress this video"
Try: "Compress this video for embedding on my Squarespace site-needs to load fast on mobile"
2. Tell Claude the constraints
Target file size: under 5MB
Must keep the text readable (it's a code tutorial)
Max resolution: 720p is fine
3. Process a test clip first
For batch operations on important footage, have Claude process one file first so you can verify the quality before processing the rest.
4. Ask Claude to explain tradeoffs
What's the quality difference between compressing to 5MB vs 10MB?
Show me a comparison if possible.
What Claude Code Can't Do (Yet)
To set expectations:
- Complex editing timelines: Adding multiple tracks, transitions, effects-use Premiere or DaVinci for that
- Motion graphics: Animated text, kinetic typography-need After Effects or Motion
- Color grading: Basic adjustments yes, professional grading no
- Live streaming: Processing pre-recorded files only
For those tasks, you still need traditional video editing software. But for 90% of what business professionals need-compress, trim, convert, batch process-Claude Code handles it.
The Bigger Picture
Video editing used to require either expensive software, technical knowledge, or outsourcing. Claude Code makes professional video processing accessible to anyone who can describe what they want.
I'm not a video editor. I don't know FFmpeg commands. I don't want to learn Premiere Pro just to compress a screen recording.
But I do have a 336MB file that needs to be on my website. And now it is.
That's the shift. You don't need to become a video expert. You need to know what you want.
The next time you have a video that's too big, too long, or in the wrong format-don't open video editing software. Don't upload to a compression website. Don't pay someone on Fiverr.
Just ask Claude.
Getting Started Today
- Make sure you have Claude Code installed - Follow our 15-minute setup guide if you haven't already
- Navigate to your video folder -
cd ~/Downloadsor wherever your videos are - Start with something simple - "Compress this video to under 10MB"
- Get more specific as you learn - Add trimming, watermarks, batch processing
Keep learning:
- 50+ Non-Coding Uses for Claude Code - More real examples from non-developers
- The Ultimate Guide to Claude Code for Beginners - Master the workflows
- Claude Code Plan Mode Tutorial - The 5-minute habit that saves hours
- Claude Code Context Management - Why results degrade and how to fix it
Ready to build agents that do the work?
The AI Agents Course: master Claude Code, Claude Cowork, and ChatGPT Codex, and leave with 5+ working agents built on your own work.
- Self-paced + live builds
- 5+ working agents
- 12 months community
Frequently Asked Questions
Can Claude Code edit videos without FFmpeg installed?
Claude Code will check if FFmpeg is installed and offer to install it for you if it's missing. On Mac, it uses Homebrew (brew install ffmpeg). You don't need to know anything about FFmpeg-Claude handles all the commands.
How much can Claude Code compress a video file?
Compression depends on the source material, but dramatic reductions are common. A 336MB screen recording can be compressed to under 10MB while maintaining good quality for web playback. Claude optimizes settings based on your target use case.
Can I use Claude Code to edit videos for social media?
Yes. Claude Code can resize videos for Instagram (1080x1080), TikTok (1080x1920), YouTube Shorts (1080x1920), LinkedIn, and Twitter. It handles aspect ratio changes, compression for platform limits, and can batch process multiple videos at once.
Do I need to learn FFmpeg commands to use Claude Code for video editing?
No. That's the whole point. You describe what you want in plain English ('trim this video to the first 30 seconds and make it under 10MB') and Claude Code figures out the FFmpeg commands. You never see or write the technical syntax.
Can Claude Code add text, watermarks, or overlays to videos?
Yes. Claude Code can add text overlays, watermarks, subtitles, and combine multiple video clips. It uses FFmpeg's filter system but you just describe what you want-'add a watermark in the bottom right corner' or 'add subtitles from this SRT file.'
How long does video processing take with Claude Code?
Processing time depends on video length and your computer's specs. A 5-minute 1080p video typically processes in 1-3 minutes. Claude shows you progress and will let you know if something is taking longer than expected.
Can Claude Code extract audio from videos?
Yes. Claude Code can extract audio tracks as MP3, WAV, M4A, or any other format. It can also normalize audio levels, remove background noise (with additional tools), and combine audio from multiple sources.
Finished reading?
Take it with you.
Get a downloadable checklist summarizing the key points from How to Edit Videos with Claude Code (No Video Editing Software Required), plus weekly AI tips.
Guide Checklist
PDF + Email Series
Related Guides
How to Set Up Claude Code on Mac (2026 Guide)
The easiest Claude Code Mac setup tutorial. Step-by-step from download to first prompt - works on M1, M2 & M3 chips. No coding needed.
Claude Code Use Cases: 50+ Non-Coding Examples
Claude Code use cases that have nothing to do with code. 50+ real examples—taxes, research, marketing, file organization—curated from Reddit, LinkedIn & X.
Claude Code Tutorial for Beginners (No Coding Required) - Complete 2026 Guide
Complete Claude Code tutorial for beginners and non-coders. Learn prompts, CLAUDE.md, plan mode, skills, and agents. No coding experience required. Updated for 2026.
How to Create Google Analytics Reports with Claude Code (No Marketer Required)
Step-by-step guide to building custom Google Analytics dashboards, automating reports, and extracting insights using Claude Code and Chrome. No technical skills needed.