Jump to content
Sign in to follow this  
DavidStark

After Effects Batch Renderer

Recommended Posts

DavidStark

This is for people who use Adobe After Effects a lot.

You can queue up multiple projects and have it render them all for you at once. I am using it because I have 5 projects that each take an hour to render, so I will just leave it at work overnight rendering.

I wrote it pretty quickly.... Haven't added many features just what I need to use it for.

Feel free to download it, or request any features.

*******NOTES ON USAGE********

1. You MUST have the render queue set up for each project BEFORE you click the run button on the batch renderer.

2. All paths to the .aep projects, including the name of the .aep project, can NOT have spaces in them otherwise aerender.exe will fail.

3. The path for the script to run aerender.exe is the default path when installing After Effects. If for some reason aerender.exe cannot be found you may have to manually change this path. I can add the option to browse for the aerender.exe path though.

***********

Let me know what you think!

After Effects Batch Renderer.au3

post-76635-0-37555800-1368138098_thumb.p

Edited by DavidStark

Share this post


Link to post
Share on other sites
careca

Hi, nice job, i do have a question, what's with the spaces? Why it cannot have any spaces? It should always be possible to have a path with spaces.

Also, why not _GUICtrlListView_GetItemCount and _GUICtrlListView_GetItemText to retrieve the text?

Edited by careca

Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
DavidStark

Also, why not _GUICtrlListView_GetItemCount and _GUICtrlListView_GetItemText to retrieve the text?

Hmm, it was only today that I figured out how to use and control List and ListView.

I will check into those functions tommorow.... Will they reduce the size of some of the lines? I feel like the functions used easily get me the desired result, but again, I will look into it.

Hi, nice job, i do have a question, what's with the spaces? Why it cannot have any spaces? It should always be possible to have a path with spaces.

aerender.exe is a command line interface for After Effects, when you pass aerender.exe a path with spaces in it it cannot correctly parse it and results in a syntax error. It looks at the space as another parameter. Do you know of a way around this? I dont....

Thanks for the input!

Edited by DavidStark

Share this post


Link to post
Share on other sites
BrewManNH

Have you tried surrounding the path with quotes?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
careca

I don't think it would reduce lines, but they seem simpler functions to me.

The way around it, is to enclose everything with quotes, often i check if the final path is good with a msgbox or tooltip.


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
DavidStark

Have you tried surrounding the path with quotes?

Ok I will try the quotes first.... This means that I have to double quote inside of the RunWait() correct?

For example "-project ""C:my project.aep"""

place a in front of each space. So " " would become " " without the quotes.

I want to avoid having to process each line and place a in front of it.... Rather than do that I would probably just do a FileMove() where I move and rename the file to something without spaces in it. It would keep all of the same attributes as the original file, it would just be a temporary that I use to render. Seems like that would be much easier.

I don't think it would reduce lines, but they seem simpler functions to me.

The way around it, is to enclose everything with quotes, often i check if the final path is good with a msgbox or tooltip.

How do you mean check if the path is good? Just have it display the path and make sure there are not any extra spaces or characters?

Share this post


Link to post
Share on other sites
careca

Yes, just to debug.


Spoiler

Paster - Main function is to paste text, but has more functions. (No longer mantained, switched to String Trigger)

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Share this post


Link to post
Share on other sites
DavidStark

Just to recap:

Also, why not _GUICtrlListView_GetItemCount and _GUICtrlListView_GetItemText to retrieve the text?

These functions were much easier. Not that they saved lines or space, but are much simpler and more readable.

Have you tried surrounding the path with quotes?

I am not too familiar yet with using command-line interfaces. This worked, you can now use any path.

Often i check if the final path is good with a msgbox or tooltip.

I SplashTextOn() before starting the render to tell the path thats going to be rendered and show the command-line string..... I guess this was more for debugging and I could take it out now.

I also added a checkmark for multiprocessing and to make a sound when the render is finished. Added a column for progress on the list, showing which one it is currently on, and the time it took to render the finished projects.

I want to work on something where you could maybe choose the output module and path for each project, like have a different listview with the information of the selected project. Not sure how I would do this though.

THANK YOU ALL FOR YOUR HELP!

Any more suggestions?

Check out the new one I've uploaded...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×