Activity › Forums › Adobe After Effects › Thumbnails from Markers
-
Thumbnails from Markers
Posted by Mackie John on May 26, 2019 at 6:57 amIs it possible to extract a Thumbnail from a marker using aerender.exe or any other forms of expressions from within aftereffects.
Tomas Bumbulevičius replied 7 years ago 2 Members · 3 Replies -
3 Replies
-
Tomas Bumbulevičius
May 26, 2019 at 8:18 amHey 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 -
Mackie John
May 26, 2019 at 4:21 pmTHanks this is what I’m looking for. I can now run this trough as an ExtendedScript using aerender.exe, correct.
-
Tomas Bumbulevičius
May 26, 2019 at 7:38 pmMackie, 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
Reply to this Discussion! Login or Sign Up