ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to render MP4 using After Effects Script with Adobe Media Encoder

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Lal XaDa
How to render MP4 using After Effects Script with Adobe Media Encoder
on Feb 2, 2015 at 12:41:42 pm

I can add my composition to Adobe Media Encoder Queue using below command

app.executeCommand(3800);

Now how i can render it from Adobe Media Encoder using render command like this

aerender -project /path/to/project/ -comp "Composition" -v "ERRORS_AND_PROGRESS" -output output.mp4'

Thanks


Return to posts index

Constantin Veltri
Re: How to render MP4 using After Effects Script with Adobe Media Encoder
on Apr 5, 2017 at 12:21:12 pm

Hi,
This is a 2 years post but have you successfully render comp from AE through Media Encoder ?
I'm looking to do the same !

Thanks !


Return to posts index

Constantin Veltri
Re: How to render MP4 using After Effects Script with Adobe Media Encoder
on Apr 5, 2017 at 12:55:46 pm

Better later than never.

Since After Effects CC 2015.3 (13.8) you can send your comp to AME queue and render it imm├ędiate with the recently used template.

app.project.renderQueue.canQueueInAME --> false is there is nothing to render in AE
app.project.renderQueue.queueInAME(false); --> false = no render, true = render immedialty in AME

Adobe exemple :

// Scripting support for Queue in AME.
// Requires Adobe Media Encoder 11.0.
{
if (app.project.renderQueue.canQueueInAME == true)
{
// Send queued items to AME, but do not start rendering.
app.project.renderQueue.queueInAME(false);
}
else {
alert("There are no queued item in the Render Queue.");
}
}



My exemple of use :
var resultFile = new File(outputVideoPath + outputVideoName)
var renderQueue = app.project.renderQueue;
var render = renderQueue.items.add(comp);
render.outputModules[1].file = resultFile;

app.project.renderQueue.queueInAME(true);



More details : https://forums.adobe.com/thread/2230567


Return to posts index

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