Archive:Kdenlive/Manual/Effects/Blur and hide/Auto Mask: Difference between revisions
Line 12: | Line 12: | ||
===== Motion Tracking ===== | ===== 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. To use this feature, first add the clip you want to analyse in timeline, and add the "Auto Mask" effect to it. | The Auto Mask effect can also be used to track motion of an object and use it later as keyframes for an effect / transition. To use this feature, first add the clip you want to analyse in timeline, and add the "Auto Mask" effect to it - Figure 1. | ||
[[File:Tracking01.png|400px|thumb|right]]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 | [[File:Tracking01.png|400px|thumb|right|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 <menuchoice>Analyse</menuchoice> button in the effect options. This will start an analysis of the clip (you can follow its progress in the Project Tree view). <br clear="all"/> | Then click on the <menuchoice>Analyse</menuchoice> button in the effect options. This will start an analysis of the clip (you can follow its progress in the Project Tree view). <br clear="all"/> | ||
[[File:Tracking03.png|400px|thumb|right]]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 over the clip you just analysed, like in the screenshot | [[File:Tracking03.png|400px|thumb|right|Figure 2.]]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 over the clip you just analysed, like in the screenshot in Figure 2.. <br clear="all"/> | ||
[[File:Tracking02.png|400px|thumb|right]]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 config menu [[File:Kdenlive Config menu icon.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 config menu [[File:Kdenlive Config menu icon.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]] | [[File:Kdenlive Import keyframes.png|400px|thumb|right|Figure 4.]] | ||
<br clear="all"/> | <br clear="all"/> | ||
======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. | |||
[[File:Kdenlive Clip properties with motion vectors.png|400px|thumb|right|Figure 5.]] | |||
{{Prevnext2 | {{Prevnext2 |
Revision as of 21:55, 17 May 2013
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
{{#evp:youtube|rRg_i5C8_Hc}}
The effect is not 100% reliable. See video below on how to use this effect
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. 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 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 config 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.
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.