Use the platform's rendering pipeline to render existing After Effects project files directly, without running the full composition-building automation.
Use this when you:
- Already have a .aep file ready
- Just want to render the video output
- Don't need to modify layers or properties
- Want a quick way to batch render compositions
There are different types of .aep files in this project:
- Contains:
IntroTemplate,OutroTemplate - Does NOT contain:
FinalComposition - Use this for rendering individual template compositions
- Contains:
FinalComposition(with all scenes assembled) - Also contains: Duplicate scene compositions
- Created by running
basic_composition/run.py - Use this for rendering the complete video
| File | Available Compositions | How to Render |
|---|---|---|
| basic_template.aep | IntroTemplate, OutroTemplate | python render.py --comp "IntroTemplate" |
| ae_automation.aep | FinalComposition | python render.py --comp "FinalComposition" |
| Your custom .aep | Check in After Effects | python render.py yourfile.aep --comp "YourComp" |
Run without arguments to get an interactive prompt:
python render.pyYou'll be asked to:
- Provide a path to your .aep file, OR
- Use the basic composition template (auto-generated if needed)
Provide the .aep file path directly:
python render.py path/to/your/project.aepRender a specific composition by name:
python render.py myproject.aep --comp "IntroSequence"Save the rendered video to a specific directory:
python render.py myproject.aep --output "C:\Videos\Output"python render.py "C:\Projects\MyVideo.aep"python render.py myproject.aep --comp "MainComposition"python render.py
# Select option 2 when promptedpython render.py --comp "FinalComposition"
# Will use basic template automatically| Argument | Short | Description | Default |
|---|---|---|---|
project_file |
- | Path to .aep file | Interactive prompt |
--comp |
-c |
Composition name | FinalComposition or prompt |
--output |
-o |
Output directory | {project_dir}/output |
-
Find Project File
- Uses provided path, OR
- Prompts user interactively, OR
- Falls back to basic_composition template, OR
- Generates basic template if missing
-
Configure Render
- Determines composition name
- Sets output directory
- Prepares aerender command
-
Render
- Executes Adobe aerender CLI
- Streams progress to console
- Reports completion status
The rendered video will be saved as:
{output_directory}/{composition_name}.mp4
Default output directory: ./output (current working directory)
For example:
- If you run from
examples/render_only/: Output goes toexamples/render_only/output/ - If you run from
examples/basic_composition/: Output goes toexamples/basic_composition/output/
Custom output directory:
python render.py myfile.aep --output "C:\MyRenders"- After Effects installed with aerender CLI
- Valid .aep project file
- Composition exists in the project
Make sure the composition name matches exactly (case-sensitive). You can check composition names by opening the .aep file in After Effects.
Check that AERENDER_PATH is correctly set in ae_automation/settings.py.
Ensure the .aep file path is correct and accessible. Use absolute paths to avoid confusion.
- This example does NOT modify the .aep file
- It only renders existing compositions
- For automation (modifying layers, properties, etc.), use the
basic_compositionexample instead - aerender runs in a separate After Effects instance