#5975 Error embedding final dub: Filter not foundTraceback (most recent call last):

175.101* Posted at: 6 hours ago

Error embedding final dub: Filter not found
Traceback (most recent call last):
File "/Users/mymac/pyvideotrans/videotrans/task/_stage_assemble.py", line 434, in _subprocess

subprocess.run(

File "/Users/mymac/.local/share/uv/python/cpython-3.10-macos-aarch64-none/lib/python3.10/subprocess.py", line 526, in run

raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['ffmpeg', '-nostdin', '-y', '-progress', 'compose1784623834.484846.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', '-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/mymac/pyvideotrans/videotrans/task/_stage_assemble.py", line 284, in _join_video_audio_s
......
arget.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/mymac/pyvideotrans/videotrans/task/_stage_assemble.py", line 288, in _join_video_audio_srt

runffmpeg(cmd0 + cmd1 + subtitle_filter + cmd2 + enc_qua + cmd3,

File "/Users/mymac/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/mymac/pyvideotrans/videotrans/task/only_one.py", line 125, in run

trk.assembling()

File "/Users/mymac/pyvideotrans/videotrans/task/_stage_assemble.py", line 26, in assembling

self._join_video_audio_srt()

File "/Users/mymac/pyvideotrans/videotrans/task/_stage_assemble.py", line 291, 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 embedding final dub: Filter not found

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: /Users/mymac/Downloads/How to Train Others More Effectively With 2 Simple Models 1080P.mp4,
输出结果保存到文件夹: /Users/mymac/Downloads/_video_out/How to Train Others More Effectively With 2 Simple Models 1080P-mp4,
临时文件夹: /Users/mymac/pyvideotrans/tmp/3563/4c2077664b
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: English, 断句方式:默认断句
Trans Channel:Google (Free),原始语言:English,目标语言:Telugu, 未选 Send SRT
Dubb Channel:Edge-TTS(Free), 角色:Mohan(Male/IN), 配音语言:Telugu, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Embed Hard Subs
代理地址:


=
system:macOS-26.5.2-arm64-arm-64bit
version:v4.06
frozen:False
language:en
root_dir:/Users/mymac/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

1 Replies

The error Filter not found for the subtitles filter means your FFmpeg installation lacks support for the libass library. The subtitles filter requires libass to render ASS/SSA subtitle files into video frames. The default Homebrew FFmpeg formula does not include libass. To fix this, reinstall FFmpeg using the homebrew-ffmpeg/ffmpeg tap which provides builds with libass (and other useful filters) enabled.

Steps:

  1. Uninstall the current FFmpeg:
    brew uninstall --ignore-dependencies ffmpeg
  2. Add the custom tap:
    brew tap homebrew-ffmpeg/ffmpeg
  3. Install FFmpeg with the required options (this version includes --enable-libass and --enable-libfreetype needed for subtitles):
    brew install homebrew-ffmpeg/ffmpeg/ffmpeg
  4. Verify the subtitles filter is now available:
    ffmpeg -filters | grep subtitles
    You should see a line containing subtitles.
  5. Restart pyVideoTrans and rerun your task.

Reference documentation:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource