#6992 语音识别阶段出错[阿里FunASR(本地内置)] NoneTraceback (most recent call last):

125.67**9 Posted at: 1 hour ago

语音识别阶段出错[阿里FunASR(本地内置)] None
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 206, in run

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

File "videotrans\recognition\_funasr.py", line 48, in _exec

File "videotrans\recognition\_base.py", line 208, in cut_audio

File "videotrans\recognition\_base.py", line 189, in _vad_split

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

videotrans.configure.excepts.VideoTransError: None
cfg=TaskCfgSTT(uuid='e263875555', name='D:/BaiduNetdiskDownload/配乐插件教程/The Score/01.SONUSCORE-THE SCORE Composing For Drama_1080p.mp4', dirname='D:/BaiduNetdiskDownload/配乐插件教程/The Score', noextname='01.SONUSCORE-THE SCORE Composing For Drama_1080p', basename='01.SONUSCORE-THE SCORE Composing For Drama_1080p.mp4', ext='mp4', target_dir='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/output/recogn', cache_folder='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/19288/e263875555', is_cuda=True, 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:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/output/recogn/01.SONUSCORE-THE SCORE Composing For Drama_1080p.srt', target_wav=None, target_wav_output=None, detect_language='en', recogn_type=3, model_name='Fun-ASR-Nano-2512', shibie_audio='D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07/tmp/19288/e263875555/01.SONUSCORE-THE SCORE _ Composing For Drama_1080p-1788190903.6273518.wav', remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=0)


=
system:Windows-10-10.0.26100-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/BaiduNetdiskDownload/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

#1 DeepSeek reply at 1 hour ago

语音识别阶段的 VideoTransError: None 通常发生在 FunASR 调用 VAD 预分割时子进程启动失败。常见原因有:模型文件下载不完整、软件或视频路径包含中文/空格,或 v4.07 版本自身缺陷。

请按以下顺序排查:

  1. 路径规范化
    将软件整个目录和待处理视频移动到纯英文、无空格的路径(例如 D:/videotransD:/videos),并重命名视频为简单英文名。当前路径含中文和空格,是子进程启动失败的常见诱因。
  2. 检查模型完整性
    进入 软件目录/models,确认 FunASR 相关模型已完整下载;同时检查 models/onnx 文件夹中是否存在 VAD 分割所需的 .onnx 模型文件(如 silero_vad.onnx 等)。若模型不全,请根据 模型手动下载 重新下载覆盖。
  3. 关闭 CUDA 加速
    在主界面取消勾选 CUDA加速,先改用 CPU 模式测试,排除 GPU 与模型兼容性问题。
  4. 升级版本
    当前 v4.07 过旧,建议升级到最新版 v4.11,再重复尝试。

若以上方法均无效,请提供软件根目录 logs/ 文件夹中最新的日志文件(复制底部约30行)以便进一步分析。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource