1
00:00:00,005 --> 00:00:01,008
- [Instructor] Setting keyframes to create

2
00:00:01,008 --> 00:00:03,006
an animation inside of After Effects

3
00:00:03,006 --> 00:00:06,001
is just as straightforward as it is in Premiere.

4
00:00:06,001 --> 00:00:08,009
However, you have a greater degree of freedom and ability

5
00:00:08,009 --> 00:00:11,005
to manipulate those keyframes in After Effects.

6
00:00:11,005 --> 00:00:13,006
Adjusting the keyframes of more than one property

7
00:00:13,006 --> 00:00:16,003
across more than one layer at a time is a big difference

8
00:00:16,003 --> 00:00:17,008
between After Effects and Premiere.

9
00:00:17,008 --> 00:00:19,007
Here, we'll build a little title reveal

10
00:00:19,007 --> 00:00:22,009
and look how we can easily scale, reverse, and re-time

11
00:00:22,009 --> 00:00:24,007
those keyframes in the timeline.

12
00:00:24,007 --> 00:00:28,005
So this composition has four layers and a background layer.

13
00:00:28,005 --> 00:00:31,007
And when I preview, you'll see that three of those layers

14
00:00:31,007 --> 00:00:34,001
come in from the bottom and move off to the top.

15
00:00:34,001 --> 00:00:37,000
They also go from black and white into color.

16
00:00:37,000 --> 00:00:39,006
And this last layer over here on the right-hand side,

17
00:00:39,006 --> 00:00:40,006
doesn't move at all.

18
00:00:40,006 --> 00:00:42,002
So that's what we're going to animate.

19
00:00:42,002 --> 00:00:44,007
We're also going to re-time some of the color effects

20
00:00:44,007 --> 00:00:46,003
so that they time out better.

21
00:00:46,003 --> 00:00:49,005
And we'll also introduce our logo at the end

22
00:00:49,005 --> 00:00:51,006
so that we can have a little reveal.

23
00:00:51,006 --> 00:00:53,006
So let's take a look at the keyframes that we have here.

24
00:00:53,006 --> 00:00:54,008
I'm going to go ahead and stop this.

25
00:00:54,008 --> 00:00:57,001
And first of all, you'll notice that I'm working

26
00:00:57,001 --> 00:00:59,006
at quarter resolution here instead of full,

27
00:00:59,006 --> 00:01:02,000
just so that we can preview things a little bit faster.

28
00:01:02,000 --> 00:01:03,009
So I'll nudge that back down to a quarter.

29
00:01:03,009 --> 00:01:06,007
And I'm also going to take my work area

30
00:01:06,007 --> 00:01:09,008
and limit it to frame 125.

31
00:01:09,008 --> 00:01:13,001
Even though the actual duration of the entire comp is 300,

32
00:01:13,001 --> 00:01:14,004
when I do my previews,

33
00:01:14,004 --> 00:01:17,004
it will just preview from frame zero to 125.

34
00:01:17,004 --> 00:01:19,007
And then I'm also going to zoom in to my composition

35
00:01:19,007 --> 00:01:22,002
a little bit.

36
00:01:22,002 --> 00:01:24,005
So select layers one through four,

37
00:01:24,005 --> 00:01:26,002
and let's come over here to animation,

38
00:01:26,002 --> 00:01:27,006
reveal properties with keyframes,

39
00:01:27,006 --> 00:01:29,003
that keyboard shortcut U.

40
00:01:29,003 --> 00:01:31,009
And you'll see that I have position.

41
00:01:31,009 --> 00:01:34,002
I have hue and saturation as an effect,

42
00:01:34,002 --> 00:01:37,001
and all these available keyframes that we defined earlier.

43
00:01:37,001 --> 00:01:39,001
This is something that we want to look at

44
00:01:39,001 --> 00:01:41,008
and just only alter the position keyframes at the moment.

45
00:01:41,008 --> 00:01:44,002
So while I have all these keyframes here,

46
00:01:44,002 --> 00:01:47,004
I can certainly elect to show just the position parameter.

47
00:01:47,004 --> 00:01:49,009
And so let's go ahead and twirl up all of our layers.

48
00:01:49,009 --> 00:01:51,006
And instead of hitting U on the keyboard,

49
00:01:51,006 --> 00:01:53,003
let's hit P instead.

