Looping a Composition - After Effects
From Help Wiki
Revision as of 11:50, 17 November 2011 by Haramy27
This will loop your selected composition.
Looping a Composition
- Set your work area start and end points to the section of the composition you wish to loop. Then from the Menu bar, select Composition > Trim Composition to Work Area.
- Create a new composition (Command N) and keep your settings the same as the original composition. Then place the newly trimmed composition that you wish to loop (from the project panel) into your newly created composition by dragging it to the new composition panel (See note *).
- Now, in the new composition, go to the Menu bar and select Layer > Time > Enable Time Remapping. Time Remapping will create two key frames: one at the beginning of your composition and one at the end.
- Move to the very last key frame, step backwards one frame, and create a new keyframe.
- On the very last keyframe, double click on it and change the time to 0. Then double click on the last keyframe and delete it from your composition.
- Select the Time Remapping effect from the layer's composition panel to activate it, and from the Menu bar, select Animation > Add Expression.
- Time Remapping will now have an expressions box in the composition. Click on the Expressions Language menu icon in the composition panel; it will look like this: , and then Property > LoopOut(Type="Cycle", numKeyframes = 0) will show up in the expressions box. Leave this as it is.
- Now you may extend the looping composition (by clicking and dragging it longer) and it will loop as many times as you want, repeatedly.
- NOTE: This is different from pre-composing or nesting your clips. For more information about what pre-composing or nesting clips does, click on these links: _________. If you pre-compose when trying to loop, however, any effects or changes made to the pre-composition will not directly affect changes on the master composition. In other words, any looping changes made to the pre-composition won't be added to the master composition. This can cause problems if you are rotobrushing, for example.
Editing Master Composition
- Now, if you want to add this looped composition back to your master composition, you can edit this together manually (as stated earlier, pre-composing won't do this automatically for you). To do this:
- Select the new composition that has your looped changes made to it.
- Then add a new layer to this composition by dragging the original master composition from the project panel to the composition panel.
- Select the new layer and move your playhead to the point where you want to break up the new layer (to add in the looped section). Then go to the Menu bar and select Edit > Split Layer (or press Shift, Command, D).
- Now you can move the layers around as needed to edit these changes back together.