#4359 opening output file /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777573254.mp4. opening output files: Fil

2001:ee0* Posted at: 1 hour ago 👁13

opening output file /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777573254.mp4. opening output files: Filter not found


=
system:macOS-26.4-arm64-arm-64bit
version:v3.99
frozen:False
language:en
root_dir:/Users/nhu/Desktop/ProjectX/pyvideotrans
Python: 3.10.19 (main, Feb 12 2026, 00:36:33) [Clang 21.1.4 ]

5 Replies

The error Filter not found is an ffmpeg error indicating that a filter specified in the video processing command does not exist in the ffmpeg build being used. This often occurs when:

  1. A custom ffmpeg filter parameter (自定义ffmpeg命令参数) in Advanced Options contains an invalid filter name.
  2. The installed ffmpeg is missing required filters (e.g., subtitles for hard‑subtitle embedding, amix for audio mixing).
  3. An internal filter used by pyVideoTrans is not available due to an outdated or minimal ffmpeg installation.

To troubleshoot:

  1. Check custom ffmpeg parameters
    Open Menu → Tools/Options → Advanced Options and clear the field 自定义ffmpeg命令参数. If you added any custom filter, remove it and try again.
  2. Verify ffmpeg filters
    Open a terminal and run:

    ffmpeg -filters | grep -E "subtitles|amix|volume"

    If you are embedding hard subtitles, the subtitles filter must be present. If missing, re-install ffmpeg with required libraries (e.g., brew reinstall ffmpeg on macOS).

  3. Ensure correct ffmpeg path
    The software uses the system ffmpeg. Confirm it is the one you intend to use:

    which ffmpeg
    ffmpeg -version
  4. If the problem persists, provide the full error log from the logs/ folder (copy the last 30 lines) for a precise diagnosis.

请查阅相关文档:

(base) nhu@NHU-Mac-mini pyvideotrans % uv run sp.py
Uninstalled 1 package in 4ms
Installed 1 package in 2ms
First searching GPU...
NVIDIA_GPU_NUMS=0
Found 0 GPUs, cost=1s
start workers...
Concurrent task_nums=1
process_max=1
start 9 jobs
ended workers
2026-05-01 01:38:19.799 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:19.799 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:24.522 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:24.522 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:29.589 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:29.589 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:38.148 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:38.148 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:44.745 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:44.745 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
[WARNING] FFmpeg 命令执行失败 (force_cpu=False)。
命令: ffmpeg -hide_banner -nostdin -ignore_unknown -threads 0 -y -progress /Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/jd1777574387.61933.txt -i /Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/1777574386.002887-audiovideoend.mp4 -c:v libx264 -vf subtitles=filename='vas-1777574387.6205828.ass' -crf 23 -preset medium /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777574342.mp4
错误: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/1777574386.002887-audiovideoend.mp4':
Metadata:

major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf62.12.100
comment         : vid:v0200fg10000d04b94nog65vqtstqvt0

Duration: 00:03:06.07, start: 0.000000, bitrate: 3473 kb/s
Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920 [SAR 1:1 DAR 9:16], 3334 kb/s, 30 fps, 30 tbr, 15360 tbn (default)

Metadata:
  handler_name    : VideoHandler
  encoder         : Lavc62.28.100 libx264

Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)

Metadata:
  handler_name    : SoundHandler

[AVFilterGraph @ 0x900c44580] No such filter: 'subtitles'
Error opening output file /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777574342.mp4.
Error opening output files: Filter not found

2026-05-01 01:40:01.035 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:01.035 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.009 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.009 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.124 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.124 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property

The ffmpeg command fails because your system’s ffmpeg is missing the subtitles filter (libass), which is required for hard‑subtitle embedding. This is common when ffmpeg was installed without certain libraries – for example, a minimal brew install may omit libass.

