Keyframe Interpolation

Each keyframe sets a property value at some point of time during a clip. The way that the property value changes between any two keyframes is called the “interpolation type”.

OpenShot offers 3 interpolation types, which are shown on the following diagrams where the property value rises from the bottom to the top, as time progresses from left to right:

_images/interpolation-notes.png

Important: the interpolation type between two keyframes is set in the properties for the second keyframe.

Linear interpolation type

interpolation_linear_icon The property value varies linearly with time from the old value to the new value.

_images/interpolation-linear.png

Constant interpolation type

interpolation_constant_icon The property value stays constant at the old value, then changes instantly to the new value at the keyframe.

_images/interpolation-constant.png

Bezier interpolation type

interpolation_bezier_icon The property value varies on a cubic bezier curve from the old value to the new value.

Over twenty types of cubic bezier curves are available, as listed below. Most names indicate the type of curve that is being approximated – however, simply looking at the graphs is probably more help.

_images/interpolation-default.png _images/interpolation-in1.png _images/interpolation-in2.png _images/interpolation-out1.png _images/interpolation-out2.png _images/interpolation-inout1.png _images/interpolation-inout2.png
0 : Ease (Default)
1 : Ease In
2 : Ease Out
3 : Ease In/Out
4 : Ease In (Quad)
5 : Ease In (Cubic)
6 : Ease In (Quart)
7 : Ease In (Quint)
8 : Ease In (Sine)
9 : Ease In (Expo)
10 : Ease In (Circ)
11 : Ease In (Back)
12 : Ease Out (Quad)
13 : Ease Out (Cubic)
14 : Ease Out (Quart)
15 : Ease Out (Quint)
16 : Ease Out (Sine)
17 : Ease Out (Expo)
18 : Ease Out (Circ)
19 : Ease Out (Back)
20 : Ease In/Out (Quad)
21 : Ease In/Out (Cubic)
22 : Ease In/Out (Quart)
23 : Ease In/Out (Quint)
24 : Ease In/Out (Sine)
25 : Ease In/Out (Expo)
26 : Ease In/Out (Circ)
27 : Ease In/Out (Back)

Specific choices of bezier curve that are helpful when doing audio fades and crossfades are discussed in the appendix on Audio Fades.

If no keyframe for a property has been set at the start of the clip, the first keyframe determines the property’s constant value from the start to that first keyframe. Similarly if no keyframe is set at the end of the clip, the value at the final keyframe remains constant until the end of the clip.

Note that the interpolation type for the very first keyframe has no effect, even though it can be set. This is because the interpolation type applies to the preceding section of the curve.