A .aep (After Effects Project) parser
Project description
aep_parser
An After Effects file parser in Python!
Explore the docs »
About The Project
This as a .aep (After Effects Project) parser in Python. After Effects files (.aep) are mostly binary files, encoded in RIFX format. This parser uses Kaitai Struct to parse .aep files and return a Project object containing items, layers, effects and properties. The API is as close as possible to the ExtendScript API, with a few nice additions like iterators instead of collection items.
Installation
pip install aep-parser
Usage
from aep_parser import parse_project
# Parse an After Effects project
project = parse_project("path/to/project.aep")
# Access every item
for item in project:
print(f"{item.name} ({type(item).__name__})")
# Get a composition by name and its layers
comp = project.composition("Comp 1")
for layer in comp.layers:
print(f" Layer: {layer.name}, in={layer.in_point}s, out={layer.out_point}s")
# Access layer's source (for AVLayer)
if hasattr(layer, "source") and layer.source:
print(f" Source: {layer.source.name}")
# Get file path if source is footage with a file
if hasattr(layer.source, "file"):
print(f" File: {layer.source.file}")
# Access render queue
for rq_item in project.render_queue.items:
print(f"Render: {rq_item.comp_name}")
for om in rq_item.output_modules:
# Settings are a dict with ExtendScript keys
video_on = om.settings.get("Video Output", False)
print(f" Output: {om.name}, video={video_on}")
Roadmap
See the open issues for a full list of proposed features and known issues.
Contributing
See the full Contributing Guide on GitHub.
License
Distributed under the MIT License.
Contact
Aurore Delaunay - del-github@blurme.net
Acknowledgments
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aep_parser-0.1.1.tar.gz.
File metadata
- Download URL: aep_parser-0.1.1.tar.gz
- Upload date:
- Size: 112.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a13c73c47a3715ba12e9e67f394d5cb98f6abbd0fb6d59353b864d0922b0ace6
|
|
| MD5 |
3a0de8aed1c14d8add1a32b38e7bd2f7
|
|
| BLAKE2b-256 |
e8ef8b51e75d70dd66bbeddacdf67d2231bd7e71ba93dc6c2ade9281cfdf3740
|
File details
Details for the file aep_parser-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aep_parser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 107.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d093226df8ba846999af0d15c6cc451744d52e1698145a864091585f78e538f
|
|
| MD5 |
5db86f47a497c1c2901256850b288571
|
|
| BLAKE2b-256 |
1a05f5824e4920532499396768cfabbbd302fea57d5fb19c818bae0a52d0da40
|