Timed tts dubbing

From XuShuwenn/RedAct · View interactive version

Timed tts dubbing is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Generate and align TTS audio to subtitle windows, loudness-normalize to ITU-R BS.1770-4 (-23 LUFS), and mux into a video with tight timing tolerances.

How to use this skill

Skill file

Precise Timed TTS Dubbing

A reusable workflow for multilingual dubbing where synthesized speech must align to subtitle windows, meet broadcast loudness (-23 LUFS, ITU-R BS.1770-4), and be muxed into a video with strict start and end drift limits.

When to Use

Use this skill when you must:

Core Workflow

  1. Inputs and Targets
  1. Parse SRT windows and texts
  1. Synthesize TTS per segment
  1. Match segment duration
  1. Loudness normalization to -23 LUFS
  1. Placement and mixing
  1. Mux new audio into the video
  1. Reporting and validation

Verification

Common Pitfalls and How to Avoid Them

Optional Script Usage

This skill includes a helper script with reusable utilities.

Examples:

{

"base_duration_sec": 12.05,

"segments": [

{"path": "seg_0.wav", "start_sec": 0.0},

{"path": "seg_1.wav", "start_sec": 3.5}

]

}

Success criteria:

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.