ggml-org/whisper.cpp

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

開放

#3,018 建立於 2025年4月8日

 (2 則留言) (0 個反應) (0 位負責人)C++ (6,078 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (53,008 顆星)
PR 合併指標
 (平均合併 5天 20小時) (30 天內合併 36 個 PR)

描述

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!

貢獻者指南