Archive:Kdenlive/Manual/Effects/Blur and hide/Auto Mask: Difference between revisions
(new pic of the options button as it appears in ver 17.04) |
(update the import keyframes from clip dialog pic) |
||
Line 28: | Line 28: | ||
[[File:Tracking02.png|400px|thumb|right|Figure 3.]]Next step is to import the motion data in the transition. To do this, first select the clip you have analysed, then select the transition using the <keycap>CTRL</keycap> key so that both items are selected. Finally, go in the transitions's Options menu [[File:Kdenlive Affine options button.png]] and select <menuchoice>Import keyframes from clip</menuchoice>. You can now delete the "Auto Mask" effect from the clip in timeline and play the project to see your title clip following the object. | [[File:Tracking02.png|400px|thumb|right|Figure 3.]]Next step is to import the motion data in the transition. To do this, first select the clip you have analysed, then select the transition using the <keycap>CTRL</keycap> key so that both items are selected. Finally, go in the transitions's Options menu [[File:Kdenlive Affine options button.png]] and select <menuchoice>Import keyframes from clip</menuchoice>. You can now delete the "Auto Mask" effect from the clip in timeline and play the project to see your title clip following the object. | ||
[[File:Kdenlive Import keyframes.png|400px|thumb|right|Figure 4.]] | [[File:Kdenlive Import keyframes from clip.png|400px|thumb|right|Figure 4.]] | ||
<br clear="all"/> | <br clear="all"/> | ||
Checking the ''Limit keyframes number'' checkbox In the "Import Keyframes" dialog (Figure 4) will cause Kdenlive to only import every nth frame (where n is the number selected in the combo box). This is a useful feature if you want to manually edit the keyframes that are imported because it allows you limit the number of key frames you will need to manually edit. If this check box is not checked then you import a key frame for every frame that is in the source clip.<br> | Checking the ''Limit keyframes number'' checkbox In the "Import Keyframes" dialog (Figure 4) will cause Kdenlive to only import every nth frame (where n is the number selected in the combo box). This is a useful feature if you want to manually edit the keyframes that are imported because it allows you limit the number of key frames you will need to manually edit. If this check box is not checked then you import a key frame for every frame that is in the source clip.<br> |
Revision as of 13:20, 3 August 2017
Auto Mask
This effect can be used to mask peoples faces. It uses motion estimation to track subjects and mask faces. It is the MLT filter autotrack_rectangle
Demo
How to apply Auto Mask
See video below on how to use this effect. Warning: The effect is not 100% reliable.
Motion Tracking
The Auto Mask effect can also be used to track motion of an object and use it later as keyframes for an effect / transition. (This functionality is not working in ver 0.9.10 of kdenlive - mantis 3338)
To use this feature, first add the clip you want to analyse in timeline, and add the "Auto Mask" effect to it - Figure 1.
Go to the first frame where your object is visible, and adjust the yellow rectangle so that is surrounds the object, like the hand in Figure 1.
Then click on the
When the job is finished, the motion tracking data is stored in the clip properties. To use this data, you can for example add a title clip and affine transition over the clip you just analysed, like in the screenshot in Figure 2..
Next step is to import the motion data in the transition. To do this, first select the clip you have analysed, then select the transition using the CTRL key so that both items are selected. Finally, go in the transitions's Options menu and select . You can now delete the "Auto Mask" effect from the clip in timeline and play the project to see your title clip following the object.
Checking the Limit keyframes number checkbox In the "Import Keyframes" dialog (Figure 4) will cause Kdenlive to only import every nth frame (where n is the number selected in the combo box). This is a useful feature if you want to manually edit the keyframes that are imported because it allows you limit the number of key frames you will need to manually edit. If this check box is not checked then you import a key frame for every frame that is in the source clip.
Checking the Size checkbox in the "Import Keyframes" dialog (Figure 4) will cause Kdenlive to also import the size information from the keyframes data and this will mean that the transition will be adjusted to be the same size as the obscure rectangle.
Deleting Motion Tracking Data
The motion tracking data is saved with the clip properties. You can view this data and delete it from the clip properties dialog - Figure 5.
See defect 348975