- After Effects User Guide
- Beta releases
- Getting started
- Workspaces
- Projects and compositions
- Importing footage
- Text and Graphics
- Text
- Motion Graphics
- Work with Motion Graphics templates in After Effects
- Use expressions to create drop-down lists in Motion Graphics templates
- Work with Essential Properties to create Motion Graphics templates
- Replace images and videos in Motion Graphics templates and Essential Properties
- Animate faster and easier using the Properties panel
- Drawing, Painting, and Paths
- Overview of shape layers, paths, and vector graphics
- Paint tools: Brush, Clone Stamp, and Eraser
- Taper shape strokes
- Shape attributes, paint operations, and path operations for shape layers
- Use Offset Paths shape effect to alter shapes
- Creating shapes
- Create masks
- Remove objects from your videos with the Content-Aware Fill panel
- Roto Brush and Refine Matte
- Layers, Markers, and Camera
- Animation, Keyframes, Motion Tracking, and Keying
- Animation
- Keyframe
- Motion tracking
- Keying
- Transparency and Compositing
- Adjusting color
- Effects and Animation Presets
- Effects and animation presets overview
- Effect list
- Effect Manager
- Simulation effects
- Stylize effects
- Audio effects
- Distort effects
- Perspective effects
- Channel effects
- Generate effects
- Time effects
- Transition effects
- The Rolling Shutter Repair effect
- Blur and Sharpen effects
- 3D Channel effects
- Utility effects
- Matte effects
- Noise and Grain effects
- Detail-preserving Upscale effect
- Obsolete effects
- Expressions and Automation
- Expressions
- Expression basics
- Understanding the expression language
- Using expression controls
- Syntax differences between the JavaScript and Legacy ExtendScript expression engines
- Editing expressions
- Expression errors
- Using the Expressions editor
- Use expressions to edit and access text properties
- Expression language reference
- Expression examples
- Automation
- Expressions
- Immersive video, VR, and 3D
- Construct VR environments in After Effects
- Apply immersive video effects
- Compositing tools for VR/360 videos
- Advanced 3D Renderer
- Import and add 3D models to your composition
- Import 3D models from Creative Cloud Libraries
- Image-Based Lighting
- Extract and animate lights and cameras from 3D models
- Tracking 3D camera movement
- Cast and accept shadows
- Embedded 3D model animations
- Shadow Catcher
- 3D depth data extraction
- Modify materials properties of a 3D layer
- Work in 3D Design Space
- 3D Transform Gizmos
- Do more with 3D animation
- Preview changes to 3D designs real time with the Mercury 3D engine
- Add responsive design to your graphics
- Views and Previews
- Rendering and Exporting
- Basics of rendering and exporting
- H.264 Encoding in After Effects
- Export an After Effects project as an Adobe Premiere Pro project
- Converting movies
- Multi-frame rendering
- Automated rendering and network rendering
- Rendering and exporting still images and still-image sequences
- Using the GoPro CineForm codec in After Effects
- Working with other applications
- Collaboration: Frame.io, and Team Projects
- Memory, storage, performance
- Knowledge Base
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).
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. For more information, see same composition Setup and installation.
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.
When rendering across a network that includes volumes using different network or operating systems, such as Windows, Mac OS, 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 Macintosh HD in Mac OS), 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.
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.
This procedure assumes that you have already created a multiple-computer watch-folder.
-
In the Render Queue panel, drag the output module to the Project panel. After Effects creates a placeholder for that item’s output.
-
Drag the placeholder back to the Render Queue panel.
-
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 (Mac OS) to the Watch This Folder.aep project and move it to your Startup folder (Windows) or your Startup Items folder (Mac OS). 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]
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.
Aharon Rabinowitz provides a video tutorial on the Creative COW website that goes through and explains the steps for rendering a still-image sequence with multiple computers.
Set up the network
Follow the process illustrated in the image to understand the requirements to set up the network.
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.
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:
-
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.
ملاحظة: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.
-
Open the project on one computer and select Composition > Add To Render Queue.
-
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.
-
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.
-
Save the project on the computer where you opened it in step 2.
-
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.
-
Unless the network can handle large file transfers rapidly, copy the project file and all its source footage to each rendering computer.
-
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.
-
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:
-
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.
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.)
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.)