jianchang512/pyvideotrans là dự án mã nguồn mở trên GitHub, viết chủ yếu bằng Python, với 18.6k sao. Translate the video from one language to another and embed dubbing & subtitles.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
If you’re looking for a transcription API for meetings, consider checking out Recall.ai , an API that works with Zoom, Google Meet, Microsoft Teams, and more
pyVideoTrans
A Powerful Open Source Video Translation / Audio Transcription / AI Dubbing / Subtitle Translation Tool
中文 | Documentation | Online Q&A
pyVideoTrans is dedicated to seamlessly converting videos from one language to another, offering a complete workflow that includes speech recognition, subtitle translation, multi-role dubbing, and audio-video synchronization. It supports both local offline deployment and a wide variety of mainstream online APIs.
✨ Core Features
Technical Architecture and Principles
🎥 Fully Automatic Video Translation: One-click workflow: Speech Recognition (ASR) → Subtitle Translation → Speech Synthesis (TTS) → Video Synthesis.
🎙️ Audio Transcription / Subtitle Generation: Batch convert audio/video to SRT subtitles, supporting Speaker Diarization to distinguish between different roles.
🗣️ Multi-Role AI Dubbing: Assign different AI dubbing voices to different speakers.
🧬 Voice Cloning: Integrates models like F5-TTS, CosyVoice, GPT-SoVITS for zero-shot voice cloning.
Linux (Ubuntu/Debian): sudo apt-get install ffmpeg libsndfile1-dev
Windows: Download FFmpeg and configure Path, or place ffmpeg.exe and ffprobe.exe directly in the project directory.
2. Install uv (If not installed)
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
3. Clone and Install
git clone https://github.com/jianchang512/pyvideotrans.git
cd pyvideotrans
uv sync
By default, whisper.net and WebUI are not installed locally.
To install all optional channels: uv sync --all-extras
To install whisper.net: uv sync --extra dotnet
To install WebUI: uv sync --extra webui
4. Launch Software
GUI:
uv run sp.py
CLI:
# Video Translation
uv run cli.py --task vtv --name "./video.mp4" --source_language_code zh-cn --target_language_code en --voice_role "en-US-GuyNeural"
# Audio to Subtitle
uv run cli.py --task stt --name "./audio.wav" --model_name large-v3
# Subtitle Translation
uv run cli.py --task sts --name "./subs.srt" --target_language_code en
# Text to Speech
uv run cli.py --task tts --name "./subs.srt" --voice_role "zh-CN-YunyangNeural"
CLI documentation with all parameters
WebUI (for remote/internal network access):
uv sync --extra webui
uv run webui.py
Docker (containerized deployment):
# Build
docker build -t pyvideotrans-webui .
# Run
docker run -d -p 7860:7860 --name pyvideotrans pyvideotrans-webui
# With persistent config and output
docker run -d -p 7860:7860 \
-v ./data/output:/app/output \
-v ./data/config:/app/videotrans \
--name pyvideotrans pyvideotrans-webui
WebUI documentation
5. (Optional) GPU Acceleration Configuration
If you have an NVIDIA graphics card, execute the following commands to install the CUDA-supported PyTorch version:
# Uninstall CPU version
uv remove torch torchaudio
# Install CUDA version (Example for CUDA 12.x)
uv add torch==2.7 torchaudio==2.7 --index-url https://download.pytorch.org/whl/cu128
uv add nvidia-cublas-cu12 nvidia-cudnn-cu12
This software is an open-source, free, non-commercial project. Users are solely responsible for any legal consequences arising from the use of this software (including but not limited to calling third-party APIs or processing copyrighted video content). Please comply with local laws and regulations and the terms of use of relevant service providers.
🙏 Acknowledgements
This project mainly relies on the following open-source projects (partial):
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/jianchang512/pyvideotrans là nguồn chính thức.
jianchang512/pyvideotrans có bao nhiêu sao?
jianchang512/pyvideotrans có 18.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/jianchang512/pyvideotrans. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
jianchang512/pyvideotrans có phải mã nguồn mở không?
Có — jianchang512/pyvideotrans phát hành theo license GPL-3.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/jianchang512/pyvideotrans.
jianchang512/pyvideotrans còn đang phát triển không?
Commit gần nhất trên jianchang512/pyvideotrans là 12 ngày trước (theo timestamp GitHub). Repo có 2.3k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
jianchang512/pyvideotrans là gì?
jianchang512/pyvideotrans (jianchang512/pyvideotrans) là dự án Python trên GitHub. Theo mô tả gốc: Translate the video from one language to another and embed dubbing & subtitles.
Đọc đầy đủ README ở tab phía trên.
pyvideotrans có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về pyvideotrans.