 Hello everyone welcome back to another Adobe After Effects tutorial and this one I'm an After Effects 2021 and I'm going to show you how to add in some camera movement or camera shake using a second clip and tracking motion and a few other cool things so let me just start you off here I've got a very short picture or video here part of me of this little popper I got it just off Pexels it was free and I'm just going to do a quick preview to show you what we're starting with here all right here comes a vicious little weenie dog holy smokes he's in a big fight oh yeah big big scary boy very cute dog we got a cute little popper there and what I'm actually what I do now is I want to make this have some motion so the next step once you've got some footage in here is I've got something called backup footage it's called production ID which is a silly name but really it's just footage from Pexels as well I'm going to double click on it I'm going to show you what I got here so when they double click on it it's going to go into the footage monitor and then I am going to go ahead and just basically scrub through it so you can see you'll see here that the video the camera really moves up it moves down it moves a little left a little to the right it's just this nice attractive lady bouncing and running through a field okay what I want to do though is I want to take that camera motion in from this video and I want to apply it to the other video so that's kind of what I'm trying to go for so what I'm going to do now is I'm going to take this video and I'm actually going to cut it to three seconds and I'll show you why let me go back to the first one you'll see here that when I get to the end here it says the video length is three seconds long so I've got three seconds of the puppy dog doing puppy dog things so I'm going to double click again on the production ID video this one where we've got the camera movement and I'm going to set the end point right here I'm going to left click set end point to current time which is where that little dude Eddie is and then I'm going to move it forward and I'm going to set the out point to three seconds this I'm going to set the out point so what I've done is I've clipped off a small piece of this which is the beginning piece and I'm going to use that for the motion tracking now I'm going to go ahead and take this footage and I'm going to slide it underneath video mp4 so it still doesn't show up here as you can see but when I'm clicked on video mp4 well there we go we've still got the puppy dog on top but we've got the other footage underneath it so the next step I'm going to do is I am going to take this footage and I'm going to scale it up and I'm going to make an assumption here but let's go here I'm going to go to transform and I'm going to take the scale and I'm going to go to about 120 percent the reason why or yeah let's go to 125 just in case the reason why I'm doing this is because when we take the camera shake from the bottom footage it's going to move the top up and down and if it moves to the side and up and down there's no footage outside of the boundaries so it's going to get a black bar and I don't want that so I want to just go ahead and test it with this so we've increased the scale across the whole shot good now the next step is you go to the production ID or the bottom one in this case and I'm going to go ahead and I'm going to close preview and I'm going to go to tracker now there's a chance tracker is not open on your on your automatically you can't see it if you can't see it go to window drop it down and make sure there's a check mark beside tracker when we go to tracker making sure you're selected on the bottom footage we're going to go ahead and left click on track motion when we do that you're going to see that it's created some track points okay so we've got a tracker we've got a track point and now I'm going to analyze it so we've set the track we hit track and now we're going to analyze it I'm going to left click on analyze forward here so click the little play button and bang it's now doing its analysis this isn't uh this could take a few seconds let's see what's going on here how's it going there we go now it's off and running this is very cpu intensive so you'll see here that we've got a track point it's basically tracking the motion in the shot and we're going to take that motion and we're going to next apply it to the top frame or to the top video so let's finish that up and presto it looks like it's done and you can see if I zoom in a little bit that it has the tracking here so it's not a very big amount of motion but you know what we're showing you that we'll just want to show you the technique so we've gone ahead and tracked the motion I'm going to go back to the composition now I'm going to click on the top video which is the one with the puppy dog and I'm going to go ahead and now under tracker I'm going to select motion source and I'm going to go instead of selecting the top one I'm going to select production ID which is our bottom footage when I do that you'll see here that it takes us back into the layer I'm going to left click on apply and I'm going to apply the dimensions x and y so it's going to move up and it's going to move sideways I'm going to hit okay and now when we go back to the composition it's going to start thinking about what we just did here I'm going to drag and drop the time head the the bit to the beginning come on Curtis the time matter the time player what I'm going to call it and now when I hit the preview button which is up at the top here it's going to have the motion tracking applied so I'm going to go ahead and left click on this and watch what happens it now has some camera movement it's not a lot and I'm running it in full maybe I'll run it in yeah I can run it in full so you guys it's not a huge amount of motion but we've introduced camera motion into the top footage using just a couple of different techniques now I will note there are other ways to do this you can do this using different features and functions and stuff like that but this is an easy way to do it adds a little bit of organic motion into the video as you can see here the it's moving side to side back and forth puppy looks like it's not quite on a tripod anymore guys that's how you do adding in tracking you're adding in motion I hope you enjoyed this tutorial I have a ton more stuff coming up stay tuned