ffmpeg
Installation
SKILL.md
FFmpeg
Use this skill to produce reliable, explainable FFmpeg/FFprobe commands for media automation.
Workflow
- Identify the user's source media, desired output container/codec, target dimensions/duration, and whether quality, speed, or file size matters most.
- Prefer the simplest command that meets the goal.
- Use
-c copyonly when no filtering, re-encoding, precise trimming, subtitle burn-in, compression, or codec change is needed. - Use explicit stream mapping when multiple inputs or outputs are involved.
- For commands with filters, quote the filter graph and name streams in
filter_complexwhen it improves readability. - Include
-yonly when the user wants non-interactive overwrite behavior. - Validate command intent with
ffprobeor a low-duration sample when practical.