15 - Motion Tracking - Kdenlive 2020 Tutorial
Vložit
- čas přidán 22. 08. 2024
- In this video, I will show you how to use the Motion Tracking Effect in Kdenlive. You can use Motion Tracking to move Text and Images together with a subject in a video.
When using Images, I recommend using PNG files so that you have background transparency.
02:37 - Applying Basic Motion Tracking to a Subject
06:10 - Tracking Text to a Subject
08:40 - Tracking an Image to a Subject
09:38 - Manually Adjusting Tracking Path
2020 Kdenlive Tutorial Series Playlist
• 2020 Kdenlive Video Tu...
Links:
Kdenlive 20.04 Release
kdenlive.org/e...
Kdenlive
kdenlive.org/en/
Support the Channel:
Make a Paypal Donation
www.paypal.com...
Great tutorial! About fixing the arrow position you could simple add a second transform effect AFTER the one you already have and set an offset from the tracked position. This way you afford the manual position fixing.
I thought the exact same thing. It definitely saves time than from having to edit each keyframe. I agree, it was a great tutorial though!
@@SquirrelTheorist And it's more accurate too!
Is there a tutorial on this please. I have added the second transform effect but not sure what you mean by setting an offset from the tracked position.
@@chillimocha use the second transform effect to "correct" the tracking transform and have your element where you want it to be (aka. "offset"; the second transform then *is* the offset)
@@chillimocha Well, the first transform is the one that is moving the object on top of the tracked element. If you add a seconds transform and set an offset to X than object will still move following the tracked element (thanks to the first transformation), but no longer on top of it since the second one has moved it to the side.By adjusting the X/Y offset of the second transformation you can define where the object will appear relative to the center of the tracked data. I don't have a tutorial for this, but I can do something if you still having issues.
So, after a few months of returning to this video, never getting it to work, I found the problem, the object you want to follow must be in the "Circle" at the START of the clip you are using. If you are only following a few seconds of a longer clip, trim it down to only the portion you are following. If it is off screen, you need to cut it down to where it is in frame before you trace it. You can manually change it later as it enters into frame, but to do it Auto, it needs to be in frame first. He does this in the video, but it isnt as clear as it could be
BEST motion tracking tutorial on Kdenlive I've seen! Believe me I've seen alot =) Ty sir and I look forward to watching/sharing/liking your kden tut series. Please keep up the good work! God bless, sir.
Thank you very much!
I watched so many videos about tracking. This one is the best. Clear and simple and infromative
Thanks you from Russia (Siberian)
At 5:40 - for anyone watching, increasing the keyframes spacing helps to smooth out the motion of the ellipse if the object you are trying to track is, for example, rotating as it moves across the screen. When you copy the tracking data and import it to a transform effect for some text/image, it will more closely follow the actual path of the object you want to track rather than its path combined with, say, its rotational motion
Would it be easier to edit the arrow image so that the arrow is off-center, pointing on the right spot?
Yes you can do that too :)
I think it's better to just add another "Transform" effect to be applied after the tracking one.
thanks for the tutorial - for anyone who doesn't know, the current version seems to have a bug involving copy+pasting keyframes onto other projects. gotta transfer it by hand. :/ also, if you can't find the motion tracking option, you need to install opencv.
That'll come in handy. Thanks.
Nice tutorial! Thank you!
Excellent. Thanks. There are other tutorials for motion tracking in Kdenlive, but they are so outdated to not be much use. One says to use the motion blur effect, but it constantly crashes in the latest version of Kdenlive.
Thank you for an excellent tutorial. Looking forward to learning more from you!
So with the arrow you actually don't need tracking at all when you do it manually. You just need the transform.
When I CSRT tracking, the program crashes. KCF is the only one that works, but text is not visible after tracking info is pasted.
For people like me wondering why Motion Tracking is missing, turns out you need OpenCV installed. I'm using Linux Mint, and forgot if I installed through PPA, and couldn't figure out which OpenCV dependency it needs. So..
My solution: I just reinstalled through flatpak instead.
Excelente!
can you please upload more of these long kdenlive long tutorials
Do you have a tutorial on using Moting Tracking together with Pan and Zoom to keep a moving object as centered in the screen as possible?
Or maybe any other effect to keep the object in the center.
I can look into this a bit more in the future. Stay updated with the channel. Thanks for the suggestion.
I can look into this a bit more in the future. Stay updated with the channel. Thanks for the suggestion.
Very nice. Ty
It works really well; the frame shape follows the object perfectly, but how do I get the frame shape to act as the camera? Is this possible? Regardless, you have earned a subscription.
Why not add another transform that offsets the keyframe X and Y values, instead of editing all the keyframes?
Interesting approach. I have not tried this, but when I refresh this tutorial, I might give it a shot.
How ??
Thank you very much for the tutorial! One thing I noticed is, with some videos the inserting of the motion track in order to transform the text just does not work. I think I remember, that I recorded the video in question with a gimbal…
I believe you aren't alone with the motion tracking issues. I think this may have stopped working with newer versions of Kdenlive or perhaps a different method has been implemented. I haven't had a chance to investigate this yet, but when I do, I can post an updated tutorial.
Maybe this will help someone.
First: click "view" then checkmark "effect/compisition stack" or you dont see the effect options.
under motion tracker (in e/c stack) click options, then copy keyframes to clipboard.
goto transform effect click options and import keyframes from cipboard. good luck!
haven't tried it, but wouldn't it be possible to add a 2nd transform that adds an offset to the motion tracker?
I haven't tried this unfortunately. But if I do, I can post an update.
been looking for this everyone else is so far behind, but the dang red box stays on there when i render it out???keep up the good works man, excellent
The red box from the motion tracking tool will not render out in the final video. Just make sure to hide it by making it 0 pixels width as demonstrated in the video.
Great tutorial! But how do I make the camera follow to tracked object? Should I just be doing it through transform effect? Thanks
Unfortunately motion tracking is no more on the latest version of the kdenlive.
Edit:
Thank you, after downloading the app image version, it appears normally. Seems the package shipped by Linux Mint is buggy at the moment.
What really? What version are you using?
@@doyouknowkpop7314 it's 20.12.0 on Linux Mint.
May be they change the "Motion Tracker" to something else?
I just check version 12.12 on my machine, it is still there. Try searching for "Motion Tracker" in the Effects tab.
Or maybe the problem is my Linux Mint? Let me try other distro.
@@SolderIT before you change your distro, try downloading and running the App Image Kdenlive 20.12
Great tutorial, thanks a lot !
Hello This effect is not available in version 21.08.2 :-( Can I download that somewhere?
I was using Kdenlive for something similar (not using motion tracker feature)... moving a png image around the video using keyframes, but somehow kden changed my keyframe values, so the image just went in a straight line across the video instead of following the path I chose with the keyframes. Do you know if this is a bug or did I do something wrong?
@Gavinimations same :(
Lovely tutorial man. Do you think it would be possible to do the "Locked on stabilization" using motion tracker and probably pan and zoom. I would do it myself but Ive failed numerous times and I was hoping you could pull it off and show us a tutorial
czcams.com/video/5kPiJURwi2Y/video.html here's a video i found for you!
@@reuben911 Oh that's awesome, thank you!
nice
Thank you ever so much.
Thanks a lot
Hi, what must i do when the progrram loses the object?
You can manually adjust the tracking path.
"you got this rectangle" yes I have but there's no crosshair in mine and I can't move it
If you want to track multiple objects in a video, do you need to make a copy of the video and individually track both objects or is there a faster way?
I have not tried tracking multiple objects in a video. This is an interesting problem. It might take me some time but I'll see what I can come up with once I refresh the tutorial series for 2021.
You can do this with a single tracker. So, if there are two gliders, "Larry" and "Jack", use the tracker to first track Larry, and apply it to Larry's label. Then, use the same tracker for Jack, and apply it to Jack's label.
when I type "motion" all I get is: "Motion compensation deinterlacer" from group Image adjustment. omg why is it missing?!?! I just got 22.12.3
First you position the arrow how you want it and than add tracker. Than you have no manual work to do.
Thanks. Using the manual adjustment method is just too much work.
Thanks for such an informative tutorial 👍
I just started using Kdenlive and at a very basic level i am struggling with the quality of the image or text that i add into my project. Everything seems very blurry and distrorted any advise will be greatly appreciated.
The low resolution is showing up because you might have the Preview Scaling set to 270p in your Project Monitor, try changing this to a higher number or 1:1. OR you might have Proxy Clips turned on, proxy clips are lower resolution.
Try rendering a small clip, it should render to the quality of the original video.
@@victorianodejesus thanks a lot for getting back. It was indeed the scaling which i have now changed and it is all working. Cheers
I watched your tutorial regarding proxy clip settings to improve the performance but for some reason it doesnt activate it on my computer even after restarting the software. Any suggestions?
Awesome tutorial! But I got a problem: I use Version 22.08.0 and the direct copy tracking button is not there. Instead I klicked on the options and choose "copy keyframes to clipboard".
When I click on the titel again and choose "import keyframes from clipboard" it imports something else (says "rectangle" on top), but not the correct ones. What am I missing? Thanks!
Hello, I appreciate your tutorials. Now,... How do you add a black or other color border or frame just like the comics on a pip video?
for the hell of me I can not work out how to adjust the box size with out changing size % and setting x / y W H manually nor cross hair or corner notches
Enable Edit Mode in the project monitor by clicking on the icon to the immediate right of the fast-forward button
mine doesnt work
It looks like the "motion tracking" effect is gone now in version 21.08.1
How to do 'motion crop' ?
G L I D E R
First you do a tutorial on how to track, and then you say you basically void your tracking and do it manually? lol
Doesn't matter. The tracker can get "lost" so it's nice to know how to get it back on track manually.
We share almost the exact same setup.