Skip to content

Unable to add blur filter with max matrix size #4259

@low-batt

Description

@low-batt

System and IINA version:

  • macOS 13.2.1
  • IINA 1.3.1

Expected behavior:
The matrix size slider for a blur filter only permits setting valid values.

Actual behavior:
Attempts to add a Blur filter with the Matrix size slider knob moved all the way to the right:
issue-add-blur

Fail reporting Error occured when setting filters. Please check our parameter format:
issue-blur-failed

IINA log:
18:52:25.623 [player0][d] Adding video filter lavfi=[unsharp=23:23:-0.0:23:23:-0.0]...
18:52:25.623 [iina][w] mpv log: [ffmpeg] error: Parsed_unsharp_0: luma or chroma matrix size too big
18:52:25.623 [iina][w] mpv log: [ffmpeg] error: AVFilterGraph: Error initializing filter 'unsharp' with args '23:23:-0.0:23:23:-0.0'
18:52:25.623 [iina][w] mpv log: [lavfi] fatal: parsing the filter graph failed
18:52:25.624 [player0][d] Failed
18:52:25.624 [iina][w] mpv log: [user_filter_wrapper] error: Creating filter 'lavfi' failed.

mpv log:
18:52:25.623 [iina][w] mpv log: [ffmpeg] error: Parsed_unsharp_0: luma or chroma matrix size too big
18:52:25.623 [iina][w] mpv log: [ffmpeg] error: AVFilterGraph: Error initializing filter 'unsharp' with args '23:23:-0.0:23:23:-0.0'
18:52:25.623 [iina][w] mpv log: [lavfi] fatal: parsing the filter graph failed
18:52:25.624 [player0][d] Failed
18:52:25.624 [iina][w] mpv log: [user_filter_wrapper] error: Creating filter 'lavfi' failed.

Steps to reproduce:

  • Play a video
  • Click Video filters… under the Video menu
  • In the Video Filters window click +
  • In the pop-up click Blur
  • Slide the Matrix size slider knob all the way to the right
  • Click the Add button
  • MPV does not have this problem.

This is an IINA problem.

How often does this happen?
Every time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions