合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 261, in runffmpeg
subprocess.run(File "/Users/xiaohuo/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'compose1774970702.709567.txt', '-i', 'novoice.mp4', '-i', 'origin_audio.m4a', '-map', '0:v', '-map', '1:a', '-c:v', 'hevc_videotoolbox', '-c:a', 'copy', '-vf', "subtitles=filename='end.ass'", '-movflags', '+faststart', '-q:v', '56', '-t', '1174.799000', 'laste_target.mp4']' returned non-zero exit status 8.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line
......
ocessError: Command '['ffmpeg', '-hide_banner', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'compose1774970702.709567.txt', '-i', 'novoice.mp4', '-i', 'origin_audio.m4a', '-map', '0:v', '-map', '1:a', '-c:v', 'libx265', '-c:a', 'copy', '-vf', "subtitles=filename='end.ass'", '-movflags', '+faststart', '-crf', '24', '-preset', 'veryfast', '-t', '1174.799000', 'laste_target.mp4']' returned non-zero exit status 8.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/task/trans_create.py", line 1514, in _join_video_audio_srt
tools.runffmpeg(cmd, cmd_dir=self.cfg.cache_folder, force_cpu=False)File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 302, in runffmpeg
return runffmpeg(fallback_args, noextname=noextname, uuid=uuid, force_cpu=True,cmd_dir=cmd_dir)File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/util/help_ffmpeg.py", line 307, in runffmpeg
raise RuntimeError(err)RuntimeError: opening output file laste_target.mp4. opening output files: Filter not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/task/job.py", line 288, in run
trk.assembling()File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/task/trans_create.py", line 789, in assembling
self._join_video_audio_srt()File "/Users/xiaohuo/Downloads/pyvideotrans-main/videotrans/task/trans_create.py", line 1517, in _join_video_audio_srt
raise RuntimeError(msg)RuntimeError: 最后一步字幕配音嵌入时出错
TaskCfgVTT(is_cuda=False, uuid='e3900b846f', cache_folder='/Users/xiaohuo/Downloads/pyvideotrans-main/tmp/41313/e3900b846f', target_dir='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4', source_language='韩语', source_language_code='ko', source_sub='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4/ko.srt', source_wav='/Users/xiaohuo/Downloads/pyvideotrans-main/tmp/41313/e3900b846f/ko.wav', source_wav_output='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4/ko.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4/zh-cn.srt', target_wav='/Users/xiaohuo/Downloads/pyvideotrans-main/tmp/41313/e3900b846f/target.wav', target_wav_output='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4/zh-cn.m4a', name='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/원가회계 3주 - 2.mp4', noextname='원가회계 3주 - 2', basename='원가회계 3주 - 2.mp4', ext='mp4', dirname='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计', shound_del_name=None, translate_type=10, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=True, align_sub_audio=True, detect_language='ko', recogn_type=0, model_name='small', 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='/Users/xiaohuo/Library/Mobile Documents/com~apple~CloudDocs/大三下/成本会计/_video_out/원가회계 3주 - 2-mp4/원가회계 3주 - 2.mp4', novoice_mp4='/Users/xiaohuo/Downloads/pyvideotrans-main/tmp/41313/e3900b846f/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=False, output_srt=0, copysrt_rawvideo=False)
=
system:macOS-26.4-arm64-arm-64bit
version:v3.98
frozen:False
language:zh
root_dir:/Users/xiaohuo/Downloads/pyvideotrans-main
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]