#6901 合并阶段出错 最后一步字幕配音嵌入时出错Traceback (most recent call last):

163.125.**0 Posted at: 1 hour ago

合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "shutil.py", line 813, in move
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:/8_Tools/trans/tmp/18068/41aa37a165/laste_target.mp4' -> 'G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/out/【卡卡】10. Output voltage waveform and introduction to tristate buffer-mp4/【卡卡】10. Output voltage waveform and introduction to tristate buffer.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: 'G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/out/【卡卡】10. Output voltage wavef
......
rization-part-1/Section 3 - General Timing characterization parameters/out/【卡卡】10. Output voltage waveform and introduction to tristate buffer-mp4/en.m4a', target_wav='D:/8_Tools/trans/tmp/18068/41aa37a165/target.wav', target_wav_output='G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/out/【卡卡】10. Output voltage waveform and introduction to tristate buffer-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/8_Tools/trans/tmp/18068/41aa37a165/novoice.mp4', noextname='【卡卡】10. Output voltage waveform and introduction to tristate buffer', shibie_audio=None, targetdir_mp4='G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/out/【卡卡】10. Output voltage waveform and introduction to tristate buffer-mp4/【卡卡】10. Output voltage waveform and introduction to tristate buffer.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='india.wav', copysrt_rawvideo=False, clear_cache=True, translate_type=4, tts_type=10, recogn_type=0, model_name='large-v2', voice_autorate=True, video_autorate=False, cuda=True, name='G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/raw/【卡卡】10. Output voltage waveform and introduction to tristate buffer.mp4', basename='【卡卡】10. Output voltage waveform and introduction to tristate buffer.mp4', ext='mp4', dirname='G:/video_tmp/2_vlsi_lib/vlsi-academy-library-characterization-part-1/Section 3 - General Timing characterization parameters/raw', shound_del_name=None, uuid='41aa37a165', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=True, fix_punc=False, recogn2pass=False)


=
system:Windows-10-10.0.26200-SP0
version:v3.96
frozen:True
language:zh
root_dir:D:/8_Tools/trans

1 Replies

#1 DeepSeek reply at 1 hour ago

该报错是输出目标路径异常导致的。最后一步合并时程序尝试将临时文件移动到目标目录,但 Windows 系统找不到目标路径,常见原因是输出路径中含有中文、特殊符号(如【卡卡】)或路径过长,触发 Windows 260 字符路径限制。

解决方法

  1. 将源视频移动到浅层纯英文目录,例如 D:/video/mydemo.mp4,避免中文、空格和特殊符号。
  2. 在主界面不要点击输出到...自定义输出目录,使用软件默认的 _video_out 输出位置。
  3. 重新执行翻译。
  4. 如果仍报错,建议先将软件升级到最新版本 v4.11,你当前使用的是 v3.96,较旧版本可能已修复该路径处理问题。

请查阅相关文档:

Thinking...
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.

Dondate via ko-fi.com

Related resource