Bug 431679 - Transition between keyframes on effects on titles is calculated correctly, but rendered with wrong timing (tested with Position and Zoom)
Summary: Transition between keyframes on effects on titles is calculated correctly, bu...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 20.12.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-16 11:04 UTC by Stefan Naumann
Modified: 2021-01-16 16:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Naumann 2021-01-16 11:04:06 UTC
SUMMARY
I applied the Position and Zoom-effect to a title, and added a keyframe somewhere in the start and in the end. I've set the size to something big at the later keyframe. The transition between the states occurs rapidly, over the time of a few seconds, rather than slowly, linearly over the whole duration of the keyframe-interval. KDEnlive shows the calculated values in the boxes - these seem correct, but the preview-renderer in the App and the rendered video both have totally wrong timing and apply the effect way to fast (I assume, there is a hardcoded value somewhere). 

This also occurs with the rotate (keyframeable) effect. The first keyframe is recognized correctly, but it seems the interval is either calculated wrongly or hardcoded to like 3-4 seconds?

STEPS TO REPRODUCE
1. Create a title (a video clip seems to work fine), stretch it out over like 20 seconds
2. Apply Position and Zoom, create two keyframes, modify the values of the latter; place them some 10s or so apart
3. watch the preview render

OBSERVED RESULT
Effect is applied right after the first keyframe

EXPECTED RESULT
Effect should be evenly applied in the whole interval between the two keyframes

SOFTWARE/OS VERSIONS
Linux-Kernel: 5.4.81-lts
MLT version: 6.24.0
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Stefan Naumann 2021-01-16 16:06:44 UTC
Can't seem to reproduce again, neither with 20.12.1 nor HEAD. Closing the bug for the time being.