Winter 2026 · Sent from Tranquility Base
Visit the moon studio ↗
AI tools

Transcribe Video to Text for Free with Whisper: Setup and Tests

Free and open-source Whisper needs no GPU. Tested on news videos in 15 languages, with setup, code and fixes for missed or wrong words.

In the lunar base control room, an astronaut sits at a computer watching a video. Orange sound waves flow into a small machine with big ears that prints out a long strip of paper, and a little robot checks the strip with a magnifying glass.
In the lunar base control room, an astronaut sits at a computer watching a video. Orange sound waves flow into a small machine with big ears that prints out a long strip of paper, and a little robot checks the strip with a magnifying glass.

You don't need a paid online service to transcribe a video to text. Whisper, the open-source speech recognition model from OpenAI, runs on your own computer. It's free, you don't upload anything, and you don't need a graphics card.

I wrote a small script around faster-whisper (a faster version of Whisper) that turns a video or audio file into a timestamped text file (a transcript) and an SRT subtitle file. Then I picked news videos in 15 languages on YouTube, each about 5 minutes long, ran every one through both the large-v3-turbo and medium models, and read the results line by line to see whether what Whisper heard made sense.

The test machine is a Linux laptop with no dedicated GPU (Intel Core Ultra 5 322). Everything ran on the CPU.

Test results: Whisper in English and 14 other languages

Language

Video

Result

Better model

English

BBC World Service

Almost all correct; the only slip was "larger language model" for "large language model"

About the same

German

quer (BR)

Almost all correct; ChatGPT came out as JGPT

turbo

Italian

Il Sole 24 ORE

Almost all correct; Anthropic misspelled

turbo

Russian

DW на русском

Nearly usable as is; Anthropic came out as Андропик

turbo

Turkish

DW Türkçe

Easy to read; errors in a few word endings

turbo

Indonesian

DW Indonesia

Narration almost all correct; Deutsche Bahn came out as Dauceben

turbo

French

franceinfo

Narration all correct; a few mistakes in the spoken dialogue

About the same

Portuguese

BBC News Brasil

turbo has fewer typos but dropped one interviewee's section

turbo

Spanish

DW Tecnología

Narration almost all correct; interview sections unreliable

Depends on your needs

Korean

KBS News

Readable; the name 이억원 was written as the amount 2억 원

turbo

Traditional Chinese

PTS P# 新聞實驗室

Sentences read smoothly, but the key term 海纜 (undersea cable) mostly came out as 海嵐

turbo

Simplified Chinese

8world (Singapore)

turbo dropped an entire street interview

medium

Japanese

TV Osaka News

NISA written several different wrong ways; turbo dropped several street interviews

medium

Vietnamese

SBS Vietnamese

Vietnamese narration readable; neither model can be trusted on the English interviews in the video

medium

Arabic

BBC News عربي

Egyptian colloquial speech often rewritten as broken Modern Standard Arabic; needs heavy proofreading

medium

In short: for news with a single narrator and clear speech, Whisper's output is almost ready to use. Mistakes cluster in three places: proper nouns, street interviews with background music, and passages in a different language. Each one has a fix, covered below.

What is Whisper? Is faster-whisper free?

Whisper is an open-source speech recognition model from OpenAI. Both the code and the models are MIT-licensed, so you can use them for free, commercial use included. It supports nearly 100 languages, and besides the text it gives you the start and end time of every line, so you can turn the output straight into subtitles.

faster-whisper is SYSTRAN's rewrite on top of CTranslate2, also MIT-licensed. In the official CPU benchmark, the same 13-minute audio clip takes the original Whisper almost 7 minutes and faster-whisper under 2. On a computer without a graphics card, this is the practical choice.

Which model should you use?

Model

Size

Good for

small

About 460 MB

Very old computers, rough drafts only

medium

About 1.5 GB

Simplified Chinese, Japanese, videos with lots of street interviews

large-v3-turbo

About 1.6 GB

Default pick, most accurate for most languages

large-v3

About 2.9 GB

The largest, but much slower than turbo

large-v3-turbo is a slimmed-down large-v3. It's only a little bigger than medium, yet turbo was the more accurate model in 8 of the 15 languages here. Its weak spot: when background music is loud, it sometimes drops a whole section (there's a fix further down).

Installation

You need Python 3.9 or later. The steps are the same on Windows, macOS and Linux; everything below happens in a terminal:

mkdir whisper && cd whisper
python3 -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate
pip install faster-whisper opencc "av<16"

The "av<16" at the end matters. faster-whisper reads video through PyAV, and newer PyAV releases removed a parameter it uses. Install without the pin and you get this error:

TypeError: open() got an unexpected keyword argument 'metadata_errors'

An older PyAV fixes it. PyAV reads mp4, mkv, mov and webm on its own, so you don't need to install ffmpeg and can feed video files in directly. opencc converts Simplified Chinese to Traditional; skip it if you don't work with Chinese.

The model downloads automatically on the first run. After that you don't need an internet connection.

