Multilingual video dubbing

From XuShuwenn/RedAct · View interactive version

Multilingual video dubbing is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Create multilingual video dubbing with TTS, audio normalization to ITU-R BS.1770-4, and synced video output.

How to use this skill

Skill file

Multilingual Video Dubbing

When to Use

Critical Requirement

Input Files

Required Workflow

  1. Choose a TTS path only after confirming it works with local assets already present.
  2. Run a tiny smoke test first: synthesize one very short utterance and prove you can produce /outputs/tts_segments/seg_0.wav as 48000 Hz mono WAV.
  3. Validate a minimal end-to-end path before scaling up: place the sample on the timeline, mux /outputs/dubbed.mp4, measure LUFS, and write /outputs/report.json.
  4. As soon as one acceptable TTS path works, stop retrying alternative engines unless the result is unusable.
  5. If a synthesis command times out twice, hangs, or cannot quickly list voices, load models, or produce a short sample, treat it as non-viable in the current environment and switch to a simpler proven local method.
  6. Prefer direct available CLI or tool workflows for the first pass; add wrappers or broader automation only after the full pipeline is confirmed.
  7. Fit each segment to its subtitle window using rate_adjust, pad_silence, or trim, then normalize and mux the final dubbed audio.
  8. Do not stop at intermediate artifacts; finish all listed outputs.

Required Preflight

Required Preflight

Output Files

  1. /outputs/tts_segments/seg_0.wav: TTS audio (48000 Hz, Mono, human quality)
  2. /outputs/dubbed.mp4: Video with dubbed audio
  3. /outputs/report.json: Dubbing report

Execution Guardrails

Execution Guardrails

Audio Requirements

Timing Constraints

report.json Fields

{
  "source_language": "en",
  "target_language": "ja",
  "audio_sample_rate_hz": 48000,
  "audio_channels": 1,
  "original_duration_sec": 12.34,
  "new_duration_sec": 12.34,
  "measured_lufs": -23.0,
  "speech_segments": [...]
}

Use this top-level schema exactly. Do not replace it with custom keys such as workflow_metadata, video_info, audio_info, or segments.

Final Validation

Final Validation

Before declaring success, verify the delivered final files /outputs/dubbed.mp4 and /outputs/report.json, not intermediate renders.

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.