2

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

migrated from graphicdesign.stackexchange.com Feb 2 '15 at 13:13

This question came from our site for Graphic Design professionals, students, and enthusiasts.

  • It's a little unclear what you're trying to do. Are you trying to start the media encoder render queue from the command line? – stib Feb 4 '15 at 6:54
  • Thanks. Exactly. I want to add my composition to Adobe media encoder render queue and then render it with aerender, all using after effects script – LaL ZaDa Feb 5 '15 at 9:11
  • Why not just use the second command? If you want to render something you don't need media encoder, you can just use aerender. – stib Feb 6 '15 at 5:16
  • Thanks. Stib actually i want output in MP4 format and AE latest version doesn't support MP4 as an output format so thats why i want to use Media Encoder – LaL ZaDa Feb 9 '15 at 12:09
  • try to install x264 via "mega-codec pack" and choose avi->x264 – dazzafact Nov 22 '15 at 16:14
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.