Remove Background For Any Video (Even Without A Green Screen) | Telwin George | Skillshare

Playback Speed


1.0x


  • 0.5x
  • 0.75x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 1.75x
  • 2x

Remove Background For Any Video (Even Without A Green Screen)

teacher avatar Telwin George

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

    • 1.

      Course Introduction

      3:15

    • 2.

      Change Video Background To Green Screen Background

      9:22

    • 3.

      Chroma Key: Remove Green Screen

      16:00

    • 4.

      Remove Image Background

      1:29

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

101

Students

--

Projects

About This Class

In this class, we'll learn to extract any desired subject from any background. We'd create our own green screen footage for any subject we desire. This helps us use any footage and dramatically improves our capability.

Tool for video: https://runwayml.com/

Tool for Image: https://www.remove.bg/

Meet Your Teacher

Hello, I'm Telwin.

See full profile

Level: Intermediate

Class Ratings

Expectations Met?
    Exceeded!
  • 0%
  • Yes
  • 0%
  • Somewhat
  • 0%
  • Not really
  • 0%

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.

Transcripts

1. Course Introduction: Hi, I'm Devin charge. My profession. I'm an engineer, but I've been using DaVinci Resolve extensively for regulating purpose for projects like these. Lately I've also been using the same skills for prediction mapping, where then you take your video editing skills and applied to holiday card and achieve projects like this to fill out and build on you and you return. Now, the safety follower you join along on this journey and we'll learn a bunch of cool stuff. Let's explore the effect we are going to learn. Now when it comes to special effects, green screen as one of the most commonly used techniques. It's also called chroma key and most softwares wherein we replaced a green background with any desired background applicable to our video. For example, in this particular case, let's say we wanted a chimpanzee in our video. This video would perfectly work. We'd replace this background to that background that we desire. And the chimpanzee would be part of our video. The challenging aspect here is this works well and good if we have a video available with green screen. But in most cases, the subject that you actually need is part of a movie scene or a song. It's not actually available with a green screen backgrounds. So that's when things get challenging. In those cases, having the ability to extract your subject out of any background is a tremendous advantage when it comes to having content for your shows. For example, what I needed was a horse carriage from a funeral. So I use this particular video from YouTube where you can see the background is certainly nothing related to a haunted mansion. I extracted the horse and carriage and put it as part of the video, as you can see here. Of course here I added some other effects to make it look a little more ghostly. But the essential objective is to have the ability to extract any subject out of any background. Now, extracting a subject from any background can be achieved using After Effects as well as DaVinci Resolve. In DaVinci Resolve, it is only available in the studio version, which costs about $300. Also, the important factor is even if you use the paid version of DaVinci Resolve, you do have to have a very good graphics card for this particular effect to work. It's extremely taxing. For example, my laptop does not really have a very good graphics card. It took to process ten seconds of clip, which makes the feature pretty much unusable, at least for me. So what we're gonna do today is we're going to use this clip. Use Elsa as our subject extractor from this particular background and have a green screen background for this video. That way is we can use the content more effectively and more creatively. And we're going to learn to do this, but using completely free software. Now since we're on the topic of green screen, we'll also go over how to extract background from an image. You don't really need green screens for those, but you still want to get rid of the background. So we'll make sure to cover processing images as well. The example we'll use this, we'll use this image from Elsa. Again. We'll extract Elsa from this background. So jump along the right and let's get going. 2. Change Video Background To Green Screen Background: Here we go. This is the software which is completely online as called runway ML. I'll post a link for this particular software and our description. It's a completely free software that is a paid version as well. For example, as you can see here, the only downside with the free version as it only allows 720 p, it does not allow Stan ATP. But in most cases the subjects that you're extracting may not take up the whole screen. So 720 P works completely fine. In terms of Cloud storage. It gives you one GB of cloud storage, whereas the paid versions give you a more cloud storage. But the fact is if you want using this tool at all, you'd have no Cloud Storage anyways. So one GB is just a bonus. You can always delete the clips that you are already done processing so that waste storage isn't really a concern. Also, you just need to login. You can login using a Google account. It's completely free and let's get started. So here we are. Once we are done creating a login, this is a screen where we land up at. As you can see, there are no new projects at the moment, you create your first project. So we'll use this method. Click Create new project. Here it gives you a bunch of options like if you want to create a video composition or green screen and painting. So we'll mainly focus on these two. With video composition, you're mainly using it more as a traditional video editing software where you can cut clubs, joined clips, layer a bunch of clips, add text, et cetera. But what I'm guessing is we already have a pretty good video editing software locally. And our primary focus today is to get working on green screen. So this is what you'd select, but just in case you want it to do a decimal stuff, let me give you a quick tour of what video composition includes. So in case you hit video composition, you see a timeline right here. There are some demo as such, you can use, for example, I'm just going to use this as an example. There we go. This is just a regular old clip on a timeline. And you can drag a bunch of clips on multiple different layers. And in case you wanted to use green screen from here, this is more like a superset when you select a particular clip and had green screen right here, this takes you to the same place that way we would land up if we selected a green-screen project gives you the same option. But this is just to show you a good overall picture of how the complete software interface looks like. You can edit some of the clip property is like the position, the resolution, rotation or less stuff right here. If no clip is selected, as you can see, the same resolution as ten ATP. And as we discussed in the free version, we can only work with a 720 peak clip. But don't worry about this just yet. When we're exporting, we have the option to export 720 p, Since the aspect ratio for the 720 and NADP is the exact same. So nothing changes when it comes to clip placement and layering, there's a bunch of other things that you can do. You can add in text, solid background. Sometimes you can use this to replace the background under the desired clips so that you can have different colored backgrounds than you have bunch of templates right here. So feel free to explore the software. It does have more capability than just extracting a subject. For now, I'll head back to our projects. Back to projects as we can see, one of our projects are saved. I'm just going to delete it in the essence of saving memory. I'll create a new project again, and this time I'm going to select green screen. That's it. So as you can see, the number of options here are limited. And this is primarily catered towards creating green screen footage. So now I'll import the clip, the frozen clip that we just spoke off. Here it is. That's it. You can just drag and drop the clip. When it comes to downloading clips from YouTube, you can use any online YouTube Downloader available. You can also use Firefox as your browser, which has add-ons that will let you download YouTube videos. Finally, if you want and choose the most safest approach, you can also choose to just screen record the selected clip. And that works not only with your deal, but also works with things like Netflix and Disney. The characters you want are on those apps. You can display them on screen and record the particular section. Again, Google Chrome may not support screen recording feature. You gotta use a browser like Firefox. So once you have the clip that you desire uploaded, just drag it to the timeline here, this works pretty much like most standard software. They have a timeline and a cursor that you can move along now that we have our clip imported, It's pretty straightforward. As you can see here. The software itself suggests the next steps. What I personally do is come to a frame where your subject is pretty clear. For example, a frame like this works. So here you can see a complete subject. And the subject has quite a bit of contrast from the background. The better the contrast, the easier it is for the software and the more accurate your mask will be. So just select the different textures. As you can see, the software is automatically highlighting the detected subject. So there we go, just do clicks and I pretty much covered. Here you can preview as well. As you can notice some aspects that are a little jittery here. It seems to have miss the cape here. So I'll just put one more click right here. There we go. So let's continue previewing. There it is. Right now, it looks pretty good to be honest. Here, the hair is missing. I'm just going to click the hair once again. Here we go. Going to track back, as you can see, it's tracked the clip back as well, and it took absolutely no time and no processing power from your computer. So let's play through, let's say by mistake, I happen to click this and there's some extra stuff that you don't want God selected. So in this case, what you can do is just to exclude and switch it up. There it is, you can remove something that you accidentally included. So as you can see, the subject is tracked quite well. Now let's go over some of the other settings. Here you have feather. Feather basically defines how sharp the edge is going to be. Right now the feather is at 0, as you can see here. Some of the edges are quite rough. This is not what you want. You want a little bit of feather so that the edges are smart. So you don't want it all the way cranked up. It looks more of a ghostly effect, as well as some of the colors get excluded. This is not what we want. We want just a little bit of feather so that the edges are not jagged, then you have include and exclude as we went through, you have this setting right here where you can see overlay. Then there's preview where you can see it using a green screen. And you have alpha. So when you do an overview here, you can control the transparency SN, essentially like no transparent to completely transparent. But in most cases what you wanna do is just use green screen just to preview. There we go. So essentially this is what the clip looks like. I'd say this has done a fairly good job of masking and this is perfectly usable. Trust me, even some of the advanced softwares don't make life as easy. So that's it. Once you're done masking, you'll be back to the page where you have your timeline. By the way, practically when you're extracting a subject, what you first want to do is cut the clip exactly to the size that you need so that the software is only processing that desired clip length and is not busy processing the entire clip. So for that, let's say V1 to start our clip at this point, have your play head there, and then you can right-click and say Split at playhead, you can also hit the split icon right here. And then I'm just going to delete the other half. And you can use these techniques for pretty much any movie scene, any songs, as long as the image has decent contrast, this should work absolutely fine. You can also change the color of your backgrounds. In most cases, all you want is green or blue, one of the two backgrounds. In case your clip happens to have a bunch of green, it would be nice to have a blue screen backgrounds so that you can chroma key out fairly easy in the software that you're planning to use. You want to hit Export in case you want NADP, like I said, you've got to go to a paid plan which is 15 bucks, 20, perfectly well, that's all I'll do for now and just hit Export. Now what you'll observe is the clips are not exported instantly. You've gotta come back right here, your menu and go to project. And here within asset, you will see processing says it's thirty-seven percent right now. Once the processing is done, the clip will be available for download so that it is a processing has done a 100 per cent. It'll also send you an e-mail, I believe, but you can just come back and check in case your clip happens to be long and it takes extremely long. They go, just hit download. There it is, That's a clip right there. Let's play the clip. As for the subject itself, the software does a fairly good job, especially considering that the software is free and extremely easy to use. So there you go, guys. Now you can extract pretty much any character out of any movie scene or any song that you desire, best wishes on your creations. Looking forward to checking them out, please do share. Buh-bye. 3. Chroma Key: Remove Green Screen: Okay, now for some fun green screen stuff, by the way, green-screen, blue screen, it's all the same. The intention is to have a unique color that can be completely masked out. Since we've already created mass here. So you guys are familiar with the concept. So let's, let's do the curtain, which is relatively easy. I just want to click the curtain. So as you open, first task is to make them Blues disappeared. So what we're gonna do is go to color again. This is a curtain right here. Remember we didn't mask anything on the cut and front. So the steps are the same. Anytime you want something like a stencil, you need to have an Alpha add alpha output. Disconnected the last time. Yeah, don't worry about everything going blank. Let you guys know how to fix that. So the last time we created our vendors, we drew stuff as to what we wanted. Now, we are going based on color rather than based on shape. We are going based on color. As you can see, this is blue right here. So we go to the color picker rather than window. We go to the qualifier, hit color. This is how most people on YouTube will show how to use chroma key in DaVinci Resolve. The actual true way to do it is change HSL to 3D. That's what you want to do. Once you've done that, you get a neat little pen. All you have to do is draw. You've drawn something, you just keep drawing until all the blue that you see is gone. As straightforward as that and always hit the day spill. In this case, it's not as prominent, but trust me, you want to hit the next tab, this window right here. You can't see anything beyond this. So that is kind of a software thing that you have to work with. So in order to fix that, my work around for that as just draw a border around the portion you want around the clip. So all you do is take your pen. I know this seems awfully lot like the mosque we created, but this stuff is pretty straightforward and does not have to be as precise. All you need to do is draw a box around it. So the entire thing just comes back. Okay, cool. So this was I flip. And as you move along, you can see when the curtain opens, the blue is gone and there's nothing back there. Okay, now, let's work on putting the monster. So this is another clip you just get from YouTube. This one has quite a bit of sound effects, so you might want to leave the sound in there. Let's just have him sit down. Okay. I'm just going to clip right there. Zoom in on my timeline. Let's stop right there. This kinda looks awkward. This is not what we want. This guy has to fit in there. So that's easy. You just hit Transform Again. You can do all of it. Zoom, position, rotation, Everything's right here, but this transform works better like I mentioned. And you don't want the size. I'd just like to take them off. It's just a lot of unnecessary sides. I know this is completely a waste of time to do it, but for illustration purposes it just makes it easy. Okay, so there we go. So what I'm gonna do is per term right here, just get a good size. Okay. So let me just scrubbed through this. Okay. So this is where the curtain opens. So I'll have him right here. One time to fit right in there. Let's have him sit right there. Looks pretty calm and collected. It's waiting for his big entrance. And as you guys might have noticed, if I put this guy on top of the curtains, doesn't make sense, right? So this is where the layering comes in handy. You have to have this below the curtains. So it actually makes sense. And again, this guy, we do have to take the green screen out for the monster, which shouldn't be easy, exactly as we did last time. We click this guy and alpha output. Just hook him up. Let me just scrub through the clip a little bit. Get to Color Picker, you mean qualifier, get to 3D. Just hit something. In fact, in most cases that would happen, that fixed the opposite. All you need to do is hit and what you get. Here we go. Now had dispel. There we go. Now, he is relatively clean. Let's come back right here. Okay. So we have a similar issue like we had last time, where it chopped off the image. So you guys know what to do. All you need to do is come to Window, just draw a random border around the subject. It doesn't have to be precise at all. As long as you don't chop off the subject, you are good. There we go. That's all you need to do. It's like a work around. I struggled with that quite a bit. It's like a glitch that you have to work around. There we go. So once you do this, that's this guy sitting by the calm, cool, and collected. So what's missing right here is the background. Just to make it seem like it is truly like a good arch. So give me a second. You know what? I'm just going to use the wooden frame that we use previously that we have. Second. Okay. Let me hit those magnets again so that my clips are aligned well. So as you can see, I can choose to work very hard in here or just this bag drawn put up right there. So I'll have him sit right there. And ideally, the reason we traced out the garage, the insights of the garage just so that you could give perspective. So you can actually give perspective to this one, this wooden plank as well, so it aligns perfectly with the sides and stuff. But for now, in the essence of time, so that I don't bore you to death. I won't go into all that detail. And yet this layer should be at the bottom, ideally, because that's at the back of the garage. So what I'm gonna do is just move all three layers down there. Just get the garage right here. Okay. As you notice, there's some black spots right here. That's because I was lazy trying to cut the sky during color correction was like a weird gut. So let me try and fix that. There we go. So sometimes it doesn't help to be lazy and save time. So there we go. That's fixed. Hopefully that's fixed. Let me check it out real quick. I'll turn it off. Okay. So again, my choice of colors is pretty questionable. They will look like the same thing, but I bet you can do a much better job than what I did right here. So he'll be sitting right there waiting for you. Okay. So now lastly to finish the green-screen section off, i'm, I do want to show you how to chroma key out. The green screen is extremely difficult to chroma key. Let me show you an example. For example, this is the clip I had at my intro. This is me talking in front of the green screen. Yeah, that's me right there. As you can see, this is my basement that I just painted green. There's bunch of shadows. The green is not uniform like the digitally created footage we had. We had some extra stuff going quite clearly. There's a bright spot right here. And if you notice that there's a bunch of green spillage on me, like for example, the edges of my shirt or green. So you can just mask everything out. I'll look like an amoeba, pretty shapeless. So let's try and work this guy out. Let's clean it up. So I'll just give myself the same word background that I don't know. For some reason, my son's going up. So let me just cut the footage so that we don't deal with this massive footage for no reason. Okay, So we're here. We want a mosque me out. I mean, monster green screen out. What we do is let me just fit. We follow the exact same steps of output, qualifier 3D here. And then we start picking stuff. As you can see, things are going in, but like last time, it's not in one go. We do have to add N word because the objective is to keep me in the frame. So there we go. So as you see, it's pretty terrible. There's still a bunch of green going. So we keep doing this. And to narrow this down to get a 100% accurate and you're not relying on just your bare vision. What do you wanna do is you want to hit this Highlight button. That way is it kind of shows you your selection and then you want to hit black and white. This is where if anything in black is taken out, anything as white as left. So as you can see, I don't want these sections to be part of it. I'm going to take these guys out right here. This is going to be challenging because this is kind of white light as opposed to green. So those are always challenging. But this is the safest way to do it. And show that you're not relying just on your bare eyes to distinguish color. It's just pure black and white, anything that's white space. Now you can revert head color again. That's what it looks like. The green spillage as talking about now you can clearly say, I do look quite green to be honest. So now when you hit the spill, it clears me out. So that is why this is one of the most fantastic softwares to chroma key. Like you saw. This is what my green screen as is as pretty much as bad as a green screen can be. You can see the switchboard right here, light's pretty bad. Yet you achieve a fantastic green-screen. And of course, you want to chop this side off and you can just chroma keyed because it's not really green. So same as before. You just take a pen, just draw a border around me. Just random border should work and they go, I am out. In fact, since we're on the topic, let's just make it right. There we go. That's all I do. To be honest, since this bunch of light here, you know what? I'm just going to make myself slightly bigger. Oops. And I kinda look sleepy there. That's how green-screen works. In demonstrators also, possibilities are endless because there's so much footage out there that you can just pretty much use anything on your prediction mapping. Yeah. Thank you. See you in the next video. Guys, since I last recorded that goes, there have been a couple of updates. Now. We have diamonds because all the 18. So here are the updates with regards to green screen, I'm using the same clip. So as you can see, there's the garage sin and we have our little monster up here. And we're gonna do this in differentiating, is just that some of the buttons and layouts have updated. So we'll jump to the color page again. As you can see, we are on the right clip. We will go back to qualify. And in this case, 3D looks like this. It's like a brush with some links in here. So we'll jump here to 3D. As you can see, some of the controls are updated. I'll go extremely quick here. First and foremost, we need to add alpha output, can make blue to blue. That's it. Here. You've gotta use the plus Becker. There we go. That's basically it inverted. And then use the D spills slider, which is right here. That's basically it. And demonstrate resolve 18. And in fact, in DaVinci Resolve 18, there's one key update that makes this a lot more easier. I'm just going to disconnect this reset node greater the weight was. We're just going to go back to the edit page. In fact, all of the chroma key can be done completely in the edit page, and it is way easier here. So here's the update. Go to Open Effects. Hit the search bar right here, and MKS effects are not visible. You just need to hit this button. Okay? So in here, Open 3D subtree leak here. This is exactly the same controls that we used. Dragon on your clip. Once you're dragging this effects button right here would be highlighted. And if this entire panel is not visible, you want to hit inspector. Jump into effect. And now you'll notice that this is the exact same thing that we used on the color page. It just makes life a lot easier to keep all your work in the edit page. Same thing, we'll hit the Add. And then here as you see, nothing happened in order for this election to be valid, you have to select Open Effects. So then you get Open Effects Controls. Again. Go to the plus, just draw a line. In this case, you've noticed that the inward was automatically taken care of, which is good. And then you have your dispel slider right here. That's basically it guys, as two clicks, you don't have to add alpha output and stuff. You don't have to jump screens. You can add everything right here. And the aspect where I showed where you want to make sure all your, you got all your green-screen. You can change it right here. You can do black and white where you can see everything else is black. That means all this is going to get masked right off. And only a monster, which is why it is going to show up. So that's how you can double-check if everything works perfect, and then you can switch back to the final composite. So there you go, guys. So you can use this technique moving forward. In some of the course pages, I have used the old technique where I use the color page. It does come in handy sometimes, in some cases when you want some degree of masking with regards to Windows as well as chroma key. In that case, you can still use the color page technique, but in general, to quickly go through your green-screen, just use the 3D here and edit. And it should make life a lot easier. There you go, guys, looking forward to your creations best wishes. See you in the next class. 4. Remove Image Background: Now to extract your subjects, when it comes to images, you don't really need a green screen. Here we go. This is the website that makes it extremely easy. Of course you can use your software like After Effects, DaVinci Resolve or, or any photo processing software, create masks. But trust me, it takes a lot of time. This is the most efficient way to extract your subject. Just upload your image right here. You can drag and drop your image two, and the image should be processed completely automatically. There it is. It's literally one click and your download the image. And in case you had to make minor tweaks. You hit the edit button right here. Hit erase slash restore. You can control the brush size, which is this particular circle. And then in case you want to erase more stuff, you do something like this and erase it. And if you want to restore that back-end, just hit Restore. There it is. That's how easy and straightforward it is. And once you're done, just hit download. That's it. And you'll notice that the image is always saved and PNG format, DNG is the only format that helps save transparency. Jpeg or JPEG formats don't export transparency. So PNG format is what you'll get out at the software. So that's it. That's fairly straightforward and makes your workflow extremely convenient. And you can just drag and drop as many images as you like. So there you go, guys, Best wishes and your creations, looking forward to it.