ffmpeg Usage - Claude Skill
October 19, 2025 Β· View on GitHub
A comprehensive Claude Skill for video and audio processing using ffmpeg. This skill provides battle-tested commands and workflows for common multimedia processing tasks.
π― Overview
The ffmpeg Usage skill teaches Claude how to perform professional video and audio processing tasks using ffmpeg. Once installed, Claude will automatically recognize video/audio processing requests and apply the appropriate ffmpeg commands.
Note: This skill was developed for research purposes to explore Claude Skills capabilities. Claude already has knowledge of ffmpeg and can handle common video/audio tasks without this skill. This skill provides optimized recipes and platform-specific presets that may be useful for advanced use cases.
Tip: If Claude doesn't automatically use this skill, you can explicitly ask: "Can you use the ffmpeg-usage skill for this task?"
Supported Operations:
- π¬ Format conversion (MP4, WebM, MOV, AVI, etc.)
- π Resolution scaling and aspect ratio adjustment
- π¨ High-quality GIF creation with palette optimization
- π΅ Audio extraction, conversion, and merging
- βοΈ Video trimming, concatenation, and speed adjustment
- π Subtitle processing (burn-in, soft subs, extraction)
- πΌοΈ Thumbnail and frame extraction
- ποΈ Video compression and web optimization
- π± Platform-specific presets (YouTube, Instagram, TikTok, Twitter)
π Requirements
System Requirements
- ffmpeg must be installed on your system
- Claude Pro, Max, Team, or Enterprise plan
- Claude Code v2.0.12 or higher (for Claude Code users)
Install ffmpeg
macOS:
brew install ffmpeg
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install ffmpeg
Windows (with Chocolatey):
choco install ffmpeg
Verify installation:
ffmpeg -version
π Installation
For Claude Desktop & claude.ai
Skills are automatically synced between Claude Desktop and claude.ai. Upload once to use on both platforms!
-
Download the latest release:
- Go to Releases
- Download
ffmpeg-usage.zip
-
Upload the Skill:
- In Claude Desktop or claude.ai, go to Settings > Capabilities > Skills
- Click "Upload Skill"
- Select the downloaded
ffmpeg-usage.zipfile
-
Start using:
- If you uploaded via claude.ai and have Claude Desktop open, restart Claude Desktop to see the Skill
- Just ask Claude to process videos!
Note: Custom Skills require a Pro, Max, Team, or Enterprise plan.
For Claude Code
Method 1: Git Clone (Recommended)
git clone https://github.com/ychoi-kr/claude-ffmpeg-skill.git
cp -r claude-ffmpeg-skill ~/.claude/skills/ffmpeg-usage
Method 2: Quick Install Script
curl -sSL https://raw.githubusercontent.com/ychoi-kr/claude-ffmpeg-skill/main/install.sh | bash
π‘ Usage
Once installed, Claude will automatically recognize video/audio processing requests. Just describe what you want in natural language!
Example Interactions
Format Conversion:
You: "Convert this MOV file to MP4"
Claude: [Uses ffmpeg Usage skill to convert with optimal settings]
GIF Creation:
You: "Create a high-quality GIF from video.mp4, starting at 10 seconds, 5 seconds long"
Claude: [Generates GIF with palette optimization]
Resolution Adjustment:
You: "Resize this 4K video to 1080p for web"
Claude: [Scales video and optimizes for web playback]
Audio Extraction:
You: "Extract the audio from this video as MP3"
Claude: [Extracts audio with high quality settings]
Social Media Optimization:
You: "Prepare this video for Instagram Stories"
Claude: [Converts to 9:16, optimizes settings, limits to 15 seconds]
Batch Processing:
You: "Convert all MOV files in this directory to MP4"
Claude: [Creates and runs batch conversion script]
π Features
Automatic Skill Activation
Claude automatically detects when to use this skill based on keywords like:
- "convert video"
- "create gif"
- "extract audio"
- "resize video"
- "compress video"
- "add subtitles"
- "merge videos"
- "optimize for [platform]"
Comprehensive Command Library
The skill includes optimized commands for:
- 20+ common operations
- Platform-specific presets (YouTube, Instagram, TikTok, Twitter)
- Quality optimization with appropriate CRF values
- Web-ready output with faststart flag
- Batch processing patterns
Best Practices Built-In
- Input validation before processing
- Appropriate codec selection
- Quality vs file size optimization
- Error handling and recovery
- Progress indication for long operations
π§ Customization
You can customize the skill by editing SKILL.md:
- Add your own presets
- Modify default quality settings
- Add organization-specific workflows
- Include custom ffmpeg filters
Example custom preset:
### Company Logo Overlay
```bash
ffmpeg -i video.mp4 -i logo.png \
-filter_complex "overlay=W-w-10:H-h-10" \
output.mp4
## π Documentation
### Full Command Reference
See [SKILL.md](SKILL.md) for the complete command library and detailed usage instructions.
### Common Use Cases
- [Format Conversion Examples](examples/conversion.md)
- [GIF Creation Guide](examples/gifs.md)
- [Social Media Presets](examples/social-media.md)
- [Batch Processing](examples/batch.md)
### Troubleshooting
See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for common issues and solutions.
## π€ Contributing
Contributions are welcome! Here's how you can help:
1. **Report bugs** - Open an issue describing the problem
2. **Suggest features** - Share ideas for new ffmpeg workflows
3. **Submit presets** - Add platform-specific or use-case presets
4. **Improve documentation** - Help make the skill easier to use
See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
## π Security
This skill executes ffmpeg commands on your system. To stay safe:
- β
Always review generated commands before execution
- β
Only process trusted input files
- β
Validate file paths to prevent directory traversal
- β
Use this skill from trusted sources only
See [SECURITY.md](SECURITY.md) for more information.
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π Acknowledgments
- [FFmpeg](https://ffmpeg.org/) - The amazing multimedia framework
- [Anthropic](https://www.anthropic.com/) - For creating Claude and the Skills system
- Community contributors - For testing and feedback
## π¬ Support
- **Issues**: [GitHub Issues](https://github.com/ychoi-kr/claude-ffmpeg-skill/issues)
- **Discussions**: [GitHub Discussions](https://github.com/ychoi-kr/claude-ffmpeg-skill/discussions)
## πΊοΈ Roadmap
- [ ] Add hardware acceleration examples (NVIDIA, AMD, Intel)
- [ ] Include more social media platform presets
- [ ] Add video filter examples (blur, sharpen, color correction)
- [ ] Create interactive preset builder
- [ ] Add performance benchmarking utilities
- [ ] Support for advanced audio processing (normalization, noise reduction)
## π Stats



---
**Made with β€οΈ for the Claude community**
If you find this skill useful, please β star the repository and share it with others!