Page 1 of 1
Watching a forlder for After Effect Files ?
Posted: Wed Dec 19, 2018 4:21 pm
by synxmax
Hi there,
I just found your awesome tool and it's such a time saver, Already saved me a ton of time
I was playing around trying to make it work in my after effect pipeline
Is it possible to make it watch a folder recursively for ".AEP" ( After effects project ) files and execute a command like :
Code: Select all
aerender.exe -project "%AEP FILE%" -comp "render_1080" -RStemplate "R1080" -OMtemplate "R1080" -v "ERRORS_AND_PROGRESS" -mem_usage 60 10 -output "%OUTPUT"
and after render watch for output folder to transcode ( this part I figure out ) but the first part I have a problem getting it to work since I can't quite understand variable template literals and such
Any help is going to be appreciated,
Thanks in advance
Re: Watching a forlder for After Effect Files ?
Posted: Wed Dec 19, 2018 7:30 pm
by admin
Hi synxmax, thank you for using FFAStrans and welcome to the forum!
Just enable 'Recurse' in the monitor and FFAStrans will search in subfolders.
The command should be executed using the "Command executor"-node like this:
%comspec% /c ""%programfiles%\Adobe\Adobe After Effects CC 2019\Support Files\aerender.exe" -project "%s_source%" -comp "render_1080" -RStemplate "R1080" -OMtemplate "R1080" -v "ERRORS_AND_PROGRESS" -mem_usage 60 10 -output "\\server\share\path\to\output""
Of course you need to change your paths (and CC version) to suit your needs
Hope this helps.
-steinar
Re: Watching a forlder for After Effect Files ?
Posted: Wed Dec 19, 2018 8:51 pm
by synxmax
Holy Moly
Seriously You Guys Rock
I will test it out and let you guys know,
Thank you, Really Appreciate it
Re: Watching a forlder for After Effect Files ?
Posted: Thu Dec 20, 2018 11:55 am
by synxmax
@steinar
Thanks again for the solution, There is one problem, Command gets executed successfully and it seems to render ( cause it takes the exact amount of time if I were to run the command manually ) but there is no output!
I tried to specify the output several ways
Code: Select all
-output "c:\render.mov""
-output "d:\render.mov""
-output "d:\""
I had no luck, command gets executed successfully but not output
Is there something I have to do differently?
I played around with s_source_path and tried different methods to get the output but no luck
Re: Watching a forlder for After Effect Files ?
Posted: Thu Dec 20, 2018 12:17 pm
by synxmax
Ok I set aerender to output the log
I get this error :
Code: Select all
aerender ERROR: No render settings template was found with the given name.
When I try to execute from command-line works fine but through FFAStrans seems not working
Trying to investigate more
Re: Watching a forlder for After Effect Files ?
Posted: Thu Dec 20, 2018 12:27 pm
by synxmax
Alright SOLVED
You have to
run FFAStrans as Administrator and Program Mode, not Service
I don't know If there is a workaround service but It's cool for me
Seems there is a problem with aerender when it's getting called with limited permission it can't parse AEP files
Code: Select all
https://forums.adobe.com/thread/1982647
Thanks again for help with command
Re: Watching a forlder for After Effect Files ?
Posted: Thu Dec 20, 2018 1:30 pm
by emcodem
Nice that you figured it out!
I guess it also works to run FFASTrans as service but setting logon credentials to the ones from local administrator.
Also, writing directly on Drives, e.g. C: and D: is by default not possible due to security restrictions; but it should work to write into sub directories, e.g. D:\Files - this might also work when the Windows service is running with default credentials (SYSEM)