ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Thumbnails from Markers

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mackie john
Thumbnails from Markers
on May 26, 2019 at 6:57:10 am

Is it possible to extract a Thumbnail from a marker using aerender.exe or any other forms of expressions from within aftereffects.


Return to posts index

Tomas Bumbulevičius
Re: Thumbnails from Markers
on May 26, 2019 at 8:18:42 am

Hey Mackie, with expressions - not possible.

Despite of that, there is a fast way to do it with the help of scripting. Are you familiar with it?

The code below should do it:

var comp = app.project.activeItem; //Active composition in AE
var markerProp = comp.markerProperty;
var markerKeys = markerProp.numKeys;
for (var i = 1; i<= markerKeys; i++){
var saveFile = new File(RENDER_PATH + "/" + FILE_NAME + "_" + i+".png");
var curMarkerTime = markerProp.keyTime(i);
comp.saveFrameToPng(curMarkerTime, saveFile);

var loopLength = 10;
while (saveFile.exists == false && loopLength) {
$.sleep(250);
loopLength--;
}


Where, RENDER PATH is your path to export, and FILE_NAME is your preferred name, both in strings.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview


Return to posts index

Mackie john
Re: Thumbnails from Markers
on May 26, 2019 at 4:21:19 pm

THanks this is what I'm looking for. I can now run this trough as an ExtendedScript using aerender.exe, correct.


Return to posts index


Tomas Bumbulevičius
Re: Thumbnails from Markers
on May 26, 2019 at 7:38:58 pm

Mackie, yes, you can run this through Extendscript, but aerender won't be required. Just make sure AE project is opened and active composition is selected.

This approach of exporting thumbnails as .pngs is the fastest way of doing it. A bit less control over profile than RQ items, but still faster than aerender.exe triggering.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]