• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

script to trigger rendering as a background process?

Explorer ,
Jun 13, 2020 Jun 13, 2020

Copy link to clipboard

Copied

Hi,

Is there a way to execute the render from a javascript using not the AE application itself but the render engine so the user can continue to work in AE while the render happens as a background process?

Thank you,

A

TOPICS
Expressions , How to , Scripting

Views

889

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 14, 2020 Jun 14, 2020

Ae scripts can execute command line commands with System.callSystem()

so you should be able to exeute aeRender.exe (the  render engine) with that.

Here is a documentation of aeRender.exe

https://helpx.adobe.com/after-effects/using/automated-rendering-network-rendering.html

Votes

Translate

Translate
Community Expert ,
Jun 13, 2020 Jun 13, 2020

Copy link to clipboard

Copied

I think that's how Background Renderer is doing it

http://www.aenhancers.com/viewtopic.php?t=544

https://aescripts.com/bg-renderer/

Mathias Mƶhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 14, 2020 Jun 14, 2020

Copy link to clipboard

Copied

Thank you Mathias,

I am interested to build something myself not to purchase.

Any resources/tutorials/documentation that anyone knows about would be appreciated.

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 14, 2020 Jun 14, 2020

Copy link to clipboard

Copied

Ae scripts can execute command line commands with System.callSystem()

so you should be able to exeute aeRender.exe (the  render engine) with that.

Here is a documentation of aeRender.exe

https://helpx.adobe.com/after-effects/using/automated-rendering-network-rendering.html

Mathias Mƶhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 14, 2020 Jun 14, 2020

Copy link to clipboard

Copied

Perfection! This is what I needed!

Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 17, 2022 May 17, 2022

Copy link to clipboard

Copied

I need to do time-consuming renders from AE (as opposed to Media Encoder which doesn't support premultiplied alpha exports). But I have a lot of work to do, so I need to continue using AE while it renders.

 

Looking through the page you linked to, it sounds like what I need to do is:

 

1) Add my renders to the render cue, set my render settings and filename

2) Save my AE project

3) Open the command prompt and enter the following command:

aerender -project c:\projects\project_1.aep (where the location and file name are those of the project I just saved)
 
Is that right?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 17, 2022 May 17, 2022

Copy link to clipboard

Copied

LATEST

It's not working. Getting an error message even when using command prompt with admin privileges. Here's the command I issued and resulting messages:

C:\Program Files\Adobe\Adobe After Effects 2022\Support Files>aerender -project E:\Active Projects\Blue Moon Productions\Sobeys\Sobeys_Recognition Tour Sizzler\Sobeys_Recognition Tour Sizzler_96771\Video Editor\Project Files\After Effects\Sobeys_Recognition Tour Sizzler_96771.aep
aerender version 22.4x56
InitializeFileLogging failed
name : NVIDIA GeForce RTX 2060 SUPER
VendorId : 4318
DeviceId : 7942
SubSysId : 1072763992
Revision : 161
DedicatedVideoMemory : 8421113856
DedicatedSystemMemory : 0
SharedSystemMemory : 34332557312
MemoryBudget : 7615807488
AdapterLuid.LowPart : 68055
AdapterLuid.HighPart : 0
Flags : 0
DoublePrecisionFloatShaderOps : yes
ConservativeRasterizationTier : 3
CrossNodeSharingTier : 0
ResourceBindingTier : 3
ResourceHeapTier : 2
TiledResourcesTier : 3
NodeIndex : 0
TileBasedRenderer : no
UMA : no
CacheCoherentUMA : no
feature level : 0x00009100
feature level : 0x00009200
feature level : 0x00009300
feature level : 0x0000a000
feature level : 0x0000a100
feature level : 0x0000b000
feature level : 0x0000b100
feature level : 0x0000c000
feature level : 0x0000c100
MaxSupportedFeatureLevel : 0x0000c100
HighestShaderModel : 0x60
WaveOps : yes
WaveLaneCountMin : 32
WaveLaneCountMax : 32
TotalLaneCount : 2176
ExpandedComputeResourceStates : yes
Int64ShaderOps : yes
RootSignature.HighestVersion : 0x2
[620][Warn] [general] We are going to deprecate hostInfo access soon. Please use HostInfoController instead.
aerender SYNTAX ERROR: Illegal argument flag: Projects\Blue

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines