Bug 387650 - unsharp is broken
Summary: unsharp is broken
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 20.08.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-06 15:22 UTC by Marcus Sundman
Modified: 2021-04-04 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments
segfault stack dump (31.88 KB, text/plain)
2018-03-21 00:23 UTC, Marcus Sundman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Sundman 2017-12-06 15:22:39 UTC
The unsharp filter is completely broken. First of all, there are 2 of all parameters (e.g., av.luma_msize_x AND av.lx). Second, if you try to set av.lx big (like 17) the whole program crashes. Third, often the effect won't show up in the project monitor until you tweak them back and forth a few times. Fourth, the effect won't get applied during render, not even if it shows up in the project monitor.
Comment 1 Marcus Sundman 2017-12-06 15:28:58 UTC
When it crashes it writes this to the console:

[filt @ 0x7faea3a2cb40] luma or chroma matrix size too big
[filter avfilter.unsharp] Cannot init filter: Invalid argument
Segmentation fault
Comment 2 Christoph Feck 2017-12-31 10:26:37 UTC
If the crash is reproducible, please add the backtrace. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 3 Marcus Sundman 2018-03-21 00:23:33 UTC
Created attachment 111534 [details]
segfault stack dump
Comment 4 Marcus Sundman 2018-03-21 00:25:36 UTC
The segfault stack dump is using kdenlive 18.03.70 and mlt 6.7.0 where these problems still occurs.
Comment 5 emohr 2018-10-21 17:42:17 UTC
“unsharp” seems to be the "movit.unsharp_mask" effect which is blacklisted. I see in Kdenlive 18.08.2 Windows version no effect as well. See bug Bug 399911
Comment 6 emohr 2020-09-08 17:09:06 UTC
I get the error: [filter avfilter.unsharp] Cannot init scale filter: Invalid argument
Comment 7 emohr 2021-03-05 17:12:46 UTC
With version 20.12 the effects get an update.

Please try with the current Kdenlive AppImage version 20.12.2  https://download.kde.org/stable/kdenlive/20.12/linux/
Comment 8 Bug Janitor Service 2021-03-20 04:33:37 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2021-04-04 04:33:36 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!