50
00:01:53,003 --> 00:01:55,009
P for position, we'll bring up the position properties

51
00:01:55,009 --> 00:01:57,003
of each of those selected layers

52
00:01:57,003 --> 00:02:01,003
and any associated keyframes that are along with it.

53
00:02:01,003 --> 00:02:03,003
So you see layer one over here on the far right

54
00:02:03,003 --> 00:02:04,006
doesn't have any keyframes.

55
00:02:04,006 --> 00:02:07,002
Let's go ahead and add some keyframes to make 'em match

56
00:02:07,002 --> 00:02:09,005
and move along with his buddies.

57
00:02:09,005 --> 00:02:13,000
So I'm going to click and drag my current time indicator here

58
00:02:13,000 --> 00:02:14,000
and holding down shift,

59
00:02:14,000 --> 00:02:17,001
as I do, will snap to whatever's underneath it.

60
00:02:17,001 --> 00:02:20,003
So any keyframes or the in or out points of a layer,

61
00:02:20,003 --> 00:02:21,007
it'll snap to those.

62
00:02:21,007 --> 00:02:22,008
So I'm snapping here.

63
00:02:22,008 --> 00:02:24,006
Let's go ahead and insert a keyframe.

64
00:02:24,006 --> 00:02:27,000
That's where this layer's going to end up.

65
00:02:27,000 --> 00:02:28,005
I'm going to work backwards here.

66
00:02:28,005 --> 00:02:30,002
And down at frame zero,

67
00:02:30,002 --> 00:02:31,007
let's go ahead and click and drag this down,

68
00:02:31,007 --> 00:02:34,000
holding down shift to constrain that motion

69
00:02:34,000 --> 00:02:36,002
just to the up and down.

70
00:02:36,002 --> 00:02:39,001
And over here, I can certainly insert a brand new keyframe

71
00:02:39,001 --> 00:02:44,002
over here, or I can undo and copy this one keyframe.

72
00:02:44,002 --> 00:02:47,004
Cmd + C, Cmd + V, since those are the same values.

73
00:02:47,004 --> 00:02:49,004
And now when we move back down here,

74
00:02:49,004 --> 00:02:55,001
we can animate this off, moving up forward.

75
00:02:55,001 --> 00:02:58,004
So we manually keyframed this in place to kind of match

76
00:02:58,004 --> 00:02:59,004
the other layers.

77
00:02:59,004 --> 00:03:02,001
However, there is one other way that we can do this,

78
00:03:02,001 --> 00:03:03,002
that we could have done it.

79
00:03:03,002 --> 00:03:06,005
If we go ahead and turn off our stopwatch there,

80
00:03:06,005 --> 00:03:08,007
we have all the position movement

81
00:03:08,007 --> 00:03:10,007
from all these other layers here.

82
00:03:10,007 --> 00:03:12,002
The only difference is that this guy is

83
00:03:12,002 --> 00:03:13,007
over on the far right.

84
00:03:13,007 --> 00:03:16,003
And so we can make use of the previous animation

85
00:03:16,003 --> 00:03:17,004
that we built.

86
00:03:17,004 --> 00:03:20,008
Let's go ahead and select the entire position for layer two,

87
00:03:20,008 --> 00:03:23,001
and that will select all the keyframes for us.

88
00:03:23,001 --> 00:03:24,009
Let's Cmd + C to copy,

89
00:03:24,009 --> 00:03:28,002
and let's rewind our current time indicator down

90
00:03:28,002 --> 00:03:31,002
to the beginning and with our position parameters

91
00:03:31,002 --> 00:03:34,005
selected on layer one, Cmd + V to paste.

92
00:03:34,005 --> 00:03:37,001
And you'll notice that layer one is now following

93
00:03:37,001 --> 00:03:38,008
the exact same motions as layer two.

94
00:03:38,008 --> 00:03:40,003
And so we just need to offset this

95
00:03:40,003 --> 00:03:42,003
so that it occupies this empty space here.

96
00:03:42,003 --> 00:03:43,007
And so how do we do that?

97
00:03:43,007 --> 00:03:47,000
Well, we can park over on any of these keyframes.

98
00:03:47,000 --> 00:03:49,008
Go ahead and shift drag so you can target

99
00:03:49,008 --> 00:03:51,006
frame 68 precisely.

