#3577 TaskCfgVTT(is_cuda=False, uuid='2560fd98f0', cache_folder='C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans/tmp/6

112.120* Posted at: 3 days ago 👁32

合并阶段出错 Translation successful but transfer failed.
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1521, 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: 'C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 288, in run
File "videotrans\task\trans_create.py", line 789, in assembling
File "videotrans\task\trans_create.py", line 1523, in _join_video_audio_srt
RuntimeError: Translation successful but transfer failed.
TaskCfgVTT(is_cuda=False, uuid='2560fd98f0', cache_folder='C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans/tmp/6300/2560fd98f0', target_dir='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4', source_language='简体中文', source_language_code='zh-cn', source_sub='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/zh-cn.srt', source_wav='C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans/tmp/6300/2560fd98f0/zh-cn.wav', source_wav_output='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/en.srt', target_wav='C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans/tmp/6300/2560fd98f0/target.wav', target_wav_output='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/en.m4a', name='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC.mp4', noextname='2-02-阿里云一键部署OpenClaw-720P 准高清-AVC', basename='2-02-阿里云一键部署OpenClaw-720P 准高清-AVC.mp4', ext='mp4', dirname='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!', shound_del_name=None, translate_type=1, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='WilliamMultilingual(Male/AU)', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', recogn_type=18, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/haigui888/Desktop/xiazai/openclaw教程/【OpenClaw从入门到实战】手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/【OpenClaw从入门到实战】绝对是26年最全OpenClaw全套教程!手把手教你OpenClaw本地部署,零基础接入微信飞书钉钉QQ实现自动化运行!/_video_out/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC-mp4/2-02-阿里云一键部署OpenClaw-720P 准高清-AVC.mp4', novoice_mp4='C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans/tmp/6300/2560fd98f0/novoice.mp4', is_separate=False, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=1, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.97
frozen:True
language:zh
root_dir:C:/Users/haigui888/Desktop/xiazai/转换工具/win-pyvideotrans

1 Replies

这是由于输出文件路径过长或包含特殊字符(如方括号 【】),导致系统在最终复制合成视频时找不到文件。

根据错误信息 FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/.../【OpenClaw从入门到实战】.../_video_out/2-02-.../2-02-...mp4',软件在尝试将最终合成的视频文件从临时目录复制到输出目录时失败。

解决方案:

  1. 简化路径:将原始视频文件移动到路径更短、不包含中文和特殊符号(特别是方括号 【】)的目录中。例如 D:\videos\
  2. 更改输出目录:在软件主界面,点击 输出到.. 按钮,将输出目录设置为一个简单的路径,例如 D:\output\
  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