Skip to content

Easy to use promise based renderer for After Effects files using aerender.exe

Notifications You must be signed in to change notification settings

SteveLewisZA/node-aerender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-aerender

Render After Effects projects in NodeJS.

A dead simple, promise based aerender wrapper with progress reporting.

As used in modeck.io.

Installation

npm install node-aerender

Usage

import render from "node-aerender";

let aePath = "C:\\Program Files\\Adobe\\Adobe After Effects 2022\\Support Files";

let config = {
  project: "C:\\Folder\\AEProject.aep",
  comp: "Comp 1",
  output: "C:\\Folder\\Render.avi",
  OMtemplate: "Lossless with Alpha"
};

render(aePath, config, (progress) => {
  console.log(progress + "%");
}).then(() => {
  console.log("DONE");
});

Configuration

The render config is parsed as an object, the keys of the object correspond with aerender arguments listed HERE (excluding the dashes in front of argument names)

For example:

let config = {
  project: "C:\\Folder\\AEProject.aep",
  comp: "Comp 1",
  OMtemplate: "Lossless with Alpha",
  output: "C:\\Folder\\Render.avi",
  reuse: true,
  s: 30,
  e: 120
};

This equates to an aerender command as follows:

aerender -project "C:\Folder\AEProject.aep" -comp "Comp 1" -OMtemplate "Lossless with Alpha" -output "C:\Folder\Render.avi" -reuse -s 30 -e 120

About

Easy to use promise based renderer for After Effects files using aerender.exe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published