SYNCWhisperX: captions on the exact word
The link
How to do it
- Install pip install whisperx (needs ffmpeg).
- Before you align, write every number in your script as words (2014 → twenty fourteen, $15 → fifteen dollars): digits can't be aligned and get no timing.
- On a Mac whisperx take.wav --compute_type int8 --device cpu --highlight_words True. You get an .srt with each word highlighted as it's spoken, plus a JSON with every word's start and end.
- Two speakers? Add --diarize with a free Hugging Face token. Free and open source (BSD-2).