[AVFilterGraph @ 0x7bac0c380] No such filter: 'subtitles'
Error : Filter not found
,Command '['ffmpeg', '-nostdin', '-y', '-progress', 'compose1788979857.831251.txt', '-i', 'novoice.mp4', '-i', 'will_embed.m4a', '-filter_complex', "[0:v]subtitles=filename='end.ass'[v_out]", '-map', '[v_out]', '-map', '1:a', '-c:v', 'h264_videotoolbox', '-c:a', 'copy', '-q:v', '67', '-movflags', '+faststart', '-fps_mode', 'vfr', '-shortest', '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/kumarprashant/Local Files/pyvideotrans/videotrans/util/_ffmpeg_runner.py", line 49, in runffmpeg
subprocess.run(
File "/Users/kumarprashant/.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', '-nostdin', '-ignore_unknown', '-threads', '0', '-y', '-progress', 'compose1788979857.831251.txt', '-i', 'novoice.mp4', '-i', 'will_embed.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', 'slow', '-movflags', '+faststart', '-fps_mode', 'vfr', '-shortest', 'laste_target.mp4']' returned non-zero exit status 8.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/kumarprashant/Local Files/pyvideotrans/videotrans/task/_stage_assemble.py", line 286, in _join_video_audio_srt
runffmpeg(cmd0 + cmd1 + subtitle_filter + cmd2 + enc_qua + cmd3,
File "/Users/kumarprashant/Local Files/pyvideotrans/videotrans/util/_ffmpeg_runner.py", line 78, in runffmpeg
raise FFmpegError(err) from e
videotrans.configure.excepts.FFmpegError: : Filter not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/kumarprashant/Local Files/pyvideotrans/videotrans/task/only_one.py", line 164, in run
trk.assembling()
File "/Users/kumarprashant/Local Files/pyvideotrans/videotrans/task/_stage_assemble.py", line 26, in assembling
self._join_video_audio_srt()
File "/Users/kumarprashant/Local Files/pyvideotrans/videotrans/task/_stage_assemble.py", line 289, in _join_video_audio_srt
raise VideoTransError(tr('Error in embedding the final step of the subtitle dubbing')+str(e)) from e
videotrans.configure.excepts.VideoTransError: Error during final step of subtitle/TTS embedding: Filter not found