█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

ffmpeg-skill

Coding agents के लिए एक लोकल FFmpeg video editor: 42 typed tools, एक machine-readable contract और एक MCP server

Video Generationओपन सोर्स
ताज़ा
v2.10.3
अपडेट किया गया
16 अक्टू॰ 2026
भाषा
Python
लाइसेंस
MIT
$npx ffmpeg-skill # Claude Code

नया क्या है

v2.10.316 अक्टू॰ 2026

Draws pad, text, box and background colours in BT.709 to match the output's colour tag, and labels untagged clips BT.709 in mixed joins, multicam, B-roll and video overlays.

संक्षेप में

ffmpeg-skill क्या है?

ffmpeg-skill Coding agents के लिए एक लोकल FFmpeg video editor: 42 typed tools, एक machine-readable contract और एक MCP server. यह Multimodal Generation टूल्स की Video Generation श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: skill इंस्टॉल करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

ffmpeg-skill, Claude Code, Cursor, Codex और किसी भी ऐसे agent के लिए एक Agent Skill है जो `SKILL.md` पढ़ता है। इसे coding agent को एक काम करने वाला video editor देने के लिए बनाया गया है। यह agent को एक तय workflow सिखाता है (probe, जहाँ संभव हो lossless edit, check, verify) और 42 Python scripts के साथ आता है जो `ffmpeg` और `ffprobe` से असली काम करते हैं: cutting और joining, silence हटाना, duration और aspect ratio में फिट करना, captions और karaoke, overlays और motion graphics, HDR से SDR और LUTs, audio clean-up, multi-recording sync, multicam, loudness नॉर्मलाइज़ेशन, delivery checks, पूरे edit का project rendering और batch folders।

सब कुछ लोकल चलता है: कोई cloud नहीं, कोई API key नहीं और standard library के अलावा कोई Python dependency नहीं, इसलिए यह उन फ़ुटेज पर भी offline काम करता है जिन्हें आप अपलोड नहीं करना चाहते। इन tools को FFmpeg 5.0 या उसके बाद का वर्शन और Python 3.9 या उसके बाद का वर्शन चाहिए। वैकल्पिक लोकल transcription (Parakeet या कोई Whisper engine) auto-captions और filler-word हटाने के लिए इस्तेमाल होता है, अगर वह इंस्टॉल हो, और इसकी कभी ज़रूरत नहीं होती।

इस design का लक्ष्य लोगों के बजाय agents है। हर tool typed arguments लेता है (कुछ भी shell से नहीं चलता और caller से कोई filter graph स्वीकार नहीं होता), `--dry-run`, `--json` और `--plan` सपोर्ट करता है, अपने input को कभी overwrite नहीं करता, और मौजूदा output को तब तक मना करता है जब तक `--overwrite` पास न किया जाए। `contract --json` हर tool के inputs, outputs, ज़रूरी FFmpeg components और verification steps का वर्णन करता है, जिसमें input schema script के अपने argparse parser से generate होता है, इसलिए वह CLI से अलग नहीं हो सकता। `doctor` बताता है कि लोकल build में उन FFmpeg components में से कौन-से सच में मौजूद हैं, और `mcp/server.py` वही tools MCP पर expose करता है, बिना अपनी कोई tool table रखे।

यह क्या करता है

  • 42 structured FFmpeg tools जो analysis, editing, audio, picture और delivery को कवर करते हैं, हर एक में `--help`, `--dry-run`, `--json`, `--plan FILE` और failure पर stderr में एक कारण के साथ
  • SRT/ASS या timed text से burned captions, phrase-aware wrapping के साथ, non-Latin text के लिए script-aware fonts, animated word-by-word karaoke और वैकल्पिक लोकल transcription
Before-and-after demo on synthetic colour-bar footage: the right half shows animated captions with a word-by-word karaoke highlight burned in
`caption.py --animate pop --karaoke`: input on the left, output on the right.
Before-and-after demo of a 16:9 fractal clip reframed into a narrow 9:16 vertical crop
`fit.py --aspect 9:16 --fit crop` reframing 16:9 to vertical.
  • `fit.py` से reframing (किसी भी aspect ratio के लिए pad, crop या blurred fill, exact duration में फिट करना), साथ में silence और filler-word हटाना, two-pass EBU R128 loudness और voice clean-up
  • Platform delivery: YouTube, Shorts, Reels, TikTok, X, LinkedIn, Facebook, broadcast और podcast के लिए export presets और `check.py` के PASS / WARN / FAIL reports, और एक ही command में platform renders के लिए `render.py --template`
  • एक machine-readable contract (`contract --json`) और `doctor` capability check, जो हर ज़रूरी FFmpeg encoder और filter को available, missing या unknown बताता है
  • एक MCP stdio server जो डिफ़ॉल्ट रूप से core 12 tools दिखाता है (`FFMPEG_SKILL_MCP_FULL=1` के साथ सभी 42), हर tool को नाम से call किया जा सकता है, साथ में पाँच तैयार workflow prompts

शुरू करें

आपको अपने PATH पर `ffmpeg` और `python3` चाहिए (FFmpeg 5.0+, Python 3.9+); installer `npx` से चलता है, या आप इसे Node के बिना Claude Code plugin के रूप में इंस्टॉल कर सकते हैं।

Skill इंस्टॉल करें

डिफ़ॉल्ट target Claude Code है (`~/.claude/skills/ffmpeg-skill`); Cursor, Codex या तीनों के लिए एक flag जोड़ें। मौजूदा copy को refresh करने के लिए वही command फिर से चलाएँ।

