Depending on their background in video editing, users may find Kdenlive transitions somewhat confusing. Hopefully, this article clears up this confusion surrounding Kdenlive transitions, at least to some degree.
Kdenlive Transitions: 3-in-1
In Kdenlive, transitions can roughly be classified into three different types as follows:
|Type of Transition||Description|
1. Clip-to-Clip Transition
|Gradually replaces one clip by another clip. Has exactly two implicit keyframes, for start and end. This is what many users usually understand transitions to be.|
|2. Dynamic Compositing||For combining two clips, and the way of combination may vary with time. Supports user-defined keyframes that allow to control at least certain parameters.|
|3. Layer Compositing||For combining two clips in a constant, static way: much like you see layer compositing in image tools. As no keyframes are supported, this type of compositing is static, thus invariant of time.|
Historically, Kdenlive borrows the term transition, with its 3-fold meaning, directly from the multimedia engine MLT. MLT does all the video and audio processing according in your timeline. In the MLT universe, transitions basically «merge» video frames from upper tracks with video frames from lower tracks, producing result frames.
In contrast, many users experienced in video editing have come to know transitions as a mechanism to transition between to adjacent clips. However, Kdenlive doesn’t even support such in-track transitions. Instead you need to place these clips on separate tracks, and then you add a Kdenlive transition for combining these clips in some clever way.
1. Clip-to-Clip Transitions
Let’s start with those archetypical transitions most users would probably expect when they hear the word transition: the dissolve, slide, and wipe transitions. See for yourself…
Dissolve: gradually transitions from one clip to another. So it’s kind of fading between the two clips. (See also the Wikipedia article on Dissolve.)
Slide: gradually replaces one clip by another clip, by travelling from one side of the frame to another (See also the Wikipedia article on Wipe.)
Wipe: one clip gradually replaces another clip, often in form of some shape. (See also the Wikipedia article on Wipe.)
These three transitions don’t offer any (user-) keyframes. Instead, their start and end keyframes are implicit and fixed to the start and end of the transition respectively.
Because Kdenlive always uses two separate tracks for transitions, there’s a peculiarity to note: normally, as time moves forward in the timeline, these transition change (or kind of fade) from the clip on the upper track to the clip on the lower track. The somewhat strangely named transition parameter Reverse allows you to switch the track roles: if Reverse is checked, then these transitions from the lower track to the upper track, as time progresses.
- ▼ Reverse off: transition from upper track to ▼ lower track.
- ▲ Reverse on: transition from lower track to ▲ upper track instead.
2. Dynamic Compositing Transitions
To some degree, Kdenlive supports (simple) compositing in its timeline. Actually, even this simple compositing can get you a long way in many projects (as the above screenshot may hint at). Kdenlive currently offers the following (keyframable) compositing transitions:
- Affine – allows to size, rotate, skew, and position. Together with keyframes, this transition is really versatile. Its only drawbacks are: it is slower than other complex transitions (due to the affine transformation), and it doesn’t support wipes (which only Composite and Region support in this class of transitions).
- Cairo Blend – a simple compositing transition, supporting several compositing mode. In addition, the opacity of the upper frames can be controlled. This transition also supports keyframes.
- Cairo Affine Blend – this is has the functionality of both Affine and Composite: position, rotate (you can even control the center of rotation!), and finally skew. And all this is keyframable.
- Composite – allows keyframed dissolves, wipes, and swipes; and all this in the same transition. In contrast to Affine, it does not support rotation or skewing. The downsides of Composite are: luma bleed, and less precise position control. When compared to Affine, the Composite transition is much faster, albeit at the cost of luma bleed.
- Composite & Transform – this is a rather new transition that made its debut with Kdenlive 16.04. It allows to easily composite clips onto each other (supported several compositing modes), as well as to move the upper track clips. However, there is neither support for scaling, nor for rotation, but for dynamic opacity. But keyframes are supported. In those situations, use Affine or Cairo Affine Blend instead.
- Region – like Composite, but restricted to a region in form of a matte. In the Region transition properties, this matte is called the Transparency clip.
Fun Fact: Admittedly, MLT and Kdenlive offer a lot of choice here; probably too much choice. A non-representative poll in our official Kdenlive G+ community showed that Composite is used the most often, followed by Composite & Transform and Affine.
Compositing with Transparency
Composite & Transform is Kdenlive’s new darling, as it will make life much easier for many, if not most Kdenlive users. When compared to Affine, this new transition is also faster in the standard compositing cases. Moreover, Composite & Transform defaults to the alpha compositing mode (paint) over – which is what probably most users need when compositing. In contrast, Affine uses the atop alpha compositing strategy that can drive unexpecting users mad. But see for yourself…
Composite & Transform: whatever semi or non-transparent is in the frame from the upper track, it will be painted over the frame from the lower track. Hence the name of this compositing mode: over. Please note: in the transition properties, this mode is to be found as Compositing: Alpha Blend instead.
In addition, Composite, Cairo Blend, and Cairo Affine Blend also use the same over compositing strategy, as Composite & Transform does. For Cairo Blend and Cairo Affine Blend this Blend mode is called Normal instead.
Affine: as the simple rule of thumb, transparency is solely controlled by the lower track. Any transparency information from the upper track simply gets completely ignored. In consequence, if your lower frame has regions of full transparency, whatever falls within them on the upper frame will be invisible! You can see this result also in the screenshot.
At least at this time, Composite & Transform does not support this alpha handling as Affine does.
Please see also for further information:
- our separate Kdenlive article on alpha compositing with Composite & Transform and Affine.
- the Wikipedia article on alpha compositing.
- the SVG Open 2015 paper by Craig Northway on understanding compositing and color extensions in SVG 1.2 in 30 minutes! – especially the Porter Duff operator table in chapter 6 with resulting alpha calculation column.
3. Layer Compositing Transitions
This third kind of Kdenlive/MLT transitions mostly work similar to layer modes in image editors (such as GIMP). These static layer compositing transitions do not have any parameters at all. This category actually has the most Kdenlive transitions to offer:
- Addition Alpha
- Color Only
- Grain Handling: Extract / Merge
- Hardlight / Overlay
- Overlay / Hardlight
- UV Map
- Video Quality Management
- Alpha atop
- Alpha in
- Alpha out
- Alpha over
- Alpha XOR
Please note: Kdenlive’s (or, MLT’s) fixed compositing transitions don’t have a transparency parameter. To some extent, you may substitute the Cairo Blend transition, which has an opacity parameter.
What exactly is luma bleed? I’m afraid that’s the thing that bugs me all the time and I would be very happy if that could be somehow fixed, because Composite is the only transition supporting wipes…
Do you see slight “brightness” changes within the zone of a composite transition, or do you see slight color changes? The latter is a color space conversion artefact that becomes visible when you do color grading in RGB space, and then use the composite transition which operates in YUV space, and you have another transition (such as a logo) that operates in RGB again … and the final result gets converted back into YUV again for encoding.
I see. That’s exactly the problem which causes color animations are looking weird. However, there is no method how to use wipes without luma bleed, am I right?
Unfortunately not, as far as I know. I’m poking Jean-Baptiste from time to time without trying to annoy him; but we are still looking for someone who can implement wiping, if possible, for the new Composite&Transform transition (aka qtblend).
What should be put in the transparency clip of the transition region to work or is it having a bug and I’m wasting time? It does not work? For more than I put images in gray scale and different formats, including with alpha channel, I do not obtain any result. Please help.
Solved, the region transition have a bug. If the scale is varied, the transparency clip stops working. Thank you for the thousands of answers, without your help it would not have been possible. 😉
Glad you solved it. The best places to get help are the forums and mailing list.
First of all, we really thankful to kdenlive for a free software.It is actually so good. But need some more features. Here I have a problem with transitions in kdenlive. How to download new transitions in kdenlive? I downloaded many but those were not added nor visible in transitions list? PLease resolove this issue.
HEY! Yes i find the answer…. the all transtions i wanted all in wipe and there are options which you can choose.. Thanks
all in wipe options. we can choose our transitions there….