#4569 D:/videotrans/tmp/12476/0e29b2620e/laste_target.mp4

107.149* Posted at: 1 hour ago 👁5

视频翻译成功,但移动到目标文件夹时失败,你可手动复制,当前视频保存在:
D:/videotrans/tmp/12476/0e29b2620e/laste_target.mp4
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1515, in _join_video_audio_srt
File "shutil.py", line 434, in copy2
File "shutil.py", line 256, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'D:/Cam/录像文件/ICT Pattern Recognition - Optimal Trade Entry 信息通信技术模式识别——最优贸易进入方式/_video_out/Pattern Recognition - Fiber OTE NYO and Asian Session 模式识别 - Fiber OTE NYO 和亚洲会议-mp4/Pattern Recognition - Fiber OTE NYO and Asian Session 模式识别 - Fiber OTE NYO 和亚洲会议.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 119, in run
File "videotrans\task\trans_create.py", line 822, in assembling
File "videotrans\task\trans_create.py", line 1517, in _join_video_audio_srt
RuntimeError: 视频翻译成功,但移动到目标文件夹时失败,你可手动复制,当前视频保存在:
D:/videotrans/tmp/12476/0e29b2620e/laste_target.mp4


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/videotrans

1 Replies

这是由于文件路径过长或包含特殊符号(如中文、空格、括号等)导致的移动失败。Windows 系统对文件路径长度有限制(通常约260字符),且特殊符号可能被误解析。

解决方案:

  1. 手动复制文件:直接打开临时文件夹 D:/videotrans/tmp/12476/0e29b2620e/laste_target.mp4,将其复制到你想保存的位置。这是最快的方法。
  2. 彻底避免此类问题

    • 原始视频文件移动到一个浅层目录,路径中只使用英文、数字和短横线,例如 D:\videos\input.mp4
    • 确保输出目录(默认是原视频目录下的 _video_out)也避免过深或含特殊符号。
    • 在软件主界面的“输出到..”按钮中,手动设置一个简单英文路径作为输出目录。
  3. 后续处理:再次处理该视频前,勾选主界面左上角的“清理已生成”,以重新执行并避免使用旧缓存。

请查阅相关文档:

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