#4680 RuntimeError: Lỗi khi nhúng lồng tiếng ở bước cuối cùng

2405:4802* Posted at: 12 hours ago 👁19

Lỗi khi nhúng lồng tiếng ở bước cuối cùng
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1507, 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: 'ai_26309_mrbeast_This was so satisfying 😍-mp4/end.ass'

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 1510, in _join_video_audio_srt
RuntimeError: Lỗi khi nhúng lồng tiếng ở bước cuối cùng


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:vi
root_dir:D:/win-pyvideotrans-v3.99-428

1 Replies

这是由于原始视频文件名或路径中包含特殊字符(如表情符号 😍、空格、特殊符号等),导致软件在 Windows 系统下无法正常创建或访问字幕文件 end.ass

解决方法:

  1. 重命名原始视频文件:将文件名改为纯字母或数字(如 mrbeast_video.mp4),必须删除表情符号、空格及特殊字符(如 @#$% 等)。
  2. 移动路径:确保视频文件存放在层级较浅的英文目录(如 D:\Videos\),避免路径过长。
  3. 重新处理:勾选软件主界面左上角的 清理已生成 选项,然后再次启动翻译配音任务。

如果问题仍然存在,请提供 logs/ 文件夹下最新的日志文件(底部约30行)以便进一步排查。

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