/video-studio:localise-dubfrom video-studio
Localises and dubs finished videos into other languages: transcribes, translates, generates subtitles (SRT/VTT/TTML), and creates offline TTS voice-overs time-fitted to original lines. Best for explainers, tutorials, and talks.
Ships in video-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Same edit, new language: subtitles you can trust, and a dub that lands on the original timing.
dual-subs (bilingual captions) · alternatives minimal-mono, news-desk, chapter-pro--genre localise-dub (see python CORE/scripts/editor.py genre localise-dub)CORE = that folder, SKILLS = the skills folder.python CORE/scripts/check_env.py and fix what it reports.| step | local? | how |
|---|---|---|
| speech to text | yes | transcribe.py (faster-whisper), any Whisper language |
| translation | partly | Claude translates the transcript text in the conversation (default), or an optional local model: Opus-MT / MarianMT (pip install transformers sentencepiece torch, one model per language pair, CC-BY weights). NLLB and Seamless weights are non-commercial. Not installed by default |
| subtitles | yes | deliver.py writes SRT/VTT/TTML from a words file |
| voice-over | yes, voice-limited | tts.py: kokoro (if installed; English plus a few other languages, voice prefix sets the language), Windows SAPI (only the voices installed in Windows Speech settings), macOS say, espeak-ng (robotic, many languages) |
| music + effects bed | optional | stems.py needs pip install demucs (slow on CPU); or the original M&E stem from the user |
| voice cloning | no | XTTS/F5 weights are non-commercial and not part of this pack |
| lip-sync | no | needs heavy optional models (LatentSync, Wav2Lip = non-commercial); say so, offer a voice-over style dub instead |
Structure. The original structure stays 100%. Localisation changes words and voices, not the edit.
Pacing and timing. Each translated line must fit the time the original line had. Translations run 10-30% longer
(German, Spanish, Hindi) or shorter (Chinese). Fit in this order: rewrite shorter (best), adjust TTS --rate within
0.85-1.15 (about +-15%), let the line borrow up to 0.3 s of the following pause, and only then extend the shot
(a freeze or slower B-roll in a re-edit). Never speed a voice above 1.15: it sounds rushed.
Cut rules. No new cuts. Keep the original J/L timing: the dub line starts where the original line started (+-0.1 s), so on-screen actions and graphics still match the words.
Transition grammar. Unchanged from the original.
Music and sound. Dub over the music-and-effects bed (no original voice). If there is no M&E, either separate it
(stems.py) or keep the original voice ducked ~18 dB under the dub ("UN-style" voice-over), which is honest and
common for interviews. Same loudness as the original (-14 LUFS / -1 dBTP for web).
Colour. Untouched. Re-use the original grade.
Captions. Target-language subtitles, sentence case, <= 42 chars per line, <= 17-20 cps (Netflix-style rules
built into deliver.py). Burned-in creator captions in the new language only if the original had them.
Translated on-screen text (titles, lower thirds, cards) must be edited in the plan too.
What the client judges. Natural sound, timing, translation accuracy, and that names and terms are consistent.
Common mistakes. Literal translation that overruns the line; speeding TTS to 1.4x; original voice bleeding under the dub; untranslated graphics; subtitles that still follow the source sentence breaks; promising lip-sync.
The original work folder W (with plan.json, words.json, cut.mp4, final.mp4) is the best starting point.
From a finished file only, make one with the genre preset (no cutting):
python CORE/scripts/run.py video.mp4 --style SKILLS/dual-subs --genre localise-dub --format 16:9 --no-cut --model small --work W --stop-after plan
W/transcript.json (source words) and W/words.json (cut timeline) exist. Group the
words into sentences with their start/end and write W/loc/es/lines.json:
[{"id": 1, "start": 0.42, "end": 3.10, "src": "Here are three mistakes.", "text": ""}].src into text (Claude in the conversation, or Opus-MT if installed), keeping the glossary.
Aim for the same length; mark lines that are > 15% longer and shorten them.python CORE/scripts/tts.py --list-voices
python CORE/scripts/tts.py --text "Aquí tienes tres errores." --out W/loc/es/l001.wav --voice "Microsoft Helena Desktop" --rate 1.0
Compare each WAV's length (ffprobe) with end - start; re-run with --rate = tts length / slot length, clamped to
0.85-1.15. Still too long: shorten the text.
4. Bed without the original voice (optional, needs demucs):
python CORE/scripts/stems.py W/cut.mp4 --out W/stems
Then make a copy of the picture with the bed as its audio (plain FFmpeg, no filters):
ffmpeg -i W/cut.mp4 -i W/stems/music.wav -map 0:v -map 1:a -c:v copy -c:a aac -shortest W/cut_me.mp4.
Copy the plan per language: W/plan_es.json (same folder, so relative paths still work). Then:
"source": "cut_me.mp4" and "audio": {"platform": "youtube", "voice": false} (do not run
the dialogue chain on music). Voice-over style without an M&E: make a copy with the original sound about 18 dB down,
ffmpeg -i W/cut.mp4 -map 0 -c:v copy -af volume=0.12 W/cut_vo.mp4, and use "source": "cut_vo.mp4" with the same
"voice": false."sfx": [{"t": 0.42, "file": "loc/es/l001.wav", "gain": 1.0}, {"t": 3.55, "file": "loc/es/l002.wav", "gain": 1.0}].W/loc/es/words.json = {"language": "es", "words": [{"w": "Aquí", "start": 0.42, "end": 0.70}, ...]}
by spreading each line's words over its slot by character count (or run tts.py --words per line and offset the
times by the line's t). Put the same list in the plan's "words" so captions and ducking follow the dub.text, headline, card, lowerthird, titlecard field in elements.
Check fonts cover the script (theme.fontsUrl, e.g. Noto Sans Devanagari for Hindi).dual-subs skin follow its notes for the second line."outputFile": "final_es.mp4", then python CORE/scripts/render.py W/plan_es.json --frames 2,10,20 and
python CORE/scripts/render.py W/plan_es.json, python CORE/scripts/finish.py W/plan_es.json --platform youtube.deliver.py takes words from the plan when you give it a plan; to attach a specific language's subtitles, give it
the video and --words:
python CORE/scripts/deliver.py W/final_es.mp4 --to youtube --words W/loc/es/words.json --out-dir W/deliver_es --burn no
python CORE/scripts/deliver.py W/final.mp4 --to youtube --words W/loc/hi/words.json --out-dir W/subs_hi --burn no --no-thumbs --no-post
python CORE/scripts/qc.py W/deliver_es/final_es_youtube.mp4 --plan W/plan_es.json --platform youtube
The second line makes Hindi subtitles for the original-language video (upload captions.srt as an extra track).
Deliver per language: dubbed master, .srt/.vtt/.ttml, the untouched original master, and the M&E/no-vocals stem.
qc.py silence and loudness pass).qc.py caption checks).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-localisation, dubbing, subtitles, translation, tts, voice-over
npx claudepluginhub viprasol-tech/claude-video-editing-skills --plugin video-studio95 skills in this plugin
/accessibility-packAccessibility pack for any finished Video Studio edit: SDH subtitles with [sound] tags and speaker IDs, broadcast-rule caption files (SRT, VTT, TTML), a clean transcript, an audio-description (AD) script written from the picture, and an AD voice track mixed into a separate described version. Use when the user says 'make it accessible', 'add SDH captions', 'subtitles for the deaf and hard of hearing', 'closed captions file', 'audio description', 'described version', 'WCAG captions', 'caption file for LMS / broadcaster', 'transcript for the video'. Runs on video-studio-core (deliver.py captions, tts.py, finish.py mix, qc.py). Works after any genre skill./ad-ladderAd ladder editor for Claude: turns one commercial shoot (talent takes, product shots, supers, a licensed track) into a full ad package - a 60 s or 30 s story master, a 15 s cutdown and a rebuilt 6 s bumper, each frame-exact, in 16:9, 1:1, 4:5 and 9:16, captioned and textless, mixed to platform or broadcast loudness. Use when the user says 'cut a 30 and a 15', 'make ad cutdowns', 'we need a 6 second bumper', 'versions for every placement', 'TV spot and social versions', 'ad package', or hands over a commercial shoot with a script. Runs on video-studio-core (selects, story, timeline, colour, mix, deliver, QC).Other plugins' skills for the same job