# YouDub Desktop

> Desktop app that transcribes, translates and re-voices a video in another language

- Category: Multimodal Generation / Audio, Music & Voice
- Language: TypeScript
- Licence: Apache-2.0
- Repository: https://github.com/liuzhao1225/YouDub-Desktop
- Website: https://liuzhao1225.github.io/YouDub-Desktop/
- Canonical page: https://ai-tldr.dev/tools/youdub-webui/
- Updated: 2026-11-13

## In short

YouDub Desktop is an open-source video localization workspace. It sits in the Audio, Music & Voice category of the Multimodal Generation tools and is open-source, written in TypeScript and licensed Apache-2.0. To get started: download and install.

## Overview

YouDub Desktop is an open-source video localization workspace. You import a video — a local file or a single YouTube, Shorts, Bilibili or b23.tv link — and it recognises the speech, translates it, clones the voice sentence by sentence from the source audio and renders the result. Each task produces one of three outputs: the original audio with burned-in target-language subtitles, a dubbed video (optionally keeping the separated background audio), or a dubbed video with subtitles and optional forced alignment.

The project began as YouDub WebUI, a self-hosted FastAPI backend plus Next.js frontend, and was rebuilt and renamed as a desktop application, with packaged releases starting at v0.0.1 in October 2026. It ships as an Electron app for Windows x64 (installer or portable ZIP) and Apple Silicon Macs on macOS 14 or later. It is built on the DeepSeek Harness framework: tasks, workflows, subtitles, dubbing and resources all run as plugins, and processing is described as a node workflow that supports branches, joins and manual correction steps. The old FastAPI/v1 entry points were removed; the product API is `/api/v2`.

On first launch the app prepares its own Python environment, FFmpeg and the models needed by the chosen workflow, separately from any system Python. Translation runs through a model provider you configure (address, protocol, API key and model), and the README requires that model to accept at least 65,535 output tokens. The language catalog covers English, Chinese and Japanese, with support depending on the provider, and the default workflow accepts videos up to 4 GiB, 10 minutes, 1920 pixels per side and 60 fps. Linux and Intel Mac installers are not provided; those platforms can run it from source.

## What it does

- Three output modes per task: original audio plus subtitles, dubbing, or subtitles plus dubbing
- Sentence-level voice cloning: each translated sentence uses the matching source sentence's audio as its voice reference
- Vocal and background separation with a bundled Demucs submodule, so background audio can be kept under the dub
- Whisper recognition with NLTK Punkt sentence segmentation and word timestamps to locate each sentence's source audio
- Node-based workflows with branches, joins and manual confirmation steps, plus rerunning a task from a selected step
- Task library with covers, step-by-step progress, errors and artifacts; cancel, retry, play or download the dubbed video, audio and subtitles
- Plugin architecture managed from the Extensions page, with Host, Client and Python plugin examples in the repo
- Native installers for Windows x64 and Apple Silicon macOS; the macOS build is signed and notarized

## Getting started

Most people install the packaged desktop app. Windows 10 22H2 / Windows 11 (x64) and Apple Silicon Macs on macOS 14+ are supported. You need an API key for a translation model; speech, separation and voice models are downloaded by the app for the workflow you pick.

1. Download and install

   Grab the Windows installer (`YouDub-windows-x64-Setup.exe`, installs per-user without admin rights), the portable Windows ZIP, or the macOS DMG from the latest GitHub release. On macOS, drag YouDub into Applications. Each download has a `.sha256` file next to it for verification.

2. Prepare the runtime on first launch

   Pick the interface language and a data directory. The app then downloads its own Python and base dependencies; FFmpeg, inference dependencies and models are prepared per workflow when you open it. A diagnostics log is available if preparation fails.

3. Add a translation model

   During first setup or in Settings → Models, add a provider, API key and translation model. The model must support at least 65,535 output tokens; incompatible endpoints report an error.

4. Import a video and create a task

   In the workspace, drop in a video file or paste a single YouTube, Shorts, Bilibili or b23.tv link, choose the source and target language and the output mode, adjust the workflow's node options, prepare the required resources and start the task.

5. Follow progress and download the result

   The task library shows each task's processing steps and status. Open a finished task to preview the video and download the dubbed video, dubbed audio and both subtitle files.

6. Or build it from source

   Developers can run it from the repository with Node.js `^22.19.0 || >=24.0.0`, npm and Git. Initialize submodules when cloning (Demucs is a submodule), then run these from the repo root; `npm run package:desktop -- --dir` builds the standalone Electron app.

```bash
git clone --recurse-submodules https://github.com/liuzhao1225/YouDub-Desktop.git
cd YouDub-Desktop
npm ci --registry=https://registry.npmmirror.com
npm --prefix apps/web ci --registry=https://registry.npmmirror.com
npm --prefix apps/harness ci --registry=https://registry.npmmirror.com
npm run build:framework
npm run build:youdub
npm start
```

## When to use it

- Republish your own English videos for a Chinese-speaking audience with a voice cloned from the original speaker
- Burn translated subtitles into a video while keeping the original audio, when a dub would be wrong for the material
- Localize YouTube or Bilibili clips on your own machine instead of uploading the footage to a hosted dubbing service
- Build a custom localization pipeline by adding your own source, provider or workflow plugins

## Version history

- 2026-11-13 v0.0.13: Fixed long-video translations stopping partway by re-aligning Whisper word timestamps per sentence and translating one sentence at a time, so finished sentences survive a retry. Translation models now need structured output and a 65,535-token output limit.
- 2026-10-15 v0.0.1: First packaged desktop release: a signed and notarized Apple Silicon macOS app that prepares Python, FFmpeg and models on first launch, replacing the self-hosted web setup.
