Video translation CLI tool
Top 3.8% on sourcepulse
This project provides a comprehensive video translation and dubbing tool, enabling users to translate video content into different languages, automatically generating and embedding subtitles and voiceovers. It caters to content creators, educators, and anyone needing to localize video content, offering a streamlined workflow for multilingual video production.
How It Works
The tool leverages a modular architecture, supporting various open-source and API-based solutions for core functionalities. Speech recognition can utilize faster-whisper
, openai-whisper
, or cloud APIs like Google Speech and Alibaba. Text translation is integrated with services such as Microsoft Translator, Google Translate, ChatGPT, and DeepL. Speech synthesis options include Microsoft Edge TTS, Google TTS, Azure AI TTS, and custom TTS servers like GPT-SoVITS and ChatTTS. It also incorporates uvr5
for background music separation and preservation.
Quick Start & Requirements
git clone
and pip install -r requirements.txt
is required.libsndfile
, ffmpeg
, git
, and python@3.10
. Windows users need Python 3.10 and Git. CUDA 11.8+ is required for GPU acceleration (specifically torch==2.2.0
with cu118
).Highlighted Details
Maintenance & Community
The project is actively maintained by jianchang512. Community support and updates can be found via their WeChat public account. Related projects like ChatTTS-ui and OTT are also mentioned.
Licensing & Compatibility
The repository does not explicitly state a license in the README. However, the inclusion of various third-party libraries implies adherence to their respective licenses. Commercial use compatibility would require further investigation into the licensing of all dependencies.
Limitations & Caveats
The pre-packaged Windows version may trigger antivirus warnings due to the use of pyinstaller
. Users with CUDA versions lower than 12.x might need to install ctranslate2==3.24.0
if encountering compatibility issues with the default ctranslate2
version. Some "module not found" errors can be resolved by removing version specifiers in requirements.txt
.
3 days ago
1 day