Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
Dub Studio logo

Dub Studio

Free, offline AI video dubbing studio for Windows — re-voice any video into another language with a cloned voice, translated captions, and on‑screen‑text localization. 100% local, zero Python: one native .exe (Rust + C++/CUDA); every model and engine downloads with a button.

License Stars Latest release Downloads Last commit

English · Русский · 中文 · Español · Português · Français

🌐 Live demo & before/after video showcase →

Dub Studio — AI video dubbing on Windows

What it is

Dub Studio turns any video into a dubbed version in another language — with the speaker's own voice cloned, captions translated, and on‑screen text localized right on the frame. Drop a clip, and a smart auto‑pass builds the first draft; then a live editor puts every caption, voice, blur box, font and title under your control with an instant preview.

By default everything runs locally on your machine — no cloud, no subscription; your footage and your voiceprint never leave your computer. And if your PC is weak (can't run the local Gemma/Higgs) or you want more speed and quality, the heavy stages (translation, vision, TTS, transcription) can optionally be offloaded to the cloud via OpenRouter — each engine picked independently (local ↔ cloud), with voices auto-cast by speaker gender (beta). The key is stored locally; everything is off by default.

It's a fully native rewrite. No embeddable Python, no torch, no CUDA wheels. The whole pipeline is Rust + native C++/CUDA engines (GGUF/ONNX): one process, fast startup, low VRAM. Models, engines, CUDA/VC++ runtime and ffmpeg are downloaded and installed by the app itself on first run. An NVIDIA GPU is what the app is built and tested for: voice, translation and vision run on CUDA locally, and subtitles are burned into the video with NVENC. Separation, diarization and recognition can run on the CPU and the heavy stages can go to OpenRouter, but a machine without NVIDIA is not a tested setup - see What runs where below.

See it in action

▶ Watch the before/after video showcase → — real clips dubbed end‑to‑end on a local GPU: different videos, different modes, different languages, nothing left the machine.

Full dub, Russian UIVoice-over, Spanish UIFull dub, Chinese UI, CJK captions
🎙️ Full dub · EN→RU🗣️ Voice-over · EN→ES🈶 Full dub · →中文, CJK on frame
Subtitles, Russian UIFull dub, widescreen, French UITranscript, Portuguese UI
📝 Subtitles · original-lang🎬 Full dub · widescreen 16:9🔤 Transcript · diarized

For AI agents

While Dub Studio is open it serves MCP at http://127.0.0.1:8793/mcp: an agent such as Claude Code, Claude Desktop, Cursor or Codex does everything the window does, through the same code — makes projects of video files, analyzes them, fixes the translation, timing and speakers line by line, casts the voices, styles the subtitles, adds titles and blur boxes, renders, exports the same video in more languages, writes SRT and TXT, and saves the results to a folder. Settings, Agent (MCP) shows whether an agent is connected and what to paste into the client.

Given this repository, an agent can set everything up and drive the studio by itself:

  1. Install the studio from the latest release and start it.
  2. Connect to its MCP server:
    claude mcp add --transport http dub-studio http://127.0.0.1:8793/mcp
    Other clients: { "mcpServers": { "dub-studio": { "type": "streamable-http", "url": "http://127.0.0.1:8793/mcp" } } }
  3. Read the skill the server serves (resource studio://skill, prompt studio), the same text as docs/mcp-skill.md — every tool, the ground rules and step-by-step recipes — and start with the tool studio_status.

llms.txt says the same for tools that look for it. To keep the skill in Claude Code, save docs/mcp-skill.md as ~/.claude/skills/dub-studio/SKILL.md. Only agents on this computer and the studio's own window may connect.

Five modes, switchable on the fly

ModeWhat it does
🎙️ DubFull re-voice into the target language with the original timbre cloned — auto-cast per speaker or pick a voice
🗣️ Voice-overTranslated voice over the ducked original — the source is still audible underneath; balance is adjustable
📝 SubtitlesBurn original-language captions, keep the original audio — no dubbing, no translation
✨ Funny remixGive a theme ("as a pirate", "as a news report") → the model rewrites the whole script, then re-dubs
🎬 TranscriptClean diarized transcript with per-speaker layout, karaoke play-along, one-click voice creation, .srt/.txt export

Load a clip once and send it into any mode — right inside the editor.

Features

  • Voice cloning — the original timbre is cloned and speaks the new language: Higgs Audio v3 (default), Qwen3-TTS, Fish Audio Drama 3 and Audio8 TTS clone, Supertonic 3 speaks its own voices, and OpenRouter or Google Gemini voice in the cloud. Each speaker is cloned separately, or takes a voice from the library.
  • Speakers & voices — every speaker in one row with the detected gender: create a voice from that speaker, pick a library voice or keep cloning from the video, preview it, or Pick by gender for everyone at once.
  • Voice library — the cloud catalogue of 1,600 voices with name, gender, age, language, description and length: filter, search, listen and download the picked ones or all shown; import your own voices (WAV, MP3, FLAC, M4A, OGG or a .zip).
  • Interface scale — the whole window from 90 to 150 % (Settings → Interface, Ctrl + plus / minus / 0).
  • Speaker diarization — who speaks and when (NVIDIA Nemotron 3 Diarization, up to 8 voices), a distinct voice per speaker.
  • Character casting (beta) — a character is a face + voice pair. The app gathers faces across the whole video, recognizes the same person and binds them to a speaker by co-occurrence (the one on camera in close-up gets the voice, a background listener doesn't); it auto-picks the clearest avatar frame and saves a casting profile for the whole series — assign voices and character descriptions once, and the next episode applies them automatically. A real-faces / cartoon·anime toggle switches the face detection accordingly.
  • Choice of ASR engine — Parakeet-TDT v3 (default), Parakeet Ultra or CrisperWhisper 2.0 turbo (99 languages, word times), on the card or the processor; under «Auto» the language is heard by VoxLingua107.
  • Import ready-made subtitles — bring your own .srt/.ass as the exact transcript: text and timing come straight from the file instead of auto-recognition (speakers are still auto-assigned by diarization). Tick “subtitles already in the target language” and translation is skipped too — an English clip + your Russian subs → a Russian dub straight from them, no ASR and no MT.
  • Multi-language export — the ▾ next to Export sends one video into several languages at once; each inherits all your edits (subtitle layout, styles, blur boxes, cloned voice) — only the text is re-translated and re-voiced.
  • Save & reopen projects — autosave, a list of recent projects on the start screen, and jump back into unfinished work in one click.
  • Searchable voice & language pickers — type part of a name to filter hundreds of voices or 100+ languages; languages also match by their name in your UI language.
  • Composable pipeline — independent toggles at the input: audio (original / dub / voiceover / transcript) × subtitles (none / original / translated) × burn-in on/off × funny remix. Any combination — dub without subtitles, translated subtitles without dubbing, funny dub with your own voices — in batch and in the editor too.
  • On-screen text localization — OCR detects baked-in text (PP-OCR ONNX), blurs the original and prints a localized title on top in a matched style — a feature no other tool has.
  • Translation + vision style analysis — the transcript is translated locally with Gemma-4 12B (GGUF, llama.cpp); a vision pass reads the frame layout: caption style, titles, brands, text zones.
  • SOTA vocal separation — Mel-Band Roformer (native BSRoformer.cpp on CUDA) splits voice from music, so the backing track is preserved and the clone latches onto clean speech.
  • 26 caption presets — karaoke / word-by-word / hormozi / neon and more, rendered on your own frame (WYSIWYG, JASSUB over the same .ass that ffmpeg burns).
  • Karaoke transcript — play the video and follow along as the current line and the current word light up in the transcript.
  • Live editor — edit transcript, voices, caption style, blur boxes, titles; ~0.17 s/frame preview, every change visible instantly.
  • Smart re-gen — export re-synthesizes and recomputes only the segments you changed, not the whole clip.
  • Add your own lines — insert custom phrases into the transcript; each is voiced in the speaker's cloned voice and shown in the subtitles.
  • Batch processing — a queue of files, all run with one setup, per-file progress.
  • Before/after compare — original and dub side by side.
  • 100+ languages — dub into any major language (Spanish, Chinese, Japanese, Arabic, Hindi and more), with source-language auto-detect.
  • Any video format — MP4, MOV, MKV, WEBM, AVI and more (decoded via ffmpeg).
  • One-button setup + resumable downloads + in-app auto-update — models, engines, CUDA/VC++ runtime and ffmpeg download on first run; large models (10 GB+) resume from where they stopped after a dropped connection instead of restarting; the app updates itself.
  • Run each stage where you want — separation, diarization and recognition each switch independently between GPU and CPU, and recognition, translation, vision and voice can be offloaded to OpenRouter. The What runs where table below lists what each stage can actually use.
  • Tune for your hardware — every engine ships multiple quants (TTS Q8/Q6/Q4, translation Q4…Q8, separation Q8/Q5/Q4) — switch in settings; cap the prefill batch and voice-reference length to fit 8–12 GB GPUs and 32 GB RAM; on a card of 8 GB and less the translation server fits its layers to the free memory by itself.
  • The whole app in your language — progress, errors, setup, casting and the reports an agent reads come in the six languages of the window.
  • Google Gemini voices — Gemini TTS beside the local engine and OpenRouter, with its own key and a live model list; Batch runs at half the price, and a stopped render picks up the same paid batch.
  • Number of speakers — leave it automatic or set 1 to 8 people; voices are matched across a long recording, which is transcribed in windows of about 90 seconds.
  • Even out loudness — a switch, on by default: phrases at one level and the dub at -14 LUFS with a -1 dBTP ceiling; off, the mix stays as it came.
  • Fully portable — nothing is written to your user profile; delete the folder and no trace remains.

Screenshots

Home — five modes, a preview of the selected video, language pickers, any video format:

Dub Studio home screen

Transcript mode — diarized transcript with per-speaker layout, karaoke play-along and one-click voice creation from each speaker:

Dub Studio transcript mode

Requirements

  • OS: Windows 10 / 11 (x64); Linux x86-64 as an experimental build (see Linux (experimental))
  • GPU: NVIDIA with 8 GB of VRAM or more (presets exist for 8, 12, 16, 24 and 32 GB) and a recent driver. Local voice (Higgs Audio), translation and vision (Gemma) run on CUDA, and subtitles are burned in with NVENC. Without NVIDIA only the stages that What runs where marks for the CPU or the cloud can run, and that setup is not tested
  • WebView2 — preinstalled on Windows 11; on Windows 10 the installer fetches it (see Troubleshooting if that fails)
  • Disk: ~15 GB for the default models, engines and runtime (fetched on first run), plus room for your projects; the alternative quantizations and Whisper models are extra

On an NVIDIA machine the only thing you install by hand is a recent NVIDIA driver. Everything else — models (Higgs Audio v3, Gemma-4 12B + vision, Parakeet-TDT, Nemotron 3 Diarization, Mel-Band Roformer), engines, CUDA runtime and ffmpeg — the app downloads with a button on first run.

Quick start

  1. Download the portable build from Releases and unzip anywhere (or install via -setup.exe).
  2. Run Dub Studio.exe.
  3. On the First-run panel press Download all — the app fetches models, engines and runtime (~15 GB, once). If the NVIDIA driver is missing, the button opens the download page.
  4. Drop a video, pick a target language → the auto-pass makes the first draft. Fine-tune everything in the editor and hit Export.

Everything downloads and lives inside the app folder. Models, caches and projects go nowhere else.

What changed and when is in CHANGELOG.md, and the sparkles button at the top of the app shows it. Rules for contributors and coding agents: AGENTS.md.

Everything the app downloads

The first-run panel fetches all of this with one button. Behind a proxy, or where Hugging Face is blocked, set the proxy in Settings → Network: as in Windows, your own (HTTP, HTTPS, SOCKS5 or SOCKS4; a seller's host:port:login:password works as it is) or none. Model downloads, the cloud and app updates all go through it. You can also download the direct files yourself, put them where the last column says, counted from the app folder (the one that holds models\), and press Import from folder; the archive components (.zip, .whl) the app downloads itself.

A file in the listed place counts as installed when its size is exactly the listed one; every download is checked against the file's pinned SHA-256 before it is used, and a file already in place is checked the same way before it is skipped. Import from folder (in the first-run panel and in the model settings) finds a component's files by name and exact size in the folder you choose and links or copies them into place. Components that come as zip or wheel archives (engines, runtimes) are not imported and count as installed only when the app downloaded them itself: it keeps a record of the checked archive next to the unpacked files. Sizes and hashes are those of the app's own manifest, crates/dub-server/src/setup.rs, and this table is checked against it.

The Visual C++ runtime and the PP-OCR models come inside the release and are not downloaded; the NVIDIA driver is installed on its own.

ComponentNeedFiles (direct links)SizePut it in
Higgs Audio v3 Q8_0requiredq8_0.gguf → models\higgs-q8_0\q8_0.gguf
config.json → models\higgs-q8_0\config.json
chat_template.jinja → models\higgs-q8_0\chat_template.jinja
tokenizer.json → models\higgs-q8_0\tokenizer.json
tokenizer_config.json → models\higgs-q8_0\tokenizer_config.json
higgs_audio_v2_tokenizer_config.json → models\higgs-q8_0\higgs_audio_v2_tokenizer_config.json
5.5 GBas is, to the path after the arrow
audio.cpp server (Higgs, CrisperWhisper, Parakeet, Supertonic, Audio8, Nemotron)requiredaudiocpp-server-win-cuda13-x64.zip138 MBunzip the files, without subfolders, into tools\audiocpp\
Gemma-4 12B QAT q4_0 + visionrequiredgemma-4-12b-it-qat-q4_0.gguf → models\mt\gemma-4-12b-it-qat-q4_0.gguf
mmproj-gemma-4-12b-it-qat-q4_0.gguf → models\mt\mmproj-gemma-4-12b-it-qat-q4_0.gguf
7.2 GBas is, to the path after the arrow
Gemma-4 12B Q5_K_M + visionoptionalgemma-4-12b-it-Q5_K_M.gguf → models\mt-q5_0\gemma-4-12b-it-Q5_K_M.gguf
mmproj-F16.gguf → models\mt-q5_0\mmproj-F16.gguf
8.6 GBas is, to the path after the arrow
Gemma-4 12B Q6_K + visionoptionalgemma-4-12b-it-Q6_K.gguf → models\mt-q6_k\gemma-4-12b-it-Q6_K.gguf
mmproj-F16.gguf → models\mt-q6_k\mmproj-F16.gguf
10.0 GBas is, to the path after the arrow
Gemma-4 12B Q8_0 + visionoptionalgemma-4-12b-it-Q8_0.gguf → models\mt-q8_0\gemma-4-12b-it-Q8_0.gguf
mmproj-F16.gguf → models\mt-q8_0\mmproj-F16.gguf
12.8 GBas is, to the path after the arrow
Parakeet-TDT 0.6B v3 Q8_0 (transcribe.cpp)requiredparakeet-tdt-0.6b-v3-Q8_0.gguf → models\asr-gguf-parakeet-v3\parakeet-tdt-0.6b-v3-Q8_0.gguf740 MBas is, to the path after the arrow
transcribe.cpp engine (CUDA)requiredtranscribe-windows-cuda13-x64.zip131 MBunzip the files, without subfolders, into models\transcribe-engine\
transcribe.cpp engine (CPU)optionaltranscribe-windows-cpu-x64.zip5 MBunzip the files, without subfolders, into models\transcribe-engine-cpu\
transcribe.cpp engine (CUDA 12)optionaltranscribe-windows-cuda12-x64.zip159 MBunzip the files, without subfolders, into models\transcribe-engine-cuda12\
transcribe.cpp engine (Vulkan)optionaltranscribe-windows-vulkan-x64.zip19 MBunzip the files, without subfolders, into models\transcribe-engine-vulkan\
Higgs Audio v3 Q6_Koptionalq6_k.gguf → models\higgs-q6_k\q6_k.gguf
config.json → models\higgs-q6_k\config.json
chat_template.jinja → models\higgs-q6_k\chat_template.jinja
tokenizer.json → models\higgs-q6_k\tokenizer.json
tokenizer_config.json → models\higgs-q6_k\tokenizer_config.json
higgs_audio_v2_tokenizer_config.json → models\higgs-q6_k\higgs_audio_v2_tokenizer_config.json
5.0 GBas is, to the path after the arrow
Higgs Audio v3 Q4_K_Moptionalq4_k_m.gguf → models\higgs-q4_k_m\q4_k_m.gguf
config.json → models\higgs-q4_k_m\config.json
chat_template.jinja → models\higgs-q4_k_m\chat_template.jinja
tokenizer.json → models\higgs-q4_k_m\tokenizer.json
tokenizer_config.json → models\higgs-q4_k_m\tokenizer_config.json
higgs_audio_v2_tokenizer_config.json → models\higgs-q4_k_m\higgs_audio_v2_tokenizer_config.json
4.1 GBas is, to the path after the arrow
Fish Audio Drama 3 Q4 + drama_engine (24 GB+ GPU)optional.gitattributes → models\drama3\.gitattributes
LICENSE → models\drama3\LICENSE
NOTICE → models\drama3\NOTICE
README.md → models\drama3\README.md
codec.safetensors → models\drama3\codec.safetensors
drama.json → models\drama3\drama.json
globals.safetensors → models\drama3\globals.safetensors
layer00.safetensors → models\drama3\layer00.safetensors
layer01.safetensors → models\drama3\layer01.safetensors
layer02.safetensors → models\drama3\layer02.safetensors
layer03.safetensors → models\drama3\layer03.safetensors
layer04.safetensors → models\drama3\layer04.safetensors
layer05.safetensors → models\drama3\layer05.safetensors
layer06.safetensors → models\drama3\layer06.safetensors
layer07.safetensors → models\drama3\layer07.safetensors
layer08.safetensors → models\drama3\layer08.safetensors
layer09.safetensors → models\drama3\layer09.safetensors
layer10.safetensors → models\drama3\layer10.safetensors
layer11.safetensors → models\drama3\layer11.safetensors
layer12.safetensors → models\drama3\layer12.safetensors
layer13.safetensors → models\drama3\layer13.safetensors
layer14.safetensors → models\drama3\layer14.safetensors
layer15.safetensors → models\drama3\layer15.safetensors
layer16.safetensors → models\drama3\layer16.safetensors
layer17.safetensors → models\drama3\layer17.safetensors
layer18.safetensors → models\drama3\layer18.safetensors
layer19.safetensors → models\drama3\layer19.safetensors
layer20.safetensors → models\drama3\layer20.safetensors
layer21.safetensors → models\drama3\layer21.safetensors
layer22.safetensors → models\drama3\layer22.safetensors
layer23.safetensors → models\drama3\layer23.safetensors
layer24.safetensors → models\drama3\layer24.safetensors
layer25.safetensors → models\drama3\layer25.safetensors
layer26.safetensors → models\drama3\layer26.safetensors
layer27.safetensors → models\drama3\layer27.safetensors
layer28.safetensors → models\drama3\layer28.safetensors
layer29.safetensors → models\drama3\layer29.safetensors
layer30.safetensors → models\drama3\layer30.safetensors
layer31.safetensors → models\drama3\layer31.safetensors
layer32.safetensors → models\drama3\layer32.safetensors
layer33.safetensors → models\drama3\layer33.safetensors
layer34.safetensors → models\drama3\layer34.safetensors
layer35.safetensors → models\drama3\layer35.safetensors
layer36.safetensors → models\drama3\layer36.safetensors
layer37.safetensors → models\drama3\layer37.safetensors
layer38.safetensors → models\drama3\layer38.safetensors
layer39.safetensors → models\drama3\layer39.safetensors
tokenizer.json → models\drama3\tokenizer.json
tower.safetensors → models\drama3\tower.safetensors
drama_engine.dll → models\drama-engine\drama_engine.dll
23.0 GBas is, to the path after the arrow
qwen.dll + ggml (Qwen3-TTS engine)optionalqwen-windows-x64.zip4 MBunzip the files, without subfolders, into models\qwen3-tts\
Qwen3-TTS 1.7B Q4_K_Moptionalqwen-talker-1.7b-customvoice-Q4_K_M.gguf → models\qwen3-tts\qwen-talker-1.7b-customvoice-Q4_K_M.gguf
qwen-talker-1.7b-base-Q4_K_M.gguf → models\qwen3-tts\qwen-talker-1.7b-base-Q4_K_M.gguf
2.4 GBas is, to the path after the arrow
Qwen3-TTS 1.7B Q8_0optionalqwen-talker-1.7b-customvoice-Q8_0.gguf → models\qwen3-tts\qwen-talker-1.7b-customvoice-Q8_0.gguf
qwen-talker-1.7b-base-Q8_0.gguf → models\qwen3-tts\qwen-talker-1.7b-base-Q8_0.gguf
4.1 GBas is, to the path after the arrow
Qwen3-TTS Russian stressoptionaladapter.safetensors → models\qwen3-tts\qwen-talker-1.7b-base-ru-stress-lora.safetensors35 MBas is, to the path after the arrow
Supertonic 3 int8optionalLICENSE → models\supertonic3\LICENSE
duration_predictor.onnx → models\supertonic3\onnx\duration_predictor.onnx
text_encoder.onnx → models\supertonic3\onnx\text_encoder.onnx
vector_estimator.onnx → models\supertonic3\onnx\vector_estimator.onnx
vocoder.onnx → models\supertonic3\onnx\vocoder.onnx
tts.json → models\supertonic3\onnx\tts.json
unicode_indexer.json → models\supertonic3\onnx\unicode_indexer.json
F1.json → models\supertonic3\voice_styles\F1.json
F2.json → models\supertonic3\voice_styles\F2.json
F3.json → models\supertonic3\voice_styles\F3.json
F4.json → models\supertonic3\voice_styles\F4.json
F5.json → models\supertonic3\voice_styles\F5.json
M1.json → models\supertonic3\voice_styles\M1.json
M2.json → models\supertonic3\voice_styles\M2.json
M3.json → models\supertonic3\voice_styles\M3.json
M4.json → models\supertonic3\voice_styles\M4.json
M5.json → models\supertonic3\voice_styles\M5.json
108 MBas is, to the path after the arrow
Audio8 TTS Realistic-Air Q8_0optionalAudio8-TTS-Realistic-Air-Q8_0.gguf → models\audio8\Audio8-TTS-Realistic-Air-Q8_0.gguf1.5 GBas is, to the path after the arrow
RUAccentoptionalmodel.onnx → models\ruaccent\nn\nn_accent\model.onnx
config.json → models\ruaccent\nn\nn_accent\config.json
vocab.txt → models\ruaccent\nn\nn_accent\vocab.txt
model.onnx → models\ruaccent\nn\nn_omograph\tiny2\model.onnx
tokenizer.json → models\ruaccent\nn\nn_omograph\tiny2\tokenizer.json
accents.json.gz → models\ruaccent\dictionary\accents.json.gz
omographs.json.gz → models\ruaccent\dictionary\omographs.json.gz
yo_words.json.gz → models\ruaccent\dictionary\yo_words.json.gz
yo_homographs.json.gz → models\ruaccent\dictionary\yo_homographs.json.gz
34 MBas is, to the path after the arrow
RUAccent omograph big_poetry int8optionalmodel.onnx → models\ruaccent\nn\nn_omograph\big_poetry\model.onnx
tokenizer.json → models\ruaccent\nn\nn_omograph\big_poetry\tokenizer.json
182 MBas is, to the path after the arrow
Parakeet Ultra 0.6B Q8_0 (Moondream, transcribe.cpp)optionalparakeet-ultra-Q8_0.gguf → models\asr-gguf-parakeet-ultra\parakeet-ultra-Q8_0.gguf740 MBas is, to the path after the arrow
CrisperWhisper 2.0 turbo (audio.cpp)optionalLICENSE.md → models\crisperwhisper2-turbo\LICENSE.md
README.md → models\crisperwhisper2-turbo\README.md
added_tokens.json → models\crisperwhisper2-turbo\added_tokens.json
config.json → models\crisperwhisper2-turbo\config.json
generation_config.json → models\crisperwhisper2-turbo\generation_config.json
merges.txt → models\crisperwhisper2-turbo\merges.txt
model.safetensors → models\crisperwhisper2-turbo\model.safetensors
normalizer.json → models\crisperwhisper2-turbo\normalizer.json
preprocessor_config.json → models\crisperwhisper2-turbo\preprocessor_config.json
special_tokens_map.json → models\crisperwhisper2-turbo\special_tokens_map.json
tokenizer.json → models\crisperwhisper2-turbo\tokenizer.json
tokenizer_config.json → models\crisperwhisper2-turbo\tokenizer_config.json
vocab.json → models\crisperwhisper2-turbo\vocab.json
1.6 GBas is, to the path after the arrow
DPDFNet noise reductionrecommendeddpdfnet2_48khz_hr.onnx → models\dpdfnet\dpdfnet2_48khz_hr.onnx10 MBas is, to the path after the arrow
Silero VAD v6.2recommendedsilero-vad-v6.2-F32.gguf → models\silero-vad\silero-vad-v6.2-F32.gguf1 MBas is, to the path after the arrow
VoxLingua107 language id (transcribe.cpp)optionallang-id-voxlingua107-ecapa-Q8_0.gguf → models\langid-voxlingua107\lang-id-voxlingua107-ecapa-Q8_0.gguf27 MBas is, to the path after the arrow
Nemotron 3 Diarizationrecommendednemotron3_diar_v3.onnx → models\nemotron-diar\nemotron3_diar_v3.onnx
LICENSE → models\nemotron-diar\LICENSE
401 MBas is, to the path after the arrow
Mel-Band Roformer voc_fv6 Q8_0recommendedvoc_fv6-Q8_0.gguf → models\bsroformer\voc_fv6-Q8_0.gguf252 MBas is, to the path after the arrow
Mel-Band Roformer voc_fv6 Q5_0optionalvoc_fv6-Q5_0.gguf → models\bsroformer\voc_fv6-Q5_0.gguf167 MBas is, to the path after the arrow
Mel-Band Roformer voc_fv6 Q4_0optionalvoc_fv6-Q4_0.gguf → models\bsroformer\voc_fv6-Q4_0.gguf139 MBas is, to the path after the arrow
Casting models (faces and voice)recommendedmodel.onnx → models\faces\det_10g.onnx
LVFace-L_Glint360K.onnx → models\faces\LVFace-L_Glint360K.onnx
model_feat.onnx → models\faces\ccip\model_feat.onnx
model.onnx → models\faces\anime_face\model.onnx
xseg_1.onnx → models\faces\occluder\xseg_1.onnx
voxceleb_resnet34_LM.onnx → models\faces\wespeaker\voxceleb_resnet34_LM.onnx
1.3 GBas is, to the path after the arrow
BSRoformer.cpp (CUDA)recommendedBSRoformer-windows-cuda13-x64.zip119 MBunzip the files, without subfolders, into tools\bsroformer\
BSRoformer.cpp (CPU)optionalBSRoformer-windows-cpu-x64.zip3 MBunzip the files, without subfolders, into tools\bsroformer-cpu\
BSRoformer.cpp (Vulkan)optionalBSRoformer-windows-vulkan-x64.zip26 MBunzip the files, without subfolders, into tools\bsroformer-vulkan\
llama.cpp server (CUDA)requiredllama-b12248-bin-win-cuda-13.5-x64.zip171 MBunzip the files, without subfolders, into tools\llama\
ONNX Runtimerequiredonnxruntime-win-x64-1.31.1.zip83 MBunzip with its folder tree into models\runtime\
ONNX Runtime GPU (CUDA)recommendedonnxruntime-win-x64-gpu_cuda13-1.31.1.zip309 MBunzip with its folder tree into models\runtime\
FFmpeg (static build)requiredffmpeg-N-128227-g4811625b5f-win64-gpl.zip202 MBtake ffmpeg.exe and ffprobe.exe from the archive into tools\ffmpeg\
yt-dlp + denooptionalyt-dlp.exe → tools\yt-dlp\yt-dlp.exe
deno-x86_64-pc-windows-msvc.zip
66 MBas is, to the path after the arrow
unzip the files, without subfolders, into tools\yt-dlp\
CUDA runtime (cudart, cuBLAS, cuFFT)requirednvidia_cuda_runtime-13.4.92-py3-none-win_amd64.whl
nvidia_cublas-13.8.0.4-py3-none-win_amd64.whl
libcufft-windows-x86_64-12.4.0.43-archive.zip
586 MBtake every .dll of the archive into models\higgs-engine\
cuDNN 9recommendednvidia_cudnn_cu13-9.27.0.42-py3-none-win_amd64.whl436 MBtake every .dll of the archive into models\higgs-engine\

What runs where

Every stage has its own switch for the device. Yes means the code has that path; the table says nothing about speed or test coverage, and the CPU paths are slower. The cloud paths need an OpenRouter key (Settings) and are off by default.

StageEngineNVIDIA GPUCPUOpenRouter (cloud)
SeparationMel-Band Roformer (BSRoformer.cpp)yes (CUDA build)yes (separate CPU build, slower)no
DiarizationNemotron 3 Diarization (audio.cpp)yes (CUDA 13 or 12.9; Vulkan on other cards)yesno
Speech recognitionParakeet-TDT v3, CrisperWhisper (audio.cpp), Parakeet Ultra (transcribe.cpp)yesyesyes
Translation and visionGemma-4 12B (llama.cpp)yes (CUDA build; Vulkan on other cards)yes (slower)yes
Voice and cloningHiggs Audio v3, Supertonic 3, Audio8 (audio.cpp), Qwen3-TTS, Fish Audio Drama 3yes (Drama 3 on CUDA only)yes (all but Drama 3, slower)yes (OpenRouter, Google)
On-screen textPP-OCRnoyesno
Casting (faces and voices)SCRFD, LVFace, anime_face, CCIP, WeSpeakeryes (ONNX Runtime CUDA)yesno
Subtitles burned into the videoffmpegyes (NVENC)nono

With no NVIDIA, voice, translation, vision and recognition can go to the cloud and separation and diarization to the CPU, but the burn-in has no CPU path, so such a machine is not a tested setup.

Troubleshooting

The installer stops on WebView2. The window of the app runs on Microsoft Edge WebView2, and the installer fetches it when Windows lacks it. On a blocked or unsteady connection, or on Windows 10 builds that refuse Microsoft's small bootstrapper (error 0x80040902), that fetch fails. Install WebView2 from Microsoft's standalone installer, Evergreen Standalone x64, then run the installer of Dub Studio again.

Downloads stall or fail. Large files resume from where they stopped, so press the button again. If Hugging Face or GitHub is blocked for you, set a proxy in Settings → Network, or download the direct files by hand from the table, put them where the last column says and press Import from folder.

Export stops with Unrecognized option 'filter_complex_script'. That was a failure on ffmpeg 8 and newer, fixed in 3.1.1: update the app. The app uses the ffmpeg in tools\ffmpeg, and when there is none it accepts one that is on the PATH. When you report an export error, attach the complete ffmpeg output from the log.

Recognition fails with MemcpyToHost or Failed to allocate memory. The GPU ran out of memory in the speech recognition of a long or large file (issue #4). Close other programs that use the GPU, or set the recognition stage to CPU in the settings, and run it again.

CUDA execution provider is not enabled, or everything lands on one speaker. The GPU libraries are missing or too old for the driver. Install the current NVIDIA driver, press the download button for the CUDA runtime, cuDNN and ONNX Runtime GPU in the model settings, or switch the stage to CPU.

How it works

analyze() is a fixed first pass: separation → ASR with word timings → diarization → context translation + vision (caption style / titles / brands) → OCR (layout / blur boxes). The result is an editable Project document. Each edit is a patch on that Project with a ~0.17 s/frame preview; export re-runs only the dirtied stages.

Stack: a native Tauri 2 (Rust) shell runs dub-server (axum) inside the same process on 127.0.0.1:8793 (the MCP endpoint for agents is /mcp on the same port) and opens a window onto the SPA — React 19 + Vite + Tailwind + react-konva over JASSUB. Engines: Parakeet-TDT or Whisper (ASR) · Nemotron 3 Diarization (diarization) · Gemma-4-12B GGUF (translation + vision, llama.cpp) · Higgs Audio v3 (TTS) · Mel-Band Roformer (separation, BSRoformer.cpp) · PP-OCR (ONNX) · ffmpeg/NVENC. Not a single Python process at runtime.

Build from source

git clone https://github.com/timoncool/dub-studio.git
cd dub-studio

cd frontend && npm install && npm run build && cd ..   # 1) SPA
cargo build --release -p dub-server                     # 2) native server (axum)
cd desktop && npm install && npx tauri build            # 3) desktop shell (Tauri)

Needs Node 20+, Rust (MSVC toolchain) and WebView2. Native engines (the audio.cpp server, transcribe.cpp, llama.cpp, BSRoformer.cpp, ONNX Runtime) don't need rebuilding — the app downloads prebuilt binaries.

Linux (experimental)

The .deb and the AppImage for Linux x86-64 are experimental. They come from the same code with the Linux builds of the same engines (llama.cpp, ONNX Runtime, BSRoformer.cpp, ffmpeg, the audio.cpp server, transcribe.cpp, yt-dlp), but the author works on Windows and has not run them on a real Linux desktop. If you live on Linux, it would be great if you polished them and sent the fixes back as a pull request.

  • Local voice needs an NVIDIA card from Turing on (GTX 16, RTX 20 and newer), as on Windows. The cloud voices work on any machine.
  • The NVIDIA driver (580 or newer), libgomp1 and libssl3 come from the system; models, engines and CUDA libraries the app downloads on first run into ~/.local/share/dub-studio ($XDG_DATA_HOME).
  • Built locally in WSL/Docker: scripts/build-linux-docker.sh <out> <models-source>.

Anonymous statistics and news

The app asks the author's server for news at start and then every hour. The request carries no id, so news arrive whatever you choose below: new items appear on top of What's new or as a strip across the top of the window, and with no connection the app shows the news of its release.

The first-run screen has a checkbox Send anonymous usage statistics, checked by default. The same switch is in Settings → Anonymous statistics, next to What is sent (the exact report of today) and New install id. While it is checked, the app sends the day's report a minute after start, every six hours, two minutes after work ends and when it closes (a later report of the same day replaces the earlier one):

  • a random install id made on this computer, not tied to the hardware or an account; unchecking the box deletes it;
  • the app and its version, the OS name and version, the window language;
  • the graphics card as vendor, a video memory bucket (up to 8, 12, 16, 24+ GB) and whether CUDA works;
  • how many tasks (analysis, dubbing, render, export, download and the others) finished, failed or were cancelled that day.
  • the models each stage ran on (voice, recognition, translation, frame analysis, separation), with how many jobs used them;
  • why a job failed, as one line with paths, names, links and anything in quotes removed on this computer before it leaves; the server keeps these reasons 30 days.

Never: videos, transcripts, translations, voices, file names or paths, anything personal. The server keeps the country Cloudflare reports for the connection, not the IP address. DO_NOT_TRACK=1 or STUDIO_TELEMETRY=0 in the environment turns statistics off entirely: no id exists and nothing is counted.

More portable AI apps

ProjectWhat it is
Speech StudioOffline voice studio — text-to-speech, voice cloning, speech recognition
ACE-Step StudioAI music studio — songs, vocals, covers, clips
YuE2 StudioAI song generator with an editable score — a native Windows app, no Python
MiniMax Music3 StudioNative local/cloud AI music studio powered by MiniMax Music 3
SuperCaption Qwen3-VLPortable image captioning

Contributing & forks

Collaborators are very welcome. I'd be genuinely happy to see Dub Studio forked to other platforms and GPUs — the architecture is capable of it, I simply don't have the bandwidth to do the ports myself. If you want it on AMD / Intel GPUs, macOS or Linux, fork it and go — PRs welcome. Linux already has an experimental build (see Linux (experimental)): polishing it is the most welcome help.

Extra localizations are just as welcome: the app and landing ship in 6 languages today — translate the locale files (frontend/src/locales/ and the dict in docs/index.html) and open a PR to add yours.

Authors

Credits

Support the author

I build open-source software and do AI research — most of what I make is freely available. Donations let me build and research more.

All the ways to support | dalink.to/nerual_dreming | boosty.to/neuro_art

  • BTC: 1E7dHL22RpyhJGVpcvKdbyZgksSYkYeEBC
  • ETH (ERC20): 0xb5db65adf478983186d4897ba92fe2c25c594a0c
  • USDT (TRC20): TQST9Lp2TjK6FiVkn4fwfGUee7NmkxEE7C

Star history

Star history chart

License

The app code is MIT. The models are not: each keeps its own license, and the ones below are as their model pages state today. Read them before you publish or sell a dubbed video.

ComponentLicenseWhat it means
Higgs Audio v3 (Boson AI)Boson Higgs TTS 3 Research and Non-Commercial LicenseFree for research, personal use and, with the Creator Use Grant, for digital creators who publish and monetize their own content, if they credit Boson AI's Higgs Audio. Hosting it, redistributing it or building it into a product or service for others, a dubbing service included, needs a commercial license from Boson
Parakeet-TDT 0.6B v3 (NVIDIA) and its ONNX exportCC-BY-4.0Credit NVIDIA
Parakeet Ultra (Moondream, on NVIDIA Parakeet-TDT)CC-BY-4.0Credit Moondream and NVIDIA
Nemotron 3 Diarization (NVIDIA)OpenMDW-1.1Credit NVIDIA; the ONNX export comes from altunenes/parakeet-rs
CrisperWhisper 2.0 turbo (nyra health)nyra health non-commercial research licenseNon-commercial research only
VoxLingua107 language id (SpeechBrain)Apache-2.0
Supertonic 3 (Supertone)BigScience OpenRAIL-MRead its use restrictions
Audio8 TTS Realistic-Air (Edge0)Apache-2.0
Qwen3-TTS (Qwen) and its Russian stress fine-tuneApache-2.0
Fish Audio Drama 3Fish Audio Research LicenseNon-commercial research only
WeSpeaker ResNet34CC-BY-4.0Credit WeSpeaker
DPDFNet (Ceva)Apache-2.0
Silero VAD v6.2MIT
RUAccentMIT
Gemma-4 12B (Google)Apache-2.0 on the model page, which links Google's Gemma 4 termsRead both
Mel-Band Roformer voc_fv6 (GaboxR67), GGUF by chenmozhijinNo license stated on the model pages; the engine BSRoformer.cpp is MITAsk the authors before commercial use
SCRFD face detector (InsightFace buffalo_l)InsightFace: pretrained models for non-commercial research onlyCharacter casting of real faces is covered by this restriction
LVFace (ByteDance)MIT
CCIP (deepghs)OpenRAILRead its use restrictions
anime_face_detection (deepghs)MIT
xseg_1 occluder (FaceFusion models)No license stated on the model pageAsk the authors before commercial use
WeSpeaker ResNet34-LMCC-BY-4.0Credit WeSpeaker
PP-OCR (PaddleOCR)Apache-2.0
llama.cpp, ONNX Runtime, BSRoformer.cpp, JASSUBMIT
FFmpeg (BtbN build)GPL build of FFmpegComes as a separate program, not linked into the app
NVIDIA CUDA runtime, cuBLAS, cuFFT, cuDNNNVIDIA's own license termsDownloaded from NVIDIA and PyPI, not shipped in the repository

AI video dubbing · voice cloning · video translation · automatic subtitles · speaker diarization · offline · local · open source · Windows · free lip-free dubbing · voice-over · transcription

关于 About

Free offline AI video dubbing studio for Windows — voice cloning, translation, subtitles & on-screen-text localization. 100% local, one native .exe, zero Python.
aiai-dubbingai-videoasrdubbingllama-cpplocal-aiofflineportablerustspeaker-diarizationspeech-recognitionsubtitlestauritext-to-speechttsvideo-dubbingvideo-translationvoice-cloningwindows

语言 Languages

Rust71.4%
TypeScript15.0%
Fluent7.6%
Python4.8%
Batchfile0.3%
JavaScript0.3%
PowerShell0.2%
CSS0.2%
NSIS0.1%
Shell0.1%
HTML0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
1052
Total Commits
峰值: 213次/周
Less
More

核心贡献者 Contributors