Placeholder Image

字幕列表 影片播放

  • Hello YouTube. Mikeycal here and this video number 21 in my series on utilizing Blender

  • as a video editor. Now in the previous video, I showed you guys how you can do the Ken Burns

  • effect. And, in today's video, I'm going to be introducing you guys to the UV/Image editor

  • and we're going to be doing "masking." And we're going to be doing masking specifically

  • to do a Face Blur. So let's get right to that... So, the first thing that we want to do is...

  • I've actually imported a small segment of the movie Big Buck Bunny. And, what we're

  • going to do is... We want to blur out this birds face. And, lets play it back. We can

  • see how this bird moves. So, I want the mask of a blur effect to move with the bird. So,

  • how are we going to do that? Well we can do that with the UV/Image editor. So let's stop

  • this, and we're going to go back to the first frame. And, what we are going to do is...

  • We're going to go up to this little drop down up here. And we're going to switch this to

  • a UV/Image Editor. There we go. What we want to do first is we want to switch the UV/Image

  • editor to the Mask Mode. And we can do that by selecting MASK from this drop down here.

  • Ok. Now, it gives us an option of New. That means create a new mask. We're going to click

  • this. New Button. And, by default, it names the new mask, "Mask." But, we're going to

  • make a blur mask. So I'm just going to call it "blur" - hit enter. There you go. And now

  • we can actually start creating our mask. Now, you'll notice this little thing, right here.

  • You can ignore that... In fact, we can actually just click our left mouse button and move

  • it to the side. What do we need first? Before we create a Mask? Well, we need a reference,

  • first of all. I mean, I need to see where I'm going to place the mask. So what we're

  • going to do is we're going to go to "Open" and we're going to select the same video that

  • we have in our preview window. There we go. And now scroll down a little bit. To get it

  • to the same size. Or around the same size. Ok so, this side in the UV/Image editor - we're

  • using this for a reference that we can actually draw our mask over this and go frame by frame

  • and see how the mask needs to change. So, what we need to do is... Let's first go down

  • to the "View" menu, and select Properties. And that will open up some properties. And,

  • we need to click... Let's pull this out a little bit... We need to click the "Match

  • Movie Length" button and Check "Auto Refresh." And that should be enough for us right now...

  • Let's actually go back down to view... and we're going to close that... And, now, whenever

  • you click and drag... It will actually play the video in both the preview window and in

  • the UV/Image editor. Now, It will not play in the UV/Image editor if you click the play

  • button. This is just how it is. So let's go back to the first frame, by clicking the little

  • navigation button down here - to the first frame. Now what do we want to do. We want

  • to actually start drawing our mask. And the way that you do that is... You hold your Control

  • button down on your keyboard, and while you're holding your control button down, you left

  • click to place a marker - right there. So we have our first little marker. And we want

  • to draw a circle. So we just have to have a group of markers. So we're going to find

  • another spot where we want to place a marker. And I'm still holding down the CONTROL button

  • and hitting my left button - we're just going to draw this around the face. I'm just clicking

  • the left mouse button with my control button down. And you can see that there is a gap

  • here. And we can zoom in with our mouse wheel. You can leave this gap here. It's actually

  • nice to leave the gap there because you can actually see where the beginning and ending

  • is... By default, Blender will automatically connect the beginning and ending markers.

  • But, if you really want to see the connection, you can go down to the mask menu and click

  • "toggle cyclic." And it will actually close it. But, I recommend not to do that because

  • it's nice to know where the beginning and ending are. So, let's undo that... Now, all

  • we need to do is... we actually have a mask layer now. We just need to go frame by frame

  • and make some changes to it. And, this is where we're going to need to use this feature

  • down here called "Auto keyframe insertion". So if you click this "ON" now, what will happen

  • is, Blender will automatically monitor if there is a change in shape or position of

  • our mask. And it will actually insert keyframes automatically. And this is not the same kind

  • of keyframe inserting that we have when we go to our dope sheet or our graph editor because

  • we can't actually view teh keyframe insertions, that are generated from the auto keyframe

  • system, in our graph or dope sheet. It's completely handled, 100%, by Blender internally. And,

  • so what we are going to do is... We have our general shape, and we are on frame 1. And

  • we're going to go down to our arrow keys on our keyboard. And if you push the actual right

  • arrow on your keyboard, it will actually take you a single frame at a time. And you can

  • see over here, it's showing the frame as we go forward and it's also showing the green

  • line move. Now you can see the frames are changing. And as they change, we need to move

  • the mask layer. So we can actually select the mask layer by toggling the "A" button

  • - hit the "A" button once and it deselects, hit it twice and it "selects all." You can

  • keep toggling it all you want. This is how you select everything and unselect everything.

  • Now we can hit our "G" button. And we can drag it down and place it somewhere where

  • it's covering. There we go... And, let's continue moving forward by hitting our arrow keys.

  • And hit our "G" button and move it down. Arrow key to the right. And, it doesn't have to

  • be perfect. We're doing a blur effect. It doesn't have to be a perfect coverage. Just

  • enough to conceal the identity. You can see this is actually... It works pretty quickly.

  • You can fly through this... I mean once you know that your just select all, G, and moving,

  • and going forward frame by frame, you kind of fly through it. And I'm going to use my

  • scroll wheel to scroll down, to zoom out. And we're going to go forward and I'm going

  • to "G" and move it out of the frame. And now let's go back to the beginning. OK? And let's

  • zoom in - with our mouse wheel. And let's watch as I drag over this... How this moves.

  • Cool right? Now it's not perfect, and you can actually go to each frame and you can

  • actually select an individual marker, and you can hit your "G" button, and you can actually

  • adjust it. And it will fix it for that frame, and it will make the other frames transition

  • from that position. So, now you will see... when I move forward, it is actually moving

  • the shape as well as the whole entire mask object. Ok, So, I showed you guys how you

  • can make a mask but we want this to be in the video. And this back ground here is really

  • just a reference. We want to get this mask over here. Onto the preview window. So, the

  • way that we're going to do that is... We first right click on our video strip - right down

  • here. Let's go back to the first frame. And let's add an "adjustment layer." Now, when

  • you add an adjustment layer. If you go over to the properties for that adjustment layer.

  • Right on the adjustment layer and go to the properties. You can see that it has a length

  • of 25. This is another way that you guys can actually make the length of the adjustment

  • layer match the video layer. You can just right click on the video strip, and you can

  • see that it has a length of 133. So, all we have to do is right click on our adjustment

  • layer, go over to Length, 1 3 3 - enter. And look at that it actually matched the length

  • - perfect. Now we are going to go to our adjustment layer, by right clicking on it, and we're

  • going to scroll down. And we're going to go to "Add Strip Modifier", and we're going to

  • select "Mask." Now we're going to scroll down and we have 2 buttons, one is STRIP and one

  • is MASK. We're going to select "MASK." And you see a little icon here, it looks like

  • a little mask. If you click on that, with your left mouse button, it will present all

  • of the masks that we have available to blender. And we only made one. It's called "Blur."

  • So let's click on that... Now you can see... Let's actually scroll over this... And we'll

  • see... it's selecting a specific area that's going to be viewable. See how it actually

  • looks in the actual preview window? Now it's not perfect but this will do the job for just

  • doing a face blur. Let's go back to the first frame... Now we want to blur this, and we

  • also want to be able to see the rest of the background. So, what we need to do is... We

  • need to right click on our adjustment layer. We're going to go to the Add menu, and effect

  • strip, and we're going to select "Gaussian Blur." There we go. Now just like we do with

  • the video strips and with the image strips, right click on the adjustment layer and we're

  • going to hit the "H" button - which is the hide button. You can also go down to strip

  • menu and you could select Mute strips. That's the same thing. And, now, let's select our

  • Gaussian blur layer with our right mouse button. And let's scroll up. Ok. And, what we are

  • going to do is... We're going to set the blend setting of our gaussian blur to Alpha Over.

  • And now you can see the actual total video. But it's not blurred... Why? Because we haven't

  • set our blur setting. So, make sure that you have the Gaussian blur strip selected. Scroll

  • down and, right down here, in the effect strip section, we have SIZE X and SIZE Y. And all

  • you have to do is give an X and a Y value and it will blur it. So, I'm going to blur

  • it with a 20 X, and hit enter. And you can see how it blurred it. And we'll do 20 Y.

  • Enter. And this will slow everything down, when you actually preview over it. But, it

  • will now blur the face. So actually, I'm going to skip ahead some frames. So you can see

  • that it actually is moving and blurring the face. It's really slow because it has to render

  • the frame. So, I just click that and that took seconds for that to actually show me

  • that preview. But you can see, it's actually moving around and it's blurring it. So, all

  • we need to do now is... we need to go to our properties window, and let's go down here

  • and click on properties. And we need to set our rendering settings - as we usually do.

  • And hit the animation button. And when it's finished we'll have a perfect video of this

  • bird with it's face blurred out. I think that should do it for today. I'll see you guys

  • in the next video.

Hello YouTube. Mikeycal here and this video number 21 in my series on utilizing Blender

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

21 - Blender視頻編輯(面部模糊/UV影像編輯器遮罩/自動關鍵幀) (21 - Blender Video Editing(Face Blurring / Masking with UV-Image Editor / Auto-Keyframe))

  • 16 2
    彭楷儒 發佈於 2021 年 01 月 14 日
影片單字