-
Book Overview & Buying
-
Table Of Contents
Creative Motion Mastery with Adobe After Effects
By :
A composition is like a container that can contain and bring multiple files together as layers to create a composite. A composition can have different kinds of layers, such as these:
While creating a composition, the following key parameters should be defined:
After Effects uses different formats to display the timecode, such as HH:MM:SS:Frames or just frames (the number of frames elapsed since the start of the composition):
In this section, we will learn how to create a new composition in After Effects using video files. Then, we will learn how to enable animations in the timeline and add keyframes to create animations for the layers.
Let’s begin with creating new compositions in After Effects:
earth.mp4 file from the Project panel to the composition icon in the Project window. This action will create a composition based on the properties of the media and its duration.
Figure 1.9: Using the Project panel to create new compositions
Files can also be dragged and dropped into the new composition window group. However, this option can only be used when there is no pre-existing composition in the workspace.
Figure 1.10: Using the Composition panel to create a new composition
Alternatively, you can also create a new composition by going to Composition | New compositions or using the Ctrl + N (Windows) or Cmd + N (macOS) keyboard shortcut.
Figure 1.11: Using the Composition menu to create new compositions
Note that the resolution used here is just for previewing reasons and has no effect on the project’s render resolution.
Figure 1.12: The Composition Settings window
Let’s take a look at the composition’s layer properties.
To examine the layer properties, navigate to the drop-down menu next to the layer. The only property in our example earth.mp4 layer is Transform, and the Transform property includes sub-properties such as Anchor Point, Position, Rotation, and Opacity. We may also use shortcuts to access these attributes, and we can view them individually or as a group of properties. To do so, first, click on the layer.
The following shortcuts can be used to access the layer’s properties:
The following figure lists all the Transform properties of the earth.mp4 layer in the Timeline panel.
Figure 1.13: The Timeline panel with the layer transform properties listed
You can use the preceding shortcuts with the Shift key to see multiple layer properties at the same time. For a better understanding, let’s add another layer.
Drag the fire footage from the Project window to the earth layer in the composition.
If you want to get a preview of your animation or media, use the spacebar at any time. The fire layer has become the foreground in our case, while the earth layer has become the background. The preview of our earth layer is hidden due to the black background of our fire layer.
We must now adjust this layer in order to blend the fire layer over the earth layer in the composition. We may use the various blending modes for the fire layer to accomplish this. You can change the blending mode of the layer as follows:
Figure 1.14: The Timeline panel with the toggle switches/modes highlighted
We can set the fire layer blend mode to Normal, as shown in Figure 1.15:
Figure 1.15: The fire layer blend mode is Normal
Figure 1.16: The fire layer blend mode is now Screen
After Effects accomplishes the effect in Figure 1.16 by removing the fire layer’s darker hues.
Note
Blend modes, also known as blending modes or composite modes, are features found in image editing and compositing software, including Adobe Photoshop, Adobe After Effects, and other similar programs. Blend modes determine how two layers or elements blend or interact with each other visually when they are combined.
Blend modes work by mathematically combining the pixel values of two layers to produce a new resulting color. Each blend mode has a specific algorithm that determines how the pixel values of the layers are combined. The resulting color is then displayed based on this combination.
Having used the blend mode for the layers, we have successfully blended the fire and earth layers. Next, we will explore how to trim the composition duration to match the duration of the fire footage layer within the composition.
The composition duration is 13 seconds. We need to cut the composition duration down to roughly 6 seconds to fit the duration of the fire layer. This can be done by following these steps:
Figure 1.17: The Timeline panel indicating the timeline’s work area range
Figure 1.18: The Timeline panel (right-clicking between the in and out points to trim the timeline)
This will trim the composition and allow you to see the complete composition on the timeline.
The new duration of the composition is six seconds. Let’s now add a text layer to our composition. To do so, follow these steps:
Figure 1.19: The text tool
Global Warning.
Figure 1.20: Using the Character panel to customize the text properties
Now let’s animate the text layer property:
It’s worth noting that only attributes with the stopwatch icon can be animated in After Effects. Keep the play head at the start of our composition.
0 (you will see a diamond-shaped icon in the timeline, which indicates that the keyframe has been added to the timeline).
Figure 1.21: The Timeline panel with the Opacity property
100 percent. As soon as you do so, After Effects will automatically add a keyframe at three seconds.
Figure 1.22: View of the final composite
As we have now completed the animation and compositing of this composition, in the next section we will learn how to render the composition to convert it into a video that can be played back in any video player.
Change the font size
Change margin width
Change background colour