Fix

  1. Open a terminal and reinstall ffmpeg with all recommended options:

    brew reinstall ffmpeg

    (Homebrew usually includes libass by default; if you previously installed a minimal version, this will pull in the missing filter.)

  2. Verify the filter is now available:

    ffmpeg -filters | grep subtitles

    You should see a line like ... omx...subtitles V->V Render text subtitles....

  3. Restart pyVideoTrans and reprocess your video. The error should no longer occur.

If the issue persists, consider one of these workarounds:

  • Temporarily avoid embedding hard subtitles – choose embed soft subtitles or no embedding.
  • Provide a custom ffmpeg build that includes libass (e.g., the full brew version or a static binary from ffmpeg.org).

请查阅相关文档:

(base) nhu@NHU-Mac-mini pyvideotrans % uv run sp.py
Uninstalled 1 package in 4ms
Installed 1 package in 2ms
First searching GPU...
NVIDIA_GPU_NUMS=0
Found 0 GPUs, cost=1s
start workers...
Concurrent task_nums=1
process_max=1
start 9 jobs
ended workers
2026-05-01 01:38:19.799 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:19.799 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:24.522 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:24.522 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:29.589 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:29.589 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:38.148 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:38.148 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:44.745 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:38:44.745 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
[WARNING] FFmpeg 命令执行失败 (force_cpu=False)。
命令: ffmpeg -hide_banner -nostdin -ignore_unknown -threads 0 -y -progress /Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/jd1777574387.61933.txt -i /Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/1777574386.002887-audiovideoend.mp4 -c:v libx264 -vf subtitles=filename='vas-1777574387.6205828.ass' -crf 23 -preset medium /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777574342.mp4
错误: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nhu/Desktop/ProjectX/pyvideotrans/tmp/50184/1777574386.002887-audiovideoend.mp4':
Metadata:

major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf62.12.100
comment         : vid:v0200fg10000d04b94nog65vqtstqvt0

Duration: 00:03:06.07, start: 0.000000, bitrate: 3473 kb/s
Stream #0:00x1: Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920 [SAR 1:1 DAR 9:16], 3334 kb/s, 30 fps, 30 tbr, 15360 tbn (default)

Metadata:
  handler_name    : VideoHandler
  encoder         : Lavc62.28.100 libx264

Stream #0:10x2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)

Metadata:
  handler_name    : SoundHandler

[AVFilterGraph @ 0x900c44580] No such filter: 'subtitles'
Error opening output file /Users/nhu/Desktop/ProjectX/pyvideotrans/output/vas/nu-phu-1777574342.mp4.
Error opening output files: Filter not found

2026-05-01 01:40:01.035 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:01.035 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.009 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.009 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.124 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property
2026-05-01 01:40:05.124 python3[50184:638806] ERROR: getApplicationProperty: called with invalid property

The same error persists, which suggests that the subtitles filter is still missing from the ffmpeg that pyVideoTrans actually uses. Please verify you have completed these steps and then check which ffmpeg is being called:

  1. Reinstall ffmpeg with full options (if not already done):

    brew reinstall ffmpeg
  2. Confirm the filter is now present:

    ffmpeg -filters 2>/dev/null | grep subtitles

    The output should contain subtitles (e.g., subtitles V->V Render text subtitles...).

  3. Check which ffmpeg the software is invoking:
    Because you are running from source on macOS, the software uses the ffmpeg in your system PATH. Run:

    which ffmpeg
    ffmpeg -version

    Make sure this is the same one you reinstalled (e.g., /opt/homebrew/bin/ffmpeg). If you have multiple installations (e.g., one from conda or a static binary), the wrong one might be picked up.

If the filter still isn’t found after the reinstall, you may be using a minimal/static build. Consider downloading a static build from ffmpeg.org that includes libass and ensure it is the first in your PATH.

As a temporary workaround while you fix the filter issue, switch the subtitle embedding method to soft subtitles or no subtitles (you can choose “不嵌入字幕” or “嵌入软字幕” in the main window). Soft subtitles do not require the subtitles filter.

When the filter is available, re‑run the same task; the error will no longer occur.

请查阅相关文档:

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