Bug 427458

Summary: rotoscoping issue with Movit library
Product: [Applications] kdenlive Reporter: d2rain
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED LATER    
Severity: normal CC: d2rain, julius.kuenzel, snd.noise
Priority: NOR Flags: julius.kuenzel: MOVIT+
Version First Reported In: 20.08.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description d2rain 2020-10-08 17:05:36 UTC
SUMMARY
rotoscoping issue with Movit library

STEPS TO REPRODUCE
1. Setting - Configure Kdenlive - Playback - enable GPU processing
2. after reboot, use rotoscoping to map.
3. does not work.(likely due to movit.overlay)

OBSERVED RESULT

rotoscoping does not work. However, other GPU feature working as normal.
EXPECTED RESULT
rotoscoping creates a "masking" effect, so parts of the visual in the layer under appears in the preview, and the final video.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Linuxfx(5.6.15-windowsfx-10-generic) based on Ubuntu Focal(20.04LTS)
(available in About System)
Kdelive Version: 20.08.1 via Ubuntu PPA
KDE Plasma Version: 5:104ubuntu4
KDE Frameworks Version: 5.68
Qt Version: 5.12.8

ADDITIONAL INFORMATION
This issue is likely due to the movit.overlay function as converting the project back to CPU only fixes the problem. However, this workaround often comes with huge performance drawbacks.
SUGGESTION
1. adding a "rotoscoping(GPU)" function and make "Rotoscoping" a CPU-only function.
2. try fixing movit.overlay implemntation?(I am not a good coder, so please forgive me.)
Comment 1 farid 2021-04-06 13:29:01 UTC
Hi, thanks for your report, movit is still very experimental, so expect weird behavior...
Comment 2 Julius Künzel 2024-08-08 23:59:42 UTC
Hi!

Please note that MOVIT has been experimental so far and was not well maintained. Due to lots of issue we recently disabled it. See https://invent.kde.org/multimedia/kdenlive/-/commit/41b74bd282e8a96be3b75f423f8101fa506d858d

In the long run there are plans to add a GPU again either with enhanced MOVIT or a new system, there is no eta yet.

Thanks again for your report!