Skip to Content

Keyframes -> spline based interpolation ?

1 reply [Last post]
streumix
streumix's picture
User offline. Last seen 2 weeks 2 days ago. Offline
Joined: 01/22/2009
Posts:

Hi,

how about spline based interpolation between keyframes ?

The current linear interpolation gives very poor results, especially when it
comes to any sort of motion (Ken Burns effect, etc.). This is mainly caused by
the non-continuously differentiable nature of piece-wiese linear defined functions.
In terms of motion, we end up with infinite peaks of acceleration at the individual
keyframes and end up with obviously jerky camara movement.

In other tools like cinelerra, a spline based interpolation is default and picewise
line has to be activated intentionally. Consequently, the results of any keyframe action
is way smoother.

I'd vote for a spline based keyframe system in Kdenlive, giving it highest priority.
What do the main devolopers think ?
Is there any work in progress improving the keyframe system ?

By the way: Is there a central keyframe framework re-used by all effects, or are keyframes
handled by the effects and transitions individually ? (I hope not ....)

Regards,
Toby

0
Your rating: None
niftimusmaximus
User offline. Last seen 14 weeks 2 days ago. Offline
Joined: 09/13/2009
Posts:
Re: Keyframes -> spline based interpolation ?

This would be a great addition to Kdenlive (if it's possible to do)!

I currently use a script called Diascope (http://diascope.sourceforge.net/) which produces a nice spline-based Ken Burns style slideshow out of still images, but it would be great to do this natively in Kdenlive. Spline based movement looks extremely professional as it's possible to slow down / speed up the rate of zoom depending on the subject matter in the photos. I've found it's quite difficult to incorporate still images into a video without having some configurability over the pan/zoom movement. The current linear keyframing of the "composite" transition looks somewhat out of place for some subject matter when trying to achieve a Ken Burns effect (e.g. panning across a school photo and coming to rest on an individual).