#2869 TaskCfg(cache_folder='D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63', target_dir='parasited.22.10.07.rebecca.volpetti.t

240e:393* Posted at: 1 day ago 👁20

合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "shutil.py", line 813, in move
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63/laste_target.mp4' -> 'parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1307, 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: 'parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4'

During handling of the above exception, another exception occurred:

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

TaskCfg(cache_folder='D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63', target_dir='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-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='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/en.srt', target_sub='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/zh-cn.srt', source_wav='D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63/en.wav', source_wav_output='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/en.m4a', target_wav='D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63/target.wav', target_wav_output='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/zh-cn.m4a', subtitles='', novoice_mp4='D:/win-pyvideotrans-v3.92/tmp/60112/6aef491a63/novoice.mp4', noextname='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar', shibie_audio=None, targetdir_mp4='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4/parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='biaozhun', subtitle_type=1, 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', split_type=0, voice_autorate=True, video_autorate=False, cuda=True, name='E:/money/parasited/Parasited 1080p/parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4', basename='parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4', ext='mp4', dirname='E:/money/parasited/Parasited 1080p', shound_del_name=None, uuid='6aef491a63', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=True)


=
system:Windows-10-10.0.26200-SP0
version:v3.92
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.92

1 Replies

这是由于输出目录路径不存在或权限问题导致的。软件尝试将最终合成的视频文件移动到目标目录时,目标目录 parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4 不存在或无法访问。

解决方案:

  1. 检查并创建输出目录:确保软件根目录(D:/win-pyvideotrans-v3.92)下存在名为 parasited.22.10.07.rebecca.volpetti.the.cocktail.bar-mp4 的文件夹。如果不存在,请手动创建。
  2. 检查路径权限:确认软件对 D:/win-pyvideotrans-v3.92 目录有完整的读写权限。如果软件安装在系统盘(如C盘)或受保护的目录,请将其移动到非系统盘(如D盘)的根目录或简单路径下。
  3. 清理缓存并重试:在软件主界面的“高级选项”中,勾选“执行前清理掉旧文件”,然后重新处理视频。
  4. 检查输入文件路径:从日志看,输入视频路径为 E:/money/parasited/Parasited 1080p/parasited.22.10.07.rebecca.volpetti.the.cocktail.bar.mp4。确保此文件路径没有包含特殊字符,且文件未被其他程序占用。

参考文档:

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