Live
Black Hat USAAI BusinessBlack Hat AsiaAI BusinessWhy do I believe preserving structure is enough?LessWrong AIMCP Observability: Logging, Auditing, and Debugging Agent-Server Interactions in ProductionDEV CommunityHIMSSCast: Adopting AI with purpose as a health system - MobiHealthNewsGNews AI healthcareEfficient Real-Time Flight Tracking in Browsers: Framework-Free, Cross-Platform SolutionDEV CommunityI Built a Visual Spec-Driven Development Extension for VS Code That Works With Any LLMDEV CommunityFinancialClaw: making OpenClaw useful for personal financeDEV CommunityOpenAI acquires TBPNDEV CommunityA Human Asked Me to Build a Game About My Life. So I Did.DEV CommunityFinancialClaw: haciendo útil a OpenClaw para finanzas personalesDEV CommunitySources: Meta has paused its work with Mercor while it investigates a security breach at the data vendor; OpenAI says it is investigating the security incident (Wired)TechmemeExplainable Causal Reinforcement Learning for circular manufacturing supply chains during mission-critical recovery windowsDEV CommunityYou test your code. Why aren’t you testing your AI instructions?DEV CommunityBlack Hat USAAI BusinessBlack Hat AsiaAI BusinessWhy do I believe preserving structure is enough?LessWrong AIMCP Observability: Logging, Auditing, and Debugging Agent-Server Interactions in ProductionDEV CommunityHIMSSCast: Adopting AI with purpose as a health system - MobiHealthNewsGNews AI healthcareEfficient Real-Time Flight Tracking in Browsers: Framework-Free, Cross-Platform SolutionDEV CommunityI Built a Visual Spec-Driven Development Extension for VS Code That Works With Any LLMDEV CommunityFinancialClaw: making OpenClaw useful for personal financeDEV CommunityOpenAI acquires TBPNDEV CommunityA Human Asked Me to Build a Game About My Life. So I Did.DEV CommunityFinancialClaw: haciendo útil a OpenClaw para finanzas personalesDEV CommunitySources: Meta has paused its work with Mercor while it investigates a security breach at the data vendor; OpenAI says it is investigating the security incident (Wired)TechmemeExplainable Causal Reinforcement Learning for circular manufacturing supply chains during mission-critical recovery windowsDEV CommunityYou test your code. Why aren’t you testing your AI instructions?DEV Community
AI NEWS HUBbyEIGENVECTOREigenvector

🔥 Huanshere/VideoLingo

GitHub Trendingby HuanshereApril 2, 20265 min read2 views
Source Quiz

Netflix-level subtitle cutting, translation, alignment, and even dubbing - one-click fully automated AI video subtitle team | Netflix级字幕切割、翻译、对齐、甚至加上配音,一键全自动视频搬运AI字幕组 — Trending on GitHub today with 74 new stars.

🌟 Overview (Try VL Now!)

VideoLingo is an all-in-one video translation, localization, and dubbing tool aimed at generating Netflix-quality subtitles. It eliminates stiff machine translations and multi-line subtitles while adding high-quality dubbing, enabling global knowledge sharing across language barriers.

Key features:

  • 🎥 YouTube video download via yt-dlp

  • 🎙️ Word-level and Low-illusion subtitle recognition with WhisperX

  • 📝 NLP and AI-powered subtitle segmentation

  • 📚 Custom + AI-generated terminology for coherent translation

  • 🔄 3-step Translate-Reflect-Adaptation for cinematic quality

  • ✅ Netflix-standard, Single-line subtitles Only

  • 🗣️ Dubbing with GPT-SoVITS, Azure, OpenAI, and more

  • 🚀 One-click startup and processing in Streamlit

  • 🌍 Multi-language support in Streamlit UI

  • 📝 Detailed logging with progress resumption

  • 🔍 Model searchbox with API auto-fetch — search and filter from your provider's full model list

  • ⏯️ Task control — pause, resume, or stop processing at any step

Difference from similar projects: Single-line subtitles only, superior translation quality, seamless dubbing experience

🎥 Demo

Dual Subtitles

trans.mp4

Cosy2 Voice Clone

dubbing.mp4

GPT-SoVITS with my voice

sovits.mp4

Language Support

Input Language Support(more to come):

🇺🇸 English 🤩 | 🇷🇺 Russian 😊 | 🇫🇷 French 🤩 | 🇩🇪 German 🤩 | 🇮🇹 Italian 🤩 | 🇪🇸 Spanish 🤩 | 🇯🇵 Japanese 😐 | 🇨🇳 Chinese* 😊*

