WhisperX vs Faster-Whisper: Which to Use for Subtitles?
WhisperX and faster-whisper are the two open-source projects most people find when they want subtitles from OpenAI’s Whisper model on their own computer. WhisperX is actually built on top of faster-whisper, so the real question in WhisperX vs faster-whisper is whether its extra steps are worth the extra install. We ran both on the same 70-second speech clip with the same model, counted every word error against the known script, and measured how closely each one’s timestamps match the audio. Here is what happened, including two things that broke along the way.
- Accuracy was a tie: each tool got 192 of 193 words right, missing only the made-up brand name “Mediaxiss”.
- WhisperX timed the subtitles better. Its cue starts were 29 ms off the real speech on average, against 157 ms for faster-whisper.
- faster-whisper was faster (about 17 to 24 seconds against about 32 to 35 seconds, CPU only) and far lighter to install: a 290 MB virtual environment against 3.97 GB.
What each project is
SYSTRAN/faster-whisper reimplements Whisper on CTranslate2, a fast inference engine, and supports 8-bit quantization on CPU and GPU. It is a Python library: you get segments and, if you ask, word timestamps, and you write the subtitle file yourself.
m-bain/whisperX uses faster-whisper for transcription and adds three things around it: voice activity detection to cut the audio into chunks for batched inference, a second model (wav2vec2) that force-aligns every word to the audio, and optional speaker diarization. It also ships a command-line tool that writes SRT, VTT and other formats directly.
| faster-whisper | WhisperX | |
|---|---|---|
| Latest release | 1.2.1 (October 31, 2025) | 3.8.6 (May 25, 2026) |
| License | MIT | BSD-2-Clause |
| GitHub stars | 27,085 | 26,081 |
| Word timestamps | Yes, from Whisper’s own attention (word_timestamps=True) | Yes, from a separate wav2vec2 alignment model |
| Writes SRT itself | No (a few lines of Python) | Yes |
| Speaker labels | No | Optional (needs a Hugging Face token) |
How we tested
The machine was a Windows 11 laptop with an Intel Core i5-10300H, 16 GB of RAM and a 4 GB GTX 1650, with Python 3.12.10. Each tool got its own virtual environment under our lab folder, installed with pip.
For the audio we wrote a 193-word script and had Windows read it with the built-in Zira voice through PowerShell’s System.Speech. That gave us a 70.65-second clip with no licensing questions and a script we know word for word. Synthetic speech is clean and evenly paced, so treat our accuracy numbers as a best case; real recordings with accents, music or crosstalk will produce more errors in both tools.
Add-Type -AssemblyName System.Speech
$s = New-Object System.Speech.Synthesis.SpeechSynthesizer
$s.SelectVoice('Microsoft Zira Desktop')
$s.SetOutputToWaveFile("clip-raw.wav")
$s.Speak((Get-Content script.txt -Raw))
$s.Dispose()
Both tools used the Whisper small model with 8-bit weights (compute_type="int8") on the CPU, language fixed to English. We timed three runs of each, after a first run that downloaded the models.
Two things that broke first
faster-whisper crashed on its first call. A fresh pip install faster-whisper pulled in PyAV 19.0.2, and transcription stopped with this error:
TypeError: open() got an unexpected keyword argument 'metadata_errors'
PyAV 19 removed that argument. The project fixed it on its main branch in October 2026 (issue #1589), but there has been no release since 1.2.1, so pip still installs the broken combination. The maintainers suggest installing from the main branch. A slow connection kept us from downloading an older PyAV, so we patched the call in our own script instead: three lines that drop the argument when PyAV is version 19 or later. If you hit this, try one of these first:
pip install "av<19"
# or, as the maintainers suggest:
pip install --force-reinstall --no-deps git+https://github.com/SYSTRAN/faster-whisper.git
CUDA did not work out of the box. CTranslate2 detected the GTX 1650 and listed float16 and int8_float16 as supported, but the run failed with Library cublas64_12.dll is not found or cannot be loaded. Fixing that means installing NVIDIA’s cuBLAS and cuDNN libraries, and we did not do it for this test. WhisperX’s pip install chose a CPU build of PyTorch on Windows anyway. So every number below is CPU only.
WhisperX also printed a long warning that torchcodec could not load its FFmpeg libraries. It did not stop the run, because WhisperX reads audio with the FFmpeg command-line tool. Its install was the slow part: version 3.8.6 pins PyTorch 2.8, and the CPU wheel alone is 619 MB. Downloads from PyPI timed out twice on our connection, so we fetched the PyTorch wheels from download.pytorch.org with a resumable download and installed them from disk.
The commands we ran
faster-whisper, from Python (SRT writing omitted; it is a loop over the segments):
from faster_whisper import WhisperModel
model = WhisperModel("small", device="cpu", compute_type="int8")
segments, info = model.transcribe("clip.wav", language="en",
beam_size=5, word_timestamps=True)
segments = list(segments) # transcription runs here
WhisperX, through its Python API so we could time each stage. The same job from the command line is whisperx clip.wav --model small --device cpu --compute_type int8 --language en --output_format srt.
import whisperx
model = whisperx.load_model("small", "cpu", compute_type="int8", language="en")
audio = whisperx.load_audio("clip.wav")
result = model.transcribe(audio, batch_size=8, language="en")
align_model, meta = whisperx.load_align_model(language_code="en", device="cpu")
aligned = whisperx.align(result["segments"], align_model, meta, audio, "cpu")
Results
| Measurement | faster-whisper 1.2.1 | WhisperX 3.8.6 |
|---|---|---|
| Wall time, runs 1 / 2 / 3 | 23.7 / 18.9 / 16.8 s | 35.3 / 32.4 / 32.9 s |
| Model load | 2.4 to 7.2 s | 9.5 to 12.5 s |
| Transcription | 14.0 to 16.1 s | 13.1 to 13.5 s |
| Word alignment | (part of transcription) | 8.3 to 8.6 s |
| Word errors (193 words) | 1 (0.52%) | 1 (0.52%) |
| “Mediaxiss” heard as | Mediacsis | Mediacys |
| Subtitle cues | 13 | 13 |
| Mean cue start error | 157 ms (always early) | 29 ms |
| Mean cue end error | 218 ms | 80 ms |
| Virtual environment size | 290 MB | 3,971 MB |
We counted errors with a standard word-level edit distance after lowercasing and removing punctuation. Both tools produced exactly 193 words, and the only error in each was the invented brand name, which no model could know. Results were identical across all three runs of each tool.
To measure timing, we found where each sentence actually starts and ends in the audio with FFmpeg’s silencedetect filter (pauses longer than 0.6 seconds below -40 dB), then compared those times with each subtitle cue. faster-whisper started every cue slightly early, by up to 391 ms. WhisperX’s cue starts were never more than 114 ms off.
The SRT output, side by side
Both produced one cue per sentence. Here is the sixth cue from each. In the audio, this sentence starts at 23.30 seconds and ends at 30.50.
# faster-whisper
6
00:00:23,020 --> 00:00:30,320
Second, it must place each line at the right moment, so the text appears when the speaker says it and disappears soon after.
# WhisperX
6
00:00:23,415 --> 00:00:30,440
Second, it must place each line at the right moment, so the text appears when the speaker says it and disappears soon after.
Note the length: 123 characters in one cue. That is far too long to read as a subtitle. Neither tool’s default output is ready to burn into a video.
WhisperX has options for this, --max_line_width and --max_line_count. With 42 and 2, version 3.8.6 gave us 12 cues, but they ran across sentence boundaries and some lines were still longer than 42 characters:
2
00:00:05,738 --> 00:00:12,045
speech engine that ships with Windows, so every
word in it is known in advance. That makes it easy to
So we used the word timestamps directly. A 25-line Python script groups words into one-line cues of at most 42 characters and always ends a cue at a full stop. Running it on WhisperX’s word list gave 30 short cues, still with one word error:
1
00:00:00,131 --> 00:00:01,793
Welcome to a short test of speech
2
00:00:01,873 --> 00:00:03,315
recognition for subtitles.
...
10
00:00:20,373 --> 00:00:22,415
even names like Mediacys or GitHub.
The same script would work on faster-whisper’s word timestamps, which it also returns. This is where word-level timing really matters: you can only break a sentence cleanly if you know when each word is spoken.
The result as burned-in subtitles
WhisperX had the better timing, so we burned its re-cut SRT into a video of the clip with FFmpeg’s subtitles filter. The orange bar along the bottom shows progress through the clip:
ffmpeg -i clip-raw.wav -f lavfi -i "color=c=0x1f1d1a:s=1280x720:r=30"
-filter_complex "[1:v]drawbox=x=0:y=712:w='iw*t/70.65':h=8:color=0xff5a1f:t=fill,subtitles=wx-cues.srt:force_style='FontName=Segoe UI,FontSize=26,Outline=2,Alignment=2,MarginV=70'[v]"
-map "[v]" -map 0:a -t 70.65 -c:v libx264 -crf 27 -c:a aac -movflags +faststart whisperx-subtitles.mp4
Which one should you use?
- Pick WhisperX when subtitle timing matters, for example burned-in captions, karaoke-style word highlighting or cutting video on word boundaries. Also when you need speaker labels, or want an SRT straight from the command line.
- Pick faster-whisper when you want a small dependency in your own Python code, are transcribing for search or notes rather than subtitles, or are short on disk space or bandwidth. Its timestamps were off by about a sixth of a second, which many viewers will not notice.
If you are building a video workflow around either one, our roundup of GitHub repos for AI video editing covers editors such as Shotcut and the video-use skill that consume transcripts like these. And before you trust any transcription tool with real work, run your own clip through it; our prompts for evaluating AI tools are a good way to structure that check.
FAQ
Is WhisperX more accurate than faster-whisper?
Not in the words themselves. WhisperX runs faster-whisper for transcription, and in our test both made exactly one error in 193 words. Where WhisperX was better is timing: its forced alignment put subtitle cues closer to the real speech.
Does faster-whisper support word-level timestamps?
Yes. Pass word_timestamps=True to transcribe() and each segment carries a list of words with start, end and probability. They come from Whisper’s own attention rather than a separate alignment model, which is why they were less precise in our test.
Can I run them on a 4 GB GPU?
We could not test it: on our GTX 1650, faster-whisper failed because the cuBLAS 12 library was missing, and WhisperX’s pip install chose a CPU build of PyTorch. On CPU with 8-bit weights, the small model transcribed 70 seconds of speech in about 14 seconds, which is fine for occasional subtitles.
Why does pip install a faster-whisper that crashes?
faster-whisper 1.2.1 only requires PyAV 11 or later, so pip picks the newest PyAV, 19, which removed an argument faster-whisper uses. The fix is on the main branch but was not in a release when we checked. Pin av<19 or install from GitHub until a new version comes out.
Do I need a Hugging Face token for WhisperX?
Not for transcription and alignment; our runs used none. The README says speaker diarization needs a Hugging Face read token and acceptance of the user agreement for pyannote’s speaker-diarization-community-1 model. We did not test diarization.
Tested by Mediaxiss on Windows 11 (Core i5-10300H, 16 GB RAM, Python 3.12.10) with faster-whisper 1.2.1 and WhisperX 3.8.6 on November 28, 2026, CPU only. Releases, licenses and star counts were checked on GitHub and PyPI the same day. The test audio is our own script read by Windows text-to-speech.