Communitygithub.com

SrigadaAkshayKumar/ai-video-editor

Genera y estiliza subtítulos sincronizados con palabras (telugu, hindi, inglés, mixto) sobre pases de subtítulos HyperFrames para cada formato de Remotion, corrige texto, aplica apagones bajo texto en pantalla y verifica el contenido de subtítulos en cada unión de corte.

¿Qué es ai-video-editor?

Esta skill se enfoca en la creación y personalización de subtítulos sincronizados con palabras para múltiples idiomas (telugu, hindi, inglés y combinaciones mixtas) en videos producidos con Remotion. Soporta formatos como 16:9 y 9:16, y tres estilos visuales: 'pop' (enérgico, con rebote de palabras), 'clean' (educativo, con píldora oscura) y 'karaoke' (revelado progresivo de texto). Permite ajustar palabras por grupo, posición y color de acento, todo configurable mediante línea de comandos (`npm run captions`) con persistencia en `project.json`. Además, incluye capacidades de corrección de texto mediante anotaciones en `work/edl.json`, apagones de subtítulos cuando aparecen tarjetas con texto visible, y verificación de continuidad tras cada corte con `npm run verify`. El diseño asegura que los subtítulos nunca choquen con gráficos predefinidos (usando `CAPTION_SAFE_Y`) y utiliza tipografías específicas (Noto Sans para telugu y devanagari, Poppins para latín) empaquetadas como woff2.

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

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

subtítulos

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

Escribe edit-<fmt>/compositions/captions.html para cada formato (o solo --format) a partir de work/cleancut.words.json (ya en la línea de tiempo de corte limpio). style, accent y uppercase son compartidos por todos los formatos (un estilo de marca); max-words y position son por formato — pásalos con --format. Todo se guarda en project.json → captions, así que volver a ejecutarlo sin banderas lo mantiene. El andamio ya monta los subtítulos (<div id="captions" … data-track-index="4">).

Valores predeterminados: banda inferior en ambos formatos — 16:9 5 palabras, 64px · 9:16 3 palabras, 76px en y≈1348, dentro de la zona segura de Instagram. Los gráficos de Remotion se mantienen fuera de esta banda (CAPTION_SAFE_Y en remotion/src/doc/theme.ts), por lo que los subtítulos y gráficos nunca chocan por construcción.

npm run scaffold -- <p> construye el pase de subtítulos sobre work/visuals-<fmt>.mp4 y genera los subtítulos; vuelve a ejecutar npm run captions solo para reestilizar.

Elección de un estilo

ContenidoEstiloPalabras/grupo
Shorts / reels, enérgico, ganchospop (blanco, contorno grueso, palabra activa en acento, rebote de palabra)2–3
Educativo / entrevista / formato largoclean (píldora oscura, acento en palabra activa)4–6
Historia / tranquilo / liderado por músicakaraoke (atenuado → relleno blanco al hablarse las palabras)3–5

Acento = el color de marca del briefing, si no #FFD400. Usa --uppercase solo para videos en inglés (sin efecto en escrituras índicas).

Correcciones de texto

Nunca edites a mano el HTML generado. Corrige palabras en la fuente:

  • Añade "textFixes": { "<id de palabra cruda>": "Correcto" } en work/edl.json y vuelve a ejecutar npm run cut luego npm run scaffold (actualizar) — los ids crudos son el campo src en work/cleancut.words.json.
  • Correcciones comunes: nombres de marca/persona, palabras en inglés que el ASR escribió en escritura telugu/devanagari cuando el usuario las quiere en latín (o viceversa), mayúsculas al inicio de una oración después de un corte, números (ఇరవై → 20 cuando se lee mejor).

Scripts y fuentes

Las fuentes telugu (Noto Sans Telugu), devanagari (Noto Sans Devanagari) y latín (Poppins) vienen como woff2 en cada edit-<fmt>/assets/fonts/ y se declaran tanto en index.html como en la plantilla de subtítulos — el renderizador no tiene fuentes del sistema. Si agregas una nueva fuente en cualquier lugar, necesita su propio @font-face con un woff2 local, o lint falla con font_family_without_font_face.

Las palabras índicas son largas: en 9:16 mantén --max-words ≤ 3; el generador también limita caracteres por grupo.

Apagones

Cuando una tarjeta ya muestra las palabras (sample_answer, una cita a pantalla completa que se lee), añade "caption_blackouts": [{ "start", "end" }] en work/visual-plan.json y vuelve a ejecutar npm run captions. Las palabras dentro se eliminan y cualquier hueco termina un grupo de subtítulos, así que ninguna línea abarca la tarjeta (la línea basura "palabra antes del hueco + palabra después" de la plantilla).

Verifica las uniones

npm run verify -- <p> captura un fotograma justo después de cada corte. Lee la hoja: cada subtítulo debe ser un fragmento real de una oración. Un empalme de dos tomas diferentes en una sola línea es un error de contenido que ningún linter detecta. Un grupo de subtítulos es visible a la vez; los grupos se mantienen durante pausas cortas y nunca se superponen.

npm run captions marca la etapa como completada.

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.

Skills relacionados