I am trying to execute the aerender shell command from a php file called batchrender.php
with the following content and execute it via web browser
<?php passthru('/Applications/Adobe\ After\ Effects\ CC\ 2014/aerender -project /Users/abc/Sites/AETEST1.aep -comp "Komp1" -output /Users/abc/Sites/xcv101.mov 2>&1', $ouptput); print_r($ouptput); ?>
When I call this php file via the shell (Terminal) it runs perfectly and starts to render.
When I call it via web browser the output in the browser shows:
"aerender version 13.2x49 PROGRESS: Launching After Effects... PROGRESS: ...After Effects successfully launched"
but does not start with rendering, but also gives no errors
We need this to start our AfterEffects Rendering remotely via php web-application, where we can change parameters for rendering and values for expressions used in the Composition.
AfterEffects runs on a Mac, who is also configured as a webserver with php/mysql