Bug 438890 - kdenlive crashes when applying auto mask effect and resizing rectangle on ubuntu linux appimage
Summary: kdenlive crashes when applying auto mask effect and resizing rectangle on ubu...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: unspecified
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 21:12 UTC by CryptoTester
Modified: 2021-08-01 09:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CryptoTester 2021-06-18 21:12:21 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a clip to the timeline, e.g. a tutorial video where you speak something, add a gain effect +400% so the voice is a bit louder
2. Add some background music > add effect to the music e.g. volume, -28 dB
3. In the effects, search "mask" (auto mask) > drag the auto mask effect over the video in the timeline
4. try to move the rectangle around, resize the rectangle as I show in the video

See:
- video demonstrating the crash (1): https://drive.google.com/file/d/1zMYNWZlW4mrKt6u96gZ_vuVYGCB1Us2A/view?usp=sharing
- video demonstrating the crash (2): https://drive.google.com/file/d/1cuBuGFx2pnkaSe32Ao1SQ0xTr9zymjUO/view?usp=sharing

See also example project with simple tutorial, background music and some effects applied: https://drive.google.com/file/d/1vhyVK5oSyNenoCcKO7qOyAhcNsc_sclL/view?usp=sharing

OBSERVED RESULT
Most of the time kdenlive crash either by moving the rectangle around, or by resizing it.

EXPECTED RESULT
The effect should handle the "stress" of moving around or resizing the area to pixelate. No crash!

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04.2 LTS
Gnome 3.36.8

ADDITIONAL INFORMATION
Version 21.07.70, Daily AppImage downloaded from https://kdenlive.org/en/download/

Link to latest daily AppImage: https://binary-factory.kde.org/job/Kdenlive_Nightly_Appimage_Build/lastSuccessfulBuild/artifact/

I got as suggestion to use the motion tracker effect. I tried it real quick and just by adding a red rectangle it made the video laggy, which I never experienced with auto mask. Auto mask, despite crashing all the time is an awesome effect and in my opinion it should live, not being deprecated! Please revive the effect and keep it alive! Thank you
Comment 1 emohr 2021-06-20 14:26:30 UTC
Thank you for the detailed description and the video. I tested as you described with the Windows and AppImage daily build (Linux = Lubuntu). On both systems I have no crash when moving a corner of the auto mask effect. 

Please update your system with:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Run the AppImage from the terminal (press CTRL + ALT + T). Move to the AppImage folder and run the AppImage: ./Kdenlive*.AppImage. If you get any error message please post here.
Comment 2 CryptoTester 2021-06-20 15:10:32 UTC
Hi emohr, thnaks, I did as you suggested. Did you test using my example project? Did you try to resize the rectangle a bit faster? If you resize slow as I did it may work, try to resize small big small big here you see the error message I get after the resizing (I think al lthe "gemotry" messages are the resizing):

 = = SET EFFECT PARAM:  "geometry"  =  254 78 179 43
 = = SET EFFECT PARAM:  "geometry"  =  254 78 219 60
 = = SET EFFECT PARAM:  "geometry"  =  254 78 322 88
 = = SET EFFECT PARAM:  "geometry"  =  254 78 375 101
 = = SET EFFECT PARAM:  "geometry"  =  254 78 449 124
 = = SET EFFECT PARAM:  "geometry"  =  254 78 500 137
 = = SET EFFECT PARAM:  "geometry"  =  254 78 579 162
 = = SET EFFECT PARAM:  "geometry"  =  254 78 643 179
 = = SET EFFECT PARAM:  "geometry"  =  254 78 715 190
 = = SET EFFECT PARAM:  "geometry"  =  254 78 751 199
 = = SET EFFECT PARAM:  "geometry"  =  254 78 771 205
 = = SET EFFECT PARAM:  "geometry"  =  254 78 786 209
 = = SET EFFECT PARAM:  "geometry"  =  254 78 792 212
 = = SET EFFECT PARAM:  "geometry"  =  254 78 800 218
/tmp/.mount_kdenlit0zcRU/AppRun: line 42: 126686 Segmentation fault      kdenlive --config kdenlive-appimagerc $@
Comment 3 CryptoTester 2021-07-31 16:09:57 UTC
Any news about this? Is this one of those bugs nobody cares about? I'm ready to pay a BOUNTY for this. Can't afford much, but say 20 bucks (in crypto) to who fixes this is in my budget ;)
Comment 4 CryptoTester 2021-07-31 18:25:18 UTC
UPDATE: I've seen that "Auto Mask" -already deprecated- was removed in kdenlive 21.11.70. Also, asking for an alternative in the telegram group, a nice guy (AAron Burr) suggested me to use the "Obscure" effect, which basically does the same, it seems simpler and it doesn't crash! So for me this chapter can be considered CLOSED.

Thanks guys, keep up the good work.
Comment 5 emohr 2021-08-01 09:51:58 UTC
Sorry for late reply. I was on vacation. 

Kdenlive 21.08 is moving from MLT-6 to MLT-7. In MLT-7 automask is not available anymore. Obscure and motion tracker with blur is the successor effect.