The transcription script

Save the following as transcribe.py:

import argparse
from pathlib import Path
from faster_whisper import WhisperModel, BatchedInferencePipeline

p = argparse.ArgumentParser()
p.add_argument("file")
p.add_argument("--model", default="large-v3-turbo")
p.add_argument("--lang")                 # zh, en, ja...; auto-detected if omitted
p.add_argument("--prompt")               # names and terms, e.g. "Anthropic, DeepSeek."
p.add_argument("--batch", type=int, default=0)
p.add_argument("--tw", action="store_true")  # convert Chinese to Traditional Chinese
a = p.parse_args()

def ts(t, sep=","):
    h, r = divmod(t, 3600); m, s = divmod(r, 60)
    return f"{int(h):02d}:{int(m):02d}:{int(s):02d}{sep}{int(s % 1 * 1000):03d}"

model = WhisperModel(a.model, device="cpu", compute_type="int8")
opts = dict(language=a.lang, initial_prompt=a.prompt, beam_size=5, condition_on_previous_text=False)
if a.batch:
    segments, info = BatchedInferencePipeline(model=model).transcribe(a.file, batch_size=a.batch, **opts)
else:
    segments, info = model.transcribe(a.file, vad_filter=True, **opts)

conv = None
if a.tw:
    import opencc
    conv = opencc.OpenCC("s2twp")

stem = Path(a.file).with_suffix("")
with open(f"{stem}.txt", "w") as txt, open(f"{stem}.srt", "w") as srt:
    for i, s in enumerate(segments, 1):
        text = s.text.strip()
        if conv:
            text = conv.convert(text).replace("臺", "台")  # OpenCC turns 台 into the variant 臺; switch it back to the common form
        print(f"[{ts(s.start, '.')[:8]}] {text}")
        txt.write(f"[{ts(s.start, '.')[:8]}] {text}\n")
        srt.write(f"{i}\n{ts(s.start)} --> {ts(s.end)}\n{text}\n\n")
print(f"Language: {info.language}, done: {stem}.txt, {stem}.srt")

What the settings are for:

  • compute_type="int8": runs on 8-bit integers, which is faster on a CPU and uses less memory.
  • vad_filter=True: filters out stretches with no voice first, so Whisper invents less text during music.
  • condition_on_previous_text=False: doesn't feed the previous line back in as context. With it on, one misheard line tends to snowball, or Whisper gets stuck repeating the same line.
  • s2twp: OpenCC's Simplified-to-Traditional Chinese conversion, which swaps vocabulary too (软件 → 軟體, 视频 → 影片).

How to use it

To transcribe an English video:

python transcribe.py video.mp4 --lang en

It creates video.txt (each line starts with a timestamp) and video.srt (a subtitle file you can drag straight into a video player or editor) next to the video. Here's how the BBC World Service video I tested came out:

[00:00:00] One-fifteenth of a teaspoon. That's how much water the average single interaction with ChatGPT
[00:00:06] uses, according to Sam Altman, the boss of OpenAI. So if you type, can you help me solve this maths
[00:00:13] problem? That's a drop. Or can I put lime instead of lemon in this recipe? That's a drop. Or why is

For other languages, just change --lang (ja, ko, de...). For Chinese videos, add --tw to get Traditional Chinese output. Without --lang, Whisper guesses the language from the first 30 seconds, and a video that opens with theme music can throw it off. If you know the language, pass it.

Transcribe audio to text: recordings

Audio files work the same way. m4a, mp3 and wav from your phone go in as is, so this covers meetings, interviews and lectures:

python transcribe.py meeting.m4a --lang en

YouTube transcript: transcribe a YouTube video

Use yt-dlp to download only the audio, then run it through the script:

pip install yt-dlp
yt-dlp -f bestaudio -o "audio.%(ext)s" "https://www.youtube.com/watch?v=VIDEO_ID"
python transcribe.py audio.webm --lang en

The file extension depends on the video (usually .webm or .m4a); check with ls. Only transcribe videos you have the right to use. A transcript for your own notes or research is fine, but get permission before publishing someone else's content.

How fast is it?

For a news video of about 5 minutes, on this laptop:

  • large-v3-turbo and medium: about 1 to 2 minutes for most languages; Chinese, Japanese, Korean and Vietnamese take a bit longer.
  • With --batch 8 (batch mode): about 1 minute.

Common problems and fixes

Proper nouns keep coming out wrong: use --prompt

This happened in all 15 languages, and AI product names were the worst: Anthropic became Antropic and Андропик, ChatGPT became JGPT, DeepSeek became DeepSync.

A video's main topic word is even more of a problem. The Chinese news video (from PTS) is about undersea cables, and 海纜 (undersea cable) came out as 海嵐 most of the time. The Japanese video is about NISA (Japan's tax-free investment account), and the two models produced several spellings, including 任意差 and 兄さん.

