User Guide Cancel

Automated rendering and network rendering

  1. After Effects User Guide
  2. Beta releases
    1. Beta Program Overview
    2. After Effects Beta Home
  3. Getting started
    1. Get started with After Effects
    2. What's new in After Effects 
    3. Release Notes | After Effects
    4. After Effects system requirements
    5. Keyboard shortcuts in After Effects
    6. Supported File formats | After Effects
    7. Hardware recommendations
    8. After Effects for Apple silicon
    9. Planning and setup
  4. Workspaces
    1. General user interface items
    2. Get to know After Effects interface
    3. Workflows
    4. Workspaces, panels, and viewers
  5. Projects and compositions
    1. Projects
    2. Composition basics
    3. Precomposing, nesting, and pre-rendering
    4. View detailed performance information with the Composition Profiler
    5. CINEMA 4D Composition Renderer
  6. Importing footage
    1. Preparing and importing still images
    2. Importing from After Effects and Adobe Premiere Pro
    3. Importing and interpreting video and audio
    4. Preparing and importing 3D image files
    5. Importing and interpreting footage items
    6. Working with footage items
    7. Detect edit points using Scene Edit Detection
    8. XMP metadata
  7. Text and Graphics
    1. Text
      1. Formatting characters and the Character panel
      2. Text effects
      3. Creating and editing text layers
      4. Formatting paragraphs and the Paragraph panel
      5. Extruding text and shape layers
      6. Animating text
      7. Examples and resources for text animation
      8. Live Text Templates
    2. Motion Graphics
      1. Work with Motion Graphics templates in After Effects
      2. Use expressions to create drop-down lists in Motion Graphics templates
      3. Work with Essential Properties to create Motion Graphics templates
      4. Replace images and videos in Motion Graphics templates and Essential Properties
      5. Animate faster and easier using the Properties panel
  8. Drawing, Painting, and Paths
    1. Overview of shape layers, paths, and vector graphics
    2. Paint tools: Brush, Clone Stamp, and Eraser
    3. Taper shape strokes
    4. Shape attributes, paint operations, and path operations for shape layers
    5. Use Offset Paths shape effect to alter shapes
    6. Creating shapes
    7. Create masks
    8. Remove objects from your videos with the Content-Aware Fill panel
    9. Roto Brush and Refine Matte
  9. Layers, Markers, and Camera
    1. Selecting and arranging layers
    2. Blending modes and layer styles
    3. 3D layers
    4. Layer properties
    5. Creating layers
    6. Managing layers
    7. Layer markers and composition markers
    8. Cameras, lights, and points of interest
  10. Animation, Keyframes, Motion Tracking, and Keying
    1. Animation
      1. Animation basics
      2. Animating with Puppet tools
      3. Managing and animating shape paths and masks
      4. Animating Sketch and Capture shapes using After Effects
      5. Assorted animation tools
      6. Work with Data-driven animation
    2. Keyframe
      1. Keyframe interpolation
      2. Setting, selecting, and deleting keyframes
      3. Editing, moving, and copying keyframes
    3. Motion tracking
      1. Tracking and stabilizing motion
      2. Face Tracking
      3. Mask Tracking
      4. Mask Reference
      5. Speed
      6. Time-stretching and time-remapping
      7. Timecode and time display units
    4. Keying
      1. Keying
      2. Keying effects
  11. Transparency and Compositing
    1. Compositing and transparency overview and resources
    2. Alpha channels and masks
    3. Track Mattes and Traveling Mattes
  12. Adjusting color
    1. Color basics
    2. Color management
    3. Color Correction effects
    4. OpenColorIO and ACES color management
  13. Effects and Animation Presets
    1. Effects and animation presets overview
    2. Effect list
    3. Effect Manager
    4. Simulation effects
    5. Stylize effects
    6. Audio effects
    7. Distort effects
    8. Perspective effects
    9. Channel effects
    10. Generate effects
    11. Time effects
    12. Transition effects
    13. The Rolling Shutter Repair effect
    14. Blur and Sharpen effects
    15. 3D Channel effects
    16. Utility effects
    17. Matte effects
    18. Noise and Grain effects
    19. Detail-preserving Upscale effect
    20. Obsolete effects
  14. Expressions and Automation
    1. Expressions
      1. Expression basics
      2. Understanding the expression language
      3. Using expression controls
      4. Syntax differences between the JavaScript and Legacy ExtendScript expression engines
      5. Editing expressions
      6. Expression errors
      7. Using the Expressions editor
      8. Use expressions to edit and access text properties
      9. Expression language reference
      10. Expression examples
    2. Automation
      1. Automation
      2. Scripts
  15. Immersive video, VR, and 3D
    1. Construct VR environments in After Effects
    2. Apply immersive video effects
    3. Compositing tools for VR/360 videos
    4. Advanced 3D Renderer
    5. Import and add 3D models to your composition
    6. Import 3D models from Creative Cloud Libraries
    7. Image-Based Lighting
    8. Extract and animate lights and cameras from 3D models
    9. Tracking 3D camera movement
    10. Cast and accept shadows
    11. Embedded 3D model animations
    12. Shadow Catcher
    13. 3D depth data extraction
    14. Modify materials properties of a 3D layer
    15. Work in 3D Design Space
    16. 3D Transform Gizmos
    17. Do more with 3D animation
    18. Preview changes to 3D designs real time with the Mercury 3D engine
    19. Add responsive design to your graphics 
  16. Views and Previews
    1. Previewing
    2. Video preview with Mercury Transmit
    3. Modifying and using views
  17. Rendering and Exporting
    1. Basics of rendering and exporting
    2. H.264 Encoding in After Effects
    3. Export an After Effects project as an Adobe Premiere Pro project
    4. Converting movies
    5. Multi-frame rendering
    6. Automated rendering and network rendering
    7. Rendering and exporting still images and still-image sequences
    8. Using the GoPro CineForm codec in After Effects
  18. Working with other applications
    1. Dynamic Link and After Effects
    2. Working with After Effects and other applications
      1. Export After Effects project as Premiere Pro project
    3. Sync Settings in After Effects
    4. Creative Cloud Libraries in After Effects
    5. Plug-ins
    6. Cinema 4D and Cineware
  19. Collaboration: Frame.io, and Team Projects
    1. Collaboration in Premiere Pro and After Effects
    2. Frame.io
      1. Install and activate Frame.io
      2. Use Frame.io with Premiere Pro and After Effects
      3. Frequently asked questions
    3. Team Projects
      1. Get Started with Team Projects
      2. Create a Team Project
      3. Collaborate with Team Projects
  20. Memory, storage, performance
    1. Memory and storage
    2. How After Effects handles low memory issues while previewing    
    3. Improve performance
    4. Preferences
    5. GPU and GPU driver requirements for After Effects
  21. Knowledge Base
    1. Known issues
    2. Fixed issues
    3. Frequently asked questions
    4. After Effects and macOS Ventura
    5. How After Effects handles low memory issues while previewing

