@pbretz said in Script on AME Render complete:
to render the videos as mp4’s and then upload to AWS S3 as they are rendered. AE won’t render videos as mp4’s which requires me to send a replicate to a watch folder for AME to process. Is there anyway through the bot process that I can use an event script that is triggered upon completion of the rendering by AME? Or is there a different way to approach this? Thanks for any suggestions.
There are many potential ways to go about it. One that would possibly give you the most flexibility (and smaller file sizes) would be to render a lossless mov out of the AE render queue (animation, PNG, or ProRes codec), then post-process compress to an mp4 with ffmpeg, Then you can trigger another script to upload to your S3 bucket.
We have no affiliation, but if you want mp4 support directly in AE again, aescripts + aeplugins has a plugin called AfterCodecs that works seamlessly with Templater and the AE render queue, and actually removes the step of needing to render an intermediate version. On the backend it’s using a custom configured version of FFMPEG, so these files sizes will also be smaller than those out of AME.
I haven’t looked into it too deeply, yet, but AME also has some post-render upload options built into the settings for your Preset Settings on the “Publish” tab, including uploading to an FTP server. You might be able to rig up a way to get those onto S3 with that functionality. You could also set up something akin to a cron job that runs separately on a set interval, uploads the files in the output directory, then moves them out of the directory so they don’t get re-uploaded.