#1907 TaskCfg(cache_folder='E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c', target_dir='Video 14A Trends', remove_noise=F

148.135* Posted at: 2 hours ago 👁4

合并阶段出错:运行时错误:最后一步字幕配音嵌入时出错:
Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 227, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/compose1765336375.625895.txt', '-i', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/novoice.mp4', '-i', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/origin_audio.m4a', '-c:v', 'h264_qsv', '-c:a', 'copy', '-vf', 'subtitles=shuang.srt.ass', '-movflags', '+faststart', '-global_quality', '23', '-preset', 'veryfast', '-shortest', 'Video 14A Trends/Video 14A Trends.mp4']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\help_ffmpeg.py", line 227, in runffmpeg
File "subprocess.py", line 524, in run
subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/compose1765336375.625895.txt', '-i', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/novoice.mp4', '-i', 'E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/origin_audio.m4a', '-c:v', 'libx264', '-c:a', 'copy', '-vf', 'subtitles=shuang.srt.ass', '-movflags', '+faststart', '-crf', '23', '-preset', 'fast', '-shortest', 'Video 14A Trends/Video 14A Trends.mp4']' returned non-zero exit status 4294967294.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\trans_create.py", line 1230, in _join_video_audio_srt
File "videotrans\util\help_ffmpeg.py", line 267, in runffmpeg
File "videotrans\util\help_ffmpeg.py", line 272, in runffmpeg
RuntimeError: opening output Video 14A Trends/Video 14A Trends.mp4: No such file or directory opening output file Video 14A Trends/Video 14A Trends.mp4. opening output files: No such file or directory

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 549, in assembling
File "videotrans\task\trans_create.py", line 1233, in _join_video_audio_srt
RuntimeError: 最后一步字幕配音嵌入时出错

TaskCfg(cache_folder='E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c', target_dir='Video 14A Trends', 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='Video 14A Trends/en.srt', target_sub='Video 14A Trends/zh-cn.srt', source_wav='E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/en.wav', source_wav_output='Video 14A Trends/en.m4a', target_wav='E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/target.wav', target_wav_output='Video 14A Trends/zh-cn.m4a', subtitles='', novoice_mp4='E:/soft/win-pyvideotrans-v3.86/tmp17364/b203fc844c/novoice.mp4', noextname='Video 14A Trends', shibie_audio=None, targetdir_mp4='Video 14A Trends/Video 14A Trends.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='No', copysrt_rawvideo=False, clear_cache=False, translate_type=1, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=False, cuda=False, name='C:/1 Price Action Fundamentals/1/Video 14A Trends.mp4', basename='Video 14A Trends.mp4', ext='mp4', dirname='C:/1 Price Action Fundamentals/1', shound_del_name=None, uuid='b203fc844c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, auto_fix=True)


=
system:Windows-10-10.0.26220-SP0
version:v3.86
frozen:True
language:zh
root_dir:E:/soft/win-pyvideotrans-v3.86

1 Replies

错误核心是输出路径 Video 14A Trends/Video 14A Trends.mp4 不存在或无法访问。从日志看,您的输入视频路径为 C:/1 Price Action Fundamentals/1/Video 14A Trends.mp4,但软件试图将最终视频输出到相对路径 Video 14A Trends/Video 14A Trends.mp4,这很可能是因为输出目录创建失败或路径权限问题。

请按以下步骤解决:

  1. 检查并简化路径:这是最常见的原因。您的输入视频路径 C:/1 Price Action Fundamentals/1/Video 14A Trends.mp4 包含空格,虽然软件通常能处理,但某些情况下可能导致问题。请将视频文件移动到一个路径简短、无中文、无空格的纯英文目录,例如 D:/video/test.mp4
  2. 确认输出目录权限:确保软件(sp.exe)有权限在您设置的输出目录(默认为原视频目录下的 _video_out)创建文件和文件夹。如果原视频在系统保护目录(如 C:/Program Files),请务必移出。
  3. 手动指定输出目录

    • 在主界面“输出”区域,点击“...”按钮,手动选择一个您有完全读写权限的目录(例如 D:/output)。
    • 或者,在“输出”输入框直接填写完整路径,如 D:/output/最终视频.mp4
  4. 以管理员身份运行:如果上述步骤无效,尝试右键点击 sp.exe,选择“以管理员身份运行”,然后重新处理。
  5. 检查磁盘空间:确保目标磁盘有足够的剩余空间。

完成以上操作后,请勾选主界面“清理已生成”选项,再重新开始任务。

如果问题依旧,请提供 E:/soft/win-pyvideotrans-v3.86/logs/ 目录下最新的日志文件内容。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions