generate-subtitles  by mayeaux

Web app for audio/video transcription and translation

created 2 years ago
796 stars

Top 45.1% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a user-friendly web UI for generating transcripts and automatic translations of audio and video content. It leverages OpenAI's Whisper for transcription and LibreTranslate for translations, with integrated video downloading via yt-dlp. The target audience includes content creators, researchers, and anyone needing to process multimedia for accessibility or analysis.

How It Works

The application utilizes OpenAI's Whisper model for accurate speech-to-text transcription. Optionally, LibreTranslate can be integrated for automatic translation of the generated transcripts into various languages. Video content is handled through yt-dlp, enabling direct downloading and processing from URLs. The architecture is built around a Node.js backend serving a web interface.

Quick Start & Requirements

  • Installation: Clone the repository, install Node.js 14+, install Whisper AI, install yt-dlp, run npm install, and then npm start.
  • Prerequisites: Node.js 14+, OpenAI Whisper (CPU or GPU), yt-dlp. GPU acceleration (CUDA) is highly recommended for performance.
  • Setup: Requires manual installation of Whisper and yt-dlp.
  • Docs: Whisper Setup, yt-dlp.

Highlighted Details

  • Integrates Whisper AI for transcription and LibreTranslate for translation.
  • Supports automatic video downloading via yt-dlp.
  • Offers a user-friendly web interface for easy operation.
  • Recommends VastAI for GPU-accelerated cloud instances.

Maintenance & Community

  • The project is maintained by mayeaux.
  • No specific community links (Discord/Slack) or roadmap are provided in the README.

Licensing & Compatibility

  • The README does not explicitly state a license. The repository's license file should be consulted for details.

Limitations & Caveats

  • CPU-based transcription is significantly slower than GPU-based.
  • The provided VastAI setup script is noted as "not perfect yet."
  • Port forwarding configuration for cloud instances requires careful attention.
Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
9 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.