Bug 465523

Summary: Discrete Keyframe Interpolation for Rotoscope Effect Not Working
Product: [Applications] kdenlive Reporter: jackbober2012
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: fritzibaby, jackbober2012, vaesbart
Priority: NOR Keywords: triaged
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jackbober2012 2023-02-09 23:13:24 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Apply rotoscope effect to keyframes in a clip and select "Discrete" interpolation for all keyframes.
2.  Keyframe changes to square.
3. 

OBSERVED RESULT
Interpolation appears to be linear

EXPECTED RESULT
Interpolation should be discrete. 


SOFTWARE/OS VERSIONS
Windows:  10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I have also tried this with an alpha mask and it works correctly.
Comment 1 emohr 2023-02-25 09:22:05 UTC
I guess you use effect “Rotoscoping (Mask)”. If so I tested on version 21.12.2 and it works as expected. Please test with version 21.12.2.
Comment 2 Bart Vaes 2023-02-26 17:35:03 UTC
Just a quick comment, as I was facing a similar issue...

I'm using the Flatpak version of kdenlive - v22.12.2
I was experimenting with the Rotoscoping (mask) effect and keyframes. I selected "Smooth" as "Default keyframe type" under the keyframe timeline. Manually adding keyframes used the correct interpolation.
However, after saving the project and re-opening; ALL keyframes were changed to linear.
This happens every time I tried so far.

It seems this keyframe property is not being saved ?
Comment 3 emohr 2023-02-26 19:15:44 UTC
I can confirm. Rotosoping (mask): Setting mixed keyframes interpretations and saving the project, after reopening all keyframes are set back to default.