#3320 TaskCfg(cache_folder='F:/win-pyvideotrans-v3.97/tmp/27724/68828220d1', target_dir='C:/Users/EWCN/Videos/Character Tool a

47.77* Posted at: 1 day ago 👁16

合并阶段出错 Translation successful but transfer failed.
Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1468, 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/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender.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 763, in assembling
File "videotrans\task\trans_create.py", line 1470, in _join_video_audio_srt
RuntimeError: Translation successful but transfer failed.
TaskCfg(cache_folder='F:/win-pyvideotrans-v3.97/tmp/27724/68828220d1', target_dir='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/en.srt', target_sub='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/zh-cn.srt', source_wav='F:/win-pyvideotrans-v3.97/tmp/27724/68828220d1/en.wav', source_wav_output='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/en.m4a', target_wav='F:/win-pyvideotrans-v3.97/tmp/27724/68828220d1/target.wav', target_wav_output='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/zh-cn.m4a', subtitles='', novoice_mp4='F:/win-pyvideotrans-v3.97/tmp/27724/68828220d1/novoice.mp4', noextname='02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender', shibie_audio=None, targetdir_mp4='C:/Users/EWCN/Videos/Character Tool and Pipeline/M/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender-mp4/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=3, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Xiaoxiao(Female/CN)', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=0, model_name='large-v3', voice_autorate=True, video_autorate=False, is_cuda=True, name='C:/Users/EWCN/Videos/Character Tool and Pipeline/02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender.mp4', basename='02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender.mp4', ext='mp4', dirname='C:/Users/EWCN/Videos/Character Tool and Pipeline', shound_del_name=None, uuid='68828220d1', 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.22621-SP0
version:v3.97
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v3.97

1 Replies

这是由于视频文件路径中包含空格和特殊字符(冒号)导致的文件复制失败。

  1. 立即停止:不要继续在当前路径下处理视频。
  2. 移动源文件:将你的视频文件 02. CRYENGINE Tutorial - Character Animation Pipeline- Export & Import with 3DS Max, Maya, and Blender.mp4 移动到一个路径中不包含中文、空格或特殊符号的目录下。例如:

    • D:\videos\
    • E:\work\
    • 严禁使用类似 C:/Users/.../Character Tool and Pipeline/M/... 这样包含空格和冒号的路径。
  3. 重新处理:在 pyVideoTrans 中,选择移动后的视频文件进行翻译任务。
  4. 最佳实践:始终将软件安装目录(如 F:\win-pyvideotrans-v3.97)和待处理的视频文件存放在纯英文、无空格的路径下。

请查阅相关文档:

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