Skip to content

转录失败,fast whisper调用有问题 #948

@Nazgulup

Description

@Nazgulup

问题描述 | Problem Description

不知道为什么会调用D盘上的这个文件。我没安装在D盘

日志信息(可选)| Logs (Optional)

===========转录任务开始===========
时间:2026-01-07 08:45:37.903012
开始转换音频
转换为音频执行命令: ffmpeg -i E:\AIchat\VideoCaptioner\work-dir\81.avi -map 0:a -ac 1 -ar 16000 -af aresample=async=1 -y C:\Users\Micha\AppData\Local\Temp\tmpupia3y1s.wav
视频时长: 6193.69秒
开始语音转录
Faster Whisper 执行命令: faster-whisper-xxl -m large-v2 --print_progress --model_dir E:\AIchat\VideoCaptioner\AppData\models C:\Users\Micha\AppData\Local\Temp\bk_asr\tmpww7_piii\audio.wav -l ja -d cuda --output_format srt -o source --vad_filter true --vad_threshold 0.40 --vad_method silero_v4 --one_word 0 --sentence --max_line_width 30 --max_line_count 1 --max_comma 20 --max_comma_cent 50 --beep_off
Standalone Faster-Whisper-XXL r245.2 running on: CUDA
Starting sequential inference to transcribe: C:\Users\Micha\AppData\Local\Temp\bk_asr\tmpww7_piii\audio.wav
Traceback (most recent call last):
File "D:\whisper-fast-XXL\__main__.py", line 2245, in <module>
File "D:\whisper-fast-XXL\__main__.py", line 2118, in cli
File "faster_whisper\transcribe.py", line 2179, in restore_speech_timestamps
File "faster_whisper\transcribe.py", line 1471, in generate_segments
File "faster_whisper\transcribe.py", line 1719, in encode
RuntimeError: cuBLAS failed with status CUBLAS_STATUS_NOT_SUPPORTED
[PYI-22280:ERROR] Failed to execute script '__main__' due to unhandled exception!
Faster Whisper 返回值: 1
2026-01-07 08:46:03 - faster_whisper - ERROR - Faster Whisper 错误: 
2026-01-07 08:46:03 - transcript_thread - ERROR - 转录过程中发生错误: 
Traceback (most recent call last):
  File "E:\AIchat\VideoCaptioner\app\thread\transcript_thread.py", line 101, in run
    asr_data = transcribe(
               ^^^^^^^^^^^
  File "E:\AIchat\VideoCaptioner\app\core\bk_asr\transcribe.py", line 86, in transcribe
    asr_data = asr.run(callback=callback)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\AIchat\VideoCaptioner\app\core\bk_asr\base.py", line 54, in run
    resp_data = self._run(callback, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\AIchat\VideoCaptioner\app\core\bk_asr\faster_whisper.py", line 266, in _run
    raise RuntimeError(error_msg)
RuntimeError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions