All language subtitles for 2. Green Screen Keying Fundamentals

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,620 --> 00:00:03,619 Hi and welcome to Greenscreen Keying Fundamentals. 2 00:00:03,620 --> 00:00:09,620 Today we're going to take a look at chroma keying, and exactly what that is. 3 00:00:09,620 --> 00:00:13,286 Chroma keying's definition is a special effects or 4 00:00:13,286 --> 00:00:17,620 post-production technique used for compositing two images. 5 00:00:17,620 --> 00:00:21,620 So we're going to take two images and put one over top of the other. 6 00:00:21,620 --> 00:00:24,619 Let's take a look at what that is exactly. 7 00:00:24,620 --> 00:00:27,620 First thing we're going to do is a very simple technique. 8 00:00:27,620 --> 00:00:31,619 We're going to take this element, we're going to pull a key, 9 00:00:31,620 --> 00:00:35,619 and we're going to create a mask. 10 00:00:35,620 --> 00:00:36,620 Here we've created a matte. 11 00:00:36,620 --> 00:00:38,620 So let's just take a look at that alpha channel. 12 00:00:38,620 --> 00:00:41,619 Here's a black and white alpha channel that we've created, 13 00:00:41,620 --> 00:00:45,620 and it's created a cut-out, or a matte. 14 00:00:45,620 --> 00:00:48,619 We're going to compare the two, and see what that exactly looks like. 15 00:00:48,620 --> 00:00:53,619 So wherever we have sampled, and the alpha has turned black, 16 00:00:53,620 --> 00:00:58,619 there is no RGB image visible here, which we can see. 17 00:00:58,620 --> 00:01:04,620 And wherever the alpha channel's 100% white, our RGB image is 100% visible. 18 00:01:04,620 --> 00:01:07,619 So that's the very, very basics of chroma keying, 19 00:01:07,620 --> 00:01:11,620 but let's look into it in a lot more depth. 20 00:01:11,620 --> 00:01:14,619 Chroma keying can be used on different colored backdrops. 21 00:01:14,620 --> 00:01:17,619 The most common ones of course are a bluescreen, 22 00:01:17,620 --> 00:01:21,619 which we have here, and a greenscreen. 23 00:01:21,620 --> 00:01:26,620 You're going to hear the word backing color, a lot. 24 00:01:26,620 --> 00:01:30,619 And the definition of a backing color is a screen color. 25 00:01:30,620 --> 00:01:32,619 So that's what this is here. 26 00:01:32,620 --> 00:01:36,620 This is a greenscreen and this is a bluescreen backing color. 27 00:01:36,620 --> 00:01:39,064 Now throughout these modules and these clips you will 28 00:01:39,064 --> 00:01:41,905 notice that I use the word greenscreen and bluescreen for 29 00:01:41,905 --> 00:01:43,620 the most part interchangeably. 30 00:01:43,620 --> 00:01:49,620 Just so that you don't really get confused between what I'm talking about there. 31 00:01:49,620 --> 00:01:53,619 Let's take a look at exactly what keying is in more depth. 32 00:01:53,620 --> 00:02:00,347 So let's go back to the fishing greenscreen image and we're 33 00:02:00,347 --> 00:02:03,619 going to pull a chroma keyer through a Keylight. 34 00:02:03,620 --> 00:02:07,619 So with the Keylight, I'm going to sample the greenscreens over here, 35 00:02:07,619 --> 00:02:08,619 there's a picker. 36 00:02:08,620 --> 00:02:13,620 And I'm going to Control + Shift. 37 00:02:13,620 --> 00:02:14,619 Let's just try that one more time. 38 00:02:14,620 --> 00:02:15,620 There we go. 39 00:02:15,620 --> 00:02:17,619 And it's going to select that green. 40 00:02:17,620 --> 00:02:21,620 Now let's take a look at that alpha channel, and see what that looks like. 41 00:02:21,620 --> 00:02:25,620 I'm going to deselect the picker, so that it doesn't sample a second time. 42 00:02:25,620 --> 00:02:28,620 You're going to notice that wherever that sample was taken 43 00:02:28,620 --> 00:02:32,762 and the pixels that surround it that are identical it will 44 00:02:32,762 --> 00:02:35,620 turn the alpha 100% black. 45 00:02:35,620 --> 00:02:39,120 Wherever they are close but not quite the same as the sample area, 46 00:02:39,120 --> 00:02:40,620 it will turn gray. 47 00:02:40,620 --> 00:02:46,620 And wherever it doesn't match that sample area at all, it will turn white. 48 00:02:46,620 --> 00:02:48,620 So green will turn black in the alpha, 49 00:02:48,620 --> 00:02:51,620 and wherever it isn't green will turn white. 50 00:02:51,620 --> 00:02:55,620 Let's take a look at how we can look at that in a little bit more depth. 51 00:02:55,620 --> 00:02:57,620 I've already pre-created some things here, 52 00:02:57,620 --> 00:03:01,620 so here's back to our greenscreen, and I've pulled a key. 53 00:03:01,620 --> 00:03:05,620 And there's two basic type of keys that I can pull. 54 00:03:05,620 --> 00:03:08,620 The first one is a soft matte which we've already pulled. 55 00:03:08,620 --> 00:03:10,620 So here's our soft matte. 56 00:03:10,620 --> 00:03:17,619 And it's called a soft matte because it has varying levels of the alpha channel. 57 00:03:17,620 --> 00:03:21,620 So if I hover over top of here it is 13%. 58 00:03:21,620 --> 00:03:26,619 Here it is almost 100%, so not quite opaque. 59 00:03:26,620 --> 00:03:29,620 And here of course, it's almost 100% black. 60 00:03:29,620 --> 00:03:37,620 So a soft matte is one that doesn't necessarily become 100% black or white. 61 00:03:37,620 --> 00:03:40,620 So let's take a look at what that looks like in detail. 62 00:03:40,620 --> 00:03:41,619 So here's a nice soft matte. 63 00:03:41,620 --> 00:03:44,619 We have nice falloff on his edges. 64 00:03:44,620 --> 00:03:47,620 And now we're going to take a look at a hard matte. 65 00:03:47,620 --> 00:03:51,619 So with the hard matte you can see that this is 100% black and white. 66 00:03:51,620 --> 00:03:53,619 Again let's sample. 67 00:03:53,620 --> 00:03:57,620 100% white and 100% black. 68 00:03:57,620 --> 00:04:00,620 Now let's take a look what that looks like in the colors. 69 00:04:00,620 --> 00:04:03,620 So we're going to compare the two, I have a switch here. 70 00:04:03,620 --> 00:04:06,620 You can see that this is a hard matte, 71 00:04:06,620 --> 00:04:09,620 and the other one when I switch is a soft matte. 72 00:04:09,620 --> 00:04:11,620 And you can see already what's happening down here. 73 00:04:11,620 --> 00:04:14,620 Let's look at our actor's hair in more detail. 74 00:04:14,620 --> 00:04:18,620 So a hard matte. 75 00:04:18,620 --> 00:04:19,620 And a soft matte. 76 00:04:19,620 --> 00:04:22,620 So you can see the nice falloff of the two, 77 00:04:22,620 --> 00:04:25,620 and the benefits of both of them there. 78 00:04:25,620 --> 00:04:28,620 So that's the difference between a hard matte, and a soft matte. 79 00:04:28,620 --> 00:04:31,619 There's plenty of things that you can refer to in here, 80 00:04:31,620 --> 00:04:32,620 and there's the variation. 81 00:04:32,620 --> 00:04:35,619 So again, our hard matte, our nice solid alpha. 82 00:04:35,620 --> 00:04:38,619 And I'm going to switch that over to our soft matte, 83 00:04:38,620 --> 00:04:42,620 and we have the nice detail in our edges, 84 00:04:42,620 --> 00:04:46,619 our transparency, and perhaps even wispy hair. 85 00:04:46,620 --> 00:04:50,620 Next we're going to take a look at despill. 86 00:04:50,620 --> 00:04:52,620 What exactly is despill? 87 00:04:52,620 --> 00:04:55,419 Despill is, the definition I should say, 88 00:04:55,419 --> 00:05:01,120 of despill is the removal of unwanted color that is reflecting from 89 00:05:01,120 --> 00:05:04,620 your backing image onto your foreground subject. 90 00:05:04,620 --> 00:05:10,620 So that means that this green is reflecting onto our actor. 91 00:05:10,620 --> 00:05:12,620 Now let's take a look in more depth. 92 00:05:12,620 --> 00:05:15,620 Here I have oversaturated on purpose. 93 00:05:15,620 --> 00:05:16,619 Here's our source. 94 00:05:16,620 --> 00:05:18,620 Here's our despilled image. 95 00:05:18,620 --> 00:05:23,620 If you look really closely, you can see that up here is green, 96 00:05:23,620 --> 00:05:25,619 and down here there's no green. 97 00:05:25,620 --> 00:05:30,219 And we can switch back and forth between the two very 98 00:05:30,219 --> 00:05:32,619 quickly and it might become more apparent. 99 00:05:32,620 --> 00:05:36,620 So here is the original and the despilled. 100 00:05:36,620 --> 00:05:39,620 Watch very carefully down here on his arm. 101 00:05:39,620 --> 00:05:41,620 So again we have the green, and no green. 102 00:05:41,620 --> 00:05:45,619 So keyers do two things, or can do two things, 103 00:05:45,620 --> 00:05:49,620 that is that it pulls a key or an alpha channel, 104 00:05:49,620 --> 00:05:51,619 and it can also despill the image. 105 00:05:51,620 --> 00:05:56,620 Now not all keyers are alike, and not all keyers can do that. 106 00:05:56,620 --> 00:06:00,619 But we will take a look at that in a little bit more depth. 107 00:06:00,620 --> 00:06:02,620 Some other things to take a look at of course is, 108 00:06:02,620 --> 00:06:05,620 let's go back to our hard matte, 109 00:06:05,620 --> 00:06:10,619 and we can see that it's not 100% black and white. 110 00:06:10,620 --> 00:06:15,619 In fact, we have some unwanted elements over here in the alpha channel. 111 00:06:15,620 --> 00:06:17,619 And we're going to take what's called a garbage matte 112 00:06:17,620 --> 00:06:20,620 and we're going to remove them. 113 00:06:20,620 --> 00:06:23,620 Now the definition of a garbage matte is a hand-drawn, 114 00:06:23,620 --> 00:06:28,064 quickly made matte that is used to exclude parts of an 115 00:06:28,064 --> 00:06:33,620 image that is made by another process, such as bluescreen or greenscreen keyers. 116 00:06:33,620 --> 00:06:37,619 So here we're going to take it and remove it. 117 00:06:37,620 --> 00:06:39,619 It's created very quickly, does not have to be accurate, 118 00:06:39,620 --> 00:06:43,620 and it is removed in our RGB image. 119 00:06:43,620 --> 00:06:47,619 So now we have a pretty good key to work with overall. 120 00:06:47,620 --> 00:06:49,619 Let's move on to the premultiplication. 121 00:06:49,620 --> 00:06:55,620 We have our premultiplied image, which we have already created previously. 122 00:06:55,620 --> 00:07:02,620 And essentially what we've done is we have removed it from our greenscreens. 123 00:07:02,620 --> 00:07:04,619 So here we have a greenscreen. 124 00:07:04,620 --> 00:07:05,710 It has been removed, 125 00:07:05,710 --> 00:07:10,620 and now we can take that element and place it onto a new background. 126 00:07:10,620 --> 00:07:11,619 So let's take a look. 127 00:07:11,620 --> 00:07:12,620 Here is our greenscreen. 128 00:07:12,620 --> 00:07:17,619 Course our element has been separated, 129 00:07:17,620 --> 00:07:19,620 so he no longer belongs to that greenscreen. 130 00:07:19,620 --> 00:07:22,619 And I can place it on a new background. 131 00:07:22,620 --> 00:07:26,619 I can move him around, in this case with a transform tool. 132 00:07:26,620 --> 00:07:30,619 And now we have two separated elements. 133 00:07:30,620 --> 00:07:35,619 Next, we're going to take a look at premultiplication. 134 00:07:35,620 --> 00:07:37,620 Premultiplication is how we cut out our images, 135 00:07:37,620 --> 00:07:42,619 and how we apply the alpha channel to that RGB image. 136 00:07:42,620 --> 00:07:44,620 So let's take a look at that math. 137 00:07:44,620 --> 00:07:48,619 Here we have a 100% red constant that we have. 138 00:07:48,620 --> 00:07:52,495 You can't really tell where I sampled it because the box is red, 139 00:07:52,495 --> 00:07:53,620 but that's okay. 140 00:07:53,620 --> 00:07:55,619 We have an alpha channel here. 141 00:07:55,620 --> 00:07:59,619 So if we take the math of the alpha channel, 142 00:07:59,620 --> 00:08:04,619 which is 100% times the red channel, which is also 100%, 143 00:08:04,620 --> 00:08:10,620 one times one means 100% opacity in our red channel. 144 00:08:10,620 --> 00:08:15,620 So our element is 100% visible in our red channel. 145 00:08:15,620 --> 00:08:18,620 Let's take a look at another example. 146 00:08:18,620 --> 00:08:19,619 Here is our green constant. 147 00:08:19,620 --> 00:08:25,620 It is 50% green, and we have 100% in our alpha channel. 148 00:08:25,620 --> 00:08:31,620 We premultiply and our green channel remains at 50%. 149 00:08:31,620 --> 00:08:32,389 So 0. 150 00:08:32,389 --> 00:08:36,619 5 times one equals 50% of opacity in our green channel. 151 00:08:36,620 --> 00:08:39,620 One last example, we have blue. 152 00:08:39,620 --> 00:08:42,620 Blue is 25%. 153 00:08:42,620 --> 00:08:46,619 And our alpha is also 25%, 0. 154 00:08:46,619 --> 00:08:48,334 25 times 0. 155 00:08:48,334 --> 00:08:50,048 25 is 0. 156 00:08:50,048 --> 00:08:53,620 0625 in our premultiplied image, in our blue channel. 157 00:08:53,620 --> 00:08:56,620 Now that we understand how premultiplication works, 158 00:08:56,620 --> 00:09:02,620 and how to extract a matte, let's look at the main keyers inside of Nuke. 159 00:09:02,620 --> 00:09:07,953 So here we go back to greenscreen image that we may have looked at earlier, 160 00:09:07,953 --> 00:09:09,620 and it is a fan. 161 00:09:09,620 --> 00:09:15,219 We're going to go look at three basic chroma keyer tools: That is the Primatte, 162 00:09:15,219 --> 00:09:17,619 the Keylight, and the hue keyer. 163 00:09:17,620 --> 00:09:21,620 Now the Primattes and the Keylight are very similar, 164 00:09:21,620 --> 00:09:22,620 and we're going to take a look at those now. 165 00:09:22,620 --> 00:09:28,619 So here I have previously already pulled a key with a Primatte. 166 00:09:28,620 --> 00:09:31,745 You can see that it pulls a pretty good alpha channel to begin with, 167 00:09:31,745 --> 00:09:33,620 without a lot of revisions. 168 00:09:33,620 --> 00:09:36,620 And we're going to compare A against B. 169 00:09:36,620 --> 00:09:39,619 So here we can see that here's our original image, 170 00:09:39,620 --> 00:09:44,620 it has not only cut it out, but it has also despilled the image. 171 00:09:44,620 --> 00:09:45,620 So no more green. 172 00:09:45,620 --> 00:09:49,620 Green is most apparent down here at the bottom of the image. 173 00:09:49,620 --> 00:09:55,619 Keylight works very, very similar, but a slightly different result. 174 00:09:55,620 --> 00:09:57,286 So here is our Keylight, 175 00:09:57,286 --> 00:10:00,619 we pull a key and we shuffle out the alpha just take a look at it. 176 00:10:00,620 --> 00:10:04,619 So again, here is before, after. 177 00:10:04,620 --> 00:10:06,619 Primatte versus Keylight. 178 00:10:06,620 --> 00:10:13,620 And let's take a look at those RGBs, so slightly different in the despill. 179 00:10:13,620 --> 00:10:17,620 Looks like the Primatte was a little bit more aggressive with that despill. 180 00:10:17,620 --> 00:10:20,620 But both tools are very much usable. 181 00:10:20,620 --> 00:10:24,870 And we'll take a look at which one works best in different 182 00:10:24,870 --> 00:10:28,620 situations in later modules and clips. 183 00:10:28,620 --> 00:10:30,619 Next, let's take a look at the hue keyer. 184 00:10:30,620 --> 00:10:36,619 So here's the hue keyer, again, it will pull keys based on this backing color. 185 00:10:36,620 --> 00:10:38,620 So here we pull a hue keyer, 186 00:10:38,620 --> 00:10:42,619 but you will notice that it does not premultiply the image by default. 187 00:10:42,620 --> 00:10:45,620 Nowhere does it despill the image. 188 00:10:45,620 --> 00:10:49,620 So here is our alpha from our hue keyer, 189 00:10:49,620 --> 00:10:52,620 and again, it does a pretty good job, 190 00:10:52,620 --> 00:10:56,620 but not as good of a job as these initial two keys. 191 00:10:56,620 --> 00:11:00,619 So these are the two keys that I will tend to stick to. 192 00:11:00,620 --> 00:11:04,620 However this has it's time and place to be used as well. 193 00:11:04,620 --> 00:11:07,620 So now that we have gone through the keyers and the basics of keying, 194 00:11:07,620 --> 00:11:10,619 let's look through a couple of other examples. 195 00:11:10,620 --> 00:11:12,620 So again, we're going to stick with the same image. 196 00:11:12,620 --> 00:11:15,620 We've already done chroma keying. 197 00:11:15,620 --> 00:11:19,620 Let's look at a couple of other ones. 198 00:11:19,620 --> 00:11:25,620 We'll extract a matte based on the light and the dark values in the image. 199 00:11:25,620 --> 00:11:30,620 For the most part, this fan is darker than the background, 200 00:11:30,620 --> 00:11:32,619 and the background is lighter. 201 00:11:32,620 --> 00:11:33,619 But let's take a look at what it does. 202 00:11:33,620 --> 00:11:37,620 So by default we can see that it pulls an inverse matte, 203 00:11:37,620 --> 00:11:40,620 so let's just invert that for us, and then pulls a key. 204 00:11:40,620 --> 00:11:46,620 Again, it's not going to premultiply the image unless we force it to. 205 00:11:46,620 --> 00:11:48,619 It doesn't do a despill. 206 00:11:48,620 --> 00:11:49,620 It doesn't premultiply the image. 207 00:11:49,620 --> 00:11:53,620 It has to be forced a little more, so it is usable. 208 00:11:53,620 --> 00:11:56,620 It's mostly good for pulling stuff like highlights, 209 00:11:56,620 --> 00:11:58,619 sometimes reflections and so forth. 210 00:11:58,620 --> 00:12:05,620 But generally speaking, again, that Keylight and the Primatte are best for RGB. 211 00:12:05,620 --> 00:12:10,620 So it takes the image and it takes the luminance. 212 00:12:10,620 --> 00:12:14,620 The luminance are again, the dark versus light values. 213 00:12:14,620 --> 00:12:16,620 You can see the luminance down here. 214 00:12:16,620 --> 00:12:21,619 To sample it and it will extract a matte based on that. 215 00:12:21,620 --> 00:12:24,620 Our last example is the difference keyers. 216 00:12:24,620 --> 00:12:29,620 Now there are two basic types of difference keyers that we will look at here. 217 00:12:29,620 --> 00:12:31,620 The first one is the ultimatte. 218 00:12:31,620 --> 00:12:35,619 Now the ultimatte takes a clean plate. 219 00:12:35,620 --> 00:12:40,620 And a clean plate is essentially an image that has no foreground element. 220 00:12:40,620 --> 00:12:46,620 So it has been extracted, it has been removed from the backing color. 221 00:12:46,620 --> 00:12:48,620 So here is just a sampled constant. 222 00:12:48,620 --> 00:12:53,620 We have sampled the basic color of that backing color. 223 00:12:53,620 --> 00:12:55,620 And we have done the difference. 224 00:12:55,620 --> 00:13:02,619 So what is the difference between this image, and this image? 225 00:13:02,620 --> 00:13:07,620 The difference is the alpha. 226 00:13:07,620 --> 00:13:09,620 So let's take a look at that. 227 00:13:09,620 --> 00:13:12,620 Here's before, here is after. 228 00:13:12,620 --> 00:13:13,620 Before, after. 229 00:13:13,620 --> 00:13:19,620 And it also despills the RGB image. 230 00:13:19,620 --> 00:13:22,619 The last one which you will see often in these clips 231 00:13:22,620 --> 00:13:26,620 and modules as well is the IBK keyer. 232 00:13:26,620 --> 00:13:28,620 The IBK is a two-part keyer. 233 00:13:28,620 --> 00:13:31,619 It creates its own clean plates based on the IBK color, 234 00:13:31,620 --> 00:13:36,620 and then uses the IBK gizmo to extract the difference keyer. 235 00:13:36,620 --> 00:13:40,619 It also does a despill. 236 00:13:40,620 --> 00:13:41,620 So there you go. 237 00:13:41,620 --> 00:13:45,620 There's the basics of keying for today's lesson. 238 00:13:45,620 --> 00:13:50,619 And let's just do a quick recap summary of what we have learned. 239 00:13:50,620 --> 00:13:54,620 So first we reviewed the fundamentals of chroma keying, 240 00:13:54,620 --> 00:13:58,620 and premultiplication, how do we extract that image, 241 00:13:58,620 --> 00:14:02,620 how do we move it around, what is a hard matte, 242 00:14:02,620 --> 00:14:04,619 what is a soft matte. 243 00:14:04,620 --> 00:14:08,620 Next, we looked at the differences between chroma keying, 244 00:14:08,620 --> 00:14:13,620 difference keying and luma keying. 21022

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.