Bug 495959

Summary: Effect zone destroys keyframes
Product: [Applications] kdenlive Reporter: Yann Salmon <contact+bugs+kde>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Ramping saturation before setting effect zone
Same project saved after setting an effect zone

Description Yann Salmon 2024-11-08 10:19:17 UTC
Created attachment 175643 [details]
Ramping saturation before setting effect zone

SUMMARY

Setting an effect zone to an effect that has keyframes creates inconsistencies in rendering and maybe in the saved project file.

STEPS TO REPRODUCE
1. Put a (eg. red) color clip in a new sequence.
2. Add a saturation effect to it ; set several keyframes to ramp saturation level from 1 to max.
3. Add a zone to the effect which starts at roughly the middle of the clip.
4. Run the clip in the preview monitor.

OBSERVED RESULT

Before entering the effect zone, the color is not affected by the saturation effect.
Upon entering the zone, saturation drops to 1 then ramps up.

EXPECTED RESULT


Before entering the effect zone, the color is not affected by the saturation effect.
Upon entering the zone, saturation drops to whatever value the interpolation between keyframes gives at this point, which, if the effect zone starts at the middle, is not at all 1.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-48-generic (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Xeon® CPU E3-1245 v5 @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2


ADDITIONAL INFORMATION

Tested with appimage 24.11.70.
It seems saving the project after the effect zone was set also does strange things to the file. See attachments.
Comment 1 Yann Salmon 2024-11-08 10:20:02 UTC
Created attachment 175644 [details]
Same project saved after setting an effect zone