Skip to content

jhd3197/after-effects-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 After Effects Automation

PyPI version License: MIT Python 3.7+ Downloads

au_automation

Automate Adobe After Effects with Python - Create, modify, and render AE compositions programmatically.

Perfect for batch video production, template-based workflows, and automated content creation.

πŸ“¦ PyPI Package: pypi.org/project/after-effects-automation

Tip

Starring this repo helps more developers discover after-effects-automation ✨

after-effects-automation

πŸ”₯ Also check out my other project RepoGif – the tool I used to generate the GIF above!


πŸ“‘ Table of Contents


⚑ Quick Start

# 1. Install from PyPI
pip install after-effects-automation

# 2. Setup After Effects integration
python install_ae_runner.py

# 3. Run an example
cd examples/basic_composition
python run.py

That's it! A 10-second video will be created automatically.

πŸ“¦ PyPI: pypi.org/project/after-effects-automation πŸ“– Need more help? See the Quick Start Guide


✨ What Can It Do?

  • 🎨 Template Creation - Build AE templates programmatically
  • πŸ“ Text Automation - Update text layers with dynamic content
  • ⚑ Batch Processing - Render hundreds of variations automatically
  • 🎬 Scene Management - Assemble complex timelines from templates
  • πŸ”§ Full AE Control - Access all After Effects features via Python
  • πŸš€ Fast Workflow - Batch system speeds up multi-scene projects

πŸ“š Documentation

Guide Description
Installation Complete installation and setup
Quick Start Get started in 5 minutes
Examples Practical working examples
CLI Guide Command-line usage
Troubleshooting Common issues and fixes
Process Management Understanding the automation flow

🎯 Examples

Basic Composition

Create a video with intro and outro in ~2 minutes:

cd examples/basic_composition
python run.py

Text Animation

Multi-layer text with dynamic content:

cd examples/text_animation
python run.py

Render Only

Quickly render existing .aep files:

cd examples/render_only
python render.py

πŸ“– More Examples: See examples/README.md


πŸ–₯️ Compatibility

Software Versions
After Effects 2024, 2025, 2025 Beta (CC versions should work)
Python 3.7+
OS Windows, macOS, Linux (experimental)

βš™οΈ How It Works

graph LR
    A[Python Script] -->|JSON Commands| B(JS Bridge)
    B -->|ExtendScript| C{After Effects}
    C -->|Builds| D[Composition]
    D -->|aerender| E[Final Video]

Loading
  1. Python defines what you want to create
  2. JavaScript bridge sends commands to After Effects
  3. After Effects builds the composition
  4. aerender renders the final video

πŸ“– Technical Details: See Process Management Guide


πŸš€ Features Detail

Core Features

  • βœ… Automated composition creation & Timeline manipulation
  • βœ… Text layer updates & Property keyframing
  • βœ… Resource management & Batch rendering

Advanced Features

  • βœ… Batch Script Execution - Multiple commands in single operation
  • βœ… Smart Defaults - Intelligent composition detection
  • βœ… Process Management - Efficient AE instance handling
  • βœ… Real-time Communication - File-based command queue

Recent Improvements (v0.0.4+)

  • πŸ†• Fixed Batch System - Black video bug resolved
  • πŸ†• Render-Only Mode - Quick .aep file rendering
  • πŸ†• UTF-8 Support - Proper Unicode handling on Windows
  • πŸ†• Smart Composition Defaults - Auto-detects correct composition

πŸ› οΈ CLI Tools

Automation

Run automation from a config file using the command line:

ae-automation config.json

Web Editor (Visual Interface)

Prefer a GUI? Launch the visual editor to modify your configs without touching JSON.

ae-editor config.json

(Note: Replace this link with your actual screenshot link)


πŸ› Troubleshooting

Common Issues

After Effects won't start?

  • Check .env has correct AE path
  • Verify AE version matches path (2024 vs 2025)

Scripts not executing?

  • Enable scripting: Edit > Preferences > Scripting & Expressions
  • Install startup script: python install_ae_runner.py

Empty/black video?

  • Update to latest version: pip install --upgrade after-effects-automation
  • This was a bug in the batch system (now fixed)

πŸ“– More Solutions: See Troubleshooting Guide


🀝 Contributing

Contributions welcome! Here's how:

  1. Report bugs - GitHub Issues
  2. Share examples - Add to examples/ folder
  3. Improve docs - All .md files in repo
  4. Submit PRs - Bug fixes and features

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for full details.

Adobe After Effects is a trademark of Adobe Inc. This project is not affiliated with, endorsed by, or sponsored by Adobe Inc.


Disclaimer

This project is an automation and middleware tool for Adobe After Effects. It requires a valid Adobe Creative Cloud license to use.

The tool works by translating Python commands into Adobe-supported ExtendScript (JavaScript) instructions that After Effects already supports natively.

  • It does not modify, crack, patch, or bypass Adobe software
  • It does not distribute Adobe assets or binaries
  • It does not enable use of After Effects without a license

We do not support or condone software piracy in any form.

By using this project, you confirm that you have obtained Adobe After Effects through official channels at https://www.adobe.com/products/aftereffects.html.


πŸ“ž Get Help


Made with ❀️ by the After Effects Automation community