Automating rendering with aerender

The executable file aerender.exe is a program with a command-line interface with which you can automate rendering. The executable file is located in the same folder as the primary After Effects application. The default locations for this file are:

  • Windows: \Program Files\Adobe\Adobe After Effects CC\Support Files

  • Mac OS: /Applications/Adobe After Effects CC

You can use the aerender application to perform rendering operations on multiple computers as part of a render farm, or you can use the aerender application on a single computer as part of a batch operation.

You use the program by entering the command aerender on the command line (or in a batch script), followed by a series of optional arguments. Some of the arguments are simple options that take no arguments of their own (for example, -reuse), whereas others take arguments of their own (for example, -project project_path).

Note:

Enter the command aerender -help to show usage information.

The version and build number of the application are written to standard output (stdout).

The render may be performed either by an already running instance of After Effects or by a newly started instance. By default, aerender starts a new instance of After Effects, even if one is already running. To instead use the currently running instance, use the –reuse argument.

This example command tells After Effects to render frames 1 through 10 of Composition_1 in project_1.aep to a numbered sequence of Photoshop files using a multi-computer render:

aerender -project c:\projects\project_1.aep -comp "Composition_1" -s 1 -e 10 
-RStemplate "Multi-Machine Settings" -OMtemplate "Multi-Machine Sequence" 
-output c:\output\project_1\frames[####].psd

To render just Composition_1 to a specified file, enter this command:

aerender -project c:\projects\project_1.aep -comp "Composition_1" -output c :\output\project_1\project_1.avi

To render everything in the render queue with current settings in the project file, enter this command:

aerender -project c:\projects\project_1.aep

Argument

Description

"-h"

"–help"

Print usage message.

"–version"

displays the version number of aerender to the console. Does not render

"–v verbose_flag"

where verbose_flag specifies the type of messages reported. Possible values are ERRORS (prints only fatal and problem errors) or ERRORS_AND_PROGRESS (prints progress of rendering as well).

–reuse

use this flag if you want to try and reuse an already running instance of AE to perform the render. By default, aerender will launch a new instance of After Effects, even if one is already running. But, if AE is already running, and the "-reuse" flag is provided, then aerender will ask the already running instance of AE to perform the render. Whenever aerender launches a new instance of AE, it will tell AE to quit when rendering is completed; otherwise, it will not quit AE. Also, the preferences will be written to file upon quit when the "-reuse" flag is specified; otherwise it will not be written.

"–mem_usage image_cache_percentmax_mem_percent"

where image_cache_percent specifies the maximum percent of memory used to cache already rendered images/footage, and max_mem_percent specifies the total percent of memory that can be used by After Effects.

"-mfr mfr_flag max_cpu_percent" where mfr_flag ("ON"|"OFF") specifies if Multi-Frame Rendering should be used, and max_cpu_percent (1-100) specifies the desired maximum CPU percentage power to use during rendering. Because Multi-Frame Rendering has the ability to use 100 percent of your CPU's capability, you may choose to limit the CPU power so other applications can be used. max_cpu_percent will be ignored when the mfr_flag is set to "OFF"

"–project project_path"

where project_path is a file path or URI specifying a project file to open.  If none is provided, aerender will work with the currently open project. If no project is open and no project is provided, an error will result.

"–comp comp_name"

where comp_name specifies a comp to be rendered. If the comp is in the render queue already, and in a queueable state, then (only) the first queueable instance of that comp on the render queue will be rendered. If the comp is in the project but not in the render queue, then it will be added to the render queue and rendered. If no -comp argument is provided, aerender will render the entire render queue as is. In this case (no -comp), the only other arguments used will be -project, -log, -v, -mem_usage, and -close; the -RStemplate, -OMtemplate, -output, -s, -e, and -i arguments will be ignored.

"–s start_frame"

start_frame is the first frame to render. Default is the start frame in the file.

"–e end_frame"

end_frame is the last frame to render. Note, this is "inclusive;" the final frame will be rendered.

"–i increment"

where increment is the number of frames to advance before rendering a new frame. A value of 1 (the default) results in a normal rendering of all frames. Higher increments will repeat the same (frame increment-1) times and then render a new one, starting the cycle again. Higher values result in faster renders but choppier motion. Default is 1.

"–OMtemplate output_module_template"

where output_module_template is the name of a template to apply to the output module. If the template does not exist it is an error. Default is to use the template already defined for the output module.

"–RStemplate render_sett ings_template"

where render_settings_template is the name of a template to apply to the render queue item.If the template does not exist it is an error. Default is to use the render template already defined for the item.

"–output output_path"

where output_path is a file path or URI specifying the destination render file. Default is the path already in the project file.

"–log log_file_path"

here logfile_path is a file path or URI specifying the location of the log file. Default is stdout.

"–sound sound_flag"

where sound_flag specifies whether or not to play a sound when rendering is complete. Possible values are "ON" or "OFF". Default value is "OFF".

"–close close_flag"

where close_flag specifies whether or not to close the project when done rendering, and whether or not to save changes. If close_flag is DO_NOT_SAVE_CHANGES, project will be closed without saving changes. If close_flag is SAVE_CHANGES, project will be closed and changes will be saved. If close_flag is DO_NOT_CLOSE the project will be left open; but the project is left open only if using an already-running nstance of AE, since new invocations  AE must always close and quit when done. Default value is DO_NOT_SAVE_CHANGES.

"-rqindex index_in_render_queue"

where index_in_render_queue specifies a render queue item to be rendered. Options that make sense when rendering a single render queue item are available like with the -comp flag.

"-continueOnMissingFootage"

Do not stop rendering on missing footage. Log and render with placeholder color bars.

Lloyd Alvarez provides a script on his After Effects Scripts website that takes items that are ready to render in the render queue and sends them to render in the background using aerender.

Network rendering with watch folders and render engines

You can render one or more compositions from a project using multiple computers over a network in a fraction of the time that a single computer would require. Network rendering involves copying the project and source files to a networked folder, and then rendering the project. A network of computers used together to render a single composition is sometimes called a render farm.

Render farming is when a network of computers is used together to render a single composition. You can set this up to work with render-only versions of After Effects called render engines.

You can install render engines in the same manner as the full version of the application. You run the render engine using the Adobe After Effects Render Engine shortcut in the Adobe After Effects CC folder. 

To install a render-only instance of After Effects CC, do the following:

  1. Go to the product page to download and install After Effects CC.

  2. When the installation is complete, start After Effects.

  3. Choose Sign Out from the Help menu.

  4. Quit After Effects.

  5. Create and place the ae_render_only_node.txt file.

You cannot use a watch folder and multiple render engines to simultaneously render a single movie file. However, in render farming, you can use multiple render engines to render a movie as a sequence of still-image files. You can then use a post-render action to create a single movie file from that still-image sequence. For more information, see Post-render actions.

Network considerations

When working with multiple render engines on multiple computers, keep in mind the following guidelines:

  • When possible, identify folders using absolute file paths so that the paths are correctly identified for all render engines. Identifying folders using absolute file paths may mean mapping network drives to a particular drive letter on all computers (for example, H:\renders\watch\). Avoid using relative paths (for example, \\renders\watch).

  • Each Macintosh computer monitoring the watch folder must have a unique name. Because the default names of computers are often identical, you should rename your computers to not use the default name.

  • Make sure that all servers and clients (computers monitoring the watch folder) have hard drives with unique names.

  • Do not use the same computer to serve a watch folder and to run After Effects in Watch Folder mode. Use a dedicated server that’s accessible to all render engines to serve your watch folder.

  • Do not render to or initiate Watch Folder mode on the root of a volume or a shared folder that appears as the root when viewed from another computer. Specify a subfolder instead. Also, avoid using high-ASCII or other extended characters and slashes in filenames. For multiple-computer rendering, After Effects includes the Multi-Machine sample template that you can use as a starting point.

Note:

When rendering across a network that includes volumes using different network or operating systems, such as Windows, macOS, Novell, and UNIX, make sure that you specify output files using a file-naming convention that’s compatible with all rendering or destination volumes.

Project considerations

Make sure that you install all fonts, effects, and encoders (compressors) used in the project on all computers monitoring the watch folder. If a computer monitoring the watch folder can’t find fonts, effects, or encoders used in a project, the render fails.

When you install an After Effects render engine on a computer, it contains all the plug-ins included with After Effects. If a composition uses a plug-in from another manufacturer, the plug-in must be present on all computers to render the composition. However, support for network rendering varies among plug-in manufacturers. Before you set up a network to render effects created by third-party plug-ins, see the documentation for your plug-ins or contact the plug-in manufacturers and get answers to the following questions:

  • Does the license agreement for the plug-in allow installing multiple copies on a network for the purposes of rendering?

  • Are there any other limitations or tips that apply to using the plug-in for network rendering?

Collect Files folder considerations

When you use the File > Collect Files command, files relevant to a project are copied to a single folder. This folder includes a copy of the project file, a render control file (RCF), and other files, depending on the options you choose in the Collect Files dialog box. If you save the Collect Files folder to a networked computer other than a server, don’t run a render engine on that computer. Avoid saving the Collect Files folder to a local disk, the root level of a disk (such as C: in Windows or the Mac HD in macOS), or a shared folder, all of which can signify different locations to each render engine. All render engines must interpret the path in the same way.

Note:

Once the collected files appear in the watch folder, all monitoring render engines start rendering automatically. If you prefer, you can use the Collect Files command to store compositions and their source footage to a specified location and then initiate the watch-folder rendering process later. Doing so renders the projects in alphabetical order, rather than the order in which they were saved to the location.

Track dependencies of a watch-folder render

You can track render dependencies when you render over a network by setting Post-Render Action options. When you set these options, After Effects confirms that all of the items that have to be rendered are ready and available. For example, if one item depends on another to render, and the first has not finished rendering or has received an error, the second does not render.

You can use this process to render a single QuickTime or AVI movie from a watch-folder render. The movie is created on only one computer.

Note:

This procedure assumes that you have already created a multiple-computer watch-folder.

  1. In the Render Queue panel, drag the output module to the Project panel. After Effects creates a placeholder for that item’s output.

  2. Drag the placeholder back to the Render Queue panel.

  3. Set the render settings and output module settings for the placeholder, and click Render.

Start in watch-folder mode

Watch-folder mode applies only to rendering from a folder on your local computer.

  • To start After Effects in watch-folder mode automatically, save a project with the filename Watch This Folder.aep. After Effects watches the folder containing the project if you open that project.
  • To start After Effects in watch-folder mode when you start your computer, create a shortcut (Windows) or alias (macOS) to the Watch This Folder.aep project and move it to your Startup folder (Windows) or your Startup Items folder (macOS). After Effects watches the folder containing the project if you open that project.
  • (Windows only) To start After Effects in watch-folder mode from the command line, choose Start > Run, and then enter the following, modifying the application path to the exact name of the folder in which you installed After Effects, and replacing C:\[temp] with the path to your watch folder: "C:\Program Files\Adobe\Adobe After Effects CC\Support Files\afterfx.exe" -wf C:\[temp]
Note:

To start the After Effects render engine rather than the full version of After Effects, use the -re option with the command. You can also use this command line in batch files.

Render farming - Render a still-image sequence with multiple computers

Render farming is when a network of computers is used together to render a single composition. You can set this up to work with render-only versions of After Effects called render engines. Render farming helps reduce the time a single machine takes to export a composition. You can use multiple computers and multiple copies of After Effects to render a composition across a network. You can use multiple computers to render only still-image sequences; you cannot use multiple computers to render a single movie.

Set up the network

Follow the process illustrated in the image to understand the requirements to set up the network.

Network rendering setup

A. Computer with full version of After Effects B. Save a project and all source files to a folder on a server C. Computers with the render engine installed D. Open the project and render a still-frame sequence to a designated output folder on the server 

You can use any number of computers for rendering; in general, the more computers, the faster the rendering. However, if too many computers are used across a busy network, network traffic may slow down the entire process. You can detect network slowdown by observing the time spent in the Compressing & Writing stage in the Current Render section of the Render Queue panel.

Note:

Adobe does not provide technical support for general network configuration; consult your network administrator.

Render a still-image sequence with multiple computers

Important points in the process of rendering a still image sequence with multiple computers: 

  • To render a still-image sequence with multiple computers, you can use any number of computers. 
  • When you render a still-image sequence with multiple computers, rendering in each copy of After Effects starts at approximately the same time. 
  • If your queued render items are set to Skip Existing Files (a Render Settings option), the render process skips the existing frames or frames in progress. 
  • Multiple computers can render the project simultaneously, writing the still-image sequence to a single folder.

To render a still-image sequence, follow these steps:

  1. Install After Effects on each computer that is used to render the project. Make sure that you have the same fonts installed on each computer.

    Note:

    Do not share plug-ins across a network. Make sure that you have a copy of the plug-ins folder on each computer that is running After Effects. When using third-party plug-ins, also be sure that the same plug-ins are available on all computers and that you have sufficient licenses for the plug-ins.

  2. Open the project on one computer and select Composition > Add To Render Queue.

  3. In Render Queue panel, specify a format in the Output Module area, and specify a folder in the Output To area. This folder must be available for all the computers that are rendering.

  4. In the Render Queue panel, select Skip Existing Files (allow multi-machine rendering) in the Render Settings section so that multiple computers do not render the same frames. Do not use multiple output modules for one render item when using skip existing files.

  5. Save the project on the computer where you opened it in step 2.
  6. On each computer that will be rendering, open and save the project. Saving the project ensures that After Effects records the new relative paths to each computer in the following step.
  7. Unless the network can handle large file transfers rapidly, copy the project file and all its source footage to each rendering computer.
  8. Open the Render Queue panel on each computer and click Render. You do not need to start rendering on each computer simultaneously, but to ensure equal workloads, start them at approximately the same time. As each computer finishes rendering a frame, After Effects searches the Output folder for the next unrendered frame and starts rendering again.

  9. You can stop and start any computer at any time. However, if you stop a computer without starting it again, the frame that it was rendering may not be finished. If one or more computers stop during rendering, starting any one computer ensures that all frames in the sequence get rendered.

Run aerender in non-royalty bearing mode

After Effects CS5.5 had to be serialized on render-only machines due to licensing issues. In After Effects CS6 and later, you can now run aerender or use Watch Folder in a non-royalty bearing mode, so serialization not required.

To ensure that After Effects is running in non-royalty bearing mode, place a blank file named  ae_render_only_node.txt into the following location:

  1. Install After Effects on the render-only machine.

    • Mac locations:

      /Users/<username>/Documents/

      /Users/Shared/Adobe/

    • Windows locations:

      C:\Users\<username>\Documents

      C:\Users\Public\Documents\Adobe

Segment settings

Segment settings are in the Output preferences category.

Note:

Choose Edit > Preferences > Output (Windows) or After Effects > Preferences > Output (Mac OS).

After Effects can render sequences and movie files into segments that are limited to a specified number of files or by file size. This is useful when preparing a movie for a medium such as CD-ROM, for which file or folder size may need to be limited to chunks of 650 MB or less. Use the Segment Video-only Movie Files At value to set the maximum size for segments in megabytes. Use the Segment Sequences At value to set the maximum number of still-image files in a folder.

If you are exporting a movie that is larger than the maximum file size for your hard disk formatting scheme, then you can set the Segment Video-only Movie Files At value to a value under this maximum. Hard disks formatted for Windows can be formatted using the FAT, FAT32, or NTFS scheme. The maximum file size in the FAT scheme is 2 GB, and the maximum file size in the FAT32 scheme is 4 GB. The maximum size for a file for NTFS is large (approximately 16 terabytes), so you are unlikely to reach this limit with a single movie.

Only movies that do not contain audio can be segmented. If an output module includes audio, the Segment Video-only Movie Files At preference is ignored for that item.

The Segment Sequences At preference is ignored for any render item for which Skip Existing Files is selected in the render settings. (See Render settings reference.)

Note:

After Effects won’t render and export a segmented movie to the root directory (e.g., C:\). To render and export a segmented movie, choose an output directory other than the root directory. (See Specify filenames and locations for rendered output.)

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online