You can improve performance by optimizing your computer system, After Effects, your project, and your workflow. Some of the suggestions here improve performance not by increasing rendering speed but by decreasing time that other operations require, such as opening a project.
- Improve performance before starting After Effects
- Improve performance by optimizing memory, cache, and multiprocessing settings
- Improve performance using Global Performance Cache | CC, CS6
- Improve performance by simplifying your project
- Improve performance by modifying screen output
- Improve performance when using effects
By far, the best way to improve performance overall is to plan ahead, run early tests of your workflow and output pipeline, and confirm that what you are delivering is what your client actually wants and expects. (See Planning your work.)
For a series of free video tutorials about improving performance with After Effects and Premiere Pro, see the video2brain website.
For additional resources about optimizing computer systems and After Effects for performance, see this article on the Adobe website.
Lloyd Alvarez provides the BG Renderer script on the After Effects Scripts website, which allows you to render and export compositions in the background while you continue to work in After Effects.
Improve performance before starting After Effects
- Make sure that you’ve installed the current version of After Effects, including any available updates. To check for and install updates, choose Help > Updates. For more information about updates, go to the Downloads section of the Adobe website.
- Make sure that you’ve installed the latest versions of drivers and plug-ins, especially video card drivers. To download updates for drivers and plug-ins, go to the provider’s website.
- Make sure that your system has enough RAM. Optimum performance is achieved with computer systems with at least 2 GB of installed RAM per processor core. See the documentation for your operating system and computer for details on how to check the amount of installed RAM and how to install RAM.
- Quit applications that are not necessary for your work. If you run applications other than those with which After Effects shares a memory pool, and you don’t allocate adequate memory to other applications, performance can be greatly reduced when the operating system swaps RAM to the hard disk. (See Memory (RAM) usage in 64-bit After Effects.)
For more information about improving performance by stopping software not necessary for your work, see this video on the video2brain website.
- Stop or pause resource-intensive operations in other applications, such as video previews in Adobe Bridge.
- Make sure that your system includes a display card that supports OpenGL 2.0 or later. Though After Effects can function without it, OpenGL accelerates various types of rendering, including rendering to the screen for previews. See Render with OpenGL.
- In After Effects CC and CS6, OpenGL and the GPU are important for new features, such as Ray-Traced 3D rendering on the GPU, Fast Draft previews, faster blitting to the screen, and a GPU enhanced Cartoon effect. For more information. See Render with OpenGL.
- On Windows, disable the Aero compositing mode. Hardware acceleration of panels and OpenGL features perform better in After Effects when Windows is operating in Basic mode. For information, see the Microsoft website.
- When possible, keep the source footage files for your project on a fast local disk drive. If your source footage files are on a slow disk drive (or across a slow network connection), then performance will be poor. Ideally, use separate fast local disk drives for source footage files and rendered output. For more information, see this video on the video2brain website.
- A separate fast disk (or disk array) to assign the disk cache folder to, is ideal. Because of their speed, SSDs work well for this function.
Improve performance by optimizing memory, cache, and multiprocessing settings
- Allocate adequate memory for other applications. See Memory & Multiprocessing preferences.
- Use multiple processors to render multiple frames simultaneously by selecting the Render Multiple Frames Simultaneously preference. See Memory & Multiprocessing preferences.
- Enable caching frames to disk for standard previews by selecting the Enable Disk Cache preference. In After Effects, assign as much space as possible to the Disk Cache folder (on a separate fast drive) for best performance. See Disk cache.
- Begin by using only a small number of processor cores (for example, four on a computer system with eight processor cores) for Render Multiple Frames Simultaneously multiprocessing, and then increase the number of processors used until you find the optimum number for your computer system and compositions. See Memory & Multiprocessing preferences.
Todd Kopriva provides more information about optimum memory and processor settings on the Adobe website.
Improve performance using Global Performance Cache | CC, CS6
- Import projects from After Effects CS5.5 and earlier into After Effects to take advantage of the Global Performance Cache. For details, see Disk Cache.
- Persistent disk cache improves performance by retaining frames stored in the disk cache between sessions, saving rendering time as you work on a project or other projects that might use the same cached frames.
- Use Cache Work Area In Background to fill the disk cache for a composition's work area while continuing to work. This technique is useful when you do not expect to make changes to a downstream composition, or precomposition. This feature works with multiple compositions, as well.
Improve performance by simplifying your project
By simplifying and dividing your project, you can prevent After Effects from using memory and other resources to process elements that you are not currently working with. Also, by controlling when After Effects performs certain processing, you can greatly improve overall performance. For example, you can avoid repeating an action that needs to happen only once, or you can postpone an action until it is more convenient for you.
- Delete unused elements from your project. See Remove items from a project.
- Divide complex projects into simpler projects, and then recombine them before you render the finished movie. To recombine projects, import all of the projects into a single project. See Import an After Effects project.
- Before rendering, put all of your source footage files on a fast, local disk—not the one that you’re rendering and exporting to. A good way to do this is with the Collect Files command. See Collect files in one location.
- Pre-render nested compositions. Render a completed composition as a movie so that After Effects doesn’t rerender the composition every time it is displayed. See Pre-render a nested composition.
- Substitute a low-resolution or still-image proxy for a source item when not working directly with that item. See Placeholders and proxies.
- Lower the resolution for the composition. See Resolution.
- Isolate the layer you’re working on by using the Solo switch. See Solo a layer.
For more information about improving performance by isolating what you’re working on, see this video on the video2brain website.
Improve performance by modifying screen output
You can improve performance in many ways that don’t affect how After Effects treats your project data, only how output is drawn to the screen as you work. Although it is often useful to see certain items and information as you work, After Effects uses memory and processor resources to update this information, so be selective in what you choose to display as you work. You will likely need to see different aspects of your project at different points in your workflow, so you may apply the following suggestions in various combinations at various stages.
- Turn off display color management and output simulation when not needed. See Simulate how colors will appear on a different output device. The speed and quality of color management for previews are controlled by the Viewer Quality preferences. See Viewer Quality preferences.
- Enable hardware acceleration of previews, which uses the GPU to assist in drawing previews to the screen. Choose Edit > Preferences > Display (Windows) or After Effects > Preferences > Display (Mac OS), and select Hardware Accelerate Composition, Layer, And Footage Panels.
- Close unneeded panels. After Effects must use memory and processor resources to update open panels, which may slow the work that you are doing in another panel.
- Create a region of interest. If you are working on a small part of your composition, limit which portion of the composition is rendered to the screen during previews. See Region of interest (ROI).
- Deselect Show Cache Indicators in the Timeline panel menu to prevent After Effects from displaying green and blue bars in the time ruler to indicate cached frames. See Caches: RAM cache, disk cache, and media cache.
- Deselect the Show Rendering Progress In Info Panel And Flowchart preference to prevent the details of each render operation for each frame from being written to the screen. See Display preferences.
- Hide Current Render Details in the Render Queue panel by clicking the triangle beside Current Render Details in the Render Queue panel. See Information shown for current render operations.
- Press Caps Lock to prevent After Effects from updating Footage, Layer, or Composition panels. When you make a change that would otherwise appear in a panel, After Effects adds a red bar with a text reminder at the bottom of the panel. After Effects continues to update panel controls such as motion paths, anchor points, and mask outlines as you move them. To resume panel updates and display all changes, press Caps Lock again.
Pressing Caps Lock suspends updates (disables refresh) of previews in viewers during rendering for final output, too, although no red reminder bar appears.
- Lower the display quality of a layer to Draft. See Layer image quality and subpixel positioning.
- Select Draft 3D in the Timeline panel menu, which disables all lights and shadows that fall on 3D layers. It also disables the depth-of-field blur for a camera.
- In After Effects CC and CS6, use fast draft mode while laying out and previewing a ray-traced 3D composition by selecting an option other than "Off" from the Fast Previews button.
- Deselect Live Update in the Timeline panel menu to prevent After Effects from updating compositions dynamically. See Preview modes and Fast Previews preferences.
- Display audio waveforms in the Timeline panel only when necessary. See Showing properties and groups in the Timeline panel (keyboard shortcuts).
- Disable pixel aspect ratio correction by clicking the Toggle Pixel Aspect Ratio Correction button at the bottom of a Composition, Layer, or Footage panel. The speed and quality of pixel aspect ratio correction and other scaling for previews are controlled by the Viewer Quality preferences. See Viewer Quality preferences.
- Deselect Mirror On Computer Monitor when previewing video on an external video monitor. See Preview on an external video monitor.
- Hide layer controls, such as masks, 3D reference axes, and layer handles. See Show or hide layer controls in the Composition panel.
- Lower the magnification for a composition. When After Effects displays the Composition, Layer, and Footage panels at magnifications greater than 100%, screen redraw speed decreases. (See Zoom an image for preview.)
- Set the Resolution/Down Sample Factor value of the composition to Auto in the Composition panel, which prevents the unnecessary rendering of rows or columns of pixels that aren’t drawn to the screen at low zoom levels. See Resolution.
Improve performance when using effects
Some effects, such as blurs and distortions, require large amounts of memory and processor resources. By being selective about when and how you apply these effects, you can greatly improve overall performance.
- Apply memory-intensive and processor-intensive effects later. Animate your layers and do other work that requires real-time previews before you apply memory-intensive or processor-intensive effects (such as glows and blurs), which may make previews slower than real time.
- Temporarily turn off effects to increase the speed of previews. See Delete or disable effects and animation presets.
- Limit the number of particles generated by particle effects. See Simulation effects.
- Rather than apply the same effect with the same settings to multiple layers, apply the effect to an adjustment layer. When an effect is applied to an adjustment layer, it is processed once, on the composite of all of the layers beneath it. See Create an adjustment layer.