合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "/Users/dunye/Desktop/working/webdev/pyvideotrans/videotrans/util/help_ffmpeg.py", line 364, in runffmpeg
subprocess.run(File "/opt/homebrew/Cellar/[email protected]/3.10.19_1/Frameworks/Python.framework/Versions/3.10/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', '/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/compose1768555982.480208.txt', '-i', '/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/novoice.mp4', '-i', '/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/origin_audio.m4a', '-map', '0:v', '-map', '1:a', '-c:v', 'hevc_videotoolbox', '-c:a', 'copy', '-vf', 'subtitles=end.srt.ass', '-movflags', '+faststart', '-q:v', '56', '-t', '126.459000', '/Users/dunye/Desktop/working/web
......
s/dunye/Desktop/working/webdev/pyvideotrans/videotrans/util/help_ffmpeg.py", line 405, in runffmpeg
return runffmpeg(fallback_args, noextname=noextname, uuid=uuid, force_cpu=True,cmd_dir=cmd_dir)File "/Users/dunye/Desktop/working/webdev/pyvideotrans/videotrans/util/help_ffmpeg.py", line 410, in runffmpeg
raise RuntimeError(err)RuntimeError: selecting an encoder opening output file /Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/laste_target.mp4. opening output files: Encoder not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/dunye/Desktop/working/webdev/pyvideotrans/videotrans/task/job.py", line 299, in run
trk.assembling()File "/Users/dunye/Desktop/working/webdev/pyvideotrans/videotrans/task/trans_create.py", line 590, in assembling
self._join_video_audio_srt()File "/Users/dunye/Desktop/working/webdev/pyvideotrans/videotrans/task/trans_create.py", line 1311, in _join_video_audio_srt
raise RuntimeError(msg)RuntimeError: 最后一步字幕配音嵌入时出错
TaskCfg(cache_folder='/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c', target_dir='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-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='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-mp4/en.srt', target_sub='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-mp4/zh-cn.srt', source_wav='/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/en.wav', source_wav_output='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-mp4/en.m4a', target_wav='/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/target.wav', target_wav_output='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-mp4/zh-cn.m4a', subtitles='', novoice_mp4='/Users/dunye/Desktop/working/webdev/pyvideotrans/tmp/59000/9ad20b196c/novoice.mp4', noextname='One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]', shibie_audio=None, targetdir_mp4='/Users/dunye/Desktop/working/job/tran-yb/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic]-mp4/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic].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='大壹', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=5, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=True, video_autorate=False, cuda=False, name='/Users/dunye/One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic].mp4', basename='One Last Adventure: The Making of Stranger Things 5 Documentary | Official Trailer | Netflix [bLxvdUroRic].mp4', ext='mp4', dirname='/Users/dunye', shound_del_name=None, uuid='9ad20b196c', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=0, only_out_mp4=False)
=
system:macOS-15.5-arm64-arm-64bit
version:v3.91
frozen:False
language:zh
root_dir:/Users/dunye/Desktop/working/webdev/pyvideotrans
Python: 3.10.19 (main, Oct 9 2025, 15:25:03) [Clang 17.0.0 (clang-1700.0.13.3)]