auto-subtitle is a Python-based command-line tool that automatically generates and overlays subtitles on video files using AI-driven speech recognition. It combines FFmpeg with OpenAI’s Whisper model to transcribe spoken audio into text and synchronize it with video playback. The tool processes video input, extracts audio, and produces subtitle files that can be either exported separately or burned directly into the final video output. It supports multiple transcription models with varying accuracy and performance, allowing users to balance speed and quality depending on their needs. The system can also translate subtitles into English, enabling multilingual accessibility for video content. Once the required models are downloaded, it can operate offline, making it practical for local workflows. Designed for simplicity, it provides a streamlined way to automate subtitle creation without manual transcription effort.
Features
- Automatic subtitle generation using Whisper speech recognition
- Overlay or export subtitles as separate files
- Support for multiple transcription models and sizes
- Translation of subtitles into English
- Offline processing after initial setup
- Command-line interface with configurable options