Copy link to clipboard
Copied
I have a question about jsx scripts in after effects.
Do you know any way to access the duration/length of the original source clip from inside the extendscript environment?
something like app.project.item(x).source.duration?
Or does anyone have an idea how to read the EXIF data of a source clip?
Copy link to clipboard
Copied
Well, there's this app.project.item(X).duration;
Not sure about EXIF data though.
Copy link to clipboard
Copied
thats just the length of the layer. i am looking for the length of the sourced file.
Copy link to clipboard
Copied
item.duration returns a duration of an item. There's no such concept as a length in After Effects.
Copy link to clipboard
Copied
solved it by building a cli script and `system.callSystem()` it