Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

Erzeuge und gestalte wortgenaue Untertitel (Telugu, Hindi, Englisch, gemischt) für HyperFrames-Captions über Remotion-Szenen – korrigiere Text, blende Captions unter On-Screen-Text aus und prüfe den Inhalt an jedem Schnitt. Verwende dies beim Erstellen, Umstylen, Korrigieren oder Neupositionieren von Captions in jedem Edit.

Was ist ai-video-editor?

Dieses Skill automatisiert die Erstellung und das Styling wortgenauer Untertitel für Videoedits mit Remotion. Es generiert aus einer bereinigten Wortliste (`work/cleancut.words.json`) für jedes Format (z.B. 16:9, 9:16) eine separate Captions-HTML-Datei. Der Nutzer kann zwischen drei Stilen wählen: ‚pop‘ für dynamische Kurzvideos, ‚clean‘ für Bildungsinhalte und ‚karaoke‘ für stimmungsvolle Szenen. Die Parametrisierung erfolgt per Kommandozeile – Format, Stil, Akzentfarbe, maximale Wortanzahl, Position und Großschreibung werden entweder global oder formatabhängig gesetzt. Textkorrekturen werden nicht in der generierten HTML vorgenommen, sondern zentral in `work/edl.json` mit `textFixes` gepflegt. Über `caption_blackouts` in `work/visual-plan.json` lassen sich Captions ausblenden, wenn sie mit On-Screen-Text kollidieren. Ein Verifikationsschritt (`verify`) prüft nach jedem Schnitt, ob die Captions sinnvolle Satzfragmente sind. Das Skill unterstützt die Schriften Noto Sans Telugu, Noto Sans Devanagari und Poppins als woff2. Der gesamte Workflow ist in `project.json` gespeichert, sodass ein erneuter Aufruf ohne Flags die zuletzt gesetzten Parameter verwendet. Es ist speziell für HyperFrames-Editoren und Remotion-basierte Render-Workflows optimiert und erfordert keine manuelle Bearbeitung der generierten Dateien.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SrigadaAkshayKumar/ai-video-editor/tree/HEAD/.claude/skills/captions

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Untertitel

npm run captions -- <p> [--format 9:16] [--style pop|clean|karaoke] [--max-words N] [--position bottom|middle] [--accent "#hex"] [--uppercase]

Schreibt edit-<fmt>/compositions/captions.html für jedes Format (oder nur --format) aus work/cleancut.words.json (bereits auf der bereinigten Schnittzeitleiste). style, accent und uppercase werden von allen Formaten gemeinsam genutzt (ein einheitliches Brand-Look); max-words und position sind formatabhängig — übergib sie mit --format. Alles wird in project.json → captions gespeichert, sodass ein erneuter Aufruf ohne Flags die Einstellungen behält. Die Vorlage hat bereits die Captions eingebunden (<div id="captions" … data-track-index="4">).

Standardwerte: unteres Band in beiden Formaten — 16:9 5 Wörter, 64px · 9:16 3 Wörter, 76px bei y≈1348, innerhalb der Instagram-Sicherheitszone. Die Remotion-Grafiken halten sich von genau diesem Band fern (CAPTION_SAFE_Y in remotion/src/doc/theme.ts), sodass Captions und Grafiken von Haus aus nie kollidieren.

npm run scaffold -- <p> baut den Captions-Durchlauf über work/visuals-<fmt>.mp4 und generiert die Captions; führe npm run captions allein erneut aus, um das Styling zu ändern.

Stil auswählen

InhaltStilWörter/Gruppe
Shorts / Reels, energiegeladen, Hookspop (weiß, dicke Kontur, aktives Wort in Akzentfarbe, Wort-Bounce)2–3
Bildung / Interview / Langformclean (dunkle Sprechblase, Akzent auf aktivem Wort)4–6
Geschichte / ruhig / musikgeführtkaraoke (gedimmt → weiß gefüllt während des Sprechens)3–5

Akzentfarbe = die Markenfarbe aus dem Briefing, sonst #FFD400. Verwende --uppercase nur für englischsprachige Videos (keine Wirkung auf indische Schriften).

Textkorrekturen

Bearbeite niemals das generierte HTML von Hand. Korrigiere Wörter an der Quelle:

  • Füge "textFixes": { "<rohe Wort-ID>": "Korrektur" } zu work/edl.json hinzu und führe dann npm run cut und npm run scaffold erneut aus (Aktualisierung) — rohe IDs sind das src-Feld in work/cleancut.words.json.
  • Häufige Korrekturen: Marken-/Personennamen, englische Wörter, die der ASR in Telugu/Devanagari-Schrift geschrieben hat, wenn der Nutzer sie in Latein will (oder umgekehrt), Großschreibung am Satzanfang nach einem Schnitt, Zahlen (ఇరవై → 20, wenn es besser lesbar ist).

Schriften und Schriftarten

Telugu (Noto Sans Telugu), Devanagari (Noto Sans Devanagari) und Latein (Poppins) werden als woff2 in jedem edit-<fmt>/assets/fonts/ ausgeliefert und sind sowohl in index.html als auch in der Captions-Vorlage deklariert — der Renderer hat keine Systemschriften. Wenn du irgendwo eine neue Schrift hinzufügst, benötigt sie ein eigenes @font-face mit einer lokalen woff2, sonst schlägt der Lint mit font_family_without_font_face fehl.

