AI Subtitle Generator: Open-Source Automatic Subtitles with WhisperX
An AI subtitle generator that creates accurate SRT files automatically. WhisperX with word timestamps, plus tips for quality and language support.
💡 What You Will Learn
An AI subtitle generator that creates accurate SRT files automatically. WhisperX with word timestamps, plus tips for quality and language support.
Subtitles double your video reach - 80 percent of viewers watch with sound off in some feeds. The open-source pipeline generates them automatically.
The Pipeline
whisperX (23,466 stars) transcribes with word-level timestamps and speaker diarization - the SRT timing is accurate to the word. Faster processing: faster-whisper (24,790 stars) underneath cuts transcription time 4x. ffmpeg (63,025 stars) muxes the SRT into the video as a soft subtitle track, keeping the original untouched. For Chinese, FunASR (19,708 stars) is the accuracy pick.
Quality Checklist
Split lines at 40-50 characters, keep 2-4 words per subtitle, and ensure 100-200ms gap between subtitles. Punctuation matters: models produce better timing with proper sentence breaks. Review names and numbers - they are the top error source.
FAQ
Q: Does it support my language?
A: Whisper covers about 99 languages; accuracy is best for major ones. Test with a 1-minute sample first.
Q: Can I translate subtitles too?
A: Yes - pipe the transcript through an LLM (DeepSeek-V3, 104,114 stars) and keep the original timestamps.