100
00:03:51,006 --> 00:03:55,005
And with the current time indicator over that keyframe,

101
00:03:55,005 --> 00:03:57,006
we can come over here to our position parameter

102
00:03:57,006 --> 00:04:00,008
and just click and drag to slide the value over.

103
00:04:00,008 --> 00:04:02,006
And you'll notice the entire motion path.

104
00:04:02,006 --> 00:04:05,003
All these other keyframes will keep their proportions

105
00:04:05,003 --> 00:04:08,005
and all that relative information in place.

106
00:04:08,005 --> 00:04:12,001
Alternately, you can move around in the composition window.

107
00:04:12,001 --> 00:04:15,006
You can actually pick and click and drag the keyframe

108
00:04:15,006 --> 00:04:17,006
from here as well and move the entire motion path

109
00:04:17,006 --> 00:04:18,007
that way too.

110
00:04:18,007 --> 00:04:20,002
So I'll just undo that.

111
00:04:20,002 --> 00:04:22,004
We'll reframe here up to 100%.

112
00:04:22,004 --> 00:04:27,000
And once we preview, we see that.

113
00:04:27,000 --> 00:04:29,002
All right, we have all of our position in place.

114
00:04:29,002 --> 00:04:31,008
Let's go ahead and re-time our hue and saturation effects

115
00:04:31,008 --> 00:04:34,004
so that it starts to animate on once we land here

116
00:04:34,004 --> 00:04:36,005
at frame 23.

117
00:04:36,005 --> 00:04:39,005
So I'm going to shift select layers one through four,

118
00:04:39,005 --> 00:04:41,009
come over here, or hit U on the keyboard

119
00:04:41,009 --> 00:04:43,008
to get all those keyframes.

120
00:04:43,008 --> 00:04:46,003
I'm going to nudge up my timeline a little bit so we can see

121
00:04:46,003 --> 00:04:47,009
a little bit more of our keyframes.

122
00:04:47,009 --> 00:04:50,008
And because I have all these keyframes here,

123
00:04:50,008 --> 00:04:53,006
I just want to isolate the hue and saturation.

124
00:04:53,006 --> 00:04:55,007
And I don't need to see the position.

125
00:04:55,007 --> 00:04:58,008
So I can filter those out by simply option shift,

126
00:04:58,008 --> 00:05:00,004
clicking the position.

127
00:05:00,004 --> 00:05:02,000
And you'll see that it filters those out

128
00:05:02,000 --> 00:05:05,007
and leaves only the hue and saturation keyframes.

129
00:05:05,007 --> 00:05:07,007
And this is one of the greatest things about After Effects

130
00:05:07,007 --> 00:05:12,001
is that you can now select across multiple layers

131
00:05:12,001 --> 00:05:15,003
and multiple parameters, all these different keyframes.

132
00:05:15,003 --> 00:05:17,001
And so because this is now a selection,

133
00:05:17,001 --> 00:05:21,001
I can click and drag on a keyframe and move it into place.

134
00:05:21,001 --> 00:05:24,005
Alternately, I can nudge these keyframes frame by frame.

135
00:05:24,005 --> 00:05:27,004
Just hold down option and left arrow or right arrow

136
00:05:27,004 --> 00:05:28,004
on the keyboard.

137
00:05:28,004 --> 00:05:30,009
And that will nudge the keyframes into place.

138
00:05:30,009 --> 00:05:35,006
And holding down shift and option along with the right

139
00:05:35,006 --> 00:05:39,002
and left arrows will move it in 10 degree increments.

140
00:05:39,002 --> 00:05:40,007
So at frame 23, there we are.

141
00:05:40,007 --> 00:05:43,006
We've nudged these keyframes into place

142
00:05:43,006 --> 00:05:49,004
and they all come full color and they move out.

143
00:05:49,004 --> 00:05:51,003
I think one other thing we can do to kind of help finesse

144
00:05:51,003 --> 00:05:54,001
this animation is not have these video layers

145
00:05:54,001 --> 00:05:56,003
all move in from the same spot.

146
00:05:56,003 --> 00:05:58,008
So rather than having them all move in from the bottom

147
00:05:58,008 --> 00:06:00,009
and work the way out through the top,

148
00:06:00,009 --> 00:06:02,000
let's alternate some of these.

149
00:06:02,000 --> 00:06:05,005
Like this one, layer four and layer two.

