Join Chad Perkins for an in-depth discussion in this video Removing a green screen background, part of Premiere Pro CS5 Essential Training.
Oftentimes if you want to put people in a different environment, let's say on a virtual set like this, we'll film them in front of a green screen, and then in Premiere as we talked about in the last movie we'll remove that green screen. Why is it green you asked? Because green's opposite is magenta, which is very strongly found in flesh tones. So, green is kind of like the opposite and so the thought is that we would remove the green and keep in what is there in our subject. Also, green tends to be a color that video cameras can handle pretty good.
So, the process of removing green screen is referred to as keying. If we go to the Effects panel, open up Video Effects and scroll down, we'll actually see that there is a category called keying. If we open this up, there is a series of effects to help you key and you can just key out the green screen, but you can also key out blue, or red, or white, or black or whatever, there are several effects to help out here. And there is a new one here in Premiere Pro CS5 called Ultra Key and that's really what we're going to be focusing on here. That is an amazing effect, absolutely amazing.
But what I want to show you here is the old way to key just so you don't forget to use Ultra. We used to have to use the Color Key effect. If I apply the Color Key effect, open up Color Key and select the Key Color. Let's say I'm going to select a green color here. So, once we click the green, we have to increase the Color Tolerance value and then we get this really chunky ugly outline. Look it, how terrible that looks. If I'm going to take this drop-down here to 100% so we could see a little bit better.
Look how atrocious that is. That's what we have to deal with before Premiere Pro CS5. So, I'm going to select the Color Key effect, delete that, good riddance, scroll-down now and apply the Ultra Key effect to this Podcast Pt.1_3 clip. Now we can go back to Ultra Key, open that up and the same thing we're looking for the Key Color. It's asking us what color I want this to remove and notice it could be any color if we want to. So, I'm going to click the eyedropper again and what we want to do is select an average color. Now, this is a pretty perfect green screen, I got to be honest with you.
Usually, if you're working freelance on a job, usually whoever is doing the green screening it doesn't really know what they are doing as much and you don't get a green screen that's this professional. So, you want to try to do when you have a green screen with varied tones is get when this kind of representative of all tones, kind of average. Thankfully again, we don't really have too much difference in tones so pretty much in anywhere in this green area you can click. Now, if we zoom out to Fit here, I will select Fit so we could see everything, pretty darn good key, looks like the backgrounds but instantly dissolved and our guy here looks like he belongs on those background now, pretty impressive.
However, almost never, do you ever, ever, ever want to just accept the default settings of the key, no matter how good it looks initially there are always problems beneath the surface. So, what we want to do is open up our Effects here and under Output next to Ultra Key or underneath the Ultra Key, change Output from Composite, which is kind of like the final view, to Alpha Channel. Now, Alpha Channel view is just a working view, a temporary working view for your own benefit so you could see what the keyer is really doing, and white are the pixels that are going to be completely opaque which is our subject which is good, and black is what's going to be completely transparent, and some of our background pixels are completely black which is good.
But when you see gray pixels like this, it's indicating that these pixels are going to be partially transparent. And actually if I take this view back to Composite, you'll see little flakes of the original background here. It's not too powerful but that would definitely be a problem. So, I'm going to take this back to Alpha Channel and we're going to open up Matte Generation, and these settings in Matte Generation will allow us to clean the stuff up. Mainly, we're going to go down to Shadow. Transparency refers to the transparency of the subject.
Beware that this is not Opacity. Opacity and Transparency are exactly the opposite. So, 100% Opacity would mean that something is completely there, but 100% Transparency -- if we took this up to 100 %, would mean that it'll be completely gone. So, I'm going to click in this, leave this at the default 50 for now and again go down to Shadow. With the Shadow value we can adjust the blackness of the background. So, I'm going to take Shadow down pretty much all the way, looks like to about a value of 15. Generally, you want to go pretty easy on these controls because if you go to an extreme amount this is going to start messing up your key in other places.
And already just taking our shadow down all the way we start getting holes in our original subject that we have to go back and fix which we'll do momentarily. We could adjust the Highlight as well which we need to clean up this background here. We also might need to adjust the Tolerance and so we play with these settings until we get the right values to get rid of that green screen. We're also wanting to adjust Pedestal here. Increasing the Pedestal just a wee bit, just as much as you need. That looks like I am modest here with the value of 6 here and that gets rid of that green screen.
Now, I need to fix these little dark spots on my subjects here, because again the dark areas are holes and we definitely don't want holes. So, I want to reduce the transparency of my subject and I'm going to do that by taking the Transparency value down. You see if I do it too much then we get that junk back, so we don't want that. So, I'm going to increase this until I get the holes in my key and then back off a little bit and that's looking pretty good right there. Usually, Keying is a back-and-forth process, so we'll adjust Transparency and then we might go back and adjust Pedestal or Shadow and then we go back and adjust Transparency some more, go back and adjust Pedestal some more or whatever.
We keep going back-and-forth until we get a pretty much white key and black key, or in other words white area and black area. And by the way it is okay to have those gray pixels along the edges of your subject. Now that our keys are pretty good, let's go back to Output and change this from Alpha Channel to Composite, and we'll see now that we have a pretty good key. I want to take the zoom ratio in the program monitor to 100% so we can get in a little bit closer and look at our edges here. We have a little bit of a faint greenness along the edges that's referred to as Spill.
Also some of the green light gets on our subject, or maybe just some of the background gets on these partially transparent pixels here and it's just gives us like a little green halo that -- if we get rid of that, it's going to make it so that the composite is a little bit more believable. So, what I'm going to do is I'm going to close up Matte Generation. We have Matte Cleanup, which we don't really need to worry about, but Choke allows you to kind of scale back the edges of the key. You got to be careful with this because a lot of people, they are amateurs, they would go in and they will start keying something and they will see these problem areas around the edges and they will say okay I will just increase some Choke and what that does, it actually softens the edges and it makes it so that it's not as realistic and believable because as we're increasing the Choke we're shaving off the edges.
So, that's not typically what we want to do. So, again I want to take that down. If you ever do need to use Choke use it very sparingly. We could also soften or feather the edges just a little bit. And sometimes it's good to have just a little bit of feathering along the edges so that it looks like the subject is kind of blending in with the background a little bit more. If we want to we can play with the contrast of the edges, increase that, if we felt so inclined we can also use the Mid Point to adjust that as well. I'm going to close up Matte Cleanup. I want to go to Spill Suppression and as I mentioned before when you have green along the edges of your subject that's referred to as spill, and Spill Suppression is the process by which we get rid of that green.
So we might take down Desaturate just a little bit and I say that looks like what we need to do there. If we take it down all the way or increase it all the way, it's going to make up completely black-and-white subject. So, again you might need to play with this setting, kind of go back-and-forth a little bit until you get something that works for you. So all in all, if we close up Ultra Key here you can see that we have a pretty decent key. One of the processes that I did before I started the movie is I added this Four-Point Garbage Matte. Oftentimes you'll have extra junk in the shot, maybe again like a boom mic or a camera or whatever and you'd want to use a Garbage Matte effect to clean that up so that your mask goes only around the subject as close as possible, and that will make the keyer's job easier as well.
Because a lot of times when you go farther away from the subject whoever was filming this just didn't bother to get the entire shot perfectly green all the way around. So, it's going to be harder for Ultra Key to do its job if it has to process the darker greens over here and the brighter greens closer to the subject. But the Ultra Key effect is just a really great edition perhaps the best edition to the Premiere Pro CS5 set of new tools to play with. With this Ultra Key you can put somebody flying in front of a green screen in outer space or whatever you choose to do.
If you want to do something a little bit more standard and professional like a Podcast here you can do that as well. There is really no end to what you can do creatively by using a green screen.
- Adding footage to the Timeline
- Creating dynamically linked content
- Making overlay and insert edits
- Moving edit points
- Playing a clip backwards
- Understanding pixel aspect ratio and frame rate
- Applying motion effects
- Cutting video to music
- Compositing with green screen and blend modes
- Correcting color
- Creating titles and lower thirds
- Exporting sequences
Skill Level Beginner
Q: When attempting to open the project exercise files into Premiere Pro CS5, an error message appears:
This project contained a sequence that could not be opened. No sequence preview preset file codec could be associated with this sequence type.
What could be causing the error, and how can the files be opened?
A: There are a few possible explanations.
Lastly, if the projects are not importing into Premiere, try importing the video footage by itself, rather than the entire project file.
Q: How does one perform internal edits within a piece of video in Adobe Premiere? For example, if I have a single clip of video, comprised of multiple segments strung together, how would I go about removing gaps and/or cleaning up each segment and then assembling the clips in a desired order? Most tutorials emphasize laying down multiple clips on the Sceneline or Timeline, but not editing one clip of video.
A: To remove footage from a single video clip:
- Drag the Current Time Indicator (CTI) to the first frame of the segment to be deleted, click the Split Clip button in the Monitor panel, drag the CTI to the last frame of the segment to be deleted, and then click the Split Clip button again.
- Delete the segment by clicking on the clip and either choosing Edit > Delete And Close Gap, or pressing the Delete or Backspace key. That will remove the segment and the rest of the projectwill slide over to the left to fill the gap.
Q: I can't view the exercise files.
A: Most of the video clips in the training were encoded using H.264. If you are on a PC, you may need to download the latest version of the free
QuickTime player from quicktime.com. Be sure to install QuickTime with your Adobe applications closed. QuickTime installs a series of codecs on your
machine, and many Adobe apps require QuickTime components to function properly.
Q: Why are many of the video files H.264 if some users must download additional components to view them?
A: This is one of the most common video formats in the world right now, certainly for distribution. This is because it is currently the most optimal
way to provide high quality video at the low files sizes that we need to be able to distribute these assets online. Even though it may require an extra
download for some users, this is the best way to be able to get you the highest quality exercise files. There isn't another video standard that is
cross platform that is free and that works as well as H.264.
Q: What is the most effective way to import a JPEG into Premiere Pro (i.e. best quality resolution, best playback speed)? When I import a photo as a JPEG and add it to a sequence, only a very small part of my photo is shown, because of the high resolution of these photos. Should they be resized in Photoshop first? Will changing it using effects provide the quality I am looking for?
A: Images can be scaled down using the Scale Transform in the Effect Controls panel as explained in the training. You can also scale down the images in Photoshop to match the size of your sequence in Premiere. But I prefer to use the Scale Transform as it gives me more flexibility and allows me to "zoom in" (aka scale up) photos without loss in quality. You'll probably want to make sure that the proportions of the image match the sequence though.
Q: Does Premiere Pro offer Z-axis editing like After Effects?
A: Premiere Pro does not offer 3D as After Effects does, but you can use the Basic 3D effect in Premiere to simulate that environment.
Q: The exercise files don't work for me. I get an error message stating the sequence(s) could not be loaded and it returns me to the Welcome screen. I am using the trial version of Premiere Pro and the correct codecs do not seem to be included.
A: All the required codecs are included in the trial version of Premiere. You just need to activate the trial with your Adobe ID. If you don't sign into Adobe, anything with MPEG compression will be unavailable. Signing resolves that issue and restores all MPEG-based support.
Q: I'm receiving the
following error message from Premiere Pro. "This project contained a
sequence that could not be opened. No sequence preview preset file or codec
could be associated with this sequence type." How do I resolve it?
Additionally, when I try
to create a project, I only have DV sequence presets available.
Q: When I tried to open the exercise files for this course, the following message popped up.
"This project was last used with Mercury Playback Engine GPU
Acceleration (CUDA), which is not available on this system. Mercury
Playback Engine Software only will be used?"
What do I have to do to solve the issue?
Q: After loading a project from the exercise files for this course, the media appears "offline" and cannot be used. How do I fix this?
A: This issue occurs because the project was not created in your copy of Premiere Pro, so your copy does not know where to look for the asset files. To fix this, please see the video "Relinking offline media."