video-dubbinglisted
Install: claude install-skill yyert123/miragea-skills
# Video Dubbing (translate a video in your own voice)
One video in, the same video speaking another language in the creator's own voice. You (the agent)
are the translator: you see each line with its time budget and write a translation that fits. The
script does the precise work: sentence-level timing, voicing, sync, mixing, captions, loudness.
## When to use
- "Dub this video into Spanish in my voice."
- "Make Hindi and Portuguese versions of my YouTube video."
- "Translate my course lesson / product demo into German, with subtitles."
- "I want a multi-language audio track for YouTube."
## Steps
1. Check `MIRAGEA_API_KEY` is set (never print it) and `ffmpeg -version` works. A voice is needed:
`MIRAGEA_VOICE_ID` (a saved Miragea voice), or `MIRAGEA_REF_URL` (public URL of a 5-15 s clean
clip of the speaker) + `MIRAGEA_REF_TEXT` (its exact words). Only clone a voice the user owns or
has permission to use.
2. Prepare: `python scripts/dub.py prep talk.mp4 --to es`
Transcribes once (cached in `talk.mp4.transcript.json`, shared with video-captions and
video-to-shorts) and writes `talk.es.dub.json`: one line per sentence with `start`, `room`
(seconds until the next line) and `max_chars` (what fits in that room at a natural pace).
3. Translate: fill every line's `"text"` in `talk.es.dub.json`. Rules:
- spoken, natural target language (how a native creator would say it), same meaning, same tone;
- stay under `max_chars`; when tight, drop filler, not facts;