#4599 最后一步字幕配音嵌入时出错Traceback (most recent call last): File "videotrans\task\trans_create.py", line 1542, in _join_video_audio

103.54* Posted at: 1 hour ago 👁9

最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1542, 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: '03. Creating the First Hair Group - Settings-mp4/end.ass'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 125, in run
File "videotrans\task\trans_create.py", line 833, in assembling
File "videotrans\task\trans_create.py", line 1545, in _join_video_audio_srt
RuntimeError: 最后一步字幕配音嵌入时出错

1 Replies

最后一步合成时出错,原因是文件名或路径包含特殊字符或过长,导致ffmpeg无法识别文件 end.ass

解决方法:

  1. 将视频文件重命名为简短英文名称(如 video1.mp4),避免使用 -、空格、点号等特殊符号。
  2. 将视频文件移动到浅层目录,例如 D:\video\,不要放在嵌套多层的文件夹中。
  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