bashbash
npx ffmpeg-skill              # Claude Code
npx ffmpeg-skill --cursor     # Cursor
npx ffmpeg-skill --codex      # Codex
npx ffmpeg-skill --all        # all three

# or, as a Claude Code plugin:
claude plugin install kajisho5/ffmpeg-skill

मशीन जाँचें

`doctor` ffmpeg, ffprobe और वे सभी FFmpeg components confirm करता है जिनकी tools को ज़रूरत है। `doctor --json` में हर tool का `usable` जवाब जाँचें: पूरा build `ok` हो सकता है, जबकि `caption.py` जैसे किसी एक tool में `subtitles` filter नहीं होता।

bashbash
npx ffmpeg-skill doctor
npx ffmpeg-skill doctor --json
npx ffmpeg-skill contract --json | head -40

Agent से edit माँगें

नतीजा सादी भाषा में बताएँ। Agent फ़ाइल probe करता है, मिलते-जुलते tools (`cut.py`, `fit.py`, `export.py`, `check.py`) चलाता है और रिपोर्ट करने से पहले `look.py` contact sheet देखता है।

टेक्स्टटेक्स्ट
Take interview.mp4, keep 0:45–3:10 and 5:00–6:30, and make it exactly 60 seconds for Reels.

किसी भी shell से tools चलाएँ

हर tool एक सादी script भी है। `--dry-run` बिना ffmpeg चलाए plan प्रिंट करता है, और `render.py --template` एक command में शिप किए गए platform template को भरता है।

bashbash
S=~/.claude/skills/ffmpeg-skill/scripts
python3 $S/probe.py input.mp4 --compact
python3 $S/fit.py input.mp4 --duration 60 --aspect 9:16 --dry-run
python3 $S/export.py input.mp4 --preset reels --json
python3 $S/render.py talk.mp4 --template tiktok --cues cues.txt

MCP से कनेक्ट करें

Claude Desktop या Cursor जैसे MCP client को bundled stdio server की ओर इंगित करें। python.org इंस्टॉल वाले Windows पर `python3` की जगह `python` इस्तेमाल करें।

jsonjson
{"mcpServers": {"ffmpeg-skill": {"command": "python3", "args": ["/Users/you/.claude/skills/ffmpeg-skill/mcp/server.py"]}}}

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • कोई coding agent एक लंबी रिकॉर्डिंग को Reels, TikTok या Shorts के लिए captions वाली 9:16 clip में काटे और उसे platform की spec से मिलाकर जाँचे
  • Podcast या talk साफ़ करें: dead air और filler words हटाएँ, आवाज़ साफ़ करें और podcast loudness target तक normalise करें
Before-and-after demo on colour-bar footage where silent stretches are removed and the output timeline is shorter
`silence.py --threshold -35` cutting dead air.
Audio waveform before and after loudness normalisation: quiet thin peaks on the left become full-height peaks on the right
`loudness.py -I -14 --tp -1` normalising to -14 LUFS.
  • संवेदनशील फ़ुटेज को पूरी तरह अपनी मशीन पर प्रोसेस करें, बिना अपलोड और बिना API keys के
  • Agent framework को हाथ से लिखी ffmpeg command lines के बजाय MCP पर typed, machine-readable video toolset दें

वर्शन इतिहास

Every verified update to ffmpeg-skill that AI/TLDR tracked, newest first — each links to our coverage and the official changeset.

  1. 16 अक्टू॰ 2026v2.10.3

    Draws pad, text, box and background colours in BT.709 to match the output's colour tag, and labels untagged clips BT.709 in mixed joins, multicam, B-roll and video overlays.

  2. 15 अक्टू॰ 2026v2.10.0

    Lets a `render.py` project carry a video layer in `overlays[]`, for picture-in-picture or chroma-keyed green-screen compositing.

How ffmpeg-skill compares

ffmpeg-skill alongside other open-source video generation tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
MoneyPrinterTurbo★ 147kएक विषय डालें, तैयार शॉर्ट वीडियो पाएं — स्क्रिप्ट, फुटेज, वॉइसओवर, सबटाइटल और म्यूज़िक
HyperFrames★ 94.6kHTML लिखें, deterministic MP4 पाएं — एजेंट्स के लिए बना वीडियो रेंडरर
OpenMontage★ 85.1kकोडिंग एजेंट को वीडियो प्रोडक्शन स्टूडियो में बदलें
Open Generative AI★ 37.4kMIT लाइसेंस वाला इमेज, वीडियो और लिप-सिंक स्टूडियो ऐप, जो Muapi.ai API के ज़रिए होस्टेड मॉडल चलाता है
Hypit★ 32.2kएक मार्कअप भाषा, जिससे एजेंट किसी वीडियो को दोबारा चलाने योग्य वर्कफ़्लो के रूप में क्लोन कर सकता है
Lemo-Opuscar★ 24.2kClaude Code skill और 59 फ़िल्म स्टाइल की लाइब्रेरी, जिससे coding agent बिना किसी video model के, पूरी तरह code में एक छोटी फ़िल्म का निर्देशन, ड्रॉइंग, स्कोर और रेंडर कर सकता है
Toonflow★ 23.5kइन्फिनिट-कैनवस वर्कबेंच, जो एक उपन्यास को शॉर्ट ड्रामा में बदल देता है: चैप्टर इवेंट्स, स्क्रिप्ट, स्टोरीबोर्ड और वीडियो नोड्स, सब एक ही प्रोजेक्ट में
ffmpeg-skill★ 13.6kCoding agents के लिए एक लोकल FFmpeg video editor: 42 typed tools, एक machine-readable contract और एक MCP server