Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,800 --> 00:00:06,666
in this lecture
2
00:00:06,666 --> 00:00:09,700
we're going to use the tracker um
3
00:00:09,700 --> 00:00:12,166
and the tracking data that we solved for earlier
4
00:00:12,166 --> 00:00:16,500
to do a match move and actually track another image
5
00:00:16,500 --> 00:00:18,466
another still image to this
6
00:00:18,466 --> 00:00:20,300
landscape footage that we have
7
00:00:20,400 --> 00:00:24,433
um so the plan is to take this image
8
00:00:25,300 --> 00:00:29,966
um and use the sky from this image to uh
9
00:00:29,966 --> 00:00:33,066
put in place of the sky that we had in our other um
10
00:00:33,066 --> 00:00:34,266
landscape footage
11
00:00:35,533 --> 00:00:36,900
so the first thing we wanna do
12
00:00:36,900 --> 00:00:38,933
um obviously if you have a close look
13
00:00:38,933 --> 00:00:41,966
this landscape footage of ours is in HD
14
00:00:41,966 --> 00:00:44,033
so it's 1920 by 1080
15
00:00:44,200 --> 00:00:46,000
and this other image
16
00:00:46,000 --> 00:00:47,866
the still image is a 4K image
17
00:00:47,866 --> 00:00:51,400
so first thing we wanna do is reform at this image
18
00:00:51,900 --> 00:00:54,266
so it's in the same aspect ratio
19
00:00:54,400 --> 00:00:57,633
so we don't have any issues down the line with our
20
00:00:58,166 --> 00:00:59,266
aspect ratio
21
00:00:59,300 --> 00:01:02,166
so what I'll do is 1
22
00:01:02,166 --> 00:01:05,033
I'm going to put a shuffle node down and set our
23
00:01:05,166 --> 00:01:06,900
alpha to solid white
24
00:01:07,200 --> 00:01:09,466
and essentially give our image an alpha channel
25
00:01:09,466 --> 00:01:12,766
so we'll set this to one
26
00:01:14,166 --> 00:01:15,733
so now we have an alpha channel
27
00:01:15,733 --> 00:01:18,866
and then what we're gonna do is grab a reformat node
28
00:01:20,300 --> 00:01:23,400
and have this image reformat to our HD image
29
00:01:23,400 --> 00:01:26,533
so now we're in the same aspect ratio
30
00:01:26,533 --> 00:01:28,866
so everything should play nice from here
31
00:01:29,000 --> 00:01:34,200
um so what we're gonna do is just do a really simple um
32
00:01:34,866 --> 00:01:37,700
mask for the sky here so we don't
33
00:01:37,700 --> 00:01:40,766
we don't need all the horizon and foreground areas
34
00:01:40,766 --> 00:01:41,766
from this image
35
00:01:41,766 --> 00:01:45,700
so what we could do is simply grab a um
36
00:01:46,766 --> 00:01:48,566
we could grab a oops
37
00:01:48,566 --> 00:01:49,866
we could grab a ramp
38
00:01:52,666 --> 00:01:56,800
and what we could do is move this um
39
00:01:58,766 --> 00:02:03,500
and move this ramp up like so make sure it's straight
40
00:02:09,133 --> 00:02:11,266
and we'll use this as our alpha
41
00:02:11,900 --> 00:02:13,466
for this image right here
42
00:02:14,100 --> 00:02:18,200
and what we'll do is we could multiply this against the
43
00:02:20,500 --> 00:02:22,000
our image so we'll go
44
00:02:22,766 --> 00:02:25,366
be input being our image and the
45
00:02:25,366 --> 00:02:27,266
ramp being our alpha right there
46
00:02:27,466 --> 00:02:29,400
and we could always adjust this ramp
47
00:02:29,400 --> 00:02:31,200
just so we could have a little bit more fall off
48
00:02:31,200 --> 00:02:32,266
if we wanted
49
00:02:32,666 --> 00:02:35,900
move this up just so there's a little bit more trans
50
00:02:36,933 --> 00:02:39,500
little bit more transition in that image
51
00:02:41,533 --> 00:02:42,466
now what we'll do is
52
00:02:42,466 --> 00:02:45,366
if we just do a straight merge and put this
53
00:02:45,933 --> 00:02:47,666
over our landscape image
54
00:02:51,066 --> 00:02:52,100
that's pretty cool
55
00:02:52,100 --> 00:02:56,200
um obviously we need to get into doing um
56
00:02:56,300 --> 00:02:59,566
roto or some kind of luma key to isolate
57
00:02:59,566 --> 00:03:02,800
our foreground plant and also our mountain ranges
58
00:03:03,200 --> 00:03:05,400
but for right now we're not gonna get into that
59
00:03:05,400 --> 00:03:06,233
we're just gonna
60
00:03:06,266 --> 00:03:08,500
have a quick look at what this image does
61
00:03:08,566 --> 00:03:10,866
um and what I could do is
62
00:03:10,866 --> 00:03:12,966
kind of lure this a little bit more
63
00:03:13,733 --> 00:03:14,966
make sure it's straight
64
00:03:18,566 --> 00:03:20,666
and move this fall off in a little bit
65
00:03:20,933 --> 00:03:22,000
so right now
66
00:03:22,000 --> 00:03:23,233
if I press play
67
00:03:24,400 --> 00:03:26,266
you could see our sky is not doing anything
68
00:03:26,266 --> 00:03:28,000
because it's a single image
69
00:03:28,133 --> 00:03:29,766
our plate underneath is moving
70
00:03:29,766 --> 00:03:30,733
but our clouds
71
00:03:30,733 --> 00:03:32,066
aren't moving with it
72
00:03:33,000 --> 00:03:35,566
so in order to get our
73
00:03:35,800 --> 00:03:38,333
clouds to move with this footage underneath
74
00:03:38,333 --> 00:03:40,800
we need to use this tracking information
75
00:03:40,866 --> 00:03:44,033
and have it match move with our plate
76
00:03:44,166 --> 00:03:46,266
so what we're gonna do is we're gonna grab our tracker
77
00:03:46,266 --> 00:03:47,966
one that we saw for earlier
78
00:03:49,066 --> 00:03:51,266
and plug this into
79
00:03:51,566 --> 00:03:52,933
the input of our image
80
00:03:52,933 --> 00:03:55,433
we wanna apply the match move to
81
00:03:56,500 --> 00:03:58,900
and then under this transform tab will set
82
00:03:58,900 --> 00:04:01,766
the transform type to match move
83
00:04:02,900 --> 00:04:05,200
and the other thing you wanna do is
84
00:04:05,366 --> 00:04:06,900
this track reference frame
85
00:04:06,900 --> 00:04:08,500
you wanna set this to the frame
86
00:04:08,500 --> 00:04:11,200
you're using to line up your image
87
00:04:11,200 --> 00:04:13,133
so right now we're on frame 1
88
00:04:13,133 --> 00:04:14,266
so that should be fine
89
00:04:14,266 --> 00:04:16,166
so we'll say set to current frame
90
00:04:16,600 --> 00:04:18,800
and then if we connect
91
00:04:19,100 --> 00:04:20,166
the tracker
92
00:04:20,933 --> 00:04:24,466
to our to our image and we view our overnote
93
00:04:24,466 --> 00:04:26,033
and now if we press play
94
00:04:26,766 --> 00:04:27,766
look at that
95
00:04:27,966 --> 00:04:31,066
we've got our clouds moving with our footage
96
00:04:34,800 --> 00:04:38,266
and that's doing a pretty good job sticking to it um
97
00:04:38,500 --> 00:04:42,000
now if you have a look you could see that
98
00:04:42,866 --> 00:04:46,166
we're getting cropped right here and at the top
99
00:04:46,300 --> 00:04:50,566
and the reason is this first frame our image
100
00:04:51,566 --> 00:04:52,933
lines up pretty well
101
00:04:52,933 --> 00:04:55,400
but if you look at the bounding box of our image
102
00:04:55,400 --> 00:04:58,666
it's really just it it this is the resolution for it
103
00:04:58,666 --> 00:05:01,066
so we're cut off here and we're cut off at the top
104
00:05:01,100 --> 00:05:04,066
so once this track starts to move
105
00:05:04,166 --> 00:05:06,766
there's really no more image on the left for it
106
00:05:06,766 --> 00:05:08,733
and as we get a little bit further in the timeline
107
00:05:08,733 --> 00:05:10,366
you could see we don't have as much image
108
00:05:10,366 --> 00:05:11,466
at the top either
109
00:05:11,500 --> 00:05:13,700
so we could solve for that
110
00:05:15,966 --> 00:05:18,200
we could solve for that by simply just
111
00:05:18,800 --> 00:05:20,900
scaling up this image a little bit
112
00:05:22,333 --> 00:05:25,000
and what we could do is just scale this
113
00:05:28,900 --> 00:05:33,133
maybe 30% or 40% just to make sure
114
00:05:33,133 --> 00:05:34,066
look at our last frame
115
00:05:34,066 --> 00:05:35,466
and now we're pretty good
116
00:05:35,466 --> 00:05:37,266
that might be a little bit too much of a push in
117
00:05:37,266 --> 00:05:38,300
so we could just
118
00:05:40,800 --> 00:05:42,266
yeah maybe about
119
00:05:43,566 --> 00:05:46,600
1.3 30% pushing
120
00:05:46,933 --> 00:05:48,866
and now if we kind of scrub through here
121
00:05:48,866 --> 00:05:51,866
you could see we have enough image to cover
122
00:05:52,733 --> 00:05:55,066
um and if you notice these
123
00:05:55,733 --> 00:05:59,566
these red red outline around our nodes right here
124
00:05:59,566 --> 00:06:01,566
as well as the um
125
00:06:01,900 --> 00:06:04,166
dotted black hash lines around it
126
00:06:04,166 --> 00:06:05,800
that is letting us know
127
00:06:05,800 --> 00:06:10,233
it's a new feature in nuke that our bounding box is big
128
00:06:10,600 --> 00:06:13,466
so it's essentially it's a visual warning that hey
129
00:06:13,466 --> 00:06:14,600
keep an keep in mind
130
00:06:14,600 --> 00:06:16,400
your bounding box is getting too big
131
00:06:16,400 --> 00:06:18,833
so this might slow down your
132
00:06:18,966 --> 00:06:20,566
your process and your new script
133
00:06:20,566 --> 00:06:22,400
so it's pretty handy
134
00:06:22,533 --> 00:06:24,500
really simple way to resolve this is if we
135
00:06:24,500 --> 00:06:27,666
put another reformat after the fact
136
00:06:29,100 --> 00:06:30,133
and you could see that
137
00:06:30,133 --> 00:06:31,900
eliminated the red box around this
138
00:06:31,900 --> 00:06:32,933
it's essentially
139
00:06:32,933 --> 00:06:34,733
will no longer have a large bounding box
140
00:06:34,733 --> 00:06:36,000
happening over here
141
00:06:36,000 --> 00:06:37,866
um if you don't wanna use a reformat
142
00:06:37,866 --> 00:06:39,233
you see that came back
143
00:06:39,266 --> 00:06:40,966
you could also use a crop node
144
00:06:41,766 --> 00:06:43,100
and that does the same thing
145
00:06:43,100 --> 00:06:44,666
it basically just cuts
146
00:06:44,666 --> 00:06:48,900
anything outside of our aspect ratio of 1920 by 1080
147
00:06:49,200 --> 00:06:53,266
so either way you could use a reformat oracrop
148
00:06:53,400 --> 00:06:56,400
but now if we look at our merge
149
00:06:57,333 --> 00:06:58,700
and we press play
150
00:06:59,366 --> 00:07:05,200
we've got our sky tracking quite nicely to our
151
00:07:07,200 --> 00:07:08,833
to our landscape footage
152
00:07:09,300 --> 00:07:12,866
and if we wanna kinda have a closer look at that
153
00:07:12,866 --> 00:07:15,433
we could bring the opacity down on this
154
00:07:18,533 --> 00:07:21,966
something like that just to make sure things are moving
155
00:07:22,866 --> 00:07:25,933
and you could see our cloud cloud edge right here again
156
00:07:25,933 --> 00:07:27,833
sir mountains back here
157
00:07:28,500 --> 00:07:31,933
same with the mount the foreground bush and the clouds
158
00:07:31,933 --> 00:07:34,566
and the other image over here are moving pretty nicely
159
00:07:34,566 --> 00:07:38,100
and relative to what the plate is doing
160
00:07:41,100 --> 00:07:42,166
so that's great
161
00:07:42,166 --> 00:07:45,833
if one other thing to point out in our tracker
162
00:07:46,000 --> 00:07:49,300
if say let's go to frame 60
163
00:07:50,533 --> 00:07:54,966
and if we had use frame 60 to line up with our
164
00:07:55,133 --> 00:07:56,300
image right here
165
00:07:56,333 --> 00:07:57,500
so for example
166
00:07:57,500 --> 00:07:59,366
what we'll do is we'll take
167
00:07:59,533 --> 00:08:00,933
I'm gonna bypass this tracker
168
00:08:00,933 --> 00:08:05,466
we'll just go straight multiply node over our image
169
00:08:07,000 --> 00:08:09,766
and let's say we'll do another transform here
170
00:08:10,800 --> 00:08:14,100
and let's say we had lined up this image
171
00:08:14,966 --> 00:08:16,333
specifically on this frame
172
00:08:16,333 --> 00:08:18,500
so let's let's move this up a little bit
173
00:08:18,500 --> 00:08:22,166
let's move it a little bit to the to the left
174
00:08:23,166 --> 00:08:26,433
and let's push it push in on this a little bit too
175
00:08:29,333 --> 00:08:31,366
we'll go to 1.3 as well again
176
00:08:31,566 --> 00:08:35,466
so if we had used frame 60 to line up our image
177
00:08:36,000 --> 00:08:39,366
what you would want to do on your tracker node
178
00:08:42,666 --> 00:08:44,766
what you wanna do on the tracker point
179
00:08:44,766 --> 00:08:48,266
set this reference frame to be frame 60
180
00:08:48,300 --> 00:08:51,300
so this will zero out or translate
181
00:08:51,300 --> 00:08:53,133
so that frame 60
182
00:08:53,133 --> 00:08:57,300
if I disable this lines up exactly to what we had done
183
00:08:58,200 --> 00:08:59,566
and then from here on out
184
00:08:59,566 --> 00:09:00,900
if we press play
185
00:09:01,000 --> 00:09:02,366
it's going to
186
00:09:03,333 --> 00:09:04,966
apply the same motion to it
187
00:09:05,100 --> 00:09:06,933
so that's something to always keep in mind is
188
00:09:06,933 --> 00:09:08,766
if you're getting a matte painting
189
00:09:08,766 --> 00:09:10,133
or if you've done Broto
190
00:09:10,133 --> 00:09:12,100
that you wanna track to your image
191
00:09:12,166 --> 00:09:14,733
always set this reference frame and the tracker
192
00:09:14,733 --> 00:09:16,933
to the frame that image is coming in on
193
00:09:16,933 --> 00:09:18,400
or what the image you
194
00:09:18,400 --> 00:09:20,333
what frame you used to line it up on
195
00:09:20,333 --> 00:09:24,400
so if a digital matte painter had given you a
196
00:09:24,866 --> 00:09:27,966
sky with more hills and what have you
197
00:09:28,133 --> 00:09:29,366
painted on here
198
00:09:29,366 --> 00:09:32,500
and they used Frame 60 as their reference frame
199
00:09:32,600 --> 00:09:33,866
and not frame one
200
00:09:34,166 --> 00:09:37,066
you need to make sure you always set that same frame
201
00:09:37,133 --> 00:09:38,000
in the tracker
202
00:09:38,000 --> 00:09:41,166
so that it lines up on that initial lineup frame
203
00:09:41,166 --> 00:09:43,400
and the rest of it can just match match
204
00:09:43,400 --> 00:09:47,300
move and track along with it um
205
00:09:47,300 --> 00:09:51,200
the last thing to point out with the track node is um
206
00:09:51,266 --> 00:09:53,666
if you don't wanna directly connect this as well
207
00:09:53,666 --> 00:09:55,333
there is another option um
208
00:09:55,333 --> 00:09:57,633
if I detach this real quick
209
00:09:58,733 --> 00:10:02,366
if we go back to our tracker tab
210
00:10:03,133 --> 00:10:05,200
there's this export option here
211
00:10:05,200 --> 00:10:08,466
and you have the option of exporting
212
00:10:08,466 --> 00:10:10,866
corner pins with the
213
00:10:10,966 --> 00:10:12,000
current frame
214
00:10:12,266 --> 00:10:14,066
or you could use the
215
00:10:14,166 --> 00:10:15,566
transform reference frame
216
00:10:15,566 --> 00:10:17,866
or you could bake out all the key frames
217
00:10:18,000 --> 00:10:20,066
um as well as you could do the match
218
00:10:20,066 --> 00:10:21,900
move or stabilization
219
00:10:21,966 --> 00:10:23,166
um etc here
220
00:10:23,166 --> 00:10:25,900
so if you don't necessarily wanna use this tracker note
221
00:10:25,900 --> 00:10:26,700
and you wanna
222
00:10:26,766 --> 00:10:28,100
keep this kind of
223
00:10:28,100 --> 00:10:29,766
um you know
224
00:10:30,166 --> 00:10:31,566
detached and off screen
225
00:10:31,566 --> 00:10:33,666
you just want to use the tracking data from it
226
00:10:33,666 --> 00:10:34,866
what we could do
227
00:10:34,866 --> 00:10:36,800
is in the export tab
228
00:10:37,500 --> 00:10:39,566
we could select
229
00:10:39,566 --> 00:10:41,133
we want to select them
230
00:10:41,133 --> 00:10:42,000
transform match
231
00:10:42,000 --> 00:10:45,033
moved and we could bake out the keyframes
232
00:10:45,066 --> 00:10:46,166
if we don't bake it out
233
00:10:46,166 --> 00:10:47,600
so if I select this
234
00:10:47,866 --> 00:10:48,766
transform match
235
00:10:48,766 --> 00:10:50,233
move and I hit create
236
00:10:50,466 --> 00:10:53,700
you'll see an expression link
237
00:10:53,766 --> 00:10:54,933
with this track
238
00:10:54,933 --> 00:10:55,700
tracker node
239
00:10:55,700 --> 00:10:57,266
I'm sorry this transform node
240
00:10:57,666 --> 00:10:59,166
with these values
241
00:10:59,266 --> 00:11:00,600
linked to the tracker
242
00:11:00,600 --> 00:11:03,066
so if we look into this transform tab
243
00:11:03,166 --> 00:11:06,566
you could see this translate values are the same
244
00:11:06,700 --> 00:11:08,100
as what our tracker showing
245
00:11:08,100 --> 00:11:09,600
same with the center frame
246
00:11:09,966 --> 00:11:12,800
so that's what the Transform
247
00:11:14,266 --> 00:11:15,300
Export looks like
248
00:11:15,300 --> 00:11:18,766
the other option is you could bake out the key frame
249
00:11:18,766 --> 00:11:20,300
so you don't have this link set
250
00:11:20,300 --> 00:11:22,733
so here we could go to Transform
251
00:11:22,733 --> 00:11:24,100
Match Move Baked
252
00:11:24,333 --> 00:11:25,833
and if we hit create
253
00:11:26,400 --> 00:11:27,666
now we have
254
00:11:28,733 --> 00:11:32,466
now we have these key frames baked in within this node
255
00:11:32,466 --> 00:11:35,866
and it's no longer dependent on what this tracker is
256
00:11:35,900 --> 00:11:39,466
so there's pros and cons to each um if
257
00:11:39,466 --> 00:11:40,800
if for some reason
258
00:11:40,866 --> 00:11:42,333
the nice thing about having the
259
00:11:42,333 --> 00:11:47,500
the link is if we changed our reference frame on this
260
00:11:47,566 --> 00:11:50,300
on the reference frame of the tracker so we
261
00:11:50,466 --> 00:11:53,033
will set this to frame 10 and set to current frame
262
00:11:53,200 --> 00:11:57,166
you'll see our tracker zero out
263
00:11:57,166 --> 00:12:00,466
so it's gonna always link to what this tracker has done
264
00:12:00,466 --> 00:12:02,800
whereas if we've baked the key frames out
265
00:12:02,966 --> 00:12:05,333
it no longer changes and updates to it
266
00:12:05,333 --> 00:12:08,266
so that's the difference between um
267
00:12:08,266 --> 00:12:10,566
exporting out transform match move baked
268
00:12:10,566 --> 00:12:12,400
or just transform match move would
269
00:12:12,400 --> 00:12:14,100
will keep the links allowed
270
00:12:14,100 --> 00:12:15,500
uh keep the links to it
271
00:12:15,766 --> 00:12:18,366
so it's completely up to the user at that point
272
00:12:18,366 --> 00:12:20,333
how you wanna use it but um
273
00:12:20,333 --> 00:12:21,366
in this case
274
00:12:21,533 --> 00:12:24,633
now we could use this um
275
00:12:24,933 --> 00:12:26,566
baked out transform
276
00:12:26,566 --> 00:12:28,300
and we'll make sure to crop this as well
277
00:12:28,300 --> 00:12:30,266
so our bounding boxes and get any bigger
278
00:12:30,300 --> 00:12:33,966
so now we could press play
279
00:12:34,200 --> 00:12:37,066
and we got our trackers or we got our transform
280
00:12:37,066 --> 00:12:39,666
doing the match move based on this tracker
281
00:12:39,700 --> 00:12:43,000
without us actually using this tracker in our stream
20324
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.