-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My discoveries on the AEP format #4
Comments
I have struggled the last days to figure out how the After Effects version is encoded in the head block. Unfortunately I wasn't successfull. But I can tell that at offset(h): 27 the byte is the hex value for the build number. The build number is written in the splash window "About After Effects". Offset 26 seems to contain the last digit from i.e. version 23.2.1. However it is not consistend. Moreover I am thinking that offset 20 to 22 don't play a role at all because these change almost never. It is just some surface analysis. But for error handling it is nice to determine which version was used to save a project. |
Regarding AE version number: you can extract that data from the xmp metadata (it's after the RIFF data, at the bottom of the file) <xmp:CreatorTool>Adobe After Effects CC 2017 (Windows)</xmp:CreatorTool> On some versions of AE it seems to also expose the internal version number, but I've been unable to map it to the |
Unfortunately the CreatorTool field of the xmp metadata is unreliable in modern versions of After Effects, at a minimum on macOS. See this bug for additional details: https://community.adobe.com/t5/after-effects-bugs/creatortool-field-of-project-metadata-isn-t-accurate-in-after-effects-2022-and-2023/idc-p/13651472 |
The xmp information at the end of the file is unfortunately not of value. I have some project files to compare with and the metadata is most of the time the following from 15x up to CC 2023:
And as post of @knlandes points out, even Photoshop is named. In CC 2022 22.5.0 build 53 is says
|
Thank you for sharing this information. Has anybody figured out a way to get the After Effects version number for any given .aep file? Or is this not possible? |
I have started an open project with a different approach. https://github.com/tinogithub/aftereffects-version-check/tree/main |
Thank you for sharing your code! Does the method work for AEPs created both on Windows and macOS? |
Yes. |
If you need them I have a couple values I found listed here: https://lottiefiles.github.io/lottie-docs/aep/#head |
Thank you @mbasaglia , during my research I had come across your information which I have already added. |
@mbasaglia I've added all of the 2022, 2023, and 2024 hex values (sans Beta builds) to @tinogithub's repo, if you want them for your docs. It looks like your values might be skipping https://github.com/tinogithub/aftereffects-version-check/blob/main/ae-builds.json |
Just in case someone's interested, I've been trying to figure out more details on the AEP format. I've documented my discoveries in here: https://lottiefiles.github.io/lottie-docs/aep/
I've also written a script that export the contents of an aep file into yaml, destructuring all the binary chunks into more useful data: https://gitlab.com/mattbas/python-lottie/-/blob/master/bin/aep_dump.py
I haven't been able to figure out everything, but I managed to extract information about a lot of different layer types, shapes, keyframes, etc.
The text was updated successfully, but these errors were encountered: