ggml-org/whisper.cpp

can I enable "-dl" option and detect multiple languages (in one audio-clip)? Thanks!

Offen

#3.018 geöffnet am 08.04.2025

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (6.078 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (53.008 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 20h) (36 gemergte PRs in 30 T)

Beschreibung

Hi,

I could run whisper-cli to detect language and it works great (as the following): whisper-cli -f ./jfk.wav -dl --model ./ggml-small.bin

it works great and I could get the auto-detected language (like the following)::

...
whisper_full_with_state: auto-detected language: en (p = 0.958143)
...

my question is: can I also use the same "-dl" option to detect a wav-file which has multiple languages? in this case will whisper-cli show 2 language-types (similar as the above, but show 2 language-types)? Thanks!

Contributor Guide