--prompt lets you tell Whisper the proper nouns up front so it spells them your way. For the Chinese video I gave it "海纜、低軌衛星、數發部。" (undersea cable, low-orbit satellite, digital ministry). On an English video, you'd pass the terms you expect, for example the one the BBC video tripped on:

python transcribe.py video.mp4 --lang en --prompt "large language model."

After trying it, some words came out right more often:

Video

Without --prompt

With --prompt

PTS (海纜, undersea cable)

「海纜」 right only 5 times, 「海嵐」 10 times

「海纜」 right 9 times, still 「海嵐」 7 times

PTS (船錨, ship anchor)

船毛勾損

船錨勾損

PTS (數發部, digital ministry)

蘇巴布袋

Still wrong

Japanese (NISA)

ニーサ (katakana)

Written as NISA, as prompted

The prompt is more like telling Whisper "these words will show up in this video." When it's unsure, it leans toward your spelling, but words that sound too different still come out wrong. One side effect: if your prompt has punctuation, the transcript picks up punctuation too. After transcribing, a find-and-replace in your editor is still the fastest way to clean up the remaining errors.

Street interviews with background music get dropped: use --batch 8

turbo dropped entire interviewee sections in the Simplified Chinese, Japanese and Portuguese videos, and every one was a street interview with music underneath. The Japanese video lost 3 sections of about 30 seconds each, and you can see it in the timestamps:

[00:01:50] 町角で聞きました
[00:02:20] ニーサを利用する理由として口を揃えて言うのは将来への不安

The narrator says "we asked people on the street," and the next line jumps 30 seconds ahead. Everything the interviewees said in between is gone.

I tried turning off the silence filter and adjusting the threshold Whisper uses to decide "nobody is speaking." Neither brought the sections back. Batch mode did:

python transcribe.py video.mp4 --lang ja --batch 8

Batch mode first splits the audio with voice detection, then sends several chunks to the model at once. Most of the missing street interviews in the Japanese video came back, and it ran faster too.

The trade-off is longer segments, often 20 to 30 seconds each. That's fine for a plain transcript but far too long for subtitles. My approach: for subtitles, use the default mode and check the timestamps for big gaps afterward; for a complete transcript, use batch mode.

Passages in another language: proofread them yourself

Whisper transcribes in one language at a time. The Vietnamese video has a few people interviewed in English. With Vietnamese specified, medium translated the English into Vietnamese and got it wrong (Australia became "China"), while large-v3-turbo produced a string of meaningless words and, near the end, repeated "Hãy subscribe cho kênh Ghiền Mì Gõ" (please subscribe to some channel) several times.

The Spanish, Indonesian and Arabic videos were the same: interviews in English or German were either skipped or translated into the main language. If your video mixes languages, check those passages against the video yourself.

A "thanks for watching" appears at the end: just delete it

Whisper was trained on huge amounts of online video, and videos often end with lines like "thanks for watching" or "please subscribe," so it occasionally adds one at the end on its own. The Japanese video got an extra 「ご視聴ありがとうございました」 (thanks for watching) at the end, which nobody in the video actually says. Look over the last few lines after transcribing and delete anything extra.

Dialects: understood, but sometimes rewritten

The interviewees in the Arabic video speak Egyptian colloquial Arabic. large-v3-turbo often rewrote the colloquial speech into Modern Standard Arabic, but with broken grammar; medium kept more of the original colloquial wording. For videos with a lot of dialect, run both models and keep whichever version reads better.

Wrapping up

Whisper is now good enough to be an everyday tool. News, courses, meeting recordings and other videos with clear speech come out needing almost no edits. My own routine: run large-v3-turbo with --prompt to give it the proper nouns, check the timestamps for big gaps, and if there are any, run it again with --batch 8.

Can Whisper transcribe video and audio recordings to text?

Yes. faster-whisper reads mp4, mkv, mov and webm video directly, as well as m4a, mp3 and wav recordings from a phone, with no conversion step. It outputs a timestamped text file and an SRT subtitle file.

Is Whisper free? Can I use it commercially?

Yes, it's free. Whisper and faster-whisper are both MIT-licensed, so commercial use is allowed, and they run on your own computer without uploading any files.

Can I run Whisper without a graphics card?

Yes. I used a laptop with no dedicated GPU, running on the CPU only. A video of about 5 minutes took about 1 to 2 minutes to transcribe, or about 1 minute in batch mode.

Does Whisper support English?

Yes. On the BBC World Service video almost everything was correct; the only slip was "larger language model" instead of "large language model." large-v3-turbo and medium did about equally well.

Which Whisper model should I use?

Use large-v3-turbo in most cases. It's about 1.6 GB and was the most accurate in 8 of the 15 languages I tested. For Simplified Chinese, Japanese, or videos with lots of street interviews, try medium.

How do I fix the metadata_errors error when installing faster-whisper?

Newer PyAV releases removed a parameter that faster-whisper uses. Run pip install "av<16" to install an older PyAV and the error goes away.

If you've transcribed other languages or hit a different error, let me know on Threads or X.