#4685 videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video o

183.35* Posted at: 7 hours ago 👁17

No transcription results returned. Please check the original audio/video or model and try again.
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 46, in run
File "videotrans\task\trans_create.py", line 316, in recogn
File "videotrans\recognition\__init__.py", line 188, in run
File "videotrans\recognition\_base.py", line 93, in run
File "videotrans\recognition\_whisper.py", line 35, in _exec
File "videotrans\recognition\_whisper.py", line 108, in _faster
File "videotrans\configure\base.py", line 240, in _new_process
videotrans.configure.excepts.VideoTransError: No transcription results returned. Please check the original audio/video or model and try again.


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

1 Replies

根据错误堆栈,问题出在语音识别(ASR)阶段,faster-whisper 未能返回任何转录结果。最常见的原因是 文件路径或文件名包含中文、空格或特殊符号,导致 ffmpeg 处理音频时出错;其次是 模型未正确下载发音语言选择不当

按以下顺序排查:

  1. 检查视频/音频文件路径
    将待处理的文件移动到纯英文路径下(例如 D:\videos\test.mp4),文件名只用英文字母和数字,不要有中文、空格、括号。然后重新载入软件。
  2. 确认发音语言选择正确
    在主界面的“发音语言”中,手动选择视频的原始语言(不要用 auto 自动检测),尤其是中文视频务必选择“简体中文”。
  3. 重新下载或验证 ASR 模型
    国内网络环境下首次运行 faster-whisper 可能下载模型失败。请手动从 HuggingFace 镜像 下载 large-v3 模型,放入软件根目录 models/ 文件夹内,文件夹命名必须为 models--Systran--faster-whisper-large-v3
  4. 检查 CUDA 配置(如使用 N 卡)
    如果启用了 CUDA 加速但未正确安装 CUDA 12.8+ 和 cuDNN 9.11+,或显存不足,也会导致无结果。建议在高级选项中将 CUDA数据类型 改为 float16beam_sizebest_of 设为 1,并勾选 Whisper预分割音频 以降低显存压力。
  5. 禁用显卡加速测试
    暂时取消主界面的 CUDA加速 勾选,使用 CPU 运行一次(速度慢但可确认是否为显卡问题)。

如果仍失败,请提供 logs/ 目录下最新的日志文件(复制底部约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.

Related resource