← Back to Leaderboard
SR3gm

R3gm/SoniTranslate

Gradio dubbing pipeline for synchronized video translation and multi-speaker audio

View on GitHub ↗
Engineering Health (Methodology)
B+ · 64/100
Maintenance Activity
● Updated 3mo ago
Latest Release
0.5.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption21/25
Release Cadence11/20
License Clarity20/20
Self-HostedGPU
Total Stars
★ 1,435
24h Growth
+0
7d Growth
+1
Forks
360

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

R3gm/SoniTranslate Star History (2023-07-05 - 2026-12-04) ALL-TIME STAR HISTORY (2023-07 – 2026-12) +1.4k in 1248d · avg +1/day 1.5k 758 0 2023-07-05: ★ 12023-09-23: ★ 172023-12-09: ★ 402024-02-24: ★ 832024-05-11: ★ 1612024-07-27: ★ 3512024-10-12: ★ 4702024-12-28: ★ 8912025-03-15: ★ 9982025-05-31: ★ 1,0902025-08-16: ★ 1,1582025-11-01: ★ 1,2082026-01-17: ★ 1,2752026-04-04: ★ 1,3192026-06-20: ★ 1,3682026-09-05: ★ 1,3992026-12-04: ★ 1,435 ★ 1.4k 2023-07 2025-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

SoniTranslate is a Python application for offline-in-time media dubbing, not live interpretation. app_rvc.py launches the Gradio UI. FFmpeg handles media processing, and yt-dlp provides URL ingestion. WhisperX transcribes speech and aligns it to timestamps; pyannote assigns speaker labels to time spans. Translated segments can then be edited before synthesis, and the dubbed speech is placed back on the media timeline for export.

The manifests include PyTorch CUDA wheels, ONNX Runtime GPU, deep_translator, edge_tts, and gTTS; the project also offers optional Piper and XTTS installs. The integration points exposed to users are stage-specific: enter a Hugging Face model ID for Whisper ASR, select voice backends, or configure optional OpenAI transcription, translation, and TTS. The concrete launch interface is Gradio; don't assume a stable headless API or distributed worker contract.

Key Capabilities & Differentiators

Version 0.5.0 adds overlap reduction and pre-transcription vocal enhancement, useful controls when speakers talk over one another or the speech is hard to hear. TTS supports up to 12 speakers. Operators can edit translated subtitles before synthesis and adjust voice speed and volume. Language coverage varies by stage: English and Simplified and Traditional Chinese are listed for translation, while Aymara and Kurdish are listed without native transcription support. Check the source and target languages against the stages you actually need.

The app supports ASS subtitles and batch processing with subtitles, with outputs that include dubbed video, subtitles split by speaker, separate audio, and video with subtitles but no dub. RVC support was introduced in 0.4.0, and 0.5.0 integrates OpenVoiceV2 for voice imitation. The PDF-to-videobook path also displays the PDF's page images.

Trade-offs & Limitations

Compared with running WhisperX on its own, SoniTranslate brings translation, subtitle correction, multi-speaker synthesis, and timed rendering into one operator workflow. The trade-off is a larger dependency graph: FFmpeg and model libraries are joined by optional voice stacks, and requirements.txt includes direct Git dependencies such as WhisperX and fairseq. Pin the revision and dependency set you validate instead of assuming that all install paths resolve identically.

Compared with a managed dubbing workflow, self-hosting gives you more control over model choice and deliverables, but puts runtime compatibility, GPU sizing, and credential handling on your team. Memory and processing time depend on chosen models, media length, and job concurrency; CPU mode is a fallback, not a throughput guarantee. External backends can add network, data-handling, and cost considerations. Apache-2.0 covers the repository code, not all model terms, API terms, or permissions to imitate a voice.

Hardware & Deployment Guide

