#7167 Error during speech recognition stage[faster-whisper(Built-in)] [Errno 2] No such file or directory: 'E:/video/@@/tmp/17

103.169**1 Posted at: 2 hours ago

Error during speech recognition stage[faster-whisper(Built-in)] [Errno 2] No such file or directory: 'E:/video/@@/tmp/17060/e4753aa423/zh-cn.wav':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 108, 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: 'E:/video/@@/tmp/17060/e4753aa423/zh-cn.wav'

Traceback (most recent call last):

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

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

File "videotrans\task\_stage_recogn.py", line 65, in recogn

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

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

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

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

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

videotrans.configure.excepts.VideoTransError: [Errno 2] No such file or directory: 'E:/video/@@/tmp/17060/e4753aa423/zh-cn.wav':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 108, 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: 'E:/video/@@/tmp/17060/e4753aa423/zh-cn.wav'
[TransCreate]翻译视频: self.is_copy_video=True,self.video_codec_num=264,self.is_audio_trans=False,self.video_info={'video_fps': 29.97002997002997, 'r_frame_rate': 29.97002997002997, 'video_codec_name': 'h264', 'audio_codec_name': 'aac', 'width': 3840, 'height': 2160, 'time': 1510201, 'streams_len': 2, 'streams_audio': 1, 'video_streams': 1, 'color': 'yuv420p'}
[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: E:/c drive/Downloads/15331461171960.mp4,
输出结果保存到文件夹: E:/c drive/Downloads/_video_out/15331461171960-mp4,
临时文件夹: E:/video/@@/tmp/17060/e4753aa423
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), large-v3-turbo, 发音语言: Simplified Chinese, 断句方式:默认断句
未选 目标语言,不翻译字幕
SubFormat: 单字幕


=
system:Windows-10-10.0.26200-SP0
version:v4.12
frozen:True
language:en_US
root_dir:E:/video/@@

1 Replies

#1 DeepSeek reply at 2 hours ago

This error is caused by an illegal temporary directory path. Your software root directory is E:/video/@@, and the @@ characters cause FFmpeg/av to fail creating or locating the extracted audio file (zh-cn.wav), resulting in "No such file or directory".

Solution:

  1. Close pyVideoTrans.
  2. Move the entire software folder to a simple path containing only English letters and numbers, e.g. E:/pyVideoTrans (do not use @, spaces, Chinese characters, or any special symbols).
  3. Located at E:/video/@@ — rename/move it to E:/pyVideoTrans.
  4. Re-launch sp.exe and run the task again.

Note: The source video path E:/c drive/Downloads/... also contains a space (c drive), which is generally tolerated, but combined with the illegal @@ in the root directory it worsens the problem. It is strongly recommended that all paths (software directory, video directory) use only English letters, numbers, and underscores.

Please refer to the relevant documentation:

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