1. Conduid
  2. Agents
  3. Ffmpeg Skill
MCP server · Agents

Ffmpeg Skill

Local video editor for coding agents: 42 FFmpeg tools with a machine-readable contract and an MCP server, for Claude Code, Cursor and Codex. Cut, captions, reframe, loudness, platform exports. No cloud, no API keys.

97Strong

Scored 20 hours ago · breakdown

About Ffmpeg Skill

Ffmpeg Skill is an MCP server published by kajisho5 in the Agents category: local video editor for coding agents: 42 FFmpeg tools with a machine-readable contract and an MCP server, for Claude Code, Cursor and Codex. Cut, captions, reframe, loudness, platform exports. No cloud, no API keys. Conduid read 41 tools from its source: audio.py, background.py, batch.py, broll.py, caption.py, check.py and 35 more. It is published to npm as ffmpeg-skill and starts with npx.

The repository has 13K stars and 1.1K forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v4.7.1 (23 Nov 2026): isolate per-test output directories under tests/out (#685) (#707) What's Changed fix: isolate per-test output directories under tests/out (#685)… It follows v4.7.0 (22 Nov 2026), and the 5 most recent releases go back to v4.6.3 (22 Nov 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include audio-processing, captions, coding-agent, ffmpeg, loudness-normalization and subtitles.

Install

Claude Code
claude mcp add ffmpeg-skill -- npx -y ffmpeg-skill
npx
npx -y ffmpeg-skill
From source
git clone https://github.com/kajisho5/ffmpeg-skill

Tools (41)

audio.pyVoice clean-up chain at three strengths (`--voice light|medium|strong`), FFT denoise, typed compressor / limiter / gate, music bed with sidechain ducking (`--duck-amount/-threshold/-attack/-release`), a never-ducked effects bed (`--effects`), `--stereo-widen`, a pan with a stated law (`--pan P`, `--pan-law`, `--music-pan`, `--effects-pan`), fades, 5.1 → stereo, track replacement, extraction (`-o out.wav`), `--audio-stream N`, a tempo change that keeps the pitch (`--tempo`, atempo stages in 0.5–2.0) and an exact length in samples (`--length-samples`), resampling (`--sample-rate`) and one channel by index (`--channel N`), each read back from the output; `--track FILE` (repeatable) with `--track-name` / `--track-lang` writes the input's sound and each file's as separate named, language-tagged audio tracks in a `.mov`, `.mkv` or `.mp4`, each as it is, read back from the output
background.pyGenerate a solid-colour or two-colour gradient clip at an exact size/duration — no input file; `--transparent` writes a fully transparent canvas (ProRes 4444, QuickTime Animation, PNG or VP9 with alpha) to draw graphics on
batch.pyApply a step recipe or a project to a folder with a content-hash cache; `--watch`; `--jobs N` processes several files at once under one shared `--timeout`. A step that writes must name `{out}` or its own `-o`/`--output`: one that writes its default output instead is refused (`step_writes_without_out`)
broll.pyCut away to a B-roll clip over the A-roll for a window (`--insert B --at T --duration D`, repeatable) and come back; A's length and audio untouched by default
caption.pyBurn SRT/ASS with font, size, colour, outline, position; build SRT from timed plain text; wraps to the safe area — with `--platform`, the destination's own left/right safe zone, which since 1.17.2 is also what the burnt ASS states as its side margins — with a phrase-aware breaker (`--wrap phrase|measured`) and `--max-lines`/`--min-duration`/`--offset`; `--mode mux` takes a repeated `--srt file:lang` for several language-tagged, toggleable tracks in one file; picks a font by script for non-Latin text (`--lang`); animated and word-by-word karaoke timed to the speech energy or real word timings; `--fit-size` shrinks the size until a cue fits `--max-lines` instead of splitting the sentence (on by default on the delivery-template path since 1.17.1, where the size comes from the platform table); says `caption text unchanged` when it burned the cues exactly as given; optional local transcription
check.pyPASS / WARN / FAIL against YouTube, Shorts, Reels, TikTok, X, LinkedIn, Facebook, broadcast and podcast specs, from the same delivery table the export presets and templates read (podcast also reports chapter markers and channel count), with the fix for each failure and a `format` / `judgement` kind per row; a length or file size over the table's upload limit is a WARN marked `basis: guidance` (platforms change these, the uploader checks the current one), while `--max-duration` / `--max-mb` state the caller's own limit and FAIL when a `--platform` is named (with none, an over-length is WARN like every judgement row); `--content` adds black-frame, frozen-frame, silence, short audio-dropout, single-frame-flash and flat-first-frame rows ; `--compare REF` measures SSIM/PSNR against a reference, and with `--expect-changed SPAN|none` fails when the picture changed outside the spans the caller declared; `--levels bt709|ebu-r103` counts the luma and chroma samples outside the broadcast legal range, per clip and per window, with min/max Y/U/V; `--expect-identity` checks that the file is the one a run reported writing (`output_identity`)
color.pyHDR10 / HLG / Dolby Vision → SDR BT.709 tone mapping, DV layer stripping, 3D LUT (.cube), colour-tag rewriting, typed primary correction (exposure/contrast/saturation/gamma/white balance/lift-gain/levels/curves); `--keep-alpha` grades an alpha clip and keeps its alpha, checked frame by frame; `--legalize bt709|ebu-r103`: a legal-range clamp after the 4:2:0 conversion, measured on the written file
cropdetect.pyMeasure existing black letterbox/pillarbox bars and report the `fit.py --rect`-ready rectangle that removes them — analysis only, writes no file; `--motion-centre` reports the per-second motion centroid instead, for a 9:16 reframe — report only, the calling agent picks the crop, no auto-reframing
cut.pyIn/out or multi-segment cuts, lossless `-c copy` first, re-encode fallback, `--accurate` for frame-exact video and sample-exact audio, `--smart` for a frame-exact H.264 cut that re-encodes only the partial GOPs at the cut points (matched to the source, verified against its packets and frames) and copies the rest, an SDR HEVC source re-encodes as HEVC (`--no-keep-hevc` for x264), a single `.mp4`/`.mov` copy keeps its edit list, so the picture starts at `--start` unless a keyframe lands later (`start_snapped` then says so; `--no-edit-list` for 2.x's shifted start), `snapped_segments` says where a copy can land, checked against the keyframes it was cut from (`copy_drift_large` suggests `--accurate`), `--vfr-guard` to choose the VFR check (`sampled` by default); reports `precision`; `--snap beats` moves the in/out points onto a measured beat, or refuses when there is no measurable pulse ; `--remove A-B,...` drops ranges and keeps the rest
deinterlace.pyDeinterlace interlaced source footage (`yadif`), `--mode frame`/`field`, `--parity`
denoise.pyReduce video noise/grain (`hqdn3d`), `--strength low/medium/high` or individual spatial/temporal overrides
export.pyPresets `youtube`, `youtube4k`, `reels`, `tiktok`, `shorts`, `linkedin`, `facebook`, `x`, `youtube-hdr` (HEVC Main10, source HDR tags kept), `youtube-av1`, `prores`, `dnxhr-lb`/`sq`/`hq`/`hqx`/`444`, the alpha masters `prores4444`/`prores4444xq`/`qtrle`/`vp9-alpha`/`hap-alpha`, `png-sequence` (numbered RGBA PNGs and a manifest in a new folder) (alpha read back), `key-fill` (a switcher's fill + key pair), `h265`, `gif`, `copy`, all tagged BT.709 unless they carry HDR or are an editing master (`prores`, `dnxhr-*`: the source's tags kept, codec, profile and pixel format read back) (a BT.601-matrix or RGB source is converted to BT.709, not relabelled); `--normalize` meets the platform's loudness in the same call (`render.py` turns it on by default for platform presets) ; `--max-mb MB` fits the file under a size limit by a two-pass encode and measures it ; `--preset copy --repair` remuxes a damaged file (timestamps regenerated, corrupt packets dropped) and counts the errors before and after
fit.pyFit to a duration (choose a method for large speed changes), aspect ratio (pad, crop or blurred fill) or exact size; `--rect W:H:X:Y` cuts an exact pixel box, no scaling (`W:H` alone is centred; `crop.py --x --y --width --height` is an alias that runs the same code). `picture` measures the written frame. `crop_check` flags discarded motion or detail and can suggest `--crop-x`/`--crop-y`; `--crop-path FILE` moves the crop window over time along a path you give (a detection-skill `reframe@1` document or a list of timed x/y points). Rotate 90/180/270, flip h/v and force constant fps.
freeze.pyHold a frame for N seconds (`--at`, `--hold`, `--mode insert/extend`) — an end-card hold or a comedic beat
graphics.pyLower-thirds, title cards, chapter chips, progress bars, countdowns, corner bugs, social stickers, opening hook cards and meme captions drawn by FFmpeg from a brand kit; `--platform NAME` keeps them inside that destination's safe zone; `--text-render` routes shaping scripts through libass and `--emoji-assets` composites colour emoji; `--keep-alpha` renders a template on a transparent canvas as a per-element alpha layer
grid.pyComposite `--cols`x`--rows` clips into one grid, each cell letterboxed and labelled with its filename by default (`--label none` to skip)
insert.pyTurn a still image into a silent, fixed-duration video clip (title card, end slate) at an exact frame size / fps, with an optional Ken Burns zoom/pan
join.pyConcatenate clips end to end (the default; `--transition fade` or another xfade transition crossfades), normalising size, fps, sample rate and channel layout (the widest clip's, or `--channels`); audio-only inputs are joined as audio; `--list parts.txt` reads generated segments (TTS lines) and checks every one first — missing, empty or unreadable parts are all named in one refusal, or skipped and reported with `--on-missing skip` ; `--copy --transition none` joins clips with matching streams by stream copy, measured afterwards, and refuses a mismatch by name; `--transition none --audio-lead S` / `--audio-lag S` make a J-cut / L-cut (the next sound starts S before its picture / the last sound runs S past the picture change; sync kept)
look.pyContact sheet, single frames, side-by-side comparison as PNG so the agent can see what it made; `--safe NAME` shades the zones a platform's own UI covers; `--guides title,action,4:3` outlines the broadcast safe areas (on the PNG only)
loop.pyRepeat a clip `--times` N or to a target `--duration` — for background loops and filling a fixed slot length; `--crossfade` smooths the seam, `--boomerang` plays it forward then backward
loudness.pyTwo-pass EBU R128 `loudnorm` to −14 LUFS / −1 dBTP or any target (`--lra` for the range), video stream-copied; the written file is measured again and re-encoded until it meets `--tp` (lossy encoders overshoot); `--measure-only`; `--versions streaming,ebu-r128,broadcast-jp` (or `LUFS/TP` pairs) writes one file per target from one master, each measured after and listed in `versions` (`output` is null), `verified` only when every version met its own target
metadata.pyWrite container chapter markers from a `TIME TITLE` text file and title/artist/comment tags, every stream copied bit for bit; `--auto-chapters` proposes the markers from measured pauses and scene cuts and names them `Chapter N` for you to rename
multicam.pyAlign any number of cameras and recorders by audio (with drift correction) and cut between them from a switch list; `--switch energy` auto-cuts to whichever camera is loudest at that moment instead of a hand-built list (audio level as a stand-in for who is talking: there is no speaker identification, so it needs each speaker on their own camera's mic), with `--min-shot` (minimum shot length) and `--edl` (write a plain START-END cut list, not a CMX EDL; for Premiere/Resolve use `--write-project` then `render.py --export-timeline`)
overlay.pyLogos, watermarks and titles with position, time range, opacity, fades; `--platform NAME` keeps them clear of that destination's UI; `--video` for picture-in-picture, `--chromakey` for green-screen compositing, `--place` to lay ranges of a layer at chosen times; `--keep-alpha` composites onto a transparent canvas or alpha clip and writes the result with its alpha; a VP9 layer with alpha keeps its transparency
pad.pyAdd black/silent padding at the start and/or end of the timeline (`--start`, `--end`) — distinct from `fit.py --fit pad`'s per-frame letterbox bars
probe.pyDuration, fps (+ VFR detection), resolution, codecs, bit depth, HDR format incl. Dolby Vision (`hdr` for a real PQ/HLG/DV transfer only, `bt2020_or_hdr` also for BT.2020 SDR), colour space, rotation, every audio stream; `--analyze` flags Log footage
proxy.pySmall, low-bitrate proxy for downstream AI analysis/preview/editing decisions — resize by `--width`/`--scale`, proxy-grade `--quality` (default 30), `--fps`, `--no-audio`; not a delivery preset
redact.pyBlur, pixelate, or (`--mode delogo`) interpolate away an exact pixel rectangle for the whole clip. The box is given: nothing here finds a face, a plate or a logo, and `delogo` is a border blend, not inpainting
render.pyRender a whole edit from a declarative `project.json` (clips, transitions, captions, overlays including the social sticker/hook/meme graphics and a picture-in-picture or chroma-keyed `video` layer sized for the final frame, music and stem levels, loudness, export, chapter markers, check); `--init`, `--dry-run`, `--stop-after`, `--cache DIR`/`--from STAGE` (reuse the stages that did not change); the captions block takes the fit-size policy (`fit_size`, `min_size`, `fit_size_scope`) and the run reports the caption stage's counts as `caption`; `--template NAME INPUT` renders a shipped delivery template (`--template all` writes the whole social pack plus its table); `--export-timeline edit.fcpxml|.edl|.otio` (2.1) writes the cut as an editor timeline for Final Cut, DaVinci Resolve or Premiere instead of rendering it — clips, speed, dissolves, the music bed and chapter markers carry over, and `not_exported` names what stays behind; `--compare-project OLD.json` checks the render against the previous one with the change scope read from the two projects (a cue, a layer, a trim at either end, a whole-file setting) and refuses an edit no span states; one uncut clip with only fit, captions and loudness before a platform export (a `--template` with `--cues` and no logo or title) is encoded once, and `render_path` says `fused` or `staged` and `render_path_reason` why (`--staged` keeps one file per stage)
report.pySingle-file HTML delivery report: before/after sheets, media facts, loudness, compliance, the commands run; `--pack` renders a social pack table
reverse.pyReverse playback (video and, unless `--no-audio`, audio)
scenes.pyScene changes, audio peaks, highlight proposals (`--rank-by audio` loudest, or `--rank-by duration` longest — both proxies, not "best") and a per-scene sheet; cut list for `cut.py --segments`; `--beats` measures the music's beat grid (tempo, beat times, confidence); `--shots` classifies each shot static/pan/motion by measured optical flow; `--audio-peaks` lists per-second dBFS; `--speech` reports a speech-vs-music ratio, not a classification; `--find "TEXT" --words words.json` says when a word or phrase is said (times and the word indices for `cut.py --word-segments`)
sequence.pyNumbered (`frame_%04d.png`) or glob-matched still images into a video
silence.pyDetect and remove dead air (jump cuts) with a margin around speech (`--margin`, 0.2 s each side); list or export the cut list, or a source-to-output time map (`--timemap`, JSON or CSV); reports the level at every cut and warns where one may land in a breath or a word's tail; `--filler` also removes filler words, but only where a speech engine timed them; `--speech-aware` keeps a breath inside a sentence and cuts only at sentence-boundary pauses, composing with `--filler` through the same `keep_ranges()`; `--margin-lead` / `--margin-tail` keep different amounts before and after speech, and with word timings `--sentence-min-silence` / `--sentence-margin-tail` give the pause after a sentence end (the transcript's punctuation) its own floor and tail
speedramp.pyStep through different constant speeds across a clip via `--segment START-END:FACTOR` (repeatable), or one span with `--speed F --start A --end B` — distinct from `fit.py`'s single whole-clip speed factor
sphere.pyExtract a flat rectilinear viewport from a 360/spherical video (`--yaw --pitch --roll --h-fov --v-fov`); no subject tracking, only the aim you give it
stabilize.pyTwo-pass motion stabilisation (`vidstabdetect`/`vidstabtransform`)
straighten.pyRotate by an arbitrary angle for horizon correction (`--degrees`, `--fit crop/pad`) — distinct from `fit.py --rotate`'s exact 90-degree turns
sync.pyOffset between two recordings by audio cross-correlation (1 ms, pure Python), clock-drift correction; aligned video or audio out (audio-to-audio only — no lip-sync/face detection); a third or later camera is an additional `more_sources` positional (`sync.py REF A B ...`), the `second` positional itself keeps its name
verify.pyRun the toolchain on real device files and report PASS / FAIL per step
waveform.pyRender an audio track as a waveform or spectrum video. Use `--at` for a waveform PNG at a cut time, or `--image` for a video audiogram with `--platform`, `--title` and burnt-in captions

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 20K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • !No dynamic code executionScanned 15 source files and found 1 call to eval or shell execution, in bin/install.js. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v4.7.1v4.7.1 · 23 Nov 2026_Automated release: version and notes generated from pull requests merged since 4.7.0._ fix: isolate per-test output directories under tests/out (#685) (#707) What's Changed fix: isolate per-test output directories under tests/out (#685)…
v4.7.0v4.7.0 · 22 Nov 2026_Automated release: version and notes generated from pull requests merged since 4.6.5._ Added `audio.py --track FILE`: several audio tracks in one file, each with a name and a language (#420). The input's own sound (`--audio-stream`) and…
v4.6.5v4.6.5 · 22 Nov 2026_Automated release: version and notes generated from pull requests merged since 4.6.4._ Fixed The mixing tools get #711's relabel too. `grid.py`, `join.py`, `multicam.py`, `broll.py` and `overlay.py` build each source's BT.709 conversion…
v4.6.4v4.6.4 · 22 Nov 2026_Automated release: version and notes generated from pull requests merged since 4.6.3._ Fixed On FFmpeg 9 a BT.709 preset over an HDR source wrote conflicting tags (#711). The encoder's VUI said bt709 and the mp4/mov `colr` box said…
v4.6.3v4.6.3 · 22 Nov 2026_Automated release: version and notes generated from pull requests merged since 4.6.2._ Fixed An HDR or BT.2020 RGB source is converted with the matrix its line is tagged with, and a 10-bit master keeps its HDR tags (#559). `export.py…

README

The repository's README runs to about 20K words, fetched 7 days ago. The original in the repository is authoritative.

Read full README
Questions

About Ffmpeg Skill

How do I install Ffmpeg Skill?

In Claude Code, run claude mcp add ffmpeg-skill -- npx -y ffmpeg-skill. Other MCP clients take the command after "--" in their server configuration.

Is Ffmpeg Skill safe to use with an AI agent?

Its trust score is 97 out of 100 (strong). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ffmpeg Skill still maintained?

Yes — the latest release is v4.7.1 (23 Nov 2026), and the last commit was yesterday. The repository has 13K stars and 44 open issues.

What tools does Ffmpeg Skill provide?

Conduid read 41 tools from the source: audio.py, background.py, batch.py, broll.py, caption.py, check.py, color.py, cropdetect.py and 33 more.

What license is Ffmpeg Skill released under?

The repository declares the MIT license. That applies to the latest release, v4.7.1, as well.