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
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
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/
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
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
Copy link to clipboard
Copied
Perfection! This is what I needed!
Thank you!
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:
Copy link to clipboard
Copied
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