Logo von Captions

Captions

Community
edotheDev
captions

Burn clean, readable captions into recorded video (talking head, vlogs, interviews, demos) in any language, including speech that switches languages mid sentence. Measured pauses, local Whisper word timings, phrase aware line breaks, per script fonts, libass shaping. Use for "add subtitles", "caption this", "burn captions", "transcribe and caption", or fixing broken caption text.

Übersicht

HerausgeberedotheDev
Repositoryclaude-video-kit
Skill-Namecaptions
Sterne
31
Forks
6
Mitgelieferte Dateien
7
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 7 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von edotheDev auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Captions in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/edotheDev/claude-video-kit/tree/main/.claude/skills/captions
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/edotheDev/claude-video-kit.git /tmp/claude-video-kit
mkdir -p .claude/skills
cp -r /tmp/claude-video-kit/.claude/skills/captions .claude/skills/captions
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Captions in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Captions automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Captions nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Captions

Scripts are in scripts/ (Node 20+). Install once: cd .claude/skills/captions/scripts && npm install. Every step writes JSON into a work folder, so any stage can be redone alone.

node prep.mjs <video> work                         -> work/meta.json, audio.wav, pauses.json, runs.json
node words.mjs <video> work/words.json             -> word timings from local Whisper (English: .en models)
node cues.mjs work/words.json work                 -> work/chunks.json (caption cues)
node ass.mjs work/chunks.json work/meta.json work/captions.ass [--font "Name"]
cd work && ffmpeg -i <video> -vf "ass=captions.ass:shaping=complex" -c:v libx264 -crf 18 -preset medium \
           -pix_fmt yuv420p -c:a copy -movflags +faststart <out>-captioned.mp4
  • prep.mjs measures the noise floor and sets the silence gate from it. Quiet recordings sit near -40 dB on average, so a fixed -30 dB gate finds no pauses at all. Never hard code the gate.
  • words.mjs downloads the model once into scripts/models/ (--model small is the default and the one to trust for on screen words; base is faster). It runs on the CPU and uploads nothing.
  • cues.mjs scores every possible break and picks the cheapest set for the whole video: sentence ends are free, a break after "the" or "to" is expensive, a phrasal verb ("lock in") is never split, a real pause always ends a cue, and a cue is charged for reading faster than about 21 characters a second. --max-chars 42 suits vertical video; use 60 for 16:9. --drop-fillers removes standalone um and uh.
  • ass.mjs wraps to the safe width, centres the block at 64.5 percent of the height, and prints OVERFLOWING_LINES, which must be 0.

When Whisper is the wrong tool

Whisper models are single language by design. Speech that switches language inside a sentence comes back as phonetic mush in one of the two scripts, and some languages (Burmese among them) were barely in its training data. For those:

  1. Get an anchored transcript from a model that handles the mix (Gemini does this well), in this shape, with an anchor every 10 to 20 seconds:
    [00:00] first sentence as spoken ...
    [00:15] next sentence ...
  2. node parse-anchored.mjs transcript.md work lays the lines out inside each anchor window by how long they take to say and snaps every boundary to a measured pause. It prints an integrity block: lossless must be true, or something ate text.
  3. node ass.mjs ... --font "Latin Face" --font2 "Script Face" --script2 myanmar (or cjk) gives each script its own font, run by run.

ElevenLabs Scribe (through its connector) also returns word timings for many languages and is a good second opinion on timing; keep the text from whichever source you can vouch for.

The caption law

  • Position: the block's centre at about 64.5 percent of the height. Higher sits on the chin; lower runs into the platform's own UI.
  • Size: about 4.2 percent of the frame height (54 px on 1280, 81 on 1920). 3.6 percent was too small to read on a phone.
  • Two lines at most, broken on meaning. A break like "I'm / feeling stuck in one" is a failure even when it fits.
  • White, thin dark outline (about 0.28 percent of the height, at least 3 px), no box. A box reads as an amateur burn in; an outline holds over a patterned shirt where a shadow alone does not.
  • One font per script, never one font for both. Set the size explicitly on every run, because an ASS override persists for the rest of the line. Latin often needs to be set a touch smaller (about 0.9) to look the same size as another script.
  • No karaoke word highlighting, no coloured keywords. Both are platform defaults and read as generated.
  • Fix names in work/corrections.json, never by hand editing later. Every edit carries a reason.
  • Skip what you cannot vouch for. A missing word is better than a wrong one.

Traps that have already cost time

  • Use the ass filter with shaping=complex, never the subtitles filter or drawtext. subtitles= silently uses simple shaping, which does not reorder complex scripts: in Burmese a vowel sign stored after its consonant must render before it, and without reordering it comes out wrong while still looking plausible. drawtext does no complex shaping at all.
  • Run ffmpeg from inside the work folder with a relative .ass name. A Windows absolute path puts a colon into the filter graph and it will not parse.
  • Check shaping zoomed. Crop the caption band and scale it 2x before judging; misordered marks are invisible at full frame size.
  • Write scripts with a file editor, never through a shell heredoc. Backslashes get eaten: /\s+/ silently became /s+/, which split on the letter s and deleted it from every word.
  • Keep the source resolution and frame rate. Never upscale.
  • Transcripts stay in files. Do not print a whole transcript into the chat; quote only the line you need.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Captions?

Burn clean, readable captions into recorded video (talking head, vlogs, interviews, demos) in any language, including speech that switches languages mid sentence. Measured pauses, local Whisper word timings, phrase aware line breaks, per script fonts, libass shaping. Use for "add subtitles", "caption this", "burn captions", "transcribe and caption", or fixing broken caption text.

Warum Captions in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Captions besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Captions in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/edotheDev/claude-video-kit/tree/main/.claude/skills/captions ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Captions nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Captions verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Captions damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Captions kostenlos?

Ja. Der Skill wird von edotheDev auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