Favicon of YouDub-webui

YouDub-webui

Self-hosted AI video dubbing software for YouTube, Bilibili and local files. Runs on Windows, Linux and macOS under Apache 2.0.

YouDub-webui is a self-hosted video translation and dubbing app for creators and small teams who want to process media on their own hardware. It accepts YouTube and Bilibili links or local video files, then produces translated subtitles, cloned-voice dubbing, or both. English-to-Chinese dubbing for YouTube is its most established workflow; it also supports Chinese-to-English dubbing for Bilibili.

The app uses Whisper for speech recognition, Demucs to separate speech from background audio, and VoxCPM2 for voice generation. Dubbed videos retain the source music and sound effects. You can also keep the original audio and add burned-in subtitles, or export dubbing without visible subtitles. For local files, an already translated SRT subtitle file lets you skip transcription and automatic translation.

Media processing runs locally. Translation uses an OpenAI-compatible Chat Completions API, which can point to a local service or a cloud provider. A cloud provider receives the text sent for translation. Downloading online videos and fetching models need internet access; task records, cookies, logs and generated videos stay on your machine.

It's open source under Apache 2.0 and runs on Windows, Linux, WSL2 and macOS. An NVIDIA CUDA GPU is recommended for full video processing. CPU processing is possible for parts of the workflow, but transcription, audio separation and speech generation can be very slow.

The browser interface shows task history, progress and errors, with playback and MP4 downloads for finished videos. Failed jobs can resume at the failed stage and reuse completed work.

Similar to YouDub-webui