Indische Wörter sind lang: Halte in 9:16 --max-words ≤ 3; der Generator begrenzt auch die Zeichen pro Gruppe.

Ausblendungen

Wenn eine Karte die Wörter bereits zeigt (sample_answer, ein vollbildliches Zitat, das vorgelesen wird), füge "caption_blackouts": [{ "start", "end" }] zu work/visual-plan.json hinzu und führe npm run captions erneut aus. Wörter innerhalb dieser Intervalle werden entfernt, und jede Lücke beendet eine Caption-Gruppe, sodass keine Zeile die Karte überspannt (die „Wort vor der Lücke + Wort danach“-Müllzeile der Vorlage).

Überprüfung der Übergänge

npm run verify -- <p> nimmt einen Frame direkt nach jedem Schnitt auf. Lies die Tabelle: Jede Caption muss ein echtes Fragment eines Satzes sein. Eine Mischung aus zwei verschiedenen Takes in einer Zeile ist ein Inhaltsfehler, den kein Linter sieht. Es ist immer nur eine Caption-Gruppe sichtbar; Gruppen halten bei kurzen Pausen und überschneiden sich nie.

npm run captions markiert die Stufe als abgeschlossen.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

SrigadaAkshayKumar/ai-video-editor

Turn a finished AI-edits video (projects/<p>, or several parts of one long video) into YouTube Shorts. Reuses the edit's word timestamps, reads the whole transcript, picks self-contained dialog moments, adds text hooks + comment prompts, renders 9:16 clips with Remotion. Use when the user asks to clip/make shorts from an edited project or a long video.

SrigadaAkshayKumar/ai-video-editor

Choose, fetch and place background music for an edit — Openverse search (commercial-use CC, or CC0-only), music_cues in work/audio-plan.json with fades, offsets and a deliberate silence gap; tools/mix.mjs conditions every bed, sets it to one measured house level under the voice and sidechain-ducks it. Use when adding, swapping or re-levelling music.

SrigadaAkshayKumar/ai-video-editor

Editorial rules for turning a raw talking video or voiceover into a clean cut — removing retakes, repetitions, false starts, stutters, fillers, mispronounced words, contradictions/inconsistencies, off-script chatter and dead air — by writing work/edl.json for tools/cut.mjs. Telugu, Hindi, English and code-mixed speech. Use for stage 2 of edit-video or whenever the user asks to tighten/re-cut a video.

SrigadaAkshayKumar/ai-video-editor

Turns a bare voiceover (no presenter on camera) into a finished faceless documentary/explainer for YouTube 16:9 and Instagram 9:16 — clean-cuts the narration, DIRECTS it (story spine, tension curve, hooks, involvement beats), researches the claims and screenshots the real sources, plans a scene track (stock b-roll, stills, news screenshots, pure-graphic beats) with motion graphics, designs music + SFX, renders, captions and credits it. Use when the user gives a voiceover/narration file (or says "faceless video", "make a video from this VO", "documentary").

SrigadaAkshayKumar/ai-video-editor

End-to-end editor for TALKING-HEAD videos (a person on camera) in this repo. Use when the user hands over a raw video with a speaker and wants a finished edit, or asks to continue/resume/redo any stage of an existing talking-head project — clean cut, motion graphics, b-roll, SFX, music, captions, final render, thumbnail. Delivers YouTube 16:9 and Instagram 9:16. Telugu, Hindi, English and code-mixed speech. For a voiceover with no presenter use edit-video-faceless.

SrigadaAkshayKumar/ai-video-editor

Plan the picture of an edit in work/visual-plan.json — motion graphics (28 component types across six stage layouts that dock/shrink/dim the video), b-roll cutaways from Pexels/Pixabay, camera moves, a-roll framing for 9:16 — validate it, QA it with stills in both formats, and render it with Remotion. Use for any titles, charts, stats, lower thirds, diagrams, b-roll or zooms in a talking-head or faceless edit.

SrigadaAkshayKumar/ai-video-editor

Design the sound effects of an edit in work/audio-plan.json sfx_events — which effect, where, how often — using the measured SFX library (repo assets/sfx, HyperFrames' bundled set, CC0 fetches from Openverse) and the spectral rule that sub-band cues carry structure while vocal-band cues are rationed. Mixed and levelled by tools/mix.mjs. Use when adding or adjusting SFX in any edit.

SrigadaAkshayKumar/ai-video-editor

Write the upload package for a video this repo edited — YouTube title options, description with chapters, tags, pinned comment, thumbnail text, and the Instagram Reels caption + hashtags for the 9:16 cut — optimised for whichever channel/client the user says it is for (config/brands/ profiles, only when named). Use when the user asks what to title a video, for a description, tags, chapters, "the YouTube metadata", an Instagram caption, or SEO/CTR advice on a finished render.

SrigadaAkshayKumar/ai-video-editor

Design and build a high-CTR thumbnail for a video this repo edited — hook selection, the real face frame pulled from the footage, background cut-out, type set with real fonts (Telugu/Devanagari included), the YouTube 1280x720 thumbnail and the Instagram 1080x1920 cover, an optional image-generation prompt for the background layer, and a feed-size legibility check. Use when the user asks for a thumbnail, thumbnail ideas, a cover image, or how to make the thumbnail more clickable.

Verwandte Skills