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

182.96* Posted at: 3 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\_stage_recogn.py", line 62, 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=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: C:/Users/Administrator/Desktop/20231114_4a036b8cef4a2f3a_437358417082_mp4_264_hd_taobao.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Desktop/_video_out/20231114_4a036b8cef4a2f3a_437358417082_mp4_264_hd_taobao-mp4,
临时文件夹: D:/BaiduNetdiskDownload/win-pyvideotrans-v4.06-0718/tmp/23192/602994cea5
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:葡萄牙语, 已选 发送完整字幕
输出字幕格式: 单字幕
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.06
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/win-pyvideotrans-v4.06-0718

1 Replies

该错误表示语音识别引擎未能从音频中提取出任何文字,最常见的原因是未启用 CUDA 时使用 large-v3-turbo 模型在 CPU 上运行导致超时,或者模型文件下载不完整。请按以下步骤排查:

  1. 检查视频是否包含清晰的人声——先用播放器听一下,确认有说话声且语言设置正确(发音语言为简体中文)。
  2. 检查模型是否下载完整——进入软件目录下的 models/models--mobiuslabsgmbh--faster-whisper-large-v3-turbo 文件夹,确认所有文件已下载完毕(大小约 2.5GB)。若文件夹不存在或文件不全,请重新启动软件,或在网络良好的环境下让软件自动下载,也可参考文档手动下载模型。
  3. 启用 CUDA 加速或改用小模型

    • 如果你有 NVIDIA 显卡且已安装 CUDA 12.8 及 cuDNN 9.11,请勾选主界面的“CUDA 加速”。
    • 如果没有 NVIDIA 显卡,请将语音识别模型改为 smallbase(CPU 上 large 模型极慢且易超时)。
  4. 清空缓存重试:在主界面勾选“清理已生成”,然后重新开始。

如果以上步骤无效,请提供 logs/ 文件夹下最新的 .log 文件(复制底部约 30 行内容)以便进一步分析。

请查阅相关文档:

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