#4573 TaskCfgVTT(is_cuda=True, uuid='97ef3be80e', cache_folder='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be8

221.6* Posted at: 2 hours ago 👁11

合并阶段出错 最后一步字幕配音嵌入时出错
Traceback (most recent call last):
File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\util\help_ffmpeg.py", line 57, in runffmpeg

subprocess.run(

File "C:\Users\Goinfor\AppData\Roaming\uv\python\cpython-3.10.19-windows-x86_64-none\lib\subprocess.py", line 526, in run

raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['ffmpeg', '-hide_banner', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'compose1778824856.0329509.txt', '-i', 'novoice.mp4', '-i', 'origin_audio.m4a', '-filter_complex', "[0:v]subtitles=filename='end.ass'[v_out]", '-map', '[v_out]', '-map', '1:a', '-c:v', 'libx264', '-c:a', 'copy', '-crf', '23', '-preset', 'medium', '-movflags', '+faststart', '-fps_mode', 'vfr', '-t', '161.866000', 'laste_target.mp4']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\task\trans_create.py", line 1530, in _join_video_audio_srt

tools.runffmpeg(cmd0+cmd1+subtitle_filter+cmd2+enc_qua+cmd3, cmd_dir=self.cfg.cache_folder, force_cpu=True)

File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\util\help_ffmpeg.py", line 86, in runffmpeg

raise RuntimeError(err)

RuntimeError: splitting the argument list: Option not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\task\job.py", line 324, in run

trk.assembling()

File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\task\trans_create.py", line 833, in assembling

self._join_video_audio_srt()

File "C:\Users\Goinfor\Desktop\Python\pyvideotrans\videotrans\task\trans_create.py", line 1545, in _join_video_audio_srt

raise RuntimeError(msg)

RuntimeError: 最后一步字幕配音嵌入时出错
TaskCfgVTT(is_cuda=True, uuid='97ef3be80e', cache_folder='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be80e', target_dir='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4', source_language='英语', source_language_code='en', source_sub='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4/en.srt', source_wav='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be80e/en.wav', source_wav_output='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4/zh-cn.srt', target_wav='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be80e/target.wav', target_wav_output='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4/zh-cn.m4a', name='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/videoplayback_combined.mp4', noextname='videoplayback_combined', basename='videoplayback_combined.mp4', ext='mp4', dirname='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview', shound_del_name=None, translate_type=12, tts_type=5, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='晨煦(Ethan)', voice_autorate=True, video_autorate=True, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=7, model_name='medium', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=1, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='C:/Users/Goinfor/Desktop/Python/熟肉/1-courese overview/trans_slow/videoplayback_combined-mp4/videoplayback_combined.mp4', novoice_mp4='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be80e/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal='C:/Users/Goinfor/Desktop/Python/pyvideotrans/tmp/2128/97ef3be80e/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=1, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False, loop_backaudio=1, backaudio_volume=0.8)


=
system:Windows-10-10.0.26100-SP0
version:v3.99
frozen:False
language:zh
root_dir:C:/Users/Goinfor/Desktop/Python/pyvideotrans
Python: 3.10.19 (main, Dec 17 2025, 21:07:16) [MSC v.1944 64 bit (AMD64)]

1 Replies

这是由于视频或文件路径中包含中文、空格或特殊符号,导致 ffmpeg 无法正确解析参数,出现 splitting the argument list: Option not found 错误。

解决方案:

  1. 移动文件到全英文路径:将原始视频文件移到不含中文、空格或特殊符号的目录,例如 D:\videos\
  2. 重命名文件:确保文件名简短且只含英文和数字,例如 video1.mp4
  3. 重新运行任务:保持原设置(或先勾选 清理已生成 以避免使用缓存的错误中间文件),然后再次开始翻译。

请查阅相关文档:

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