 Let's say you have someone's face and you want to conceal their identity and blur them out. It's easy enough to blur out someone's face, but we're going to look at using some motion tracking so that if they move around a little bit, you can follow their face. We're going to do this in Blender right now. Hello. Okay, we're going to get started. First off, I'm using Blender 2.63, which is actually a few versions behind. I actually have a current version on here. I'm just not using this tutorial just because that's not what I clicked on. Also, I apologize. I'm watching my daughter this morning while my wife is at work, so if you hear some noise in the background, that is her. Basically, it's really easy to blur out someone's face in video editors. You can Blender, Caden Live. I'm going to be using some motion tracking here, and this is just the way I would do it, not saying it's the most efficient way of doing it. I think Caden Live might actually have a feature like this built in. I haven't played with that feature yet, if so, but I feel like I saw that in there somewhere. Anyway, definitely watch my previous tutorials on motion tracking in Blender because I'm going to go through that part kind of fast here, hopefully. Let's get our default scene set up here. I'm going to go to my front view here, control 0 to move my camera there, delete the default cube, and then I'm going to circle, and I'm going to add in a NURBS circle. I'll leave us how you say that. Right now, it's facing up, so you don't really see it. I'm going to hit R for Rotate, X and 90 to rotate it 90 degrees. It's now just a path, it's transparent. If we go to our Path tabs here with that selected and set to 2D, you can now see I'll hit F12, render it out. That's what it looks like, a little black dot on our gray background. Now that we've got that set up, we're going to do a little bit more with that later on, but let's just click down here and go up to our Movie Clip Editor. We're going to import a movie. Open, go to where your movie is. I'm going to import this one here. We need to set our scene to the length of this movie clip here. There's multiple ways to figure out the length of the video. I believe I've shown other ways. What I'm just going to do is I'm going to go over here to Materials, Select the default material and Texture. Under Texture I'm just going to change this to Imager Movie and go Open and I'm going to choose that video again. Right here it will show you frames. This video is 564 frames. That's probably a long way to do it. I feel there's better ways to do it, but that's just the one that popped in my head right now. Let's go to our Render tab here. Remember, 564 and Frame 564. Now our project is the same length as this video clip. Make sure we're at the first frame of our video. You can just hit Shift-Left, not Ctrl-Left. Shift-Left, that will bring you to the first frame. You can see that down here or down here. At this point we need to find something to track. If you know you're going to be tracking something, it's always good to put some sort of tracker on your object. But if you're blowing out someone's face, you may not be setting up to motion track. You may just be working with straight video. Here I'm just going to track one of my nostrils. It's probably not going to go all the way through on the first try. I'm probably going to have to reset it a few times just because of the blurriness of the video as I move around. I'll get into more of that as we move along. I'm going to click up here, add marker and move. Here's a marker, put it there. I'm going to hit S to scale that up. There we go. We're now marked on my nostril. I can now hit this little play arrow here. You can see it starts tracking my nostril. It's doing pretty good, even with big movements. It jumped to the other nostril. If we were really working with something important on motion tracking, obviously that would be bad, but we're just blurring out someone's face. That's a big deal. Let's see where we lost the nostril. Right there, it's a big jump. I will reset it from here. I'll go like that, play a little bit, reset it again, play. There we go. It's tracking it again. We're going to have to do this a few times, mainly because shots like this are quite blurry. The computer is like, well, that doesn't look like what I'm tracking anymore. There's things you can do to overcome that when you're filming. One, better lighting means that you can have a shutter rate on your camera. That will allow for less blurriness. Better lighting, if you have a camera that shoots at faster frames per second, like my DSR records at 60 frames a second if I want it to, where a digital camera records at 30 frames a second, or 29.999. Right now, with this video, I'm just using a little flip camera, a little cheap little portable camera, and it really has no options like that. Here at the end, it tracked the other nostril just because both my nostrils look the same, and they're next to each other. Not a big deal in this case, but I believe, yes, we made all the way to the last frame, so now what I'm going to do, is hit and remove that side tab there. I'm going to drag this up, and T to get rid of that side bar, and I'm going to say, change this to a 3D view. So this is our 3D view, we're back in our 3D view here. And at this point, I am going to control, no, shift left, I always get that backwards, shift left to go back to our first frame, and I'm going to say over here, set as background, so we'll set the same video as the background over here. And what I want to do is, I want to position the circle we created earlier, so it covers my face. So I'm going to grab it, put it at the center of my face, scale it up some, scale it on the z-axis, axes, there we go. This is what it's going to be blurring out. Now, select our little tracker over here, and hit tab to go into edit mode, and we're going to link empty to track, and now we have a little empty object here. So what I'm going to do is, I'm going to select our circle, and then shift select, shift select our empty, and control P object. We've now parented our circular object to our empty, which is following this tracker. So if I hit Alt A now, you can see that the circle is now following my face. It gets a little shaky at points. That's when it's jumping from nostril to nostril, but as long as it's over my face, that's what we're going for here. So we're good to go. We can now go into our compositor, because right now if we hit F12, we still just get a black dot. So I'm going to come up here and go to compositing. I'm going to use node auto render. Then I'm going to click this little render button so we can see our render right there. And now at this point, we're going to shift A, and we're going to go to inputs, and we're going to go movie clip. And we've already imported our movie clip, so we just click the little strip here and you can find it. There it is. And now we want to, first off, scale. If your video is the same resolution as your project, great, no problem. Mine is actually, my video from the flip camera is 720p, where my project is 1080p, as you can see over here. Now I can change my project, or I'm just going to, what I'm going to do is I'm going to shift A and go to distort, scale, and connect that there, and I'm going to set this to render size. So now it's going to be size to whatever my render is, or you can do scene size, just to pay on your project, right now they're both the same. So I can now minimize that. Next we're going to add a blur. So once again, shift A to bring up this little menu, and we're going to go to filters. We're going to go blur. I'm going to change this to fast Gaussian. And I'm going to connect the output from here to here. And I'll connect to our render just so you can see, that's the picture of me, video of me. We'll change this. We really want our blur to be blurry. So I'm going to set this pretty high, 100. So that is what our blur is going to look like. But obviously right here, we're completely blurring out everything. Let's shift D, actually let's minimize it and then we'll shift E it. So I just clone that blur and we're going to blur our little circle here. But actually we're not going to blur the image. We're going to blur the alpha, which is going to give us a black and white image like this. So it's, this is our original render, like this, but using the alpha instead, it's going to set what, it's going to give us a mask. And using that blur node, gave us instead of a straight circle, a feathered circle. So basically we have one more little node here to add. We're going to hit shift A, we're going to go to color, alpha over, and we're going to take our blurred image, put that on bottom, and then our scaled original image, put that on top. And then we're going to take our blurred feather mask and put this into the little gray fac. And now if we connect that to our compositing output, you can see that my face is blurred. And it's going to blur it based on the movement of the little circle we created here. So now we just need to render it out. I'm going to call this faceB.avi. I'm going to, you can choose whatever format you want. I'm going to choose Xvid and encoder I'm going to choose preset Xvid. And at this point, I think we're all set. I'm going to click animate and it's going to start generating each image. Sorry about my daughter. She's excited back there. She likes when daddy makes videos for everybody. Okay. So, pretty much we got the video done here. Now, audio, you can either lay back in, if you were to bring this into another video editor, such as Kaden Live. You can do the original audio track from the original video and this video which generated. Or you could actually do it within Blender here if you were to go to the video editor here. You can import your scene, your composite, and the audio. And so that's one option there. But since I was kind of mainly focusing on the video here, that's all we're going to go over today. You saw the video at the beginning and I'll play it here again at the end. I want to thank you for watching. If you did enjoy this tutorial, please let me know by giving thumbs up. If you have any questions, feel free to visit my site. Click on the help link, which will bring you to my RC channel, which is a great place to ask questions. Much better than YouTube comments, which is a horrible place to ask questions. And I just thank you for watching. Please visit Films by Chris.com. That's Chris with the K. And I hope that you have a great day.