graceful exit for aerender
It's impossible to kill an aerender instance running in the command line without some sort of brute force method, like using 'kill' or Ctrl-C. This often leaves corrupt partially written frames in an image sequence render which can cause problems to the final output.
It would be good if aerender could exit gracefully when told to quit, cleaning up any partially completed frames as it does. Even better would be an option to quit after the current frame, so that say hitting "q" would cause it to finish rendering the current frame and then quit.
In an effort to improve communications between you and the After Effects team, we are moving this feedback forum to the After Effects page on the Adobe Support Community. As requested, bugs and feature requests will be able to live separately in that forum. If you have an item here that did not make the migration, please bring it over to our new home.
See you soon on the Adobe Support Forum!
Or even better, it would be nice if aerender could write the current frame to a file with a .tmp extension and only rename the file to .png/.jpg/.tiff once the current frame was successfully rendered.
Right now when you launch a second aerender with the skip frames options, it will skip corrupted frames just as valid ones but if corrupted frames were named differently, this would allow to relaunch aerender and rerender corrupted frames without manually looking for them and deleting them in a file explorer, which is very time consuming.
This is the behaviour of most 3D renderers, for example Cinema 4D writes to an intermediary .b3d file.
FWIW, `kill` can certainly cause a corrupt frame, but ctrl-C sends SIGINT which in normal circumstances, does cause aerender to finish the frame it's currently rendering. If the process is hung, that's another story.