150
00:06:05,005 --> 00:06:07,007
Okay, let's go ahead and twirl all this up.

151
00:06:07,007 --> 00:06:10,007
And what we'll do instead, is select layer two

152
00:06:10,007 --> 00:06:11,009
and layer four.

153
00:06:11,009 --> 00:06:15,007
We'll command click on layer four to multi-select that.

154
00:06:15,007 --> 00:06:18,008
Push P on keyboard to reveal those position keyframes,

155
00:06:18,008 --> 00:06:21,007
and let's get this going in the opposite direction.

156
00:06:21,007 --> 00:06:23,007
Let's reverse this animation.

157
00:06:23,007 --> 00:06:26,000
So to reverse an animation, you might think,

158
00:06:26,000 --> 00:06:27,005
okay, let's take this one

159
00:06:27,005 --> 00:06:28,008
and move it all the way to the beginning.

160
00:06:28,008 --> 00:06:29,009
Let's move this front one

161
00:06:29,009 --> 00:06:31,004
and move it all the way to the back.

162
00:06:31,004 --> 00:06:33,003
Let's undo 'cause there's definitely an easier way

163
00:06:33,003 --> 00:06:34,005
to do that.

164
00:06:34,005 --> 00:06:36,006
So with my position parameter selected,

165
00:06:36,006 --> 00:06:38,002
all these keyframes get selected.

166
00:06:38,002 --> 00:06:39,004
And now what I can do

167
00:06:39,004 --> 00:06:41,007
is right-click on any one of those keyframes,

168
00:06:41,007 --> 00:06:45,005
go down to keyframe assistant, time reverse keyframes.

169
00:06:45,005 --> 00:06:48,008
And so now you see at the beginning,

170
00:06:48,008 --> 00:06:51,000
the second layer is moving up from the top

171
00:06:51,000 --> 00:06:53,000
and working its way towards the bottom.

172
00:06:53,000 --> 00:06:55,001
So let's go ahead and nudge these two keyframes

173
00:06:55,001 --> 00:06:56,005
to keep that in place.

174
00:06:56,005 --> 00:07:00,002
We'll option left arrow to I guess, twice there

175
00:07:00,002 --> 00:07:02,008
to kind of match the original animation.

176
00:07:02,008 --> 00:07:04,008
And then we'll do the same thing for layer four.

177
00:07:04,008 --> 00:07:09,002
Select all those keyframes and time reverse keyframes.

178
00:07:09,002 --> 00:07:10,004
And select these two guys,

179
00:07:10,004 --> 00:07:14,009
and we'll just nudge that into place.

180
00:07:14,009 --> 00:07:16,009
So now we've got two coming up from the top,

181
00:07:16,009 --> 00:07:18,005
two coming from the bottom.

182
00:07:18,005 --> 00:07:20,009
We can finesse this further by just not having it

183
00:07:20,009 --> 00:07:22,000
slam into place.

184
00:07:22,000 --> 00:07:25,001
You'll notice here that for these position keyframes,

185
00:07:25,001 --> 00:07:28,002
all these layers just abruptly stop.

186
00:07:28,002 --> 00:07:31,002
And then again, abruptly start as they take off.

187
00:07:31,002 --> 00:07:33,006
We can add some easing to these keyframes.

188
00:07:33,006 --> 00:07:35,008
So let's select layers one through four once more,

189
00:07:35,008 --> 00:07:37,006
we'll hit P on the keyboard.

190
00:07:37,006 --> 00:07:39,007
And these are all linear keyframes.

191
00:07:39,007 --> 00:07:41,005
And so they just kind of slam into place.

192
00:07:41,005 --> 00:07:45,003
Let's introduce easing by selecting all these keyframes

193
00:07:45,003 --> 00:07:47,005
for this position.

194
00:07:47,005 --> 00:07:50,004
And we'll right-click and again, under keyframe assistant,

195
00:07:50,004 --> 00:07:52,005
let's select easy ease in.

196
00:07:52,005 --> 00:07:55,008
And so instead of a harsh, sudden stop,

197
00:07:55,008 --> 00:07:58,003
now we get this nice smooth motion where the layers

198
00:07:58,003 --> 00:08:00,009
are easing into place.

199
00:08:00,009 --> 00:08:03,009
So let's go ahead and do the same for these keyframes here,

