This tutorial covers threading and how an understanding of single and multi-threaded effects can help us render more efficiently inside of After Effects.
File size: 166.4 MB
Subscribe to our RSS Feed, Follow us on Twitter or simply recommend us to friends and colleagues!
Rollover to read this author's bio or click through to see a full list of posts by this author.
You can grab source files and bonus tutorials from the members area.
Source Files, Bonus Tutorials & More for all relevant Tuts+ sites in one subscription. Join Now
How can i visualize this task manager with all Threads in win 7 ? I can only find the cores. Thanks for this nice tut!
We share the same question Ianh! :D
Do you have a cpu with hyperthreading? I know that windows 7 task manager shows all cores by default, but i’m not sure about threads.
Awesome tutorial, never knew of this script and would always pull my hair out trying to try to find the optimal multiprocessor settings to use inside AE for some of my bigger renders! Built my first ever CPU from scratch less than a year ago and has similar specs to yours and been looking for a way to harness the full render power!
Very informative! Since I have a quad-core with 8 total threads, does that mean I should only run 8 instances of the multi-machine BG-renderer?
Yes, at the very most only run as many BG renderers as you have threads. Generally you can max out your cpu usage with 4-8 instances of BG renderer, although some compositions with tons of single threaded effects may require more.
You sir, just CHANGED MY LIFE! FOR REAL! for ever.
Glad I could help :)
Was going to write the same thing. I’m physically enraged that I’ve been working in AE so long without knowing about this Script. Mind blown.
Same here. I’ve been working on After for about 6 years now… this changed everything for me.
Very nice tip! A long time ago I won BG-renderer in an AEtuts contest… never got around installing it – until now. Really a great script! Thanks for the tip!
One reason that James got bad results with Render Multiple Frames Simultaneously multiprocessing is that he hasn’t left enough RAM or CPUs for other software.
See these articles: http://blogs.adobe.com/aftereffects/2009/12/performance-tip-dont-starve-yo.html
Unfortunately that is not the case. I benchmarked various setups:
8 cores @ 6GB ram [08:37] 29 cores @ 2GB ram [08:59] Multiple instances of BGRenderer [02:15]
In cases where there are lots of single-threaded effects AE multiprocessing really fails to utilise my computer power. Perhaps it’s much worse because i’m on a dual CPU config?
Any chance of a Mac tutorial on this?
Matt, it works exactly the same on mac.
Cooool will try this one out! Background render – do you mean the Bg Renderer from aescripts? Which one do I need, the Basic or Pro? (I see the pro one has push and sms notifications, don’t need that) thanks! :)
oh i just saw a link to the plugin. thanks!
Nice – but didn´t find a way to have that renderd file automatically placed as a substitute for the comp. Is there any?
Hey James, how about Render Booster? http://motionworks.net/render-booste/ I guess i have to run a quick test on which method is faster, although you might know?
I may have missed it, but how do you pull off the multiple rendering instances on a video format such as Quicktime as opposed to the image sequence? I get an error as it tries to overwrite the existing file.
What am I missing? Thanks!
You don’t. This workflow needs image sequences which you then import and edit, add sound, etc., in Premiere. It’s an extra step, but saves a shitload of time and you can always delete the image sequences once the job’s done. Plus image sequences are way handier for fixing mistakes over short sections of long compositions without re-rendering the entire piece.
Is there another solution to get the multiple render instances to work with video formats like Quicktime, as opposed to image sequences? I got an error as it tried to overwrite the file.
What have I missed? Thanks!
sadly it doesn’t appear to work with video output, only image files.
I thought i knew the rendering process on after effects. I was wrong . But now i KNOW :D
great tips for learner
Speedup Your Computer
Great tip!! But I’m trying it and don’t get it done. My system is a AMD Phemon 955 Quad-core with 24Gb DDR3 1600. I open 4 BG Renderers (4 cores=4 BG Renderers) with “Multiprocessing” disabled in AE configuration and in BG Renderer configuration (as I see in the video, you had BG Renderer “Multiprocessing” option off, so do I).
CPU gets to full continous 100% (great!) but only renders… 4 frames :(. CPU stays at full 100%, but don’t seems to be doing nothing. It’s been an hour since I start it, and it stills the same.
Them I tried to only launch 2 BG Renderers: CPU gets to full continuous 100%, but it only renders 1 frame!! System don’t freeze or go to Blue Screen of Death or anything like that. Just stay at 100%… but without rendering further frames!! :(
I set the “multimachine” settings to .png sequence instead of .psd or .tiff, but I don’t think it affect in any way.
What I’m doing wrong?? I don’t have any other program running, no Firefox or Chrome or anything. Antivirus realtime disabled too.
I believe in complex projects it doesn’t work that nice… We did small test on our machines (2xXeon with 8 cores, so 16 threads + 24GB RAM) and with using standard render of AE rendering of one complex video took around 54 minutes, with 8 instances of BG Renderer it took 2h and 40 minutes! so around 3x slower than standard AE render…
Just a heads up!
On my mac with AE CS4 – With Multiprocessing on, I was able to utilise nearly all the CPU without using the background render script. And the render flew by in a bit over a third of the time using 6 out of my 8 cores.
Nice tutorial but you missed two very important points. 1) you should use the ‘Save BG Launcher’ option to launch multiple instances instead of saving your project several times as this can take a long time on bigger projects. 2) you can’t “keep launching” instances to make it faster. You should only launch as many instances as your computer has RAM for. I recommend 1-2GB per instance plus 2GB for AE and 2GB for the OS so if you have 16GB for example you should launch a max of 4 instances. 4×2 = 12 + 2 (AE) + 2 (OS). If you go over this then you will get into disk swapping which can be very slow if you have slow disks.
4×2 = 8… So you could launch 6 instances, right?… ;)
Yes although it’s best to leave 4GB total for the AE and the OS(2 OS + 2 AE)
one other step to watch out for is o keep an eye on the Skip Existing Frames checkbox. If you’re rerendering over previous frames, BGrenderer/AE skips all your existing frames meaning you’ve got to set a different folder as your output, then copy over when done. That’s what I do, unless I’ve got it completely arseways.
Amazing workflow hack which will continue to save my bacon on deadline day in the years to come, thanks James & AEScripts.
That was a KILLER tip! Thank you till the end of the world! :D
So, I downloaded and followed this tutorial and tried running multiple BG Renderes, but only a single command screen pops up and I don’t see the CPU usage going above 13% which was the same as the default AE renderer.
Aetuts+ is part of the Tuts+ Network, teaching creative skills to millions worldwide.
Copyright © 2013 Envato