ffmpeg (digitalsamba): a Claude skill that gives Claude ready FFmpeg commands for video and audio
The ffmpeg skill gives Claude a library of FFmpeg commands for converting, resizing, trimming, compressing and exporting video and audio.
- Installs
- 12.4K
- on skills.sh
- Stars
- 2.4K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
When you ask Claude to convert a GIF to MP4, shrink a video, pull audio out of a clip or export a render for YouTube, X or LinkedIn, this skill hands it ready-made FFmpeg commands. Claude fills in your file names and runs them in your terminal. The commands target Remotion video projects.
The skill bundles no scripts. It only works if FFmpeg and ffprobe are installed on your machine, because the commands call them. SKILL.md has a short table of common errors, such as odd frame sizes and files that will not play in a browser, with the fix for each.
Good for
- Remotion users who need GIFs, screen recordings and demo clips turned into web-ready MP4s
- Creators who export one render for YouTube, Shorts, X, LinkedIn and the web
- Developers who want Claude to get FFmpeg flags right the first time
Install ffmpeg
Claude Code
- 1
Copy this prompt.
Install the ffmpeg skill in Claude Code. Run this command: npx skills add https://github.com/digitalsamba/claude-code-video-toolkit --skill ffmpeg Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.
Sections in SKILL.md
- Quick Reference
- GIF to MP4 (Remotion-compatible)
- Resize Video
- Compress Video
- Extract Audio
- Convert Audio Formats
- Trim/Cut Video
- Speed Up / Slow Down
- Concatenate Videos
- Add Fade In/Out
- Get Video Info
- Remotion-Specific Patterns
- Video Speed Adjustment for Remotion
- Prepare Demo Recording for Remotion
- Screen Recording to Remotion Asset
- Batch Convert GIFs
Key facts
- Author
- digitalsamba (GitHub)
- License
- MIT
- Installs on skills.sh
- 12,423 as of 2026-11-02
- GitHub stars
- 2,405 (whole repo) as of 2026-11-02
- Last repo commit
- 2026-11-01
- skills.sh audits
- Gen Agent Trust Hub pass, Socket pass, Snyk pass
What it includes
Converts a GIF to a Remotion-compatible MP4 with even frame sizes.
Runs code ·
GIF to MP4Scales to 1920x1080 with bars, crop-to-fill, or a set width.
Runs code ·
Resize videoRe-encodes with x264 at quality levels or a target file size.
Runs code ·
Compress videoPulls audio to MP3, AAC or WAV and converts between audio formats.
Runs code ·
Extract and convert audioCuts by start and duration or start and end, with a stream-copy warning.
Runs code ·
Trim and cutChanges video and audio speed together, with chained audio filters past 2x.
Runs code ·
Speed up or slow downJoins clips from a list file and adds video or audio fades.
Runs code ·
Concatenate and fadeReads duration, resolution and codec data with ffprobe.
Runs code ·
Get video infoSpeed changes, 1080p 30fps prep, phone recordings and batch GIF conversion.
Runs code ·
Remotion patternsSettings for YouTube, Shorts, X, LinkedIn, web embeds and GIF previews.
Runs code ·
Platform exportsA shell script that writes YouTube, X, LinkedIn and web versions of one file.
Runs code ·
Batch export scriptA table of causes and fixes, plus commands that check the output plays.
Runs code ·
Common issues and error handling
From the official docs
Permissions
Low risk
Claude runs FFmpeg commands in your shell and writes new media files next to your sources. Read each command before you approve it, and use new output file names so nothing is overwritten.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It runs shell commands that write files
SKILL.md contains ffmpeg and ffprobe examples, a loop over assets/*.gif and a shell script that writes four exports. Check the output paths before you approve them.
Questions
What does the ffmpeg skill do?
It gives Claude a set of FFmpeg command patterns for common media jobs. These cover GIF to MP4, resizing, compression, audio extraction and conversion, trimming, speed changes, joining clips and fades. It also covers export presets for several platforms.
How do I install it?
Use the install box above. The skill is one folder, so the skills CLI command or a copy into .claude/skills/ is enough. The toolkit it comes from documents a full git clone setup, but this skill does not need the rest of that toolkit.
Do I need FFmpeg installed?
Yes. The skill only supplies commands, and the commands call ffmpeg and ffprobe on your machine. SKILL.md does not explain how to install FFmpeg. Its error table says "Install FFmpeg with full codecs" for the "encoder not found" error.
Does it need an API key?
No key is mentioned in SKILL.md. It bundles no scripts and contains command examples only.
Is it safe to use?
Claude runs FFmpeg commands in your shell and writes new files such as output.mp4 or out/video-youtube.mp4. Check the output file names before you approve a command, so an existing file is not overwritten. SKILL.md also shows a batch loop over assets/*.gif and a shell script that writes four exports.
Which platforms does it have export settings for?
SKILL.md gives settings for YouTube, YouTube Shorts, Twitter/X, LinkedIn, website embeds (MP4 and WebM) and GIF previews. Its limits table also lists Instagram Feed, Instagram Reels and TikTok.
How is it different from asking Claude for an FFmpeg command?
Claude can already write FFmpeg commands. The skill fixes one set of flags, such as -movflags faststart -pix_fmt yuv420p for web playback and re-encoding instead of stream copy when trimming, so results should be more consistent. That comparison is our reading of the file, not a claim by the author.
Information
updated Nov 2, 2026
- Repository
- digitalsamba/claude-code-video-toolkit
- Folder
.claude/skills/ffmpeg
Sources
Docs, issue trackers and discussions this page is built from.
Show all 2Hide
- ffmpeg SKILL.md · github.com
- ffmpeg on skills.sh · skills.sh