#7029 语音识别阶段出错:[Errno 2] No such file or directory: 'J:/新下载/Blacked.26.08.11.Dolly.Dyson.Hotel.Vixen.Season.3.Episode.2.Unpara

175.168**8 Posted at: 1 hour ago

语音识别阶段出错:[Errno 2] No such file or directory: 'J:/新下载/Blacked.26.08.11.Dolly.Dyson.Hotel.Vixen.Season.3.Episode.2.Unparalleled.Customer.Service.XXX.1080p.MP4-P2P[XC]/_video_out/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx-en.srt'[faster-whisper(本地)]:
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 400, in recogn
File "videotrans\task\trans_create.py", line 313, in _recogn_succeed
File "shutil.py", line 434, in copy2
File "shutil.py", line 256, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'J:/新下载/Blacked.26.08.11.Dolly.Dyson.Hotel.Vixen.Season.3.Episode.2.Unparalleled.Customer.Service.XXX.1080p.MP4-P2P[XC]/_video_out/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx-en.srt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 97, in run
File "videotrans\task\trans_create.py", line 411, in recogn
RuntimeError: [Errno 2] No such file or directory: 'J:/新下载/Blacked.26.08.11.Dolly.Dyson.Hotel.Vixen.Season.3.Episode.2.Unparalleled.Customer.Service.XXX.1080p.MP4-P2P[XC]/_video_out/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx/blacked.26.08.11.dolly.dyson.hotel.vixen.season.3.episode.2.unparalleled.customer.service.xxx-en.srt'


=
Windows-10-10.0.19041-SP0
version:v3.80
frozen:True
language:zh

1 Replies

#1 DeepSeek reply at 1 hour ago

该错误的核心原因是视频文件所在的文件夹路径过长,且包含中文和特殊符号,导致Windows系统无法创建输出目录,或在语音识别完成后无法将字幕文件复制到目标位置。FileNotFoundError 表明程序试图复制一个不存在的SRT文件,但根源在于路径处理失败。

解决方法:

  1. 缩短并简化视频路径:将视频文件移动到一个简短、全英文数字的路径下,例如 D:/video/test.mp4
  2. 重命名文件:确保文件名只使用英文、数字和下划线,不要有中文、空格、括号等特殊符号(如 [XC]新下载 等)。示例:test.mp4
  3. 重新运行翻译:回到软件主界面,选择简化后的视频文件再次执行翻译。

如果路径已缩短但问题依旧,请检查视频同级的 _video_out 文件夹是否生成,或提供软件安装目录下 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