Chinese uses a separate punctuation-enhanced whisper model, for now...

Translation supports all languages, while dubbing language depends on the chosen TTS method.

Installation

Meet any problem? Chat with our free online AI agent here to help you.

Note: For Windows users with NVIDIA GPU, follow these steps before installation:

  • Install CUDA Toolkit 12.6

  • Install CUDNN 9.3.0

  • Add C:\Program Files\NVIDIA\CUDNN\v9.3\bin\12.6 to your system PATH

  • Restart your computer

Note: FFmpeg is required. Please install it via package managers:

  • Windows: choco install ffmpeg (via Chocolatey)

  • macOS: brew install ffmpeg (via Homebrew)

  • Linux: sudo apt install ffmpeg (Debian/Ubuntu)

Option A: Using uv (Recommended, No Anaconda Required)

uv automatically downloads Python 3.10 and creates an isolated environment — no need to install Python or Anaconda yourself.

  • Clone the repository

git clone https://github.com/Huanshere/VideoLingo.git cd VideoLingo

  • One-command setup (installs uv + Python 3.10 + all dependencies)

python setup_env.py

  • Start the application

.venv\Scripts\streamlit run st.py # Windows .venv/bin/streamlit run st.py # macOS / Linux

Or double-click OneKeyStart_uv.bat on Windows.

Option B: Using Conda

⚠️ Not recommended. This method will not be maintained going forward. Please use uv (Option A) above.

Click to expand Conda installation steps

  • Clone the repository

git clone https://github.com/Huanshere/VideoLingo.git cd VideoLingo

  • Install dependencies (requires python=3.10)

conda create -n videolingo python=3.10.0 -y conda activate videolingo python install.py

  • Start the application

streamlit run st.py

Docker

Alternatively, you can use Docker (requires CUDA 12.4 and NVIDIA Driver version >550), see Docker docs:

docker build -t videolingo . docker run -d -p 8501:8501 --gpus all videolingo

APIs

VideoLingo supports OpenAI-Like API format and various TTS interfaces:

  • LLM: claude-sonnet-4.6, gpt-5.4, gemini-3.1-pro, deepseek-v3, grok-4.1, ... (sorted by quality; for budget options try gemini-3-flash or gpt-5.4-mini)

  • WhisperX: Run whisperX (large-v3) locally or use 302.ai API

  • TTS: azure-tts, openai-tts, siliconflow-fishtts, fish-tts, GPT-SoVITS, edge-tts, custom-tts(You can modify your own TTS in custom_tts.py!)

Note: VideoLingo works with 302.ai - one API key for all services (LLM, WhisperX, TTS). Or run locally with Ollama and Edge-TTS for free, no API needed!

For detailed installation, API configuration, and batch mode instructions, please refer to the documentation: English | 中文

Current Limitations

  • WhisperX transcription performance may be affected by video background noise, as it uses wav2vac model for alignment. For videos with loud background music, please enable Voice Separation Enhancement. Additionally, subtitles ending with numbers or special characters may be truncated early due to wav2vac's inability to map numeric characters (e.g., "1") to their spoken form ("one").

  • Using weaker models can lead to errors during processes due to strict JSON format requirements for responses (tried my best to prompt llm😊). If this error occurs, please delete the output folder and retry with a different LLM, otherwise repeated execution will read the previous erroneous response causing the same error.

  • The dubbing feature may not be 100% perfect due to differences in speech rates and intonation between languages, as well as the impact of the translation step. However, this project has implemented extensive engineering processing for speech rates to ensure the best possible dubbing results.

  • Multilingual video transcription recognition will only retain the main language. This is because whisperX uses a specialized model for a single language when forcibly aligning word-level subtitles, and will delete unrecognized languages.

  • For now, cannot dub multiple characters separately, as whisperX's speaker distinction capability is not sufficiently reliable.

📄 License

This project is licensed under the Apache 2.0 License. Special thanks to the following open source projects for their contributions:

whisperX, yt-dlp, json_repair, BELLE

📬 Contact Me

  • Submit Issues or Pull Requests on GitHub

  • DM me on Twitter: @Huanshere

  • Email me at: [email protected]

⭐ Star History

If you find VideoLingo helpful, please give me a ⭐️!

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

githubtrendingopen-source

Knowledge Map

Knowledge Map
TopicsEntitiesSource
🔥 Huansher…githubtrendingopen-sourceGitHub Tren…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 170 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Open Source AI