#3025 TaskCfg(cache_folder='E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9', target_dir='2026-01-30 16-40-56-mp4', remo

185.220* Posted at: 16 days ago 👁35

合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "shutil.py", line 813, in move
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9/laste_target.mp4' -> '2026-01-30 16-40-56-mp4/2026-01-30 16-40-56.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1478, in _join_video_audio_srt
File "shutil.py", line 833, in move
File "shutil.py", line 434, in copy2
File "shutil.py", line 256, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: '2026-01-30 16-40-56-mp4/2026-01-30 16-40-56.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 289, in run
File "videotrans\task\trans_create.py", line 758, in assembling
File "videotrans\task\trans_create.py", line 1482, in _join_video_audio_srt
RuntimeError: 最后一步字幕配音嵌入时出错
TaskCfg(cache_folder='E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9', target_dir='2026-01-30 16-40-56-mp4', remove_noise=False, is_separate=False, detect_language='ja', subtitle_language=None, source_language='日语', target_language='简体中文', source_language_code='ja', target_language_code='zh-cn', source_sub='2026-01-30 16-40-56-mp4/ja.srt', target_sub='2026-01-30 16-40-56-mp4/zh-cn.srt', source_wav='E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9/ja.wav', source_wav_output='2026-01-30 16-40-56-mp4/ja.m4a', target_wav='E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9/target.wav', target_wav_output='2026-01-30 16-40-56-mp4/zh-cn.m4a', subtitles='', novoice_mp4='E:/AI/win-pyvideotrans-v3.96-131/tmp/15716/e5afdf5fa9/novoice.mp4', noextname='2026-01-30 16-40-56', shibie_audio=None, targetdir_mp4='2026-01-30 16-40-56-mp4/2026-01-30 16-40-56.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=4, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3-turbo', voice_autorate=True, video_autorate=True, cuda=True, name='E:/Works/动画制作进行/20260130/2026-01-30 16-40-56.mp4', basename='2026-01-30 16-40-56.mp4', ext='mp4', dirname='E:/Works/动画制作进行/20260130', shound_del_name=None, uuid='e5afdf5fa9', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False, fix_punc=False, recogn2pass=True)


=
system:Windows-10-10.0.26100-SP0
version:v3.96
frozen:True
language:zh
root_dir:E:/AI/win-pyvideotrans-v3.96-131

1 Replies

这是由于输出目录路径包含空格,导致文件移动操作失败。

  1. 问题原因:错误信息显示 FileNotFoundError: [WinError 3] 系统找不到指定的路径。,具体是尝试将文件移动到路径 '2026-01-30 16-40-56-mp4/2026-01-30 16-40-56.mp4' 时失败。该路径包含空格,在命令行或某些文件操作中可能引发问题。
  2. 解决方案

    • 立即解决:请检查并确保你的视频文件所在目录(E:/Works/动画制作进行/20260130)以及软件的输出目录(2026-01-30 16-40-56-mp4不包含任何空格、中文或特殊字符。这是软件运行的基本要求。
    • 推荐操作

      1. 将源视频文件移动到路径不包含空格和中文的目录,例如 E:/Works/Video/20260130
      2. 在软件设置中,将“输出目录”也设置为一个简单的英文路径,例如 E:/VideoTransOutput
      3. 重新处理视频。
    • 清理缓存:在重新处理前,可以尝试在软件菜单中点击“工具”->“清理缓存”,以清除因本次错误产生的临时文件。
  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