The local setup uses a Conda environment with Python 3.10 and specifies PyTorch 2.5.1, torchvision 0.20.1, torchaudio 2.5.1, and CUDA 11.8 on a compatible NVIDIA host. Install requirements_base.txt, requirements_extra.txt, and onnxruntime-gpu, and put FFmpeg on PATH. For gated pyannote models, accept the Hugging Face access terms and set YOUR_HF_TOKEN. Set OPENAI_API_KEY only if you intend to use the OpenAI-backed stages.

Launch with python app_rvc.py and open http://127.0.0.1:7860. Colab is an alternative for evaluation. Version 0.5.0 (May 18, 2024) adds --cpu_mode and expands export options. Keep the UI local by default for sensitive media: --public_url enables a public link. Self-hosting does not make the pipeline offline; for an offline deployment, provision required model assets in advance and verify that every selected stage runs without a network connection.

Media pipeline: Gradio front end, WhisperX transcription and timestamp alignment, pyannote speaker diarization, and FFmpeg rendering.
Speaker handling: Up to 12 speakers in TTS, with overlap reduction and subtitles split by speaker.
Timeline editing: Revise translated subtitles before synthesis, adjust voice speed and volume, and batch-process media with subtitles.
Voice backends: Optional local Piper and XTTS, OpenVoiceV2 voice imitation, and optional OpenAI transcription, translation, and TTS.
Deliverables: Dubbed video, separate audio, subtitle-only video, ASS subtitle support, and PDF videobooks that display page images.
Runtime: CUDA 11.8 PyTorch setup, optional --cpu_mode, and a Colab notebook for evaluation.
Best For

Localization teams and creators dubbing recorded training, interviews, or educational videos who want to review translated subtitles, assign voices by speaker, and export editable assets alongside the finished video.

Skip If

You need live interpretation, a turnkey managed service, or an offline deployment without time to stage and validate every backend. If you only need an aligned transcript, use a dedicated ASR tool.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedGPU
pip install -r requirements_base.txt -v
pip install -r requirements_extra.txt -v
pip install onnxruntime-gpu

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
SoniTranslate ★1.4k+1PythonApache-2.0Gradio dubbing pipeline for synchronized video translation and multi-speaker aud
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
speech-to-speech13.9k+137PythonApache-2.0A modular speech cascade for self-hosted voice agents over OpenAI Realtime
WhisperLiveKit11.3k+27PythonApache-2.0Self-hosted streaming speech-to-text with pluggable ASR and speaker diarization

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/R3gm/SoniTranslate.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

R3gm/SoniTranslate Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about SoniTranslate

How should I integrate SoniTranslate into an existing workflow?

The documented entry point is python app_rvc.py, which launches a local Gradio UI. Use exported subtitles, dubbed audio, or rendered video as handoff artifacts. If you need a headless integration, validate that separately rather than assuming a stable service API or worker contract.

How much GPU memory do I need, and can I run without a GPU?

Start with an NVIDIA host compatible with the documented CUDA 11.8 stack. Run a representative multi-speaker clip through the actual ASR, diarization, and voice settings you plan to use. Measure peak VRAM, system RAM, and elapsed time for one job before increasing concurrency. --cpu_mode is available, but no fixed VRAM floor or CPU throughput is established.

Does Apache-2.0 cover commercial self-hosting and every model or service?

Apache-2.0 permits commercial use of the repository code subject to its terms. Separately check model and voice asset licenses, accept the Hugging Face access terms for the gated pyannote models, and review any external provider's terms and data handling. Obtain permission before imitating a speaker's voice.

When should I use SoniTranslate instead of WhisperX alone or a managed dubbing service?

Use WhisperX on its own if your deliverable is an aligned transcript or subtitles and you already handle the remaining stages. Choose SoniTranslate when translated subtitle editing, per-speaker voice synthesis, and timed audio or video export need to happen in one workflow. If you're comparing it with a managed dubbing service, weigh the value of choosing your own models and exports against the cost of operating the GPU environment.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining R3gm/SoniTranslate? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature R3gm/SoniTranslate on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare