|
Part Three An Introduction to Adobe After Effects
In the last issue, I explored some basic animation capabilities of After Effects by moving still images to make an airplane seem to fly. That exercise introduced the concept of working with a layer-based timeline, where each piece of footage is in its own layer. In this lesson, Ill introduce the basics of working with video footage in the AE timeline: how to use in and out points for trimming, how to speed up and slow down footage and how to play material backwards. These are familiar tasks for editors, but AE implements them differently than some editing applications. Rather than offering a step-by-step tutorial as I did last time, Ill explain some basic techniques for manipulating video and leave it to you to practice them with materials Ive posted on the Guild web site. Click here to find a sample QuickTime movie of swimming fish and a project file in which the movie is manipulated run backwards, sped up and slowed down. Importing and Interpreting Footage We import video footage exactly as we import still images, either by selecting Import from the
Regardless of what format or type of material you import into a project, its a good idea to check how AE is reading it before you start to work with it and place it into a composition. While AE is a smart program, it doesnt always interpret frame rate and alpha channels correctly. You can check the settings assigned to your clip by selecting it in the Project Window and looking at the specifications next to the displayed thumbnail (see Figure 2). If AE is interpreting the footage incorrectly, you can change its settings by selecting Interpret Footage from the File menu, and then choosing Main. You can then specify the frame rate of the footage, its field dominance and its type of alpha channel. You can even remove 3:2 pull-down from film transfers here. Ill cover pulled-down and interlaced footage in more detail in a future column. Creating a Composition and Choosing Settings You are now ready to drop the footage into a timeline and start working with it. You can use your footage in any type of composition. The frame rate of the source clip and its resolution in pixels do not necessarily have to match the settings of the comp you create. To create a new timeline, select New Composition from the Composition menu. When the Composition Settings dialog box appears, specify the editing time base (frame rate) and resolution (in pixel dimensions) for your composition. Youll notice a pop-up menu of various
After Effects makes a distinction between a native composition and the files that are rendered from it. You can render a file as many times as you want, at a different resolution each time, from film to video to web. But remember that while you can safely render down without losing quality, you cannot render a small comp up to a higher resolution without introducing artifacts and degrading the image. So if you plan to output your project in several different resolutions, make sure your comp is set to the highest resolution you will need. Contrary to what you might think, all pixels are not created equal, and different output and tape formats employ different pixel aspect ratios. When youre working in AE, I recommend that you always use a square pixel ratio in your comp settings. If you work with rectangular pixels, the image on your computer will appear squashed. If you work with this distorted image in the Comp Window, the effects you apply and animated elements you add might look different when the movie is rendered and displayed on a video screen, and features like motion sketch and motion tracking (which well cover later in this series) can be affected as well. When working for television, I usually set up my comps to 768 x 576 with square pixels (Figure 3). This is the largest size in the TV and video settings group, and it will allow for the slightly higher-resolution European market and also facilitate rendering down for NTSC. If you are working exclusively for NTSC delivery, then I suggest 720x540 with square pixels. Either way, youll create rectangular pixels only when you do your final render. For projects that will finish on NTSC video, I recommend working at 29.97 frames per second, drop frame. But because your comp settings dont have to match your render settings, you can always change your frame rate when you render out the project. Once again, though, its always better to render down, to avoid artifacts, so set your comp frame rate to the highest possible setting youll need. Adding Video Footage to the Composition To add video to your comp, simply drag the footage from the Project Window into the Timeline or Comp Window. The footage will appear as a timeline layer, just like the still images we used in the last exercise. You can add the same piece of footage to the comp several times, and it will appear as a new layer each time it is added. Keep in mind that each layer has its own set of transform properties that you can animate. So if your clip is just a little shy of filling the screen, use the Scale property to size it up, or if you want to position it so that it shows only in the top right corner, simply drag the layer in the comp window to move it. To fade footage in or out, or create cross dissolves between layers, simply set some key frames for the Opacity property.
Set In and Out Points When you drop footage into a comp, it appears in the Time Layout Window as a yellow bar with a little gray handle at each end representing the clips in and out points. This is different from still art, which appears as a pink bar that runs the full length of the comp. You can, of course, change the in and out points for both still image layers and video footage layers by sliding the little gray handles along the timeline (see Figure 4). You can also change in and out points in the Layer Window, which works like a source window in an editing environment. Double click on the layer name and your layer opens in the Layer Window. Move the blue time marker as needed and click the in or out point icons to set new start and end frames (see Figure 5). Or use keyboard shortcuts: Option-[ for set-in and Option-] for set-out. Looping AE offers several ways to loop a clip, with varying degrees of control. If all you want to do is loop the same clip over and over, select the material in the Project Window and then specify a
Another way to loop footage is to place the same clip in the Timeline several times and offset each one so the footage loops. The advantage to this technique is that each iteration of the loop is on its own layer, giving you the ability to control the speed and direction individually. In the sample project provided, the clip loops four times (Figure 4). Time Stretch and Frame Blending In the sample project, the clip plays sped up, then plays backwards fast, then forward even faster, then backwards faster yet. To control the speed at which the layer plays, select the layer name, then from the Layer menu, choose Time Stretch. Input a value as a percentage. A smaller number will shorten the clip, speeding it up. A larger number will extend the clip, slowing it down. You can also type in a new duration in timecode. Of course, if you slow down footage too much, any motion in the clip will appear staggered. To reduce this, you can enable frame blending by checking the frame blending switch for the layer in question. This will cause AE to create new, interpolated frames and thus reduce motion artifacts. To see frame blending in previews you must also click the Frame Blending button at the top of the column, but this will slow your previews down (Figure 4). Another way to access the Time Stretch dialog box is to expose the in, out, duration, and stretch columns that are hidden in the Timeline. Click the little triangle at the bottom of the window to show or hide these columns. If you click on a value for Time Stretch here, it will bring up the dialog box for that layer. (see Figure 6)
To make clips play backwards in your composition, simply enter a negative value for Time Stretch. When you give a layer a negative Time Stretch value, its in and out points reverse, and the layer changes position in the Timeline, so youll have to slide it over to reposition it in time. A useful keyboard shortcut when sliding layers or adjusting in/out points is to hold down the Shift key while dragging. This causes the layer to snap to in and out points in other layers. Layers playing in reverse have red candy-stripe lines through them to remind you that the in and out points have been reversed. The Future... Time Stretch is the most basic way to control video footage in the AE timeline. If you feel daring, you can also experiment with Time Remapping (also found under the Layer menu). This feature gives video layers a new property that allows you to set key frames representing frames in the footage clip. This allows you to slow down, gradually speed up, freeze frame, rapidly accelerate and reverse footage, all in a single layer. Those commercials where the cars go in slow motion toward a corner, then blast off on the way out are an example of what you can do with this function. Ill cover it in depth in the future. Next time Ill explore the way AE in-betweens keyframes and show you how to create more sophisticated motion effects. In the next two issues, Ill wrap up this introductory material and move into general tips and techniques. If you have questions that youd like to see answered here, please let me know. |