Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Edits video and audio locally with FFmpeg: cuts, joins, reframes, captions, loudness, HDR to SDR, and platform exports.
24% 81%+57 ptsof test cases passed
Passed 17 of 21 test cases with the skill, and 5 of 21 without it.
This test ran on v3. v9 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Generated from the repository's root
SKILL.mdby.github/scripts/build_plugin_skill.py; edit that file, not this one. In a plugin install this file sits inskills/ffmpeg-skill/and the plugin root is two directories up:<skill-dir>below means that root, so the scripts are at<this file's directory>/../../scripts/. Every plain path below (references/...,docs/...,templates/...,scripts/...) is under that root too, not next to this file.
Run python3 <skill-dir>/scripts/<name>.py; the table below routes requests, --help lists every flag.
Shared flags (the rest, codec defaults and --hw: references/flags.md):
--dry-run (plan, write nothing), --json (output, probe, commands), --json-brief (status + summary),
--overwrite (step 7), --timeout SECONDS (default 1800, verify 600 per step, 0 = none; kind: timeout).
Writing tools run nothing under --dry-run; the measuring tools (probe, check, sync, multicam,
scenes, cropdetect, report, silence, loudness, stabilize, overlay, metadata, cut, render,
batch) may still run ffmpeg/ffprobe without writing artifacts; verify ignores the flag. Per tool: contract --json --tool NAME dry_run.
Audio tools accept audio-only files, including Matroska audio (.mka). Picture tools require video. See references/workflow.md#audio-only-files.
Every step in full: references/workflow.md.
One ordinary edit is one call. A writing tool reads its input itself, refuses what it cannot do
(the message says what to change) and verifies what it wrote: run it with --json-brief (--json for the probe or commands) and report from
its document (wrote, its first line, says the length and any miss against what was asked; verified). For a cut, resize, pad,
rotation, speed, format or sound change, do not probe first, plan with --dry-run, re-probe, run
check.py or look.py, or read --help when the table has the command. Steps 1, 3, 5, 6 and 8 are
for a delivery (a platform, a template, three or more steps), a job of minutes or one that
overwrites, and an edit that changes what the picture shows (text, graphics, a crop around a
subject, colour, a transition).
kind: missing_tool or an ffmpeg error, run
scripts/_contract.py doctor and report what is missing. Never start with it;
contract --json is for planners.probe.py); plan from real numbers, never assumptions.Next to this one in the catalogue, plus more from the same author.