ffmpeg
Skill by edenfunf
Provides FFmpeg commands for converting, resizing, compressing, trimming and speeding up video and audio. It is aimed at preparing assets for Remotion video projects and platform exports.
Install ffmpeg
Built from the published package, never by AI.
git clone --depth 1 https://github.com/edenfunf/reelmimic /tmp/reelmimic && mkdir -p ~/.claude/skills && cp -r /tmp/reelmimic/.claude/skills/ffmpeg ~/.claude/skills/ffmpegRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/edenfunf/reelmimic /tmp/reelmimic && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/reelmimic/.claude/skills/ffmpeg ~/.gemini/antigravity-cli/skills/ffmpegAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant a set of FFmpeg and ffprobe command patterns for video and audio work. It covers GIF to MP4 conversion, resizing with aspect ratio handling, compression with CRF and bitrate targets, audio extraction and format conversion, trimming, concatenation, fades and speed changes. It also includes Remotion-specific guidance, such as when to pre-process speed changes with FFmpeg instead of Remotion playbackRate.
The skill also contains output optimization steps for distribution after a Remotion render. These cover YouTube, Shorts, Twitter/X, LinkedIn, website embeds, WebM, preview GIFs and a batch export script. It is written for developers and video producers who work with Remotion projects and need reliable FFmpeg commands.
Written from the project's SKILL.md and checked against it.
What it can do
- GIF to MP4 conversionConverts GIF files to MP4 with even dimensions and yuv420p pixel format for playback.
- Video resizingResizes video to a fixed frame size by padding or cropping, or scales to a set width.
- Video compressionCompresses video using CRF settings or a target bitrate for file size.
- Audio extractionExtracts audio from video to MP3, AAC or WAV files.
- Audio conversionConverts between audio formats such as M4A, WAV and MP3, and adjusts volume.
- Trimming and concatenationCuts clips by timestamp and joins multiple clips into one file.
- Speed changesSpeeds up or slows down video and audio together, with atempo chaining for extreme speeds.
- Platform exportsProvides optimized output settings for YouTube, Twitter/X, LinkedIn, web embeds and GIF previews.
What you need
- FFmpeg
- ffprobe (included with FFmpeg)
- Remotion (for the Remotion-specific workflow)
Try asking
- Convert demo.gif to an MP4 that plays in browsers
- Speed up raw-demo.mp4 to 3x so it fits a 20 second scene
- Make a Twitter-sized version of out/video.mp4 under 15MB
Good to know
- Stream copy trimming can silently drop video if the cut point is not on a keyframe, so re-encoding is recommended.
- Remotion playbackRate must be constant, so variable speed changes need FFmpeg pre-processing.
- Audio atempo filters only accept values from 0.5 to 2.0, so larger speed changes need chained filters.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/ffmpeg/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
reference.md5 KB
Alternatives to ffmpeg
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
ffmpeg: common questions
Does this skill convert GIF files to MP4?
Yes. The skill includes a command that converts GIF to MP4 with faststart and yuv420p settings, plus a batch script for many GIF files.
Why does the skill recommend re-encoding when trimming video?
Stream copy can silently drop video if the seek point does not align with a keyframe. Re-encoding is recommended for reliable trimming.
Can this skill prepare videos for YouTube and other platforms?
Yes. It includes optimization commands for YouTube, YouTube Shorts, Twitter/X, LinkedIn, website embeds and WebM, along with a platform requirements table.
How do I install ffmpeg?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ffmpeg free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ffmpeg safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ffmpeg?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
