Translate videos into another language with AI dubbing and subtitles
open sourceGPL-3.0-onlyself-hostablefree
pyVideoTrans is an open source tool for translating videos from one language to another in one workflow: speech recognition, subtitle translation, speech synthesis and syncing the new audio and subtitles back into the video, with a pause to proofread at each stage. It also batch-transcribes audio and video to SRT subtitles with speaker diarization, dubs each speaker with a different voice, clones voices with F5-TTS, CosyVoice or GPT-SoVITS, and has tools for vocal separation, merging and alignment. You choose the engines: local Faster-Whisper or cloud speech recognition, LLM translation through DeepSeek, ChatGPT, Claude, Gemini or a local Ollama, and Edge-TTS, OpenAI, Azure and other voices. It runs as a Windows app, from source on macOS and Linux, as a CLI or as a web interface.
Problems it solves
- dub a video into another language with AI voices
- translate a video's subtitles and burn them in automatically
- transcribe videos to subtitles with different speakers labelled
Features
- one-click video translation: ASR, translation, TTS, video synthesis
- batch transcription to SRT with speaker diarization
- multi-speaker AI dubbing
- voice cloning with F5-TTS, CosyVoice and GPT-SoVITS
- local or cloud ASR, LLM translation and TTS engines
- proofreading at each stage
- CLI and web interface
Alternatives
The same job
These do what pyVideoTrans does.
- VideoCaptioner LLM-powered subtitle tool: transcribe, re-segment, correct, translate and burn in video subtitles
- Subtitle Edit Free, open source editor for video subtitles
- Video Subtitle Remover (VSR) AI tool that removes hard-coded subtitles and text watermarks from videos and images
