Dev.to AI ๐Ÿค– Ai ๐Ÿ‘ 0 ๐Ÿ“– 5 min read

20 seconds to install, 68 to transcribe, one flag it will not accept

Two numbers and one error A 42-second recording of Chinese speech, with English terms mixed in, went through whisper-ctranslate2 on a Linux x86_64 machine on 2026-11-22. The install took 20 seconds. The transcription t

Two numbers and one error

A 42-second recording of Chinese speech, with English terms mixed in, went through whisper-ctranslate2 on a Linux x86_64 machine on 2026-11-22. The install took 20 seconds. The transcription took 68. And one flag that looks reasonable was rejected at the command line, before anything ran.

That is the whole result, and it is worth writing down, because the interesting part of local transcription is not "it works" โ€” it is what the two timings cost you and which arguments the tool refuses.

pip install whisper-ctranslate2
whisper-ctranslate2 --model base --compute_type int8 --threads 2 --multilingual True --output_format all --output_dir out meeting-notes.wav
grep -c -- " --> " out/meeting-notes.srt

The third command printed 8. The rest of this post is about the other two and about the flag that is not in that command.

The install prints four names

pip install whisper-ctranslate2 finished in 20 seconds and reported whisper-ctranslate2-0.5.9. Three other packages came along with version numbers worth recording: ctranslate2-4.9.0, faster-whisper-1.2.1, av-18.1.1.

That matters more than it looks. The name on the command line is not the only thing on the machine โ€” there are four version strings here, and if you are comparing results with someone else, "we both used whisper-ctranslate2" is not enough. These four are not one program: the model runs through the inference engine, the audio decoding is a separate package, and two installs a month apart can differ on any of the four.

The transcription

whisper-ctranslate2 --model base --compute_type int8 --threads 2 --multilingual True --output_format all --output_dir out meeting-notes.wav

Exit code 0, duration 68 seconds, and the tool printed the detection line:

Detected language 'Chinese' with probability 0.657382

68 seconds for 42 seconds of audio is not a fast path. It is roughly 1.6 times the length of the recording on two threads with int8 compute, which is the honest way to read that number: on a machine you already own, that is the order of magnitude to expect.

Each argument in that command is doing something specific:

  • --model base โ€” the tier this run used; one of the small Whisper checkpoints, and nothing here is a claim about accuracy
  • --compute_type int8 โ€” quantized inference; it trades precision for speed and memory
  • --threads 2 โ€” how much of the CPU the run is allowed to take
  • --multilingual True โ€” the setting that was used here, see the flag section below
  • --output_format all โ€” writes all the supported formats instead of just one
  • --output_dir out โ€” where those files go

Five files, one count

--output_format all produced five files in out/: meeting-notes.srt, .vtt, .txt, .json, .tsv.

The subtitle file is the one worth checking, because its structure is countable:

grep -c -- " --> " out/meeting-notes.srt

That printed 8: eight cues, each with a start and end timestamp. The opening cue reads:

00:00:00,000 --> 00:00:03,740

Eight cues in 42 seconds of audio is a coarse segmentation โ€” roughly one cue per five seconds. That is what this file looks like, and it tells you how the file will behave if you display it: fast speech will outrun eight blocks, and you will be splitting them by hand.

The count is the check. Opening the file and scrolling tells you the text is there; the cue count tells you the file has the structure a subtitle needs.

The flag that is rejected

The run above uses --multilingual True. Before that, the natural attempt was --language auto, and it never reached the audio:

whisper-ctranslate2: error: argument --language: invalid choice: 'auto'

That message comes from argument parsing, not from the model: the command is rejected as malformed and never runs. What it tells you is narrow and useful: --language takes a list of fixed values, and auto is not one of them.

What I can say about --multilingual True is only what the two runs show: it was accepted, and the tool then printed a detected language with a probability. How detection interacts with that flag internally was not examined, so treat the flag as "the setting that ran", not as an explanation of the detection line.

What the transcript looks like

Two lines from the output, copied verbatim:

้€™ๆ˜ฏไธ€ๆฎต็”จไพ†ๆธฌ่ฉฆๆœฌๅœฐ่ชž้Ÿณ่ฝ‰ๅฏซ็š„้Œ„้Ÿณใ€‚
ไปŠๅคฉไธ‹ๅˆ3้ปž,ๆˆ‘ๅ€‘ๅ’Œ็ฌฌไธ‰ team ้–‹ไบ†ไธ€ๅ€‹็Ÿญๆœƒ,่จŽ่ซ–ไบ†Q4็š„้ ็ฎ—ใ€‚

The output is in traditional characters, and the English words stay in Latin script โ€” team, Q4. Two consequences for anyone feeding this to a model: the character set is not the one you may be expecting from a Chinese transcript, and mixed-script terms survive as mixed script, so a keyword filter written against simplified characters will miss them.

One more line appeared during the run, while the model was being fetched:

Warning: You are sending unauthenticated requests to the HF Hub

That is a warning about how the model was fetched, not about the transcription. I did not test an offline or pre-downloaded path, so I can only report that the warning appears and that the run continued to a normal result.

What was not tested

Six boundaries, in the order they are likely to matter:

  1. One recording. Chinese speech with English terms, 42 seconds, one file. English, overlapping speakers, noisy rooms and long audio (an hour or more) were not run.
  2. One model. base only. small, medium and large were not compared, so nothing here is a recommendation about which to use.
  3. No accuracy number. There was no reference transcript, so no word error rate was computed. The two quoted lines are evidence that text came out, not evidence that it is correct.
  4. No cloud comparison. Local versus hosted was not measured, so this is not a claim about quality or cost relative to any API.
  5. These timings are this machine's. 20 seconds for the install and 68 for the run, on Linux x86_64, --threads 2, int8. A different CPU, a different thread count or a full download will move both numbers.
  6. One output-format setting. --output_format all was used; the other formats were not exercised separately.

The check worth keeping

The cue count is the cheapest check in this workflow, and it is the one that catches the failure that looks like success: a transcript file that opens fine, contains text, and has no timestamp structure at all. If grep -c returns 0 on a file you expect to be subtitles, the text may still be there in .txt form โ€” what you do not have is a timed file.

Two commands, both from this run, cover it:

whisper-ctranslate2 --model base --compute_type int8 --threads 2 --multilingual True --output_format all --output_dir out meeting-notes.wav
grep -c -- " --> " out/meeting-notes.srt

The walkthrough this comes from, with the tool page and the steps in order, is here: https://anclum.com/en/scene/video/

Everything above was measured once, on Linux x86_64, on 2026-11-22. One recording, one model, one thread count. Treat the timings as a baseline for your own run, not as properties of the tool.

โ€” David, maintainer of Anclum

๐Ÿ“ฐ Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.