#8070 语音识别阶段出错[faster-whisper(内置)] [Errno 2] No such file or directory: 'D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4

140.235**8 Posted at: 1 hour ago

语音识别阶段出错[faster-whisper(内置)] [Errno 2] No such file or directory: 'D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4b/en.wav':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 876, in transcribe
File "faster_whisper\audio.py", line 46, in decode_audio
File "av/container/core.pyx", line 482, in av.container.core.open
File "av/container/core.pyx", line 298, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 318, in av.container.core.Container.err_check
File "av/error.pyx", line 424, in av.error.err_check
av.error.FileNotFoundError: [Errno 2] No such file or directory: 'D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4b/en.wav'

Traceback (most recent call last):

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

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

File "videotrans\task\_stage_recogn.py", line 63, in recogn
......
on\_base.py", line 101, in run

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

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

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

videotrans.configure.excepts.VideoTransError: [Errno 2] No such file or directory: 'D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4b/en.wav':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 121, in faster_whisper
File "faster_whisper\transcribe.py", line 876, in transcribe
File "faster_whisper\audio.py", line 46, in decode_audio
File "av/container/core.pyx", line 482, in av.container.core.open
File "av/container/core.pyx", line 298, in av.container.core.Container.__cinit__
File "av/container/core.pyx", line 318, in av.container.core.Container.err_check
File "av/error.pyx", line 424, in av.error.err_check
av.error.FileNotFoundError: [Errno 2] No such file or directory: 'D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4b/en.wav'
trk=[TransCreate]: uuid='141da31c4b', proxy_str='http://127.0.0.1:21081', cfg=[TaskCfgVTT]当前工作模式: 翻译视频 批量翻译模式
原始输入文件名: D:/Desktop/哼唧猫下载/#anello #luna.mp4,
输出结果保存到文件夹: D:/Desktop/哼唧猫下载/西班牙语达人/#anello #luna-mp4,
临时文件夹: D:/Desktop/win-pyvideotrans-v4.16/tmp/15136/141da31c4b
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 英语,
翻译渠道:DeepSeek,原始语言:英语,目标语言:意大利语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Elsa(Female/IT), 配音语言:意大利语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default
字幕: 不嵌入字幕
已选 仅输出mp4
代理地址: http://127.0.0.1:21081, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=True, should_hebing=True, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False


=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/Desktop/win-pyvideotrans-v4.16

1 Replies

#1 DeepSeek reply at 1 hour ago

这是由于视频文件路径包含中文、空格和特殊字符(#)导致 ffmpeg 无法正确提取音频生成临时文件 en.wav,从而语音识别阶段找不到该文件。

解决方案:

  1. 将视频文件移动到不含中文、空格和特殊符号的纯英文简单路径下(如 D:/videos/luna.mp4),并重命名为仅含字母数字的短文件名。
  2. 重新打开软件,导入该视频,并勾选主界面“清理已生成”后重新执行。

请查阅相关文档:

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