ffmpeg-skill
БесплатноБез исполняемых скриптовНе проверенEdit video and audio with local FFmpeg: cut, join, reframe, speed, captions, overlays, silence removal, sync, loudness, HDR to SDR, platform exports and…
от kajisho5★ 13 317 звёзд на GitHubОб этом скилле
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.
ffmpeg-skill
Quick start
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.
Workflow (in this order)
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).
- Environment, only on failure: after
kind: missing_toolor an ffmpeg error, runscripts/_contract.py doctorand report what is missing. Never start with it;contract --jsonis for planners. - Probe what you plan from (
probe.py); plan from real numbers, never assumptions. - Prefer lossless: no re-encode when a cut, remux or audio-only change suffices.
- Plan with
--dry-run --json, then run. Trust--jsonnumbers, not the summary line. - Chain: colour → cut → join → silence → fit → caption/overlay → sync → audio → loudness → export.
A delivery request is one
render.py --template; three or more steps: arender.pyproject. - Check with
check.py OUTPUT --platform X --expect-identity S:M(the writer'soutput_identity): fix format rows; fix duration, aspect, fps or loudness only when the request implies it. Mention WARNs. Abasis: guidanceWARN (length, size) is the table's upload limit: the uploader checks the current one. - Verify from the writer's
--jsonprobe orprobe.py: exit 0 and the requested numbers, or it failed. - Keep originals: never overwrite a source;
--overwriteonly for this job's files or ones the user asked to replace. - Look after any picture change:
look.py OUTPUT --tiles 3x2, view the PNG, name it inLook:; flag judgement issues in one line. No vision: say the pixels were not inspected.
Before you run anything: what to ask, what to assume
Ask only when the answer changes the output and the request does not imply it; bundle open choices into one proposal ("Reels: 9:16 padded, 60 s, -14 LUFS, no captions — OK?"). Never ask what a probe tells.
- Destination sets aspect, length, loudness, codec; "export/post/deliver" with none named: ask.
- Duration without a method: choose what to keep first. Drop dead air (
silence.py) and unwanted spans, orfit.py in.mp4 --duration 60 --method trimfor a simple trim;--method speedwhen asked to retime. Ask when the intended edit is unclear. A large implicit retime fails withfit_method_required. - Captions without text:
--transcribe --language ja(name the spoken language; other than English needs a Whisper engine) if an engine exists, else ask; never invent dialogue. - Brand, CJK text, crop position:
references/workflow.md(ask/assume section). - Anything else: pick the conventional default, say so, offer the alternative in one line.
What this skill does and does not decide
It executes an edit; it does not decide one. These belong to the human, the calling agent or another skill:
- Which cut is right, or whether a deliverable is approvable — this skill measures and reports.
- **What make
Установить ffmpeg-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ffmpeg-skill?
Edit video and audio with local FFmpeg: cut, join, reframe, speed, captions, overlays, silence removal, sync, loudness, HDR to SDR, platform exports and checks. Use whenever the user mentions a video or audio file (mp4, mov, wav, m4a), footage, captions, a reel or short, YouTube/TikTok delivery, LUFS or ffmpeg, even without saying "edit". Needs FFmpeg 6.1+ and Python 3.10+; stdlib only, no cloud.
Как установить скилл ffmpeg-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ffmpeg-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub