Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от kajisho5★ 13 317 звёзд на GitHub

Об этом скилле

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).

  1. Environment, only on failure: after 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.
  2. Probe what you plan from (probe.py); plan from real numbers, never assumptions.
  3. Prefer lossless: no re-encode when a cut, remux or audio-only change suffices.
  4. Plan with --dry-run --json, then run. Trust --json numbers, not the summary line.
  5. Chain: colour → cut → join → silence → fit → caption/overlay → sync → audio → loudness → export. A delivery request is one render.py --template; three or more steps: a render.py project.
  6. Check with check.py OUTPUT --platform X --expect-identity S:M (the writer's output_identity): fix format rows; fix duration, aspect, fps or loudness only when the request implies it. Mention WARNs. A basis: guidance WARN (length, size) is the table's upload limit: the uploader checks the current one.
  7. Verify from the writer's --json probe or probe.py: exit 0 and the requested numbers, or it failed.
  8. Keep originals: never overwrite a source; --overwrite only for this job's files or ones the user asked to replace.
  9. Look after any picture change: look.py OUTPUT --tiles 3x2, view the PNG, name it in Look:; 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, or fit.py in.mp4 --duration 60 --method trim for a simple trim; --method speed when asked to retime. Ask when the intended edit is unclear. A large implicit retime fails with fit_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 makes a highlight interesting — scenes.py --highlights ranks by a measured proxy.
  • Thumbnail or cover composition, and what a video is about (look.py is for the agent's eyes).
  • Judging what looks good — a LUT is mechanical; "cinematic" belongs to color-grading-skill, which then calls color.py.
  • The words in a caption — burned as written; never rewrite or shorten them, even to "make it fit".
Полный SKILL.md на GitHub

Установить ffmpeg-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignore.npmignore.snykAGENTS.mdCHANGELOG.mdCODE_OF_CONDUCT.mdCONTRIBUTING.mdLICENSEPRIVACY.mdREADME.ja.mdREADME.mdSECURITY.mdgemini-extension.jsonglama.jsonpackage.jsonserver.json

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), без исполняемых скриптов.

Похожие скиллы

Сравнить ffmpeg-skill с