200
00:08:03,009 --> 00:08:06,005
so that they gradually take off.

201
00:08:06,005 --> 00:08:09,009
So right-click, keyframe assistant, easy ease out.

202
00:08:09,009 --> 00:08:12,000
You notice those icons change up altogether.

203
00:08:12,000 --> 00:08:14,002
And now when we preview our composition,

204
00:08:14,002 --> 00:08:16,005
now there's moving off and easing in

205
00:08:16,005 --> 00:08:20,004
and out of their positions.

206
00:08:20,004 --> 00:08:22,007
Okay, I think we can do just a couple more things here.

207
00:08:22,007 --> 00:08:27,000
Let's go ahead and select these three layers,

208
00:08:27,000 --> 00:08:29,004
their position, and let's offset the timing of this

209
00:08:29,004 --> 00:08:32,000
a little bit, so that we can just have them all come in,

210
00:08:32,000 --> 00:08:34,006
settle, and then one by one,

211
00:08:34,006 --> 00:08:37,000
we can have these guys begin to take off.

212
00:08:37,000 --> 00:08:41,001
So option and shift, let's go ahead and right arrow.

213
00:08:41,001 --> 00:08:44,008
And that will move it in 10 frame increments.

214
00:08:44,008 --> 00:08:47,006
And I'll select the bottom two now, layers three and four,

215
00:08:47,006 --> 00:08:48,005
and do the same thing.

216
00:08:48,005 --> 00:08:52,000
Shift and option, plus the right arrow on the keyboard.

217
00:08:52,000 --> 00:08:53,004
We'll offset that 10 frames.

218
00:08:53,004 --> 00:08:56,003
And then this last one, we'll do 10 frames as well.

219
00:08:56,003 --> 00:08:59,002
So now when we preview, they all settle into place

220
00:08:59,002 --> 00:09:02,005
and then one by one, the layers take off.

221
00:09:02,005 --> 00:09:05,003
So we've just staggered the outro timing

222
00:09:05,003 --> 00:09:09,003
of our animation here.

223
00:09:09,003 --> 00:09:12,002
Okay lastly, all we need to do is add in our logo.

224
00:09:12,002 --> 00:09:14,005
So let's go ahead and drag our glass logo

225
00:09:14,005 --> 00:09:16,000
from our footage folder.

226
00:09:16,000 --> 00:09:18,006
And I'm going to drag that underneath layer four

227
00:09:18,006 --> 00:09:21,000
to make it the brand new layer five.

228
00:09:21,000 --> 00:09:24,000
And when we preview, we see that the logo's already there.

229
00:09:24,000 --> 00:09:26,005
We obviously don't want that timing to start there.

230
00:09:26,005 --> 00:09:30,003
We actually want it to be over maybe right in here.

231
00:09:30,003 --> 00:09:34,007
Just this last layer here starts to move off screen.

232
00:09:34,007 --> 00:09:36,006
So with my layer five selected,

233
00:09:36,006 --> 00:09:38,009
I'm going to left bracket on the keyboard

234
00:09:38,009 --> 00:09:41,006
and that will take the end point of layer five

235
00:09:41,006 --> 00:09:44,000
and move it to the current time indicator.

236
00:09:44,000 --> 00:09:47,002
And so now, let's go ahead and preview again.

237
00:09:47,002 --> 00:09:49,009
Layers come into place, move out.

238
00:09:49,009 --> 00:09:52,000
And there's our Glassworks logo.

239
00:09:52,000 --> 00:09:54,003
Go ahead and preview that a little bit longer.

240
00:09:54,003 --> 00:10:01,003
Maybe move down to frame 200.

241
00:10:01,003 --> 00:10:02,009
Once you select that and so we can see it

242
00:10:02,009 --> 00:10:03,008
a little bit more clearly.

243
00:10:03,008 --> 00:10:06,007
Let's go ahead and bring this guy out.

244
00:10:06,007 --> 00:10:10,002
Okay, I think that's looking pretty good.

245
00:10:10,002 --> 00:10:13,005
So here, we saw how to adjust keyframes in a variety of ways

246
00:10:13,005 --> 00:10:15,009
and how After Effects gives us great control

247
00:10:15,009 --> 00:10:18,000
over how to manipulate multiple keyframes

248
00:10:18,000 --> 00:10:20,002
across multiple parameters all at once.

