P
jianchang512/pyvideotrans★ 19,939 · Python
Self-hostable Python pipeline for video translation, subtitles, and dubbing
GPL-3.0 · Copyleft Warningv4.20
Side-by-side 2026 comparison in Voice, Vision & Video: jianchang512/pyvideotrans leads both total GitHub adoption (★ 19.9k) and recent 7-day momentum. Licensing: GPL-3.0 · Copyleft Warning vs GPL-3.0 · Copyleft Warning.
Self-hostable Python pipeline for video translation, subtitles, and dubbing
Local faster-whisper web app and API for audio and video transcription
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | jianchang512/pyvideotrans | jianchang512/stt |
|---|---|---|
| Total GitHub Stars | ★ 19,939 | ★ 4,869 |
| 24h / 7d Velocity | +10 / +88 | +2 / +7 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 88/100 | C · 47/100 |
| Deployment Signals | Docker · Self-Hosted · Local AI · CLI · GPU · API | Self-Hosted · Local AI · GPU · API |
| Primary Language | Python | Python |
| Commercial License | GPL-3.0 · Copyleft Warning | GPL-3.0 · Copyleft Warning |
| Activity | Updated yesterday | Updated 10mo ago |
| Latest Release | v4.20 | 20250805 |
| Best For | Localization teams and creators who need reviewable subtitles, speaker-specific dubbing, and a choice of local or online backends before rendering a final video | Individuals and teams transcribing recorded audio or video on their own machines, generating SRT subtitles, or moving a file-based transcription integration off a hosted API |
sp.py for desktop, webui.py for browser access, and cli.py with vtv, stt, sts, and tts tasks.brew install libsndfile git python@3.10 brew uninstall --ignore-dependencies ffmpeg brew tap homebrew-ffmpeg/ffmpeg brew install homebrew-ffmpeg/ffmpeg/ffmpeg
start.py launches the local Python application; faster-whisper handles inference and FFmpeg is a source-install prerequisite.POST /api accepts multipart audio or video and wraps results in code, msg, and data./v1 base URL supports OpenAI-style transcription calls; JSON output represents parsed SRT subtitles.tiny through large-v3; v0.94 updated large-v3-turbo support and added custom Hugging Face models.import requests # 请求地址 url = "http://127.0.0.1:9977/api" # 请求参数 file:音视频文件,language:语言代码,model:模型,response_format:text|json|srt # 返回 code==0 成功,其他失败,msg==成功为ok,其他失败原因,data=识别后返回文字 files = {"file": open("C:/Users/c1/Videos/2.wav", "rb")} data={"language":"zh","model":"base","response_format":"json"} response = requests.request("POST", url, timeout=600, data=data,files=files) print(response.json())
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy