Kdenlive/Manual/Transitions/Composite: Difference between revisions
(Third tutorial - how to create video mask to use with composite transition) |
m (Added a warning because that was unexpected.) |
||
(39 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
=== Composite Transition === <!--T:1--> | |||
<!--T:2--> | |||
The Composite transition combines the video data from two video tracks into one. This transition is used in combination with Alpha Channel information supplied by one of the [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha_manipulation#General_Information_about_Alpha_Manipulation|Alpha Manipulation Effects]] or by the use of a [[Special:myLanguage/Kdenlive/Manual/Transitions/Composite#Tutorial_3_-_Video_Masks| Wipe File]]. This Alpha Channel data describes how the data from the two video tracks should be combined. Until you define some alpha channel data using an [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha_manipulation#General_Information_about_Alpha_Manipulation|Alpha Manipulation Effect]] or a Wipe File, changes in the Composite transition settings will have no visible effect. | |||
* Alpha | <!--T:42--> | ||
Note: The disadvantages of the '''Composite''' transition are: luma bleed, and less precise position control. When compared to '''Affine''', the '''Composite''' transition, it does not support rotation or skewing but it is much faster, albeit at the cost of luma bleed. | |||
==== Alpha operations ==== <!--T:43--> | |||
<!--T:3--> | |||
[[File:Composite transition showing alpha channel operation options.png|400px|left]] | |||
<!--T:4--> | |||
Alpha operation options are ''Over'', ''And'', ''Or'' and ''Xor'' | |||
<br style="clear: both;"/> | |||
<!--T:44--> | |||
Operation '''Over''' | |||
# The clip with alpha information is located on the top track: the selected color acquires transparency. | |||
# The clip with alpha information is located on the bottom track: we see only the top clip. | |||
<!--T:45--> | |||
[[File:alpha_operation_Over.png]] | |||
<!--T:46--> | |||
Operation '''And''' | |||
# The clip with the alpha information is located on the top track: the selected color becomes transparent. | |||
# The clip with alpha information is located on the bottom track: everything in the image becomes transparent, except for the selected color. | |||
<!--T:47--> | |||
[[File:alpha_operation_And.png]] | |||
<!--T:48--> | |||
Operation '''Or''' clears any alpha information | |||
<!--T:49--> | |||
[[File:alpha_operation_Or.png]] | |||
<!--T:50--> | |||
Operation '''Xor''' | |||
# The clip with alpha information is located on the top track: everything in the image becomes transparent, except for the selected color. | |||
# The clip with alpha information is located on the bottom track: the selected color acquires transparency. | |||
<!--T:51--> | |||
[[File:alpha_operation_Xor.png]] | |||
==== Tutorial 1 ==== <!--T:16--> | |||
<!--T:17--> | |||
See this [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Blue_Screen#Tutorial_2|tutorial]] that describes how to use: | |||
<!--T:18--> | |||
* Alpha Manipulation -> [[Special:myLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Blue_Screen|Blue Screen]] | |||
<!--T:19--> | |||
* [[Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Rotoscoping|rotoscoping]] | * [[Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Rotoscoping|rotoscoping]] | ||
<!--T:20--> | |||
* Composite Transition. | * Composite Transition. | ||
<!--T:21--> | |||
* Crop and Transform -> [[Special:MyLanguage/Kdenlive/Manual/Effects/Crop_and_transform/Pan_and_Zoom|Pan and Zoom effect]] | |||
<!--T:22--> | |||
* Enhancement -> [[Special:MyLanguage/Kdenlive/Manual/Effects/Enhancement/Sharpen|Sharpen Effect]] | |||
<!--T:23--> | |||
* Alpha Manipulation -> [[Special:MyLanguage/Kdenlive/Manual/Effects/Alpha_manipulation/Alpha_operations|Alpha Operations]] | |||
==== Tutorial 2 - composite transition and Blue Screen ==== <!--T:24--> | |||
<!--T:25--> | |||
Tutorial showing how to use the "Blue screen" function, composite transition and [[Special:MyLanguage/Kdenlive/Manual/Effects#Using_Keyframes_in_effects|Keyframes]] to animate one image moving over another in the '''Kdenlive''' video editor. | |||
<!--T:26--> | |||
{{#ev:youtube|M8hC5FbIzdE}} | {{#ev:youtube|M8hC5FbIzdE}} | ||
==== Tutorial 3 - Video Masks ==== <!--T:27--> | |||
<!--T:28--> | |||
This tutorial uses the Composite transition and a custom video mask (a.k.a. a Wipe File or [http://en.wikipedia.org/wiki/Matte_%28filmmaking%29 ''matte'']) to create an effect where you can make it appear that one video is playing on the screen of a still of a computer monitor. | |||
<!--T:29--> | |||
The mask/matte is created with '''GIMP'''. | |||
<!--T:30--> | |||
Save your mattes to <tt>/usr/share/kdenlive/lumas</tt>. | |||
<!--T:31--> | |||
It would appear that you need to stop and restart '''Kdenlive''' in order for it to pick up new matte/wipe files saved in the above directory. | |||
<!--T:32--> | |||
There appears to be a defect in this functionality which means that when the composite is on 100% Opacity, the wipe file does not work. You need to change it to 99% to make the effect kick in. | |||
<!--T:33--> | |||
{{#ev:youtube|FIpnGlRY27U}} | {{#ev:youtube|FIpnGlRY27U}} | ||
<!--T:34--> | |||
[[File:Composite transition with wipe file.png|left]] | |||
<!--T:35--> | |||
Screenshot of Composite transition using a custom wipe file to mask out a section of video - as described in Tutorial 3. | |||
<br style="clear: both;"/> | |||
<br /> | |||
<!--T:36--> | |||
Aspirational goal - a compositing experiment made using detonation films free sample effects. | |||
<!--T:37--> | |||
'''Warning''': video below may be inappropriate for some users. | |||
{{#ev:youtube|vo-xntF1bns}} | |||
<!--T:38--> | |||
{{Prevnext2 | |||
| prevpage=Special:MyLanguage/Kdenlive/Manual/Transitions | |||
| prevtext=Transitions | |||
| index=Special:MyLanguage/Kdenlive/Manual | indextext=Back to menu | |||
}} | |||
<!--T:39--> | |||
[[Category:Kdenlive]] | |||
</translate> |
Latest revision as of 18:26, 15 July 2020
Composite Transition
The Composite transition combines the video data from two video tracks into one. This transition is used in combination with Alpha Channel information supplied by one of the Alpha Manipulation Effects or by the use of a Wipe File. This Alpha Channel data describes how the data from the two video tracks should be combined. Until you define some alpha channel data using an Alpha Manipulation Effect or a Wipe File, changes in the Composite transition settings will have no visible effect.
Note: The disadvantages of the Composite transition are: luma bleed, and less precise position control. When compared to Affine, the Composite transition, it does not support rotation or skewing but it is much faster, albeit at the cost of luma bleed.
Alpha operations
Alpha operation options are Over, And, Or and Xor
Operation Over
- The clip with alpha information is located on the top track: the selected color acquires transparency.
- The clip with alpha information is located on the bottom track: we see only the top clip.
Operation And
- The clip with the alpha information is located on the top track: the selected color becomes transparent.
- The clip with alpha information is located on the bottom track: everything in the image becomes transparent, except for the selected color.
Operation Or clears any alpha information
Operation Xor
- The clip with alpha information is located on the top track: everything in the image becomes transparent, except for the selected color.
- The clip with alpha information is located on the bottom track: the selected color acquires transparency.
Tutorial 1
See this tutorial that describes how to use:
- Alpha Manipulation -> Blue Screen
- Composite Transition.
- Crop and Transform -> Pan and Zoom effect
- Enhancement -> Sharpen Effect
- Alpha Manipulation -> Alpha Operations
Tutorial 2 - composite transition and Blue Screen
Tutorial showing how to use the "Blue screen" function, composite transition and Keyframes to animate one image moving over another in the Kdenlive video editor.
Tutorial 3 - Video Masks
This tutorial uses the Composite transition and a custom video mask (a.k.a. a Wipe File or matte) to create an effect where you can make it appear that one video is playing on the screen of a still of a computer monitor.
The mask/matte is created with GIMP.
Save your mattes to /usr/share/kdenlive/lumas.
It would appear that you need to stop and restart Kdenlive in order for it to pick up new matte/wipe files saved in the above directory.
There appears to be a defect in this functionality which means that when the composite is on 100% Opacity, the wipe file does not work. You need to change it to 99% to make the effect kick in.
Screenshot of Composite transition using a custom wipe file to mask out a section of video - as described in Tutorial 3.
Aspirational goal - a compositing experiment made using detonation films free sample effects.
Warning: video below may be inappropriate for some users.