#6038 语音识别阶段出错[faster-whisper(本地内置)] No transcription results returned. Please check the original audio/video or model and try

27.189* Posted at: 8 hours ago

语音识别阶段出错[faster-whisper(本地内置)] No transcription results returned. Please check the original audio/video or model and try again.
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 100, in process_task

File "videotrans\task\speech2text.py", line 97, in recogn

File "videotrans\recognition\__init__.py", line 205, in run

File "videotrans\recognition\_base.py", line 92, in run

File "videotrans\recognition\_whisper.py", line 38, in _exec

File "videotrans\recognition\_whisper.py", line 124, in _faster

File "videotrans\configure\base.py", line 272, in _new_process

videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video or model and try again.
cfg=TaskCfgSTT(uuid='11fab5a0c6', name='G:/新建文件夹 (3)/19/15045135_hq (1).mp4', dirname='G:/新建文件夹 (3)/19', noextname='15045135_hq (1)', basename='15045135_hq (1).mp4', ext='mp4', target_dir='D:/pyvideotrans/output/recogn', cache_folder='D:/pyvideotrans/tmp/5528/11fab5a0c6', is_cuda=False, source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code=None, target_sub='D:/pyvideotrans/output/recogn/15045135_hq (1).srt', target_wav=None, target_wav_output=None, detect_language='auto', recogn_type=0, model_name='large-v3-turbo', shibie_audio='D:/pyvideotrans/tmp/5528/11fab5a0c6/15045135_hq (1)-1784803261.2851748.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)


=
system:Windows-10-10.0.22621-SP0
version:v4.06
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

faster-whisper 模型 large-v3-turbo未启用 CUDA 加速(纯 CPU 模式) 下运行时,由于模型体积较大(约 1.5GB),很容易因内存不足、模型加载失败或处理超时而导致无返回结果。

故障排查步骤:

  1. 检查模型完整性
    进入软件目录下的 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹,确认内部文件是否完整(正常应有 model.bin 等多个文件)。若不完整,请删除该文件夹,重新运行软件让其自动下载,或参考手动下载模型指南下载。
  2. 临时更换小模型验证
    在主界面语音识别渠道选择 faster-whisper,模型改为 basesmall,再次尝试同一视频。如果小模型可以正常识别,则说明 large-v3-turbo 在 CPU 上超出了资源限制。
  3. 开启 GPU 加速(推荐)
    如果您的电脑有 NVIDIA 显卡,请安装 CUDA 12.8+ 和 cuDNN 9.11+,然后勾选主界面上的 CUDA 加速 选项。详细配置教程:Windows上配置CUDA和cuDNN
  4. 检查音频文件
    确认原始视频中确实包含清晰的人类说话声(背景音乐或纯噪声会导致无文本返回)。可先用 “批量语音转字幕” 功能测试同一文件以缩小问题范围。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Dondate via PayPal

Related resource