Render Faster in After Effects... a LOT faster! (Mac & PC)
HTML-код
- Опубликовано: 5 окт 2024
- In this lesson you will learn how to take advantage of your computers full rendering power. By using Command Line Rendering you can maximize your computers full potential and continue to work while it renders in the background.
Windows:
"C:\Program Files\Adobe\Adobe After Effects 2020\Support Files\aerender.exe" -project yourprojectlocation.aep"
MAC:
/Applications/Adobe\ After\ Effects\ 2020/aerender -project /Users/joelawrence/Desktop/CMND_Render_Test.aep/Applications/Adobe\ After\ Effects\ 2020/aerender -project yourprojectlocation.aep
God send, totally forgot about this and now saving me time!
🤜🤛
This is actually legit!!! Unbelievable, thank you for sharing this valuable technique now i have more creativity freedom
I hope it helps 🙃
Oh I really thank you ! i can't believe adobe is not able to handle this issue like this simple method is... i'm rendering a 20 min video composition using 6 paralel processes in separate windows, by the way, in my case it seems to work better if i disable GPU rendering because when it's on sometimes some process stop when the GPU overloads. Thank you again, this is really helpful !
🤜🤛
Sound advice! Thanks for sharing
I hope it frees up time to live life bit more 😉
I get this warning:
*** GPU Warning: GPU3 failed (previous) sanity test ***
aerender SYNTAX ERROR: Illegal argument flag: Island
And nothing happens.
Well sanity test, I have never seen this before. Make sure you are putting in the code exact. Also the code varies if you are on a Mac or PC which I explain in the video. If nothing works let me know and I’ll investigate. Thanks for your support 🙃
@@YouAndMeAcademy same issue with me, code is for apple and exactly how you said to do it. thanks!
I haven't tried yet but this is a god ray! thanks!
Thank you for the support and good luck!
I have 5950x
128gb 3600mhz
Gen 4 m.2 2tb
Depending on size of comp + effects + length
I ran heavy project
Run one instance took 40gb ram
Ran another 20
And so on.
So calculation is needed you just cannot fire up all instance otherwise it will bog it down
Rendering is a balancing act, no doubt. But if done correctly you will save yourself a lot of time. Good luck!
A way better way to speed up your Ae project rendering is NOT TO RENDER IN PNG SEQUENCE!!!
Render in EXR Sequence instead.
Ran a test took 4 hours with a png sequence, 30 minutes with exr sequence
Png sequence slowed it down 8x
its because of compressing each of png file while its rendering
This is a great tip, and a good free alternative to BG render MAX.
Save that money!
You really shouldn't have to do any of this for a software you pay $250 a year for.. Adobe is in desperate need of proper competition.
It is long overdue, I agree.
@You And Me Academy In a School Of Motion interview, it was hinted at that Ae is in the process of bringing back MultiThreadding to get much closer to this from in the software.
Also this works, but is a "hack" since you can absorb all your resources and freeze your system, something any Software shouldn't be allowed to do.
Hi Mike, surely this is not a hack. Just a way to utilize your computer’s full power. Just like everything in life it’s a balancing act. Thank you for the support!
Is there a macro that can handle this more automatedly?
Not that I know of. I usually just have it pasted somewhere to copy. On a Mac you can hit the up arrow key to fill in your last command. I’m sure there is something similar on a PC.
i watched this video even though i dont even have after effects...
Great! I hope it helps you in the future.
Trying this on a 5950x and RTX 3090 with 64GB of RAM, so far got 8 running no issues, 90% CPU usage.
🔥 🔥 🔥
@@YouAndMeAcademy cut the 8hour render time down to 2 hours, but next issue is the PNG sequence is huge and taking forever to load into Premiere, any tips there? If I add more RAM to this PC I could probably push a few more DOS render windows as RAM was limiting me from going higher than 12 instances running
Unfortunately it’s the nature of the beast. If you are not using an SSD then I would recommend that, it will speed up image sequences a lot!
@@YouAndMeAcademy I actually use a Samsung 970 EVO 1TB Gen 3, looking to add a 2TB PCIE 4.0. I was not adding them correctly as I was selecting all of the images at once instead of clicking the sequence button. However I did notice that 5 mins of video when done was missing is this due to sampling? So my reactive audio is not matching up.
I am not sure what you mean by sampling but to me it sounds like you might have your footage interpreted incorrectly. Double check your frame rate especially. Good luck!
And when you finish the render what program you use to turn all of your images into a video?
After Effects 😊
this is great, but I've heard that the next update of after effects will support Multi-threading, hopefully it will be able to utilize multi-core cpus.
They used to have it years ago, but unfortunately it was no good. Perhaps we will see some improvements in the future. Thanks for the support!
Thanks you for your sharing a lot
I hope it helps!
you are the best! thanks!
Thank you! 😌
So it doesn’t work for videos?...
You can command line render a QuickTime, but you can only render with one terminal at a time. This is because each terminal window looks for frames/files and a QT is only one file! You can render a sequence then turn it into a QT after as another option.
Maybe you want to learn about cores and threads?! What is the task manager showing you?!
"The process cannot access the file because it is being used by another process." I get that when I try to run a second CMD, any ideas? Google is showing nothing :/
How you do it on MAC, could you help me please?
Hi Hendy, the Mac path is in the description of the video. Thank you for your support!
What’s the difference between this and a tool like BGrender? They are essentially doing the same thing yeah? (This is just the manual way of doing what bgrender does?)
Oh, just got to the part of the the video where you mention BGrender. Thanks for the video, is a great tip
🤜🤛
I'm keep getting errors for overwriting issues for png files. I start with 6 renders (12 CPUs) and then one by one is stopped by that "error". Skipping files option is turned on. Any thoughts?
Do the files already exist? Are you trying to overwrite them?Sometimes if you start them too quickly behind each other they will fail because they try to start at the same time.
@@YouAndMeAcademy The folder is empty at the start. It seems like the skipping files option doesn't work properly. The same thing happens with BG renderer as it starts with high CPU usage but after a while it drops to ~15%. I tried changing the output location to both nvme and hdd drive, but no luck. Googled the issue and it seems pretty common. You never had the overwrite (3 :: 3) error?
I have never gotten this. Have you tried with a new project? Try just something simple like a shape layer moving. Also, try a different file format. Let me know how it goes.
oh this seems interesting but... before trying it i wonder: can i use this png setting method to render a proper movielike 20 min lenght video composition ?
Of course, just set your length and hit render. If you need a QuickTime after just render one out of your prerendered png sequence. 😌
Thanks for this video! Currently I'm getting "aerender ERROR -1701: AEGetParamPt failed at line 894" though. I have 1 item in my render queue, a PNG file sequence, skip files checked, an output file/folder selected. Any ideas?
Thanks Nehville! That all sounds correct. My suggestion would be to triple check that the text you are inputting is exactly right. It won't work if you have an extra or are missing a space, etc. Please let me know how it works out, thank you for your support!
I can do it in Avi or mov???
Yes you can but you won’t save time. This works one with image sequence, the idea is that the computer can work on multiple files at once. QuickTimes and AVI are single files. It can save you time because you could render these files in the background and keep working. My suggestion is if you have a render that takes a long time, render an image sequence with this technique and then turn that into a MOV or AVI.
@@YouAndMeAcademy ty so much
You’re welcome 🤜🤛
i dont understand..
Someone receive this error "aerender Error - 609 AEsend failed to send apple event"? Im working on Mac.
Not sure about this one, what I can say is make sure you put in the command exactly and check your spaces. Let us know if you figure anything out.
when i try to open the 3 command prompt all 3 windows stop from render
i have I9 10900
32Gb
1660Ti
Have you solved it ? i'm just trying it and when i open more than 3 windows (about a half of cpu processing) it render for a little time and then it stops like it's finished or something...
@@funkiEst no. I'm still searching for solution
@@tsahipc have you tried to disable GPU rendering in project settings ? in my case that worked, my cpu is 6 cores (12 threads) and i'm right now rendering with 6 paralel processes in 6 cmd windows using 100% of cpu all the time, so i'm happy about that... you could if u want try to render at the same time with the after effects program itself using gpu but disable it in the project opened in cmd ...
Tsahi, can you provide a bit more information about it stopping rendering? Does it start, then stop? Does it render any frames at all? Also, what information is it telling you after the error happens? Thank you 😊
Talbot, this is interesting. I’ve never heard of the GPU effecting the command line, but whatever works!
what if you send a wrong render or need to stop a render in the middle? how you cancel it?
Also, did you compare this method to rendering in AME, for PNG sequences?
and, lastly, if my PC has 16 CPU cores, but when I 'm rendering through AME it shows that I already have 8 cores being used for the render.. does it makes sense to use this method, since its better to use only 50% of my cores?
I'm interested in trying this method, and I will, but just wondering these questions, and maybe you have answer for them... Thanks for the video!
To properly cancel the render hit Ctrl+C or Cmnd+C.
I tested this on AME and came in at 13:17, so more than double the time. After Effects 17:03, AME 13:17, Command Line 6:08. On average it was using about 50% of my CPU power. It really comes down to how big of a render you have. If you have fast rendering frames then it might not be worth the Command Line render. If you have a very heavy comp, you could save hours more potential using Command Line rather than AME. Good luck and thanks for the support!
it is possible that this no work anymore on a m1 mac? first instance are running buth the second and any other give me the following error: PROGRESS: Total Time Elapsed: 4 Seconds
WARNING:After Effects warning: logged one error - “error: Rendering error while writing to file “/Users/user1/Downloads/UltraHD RENDER.mov”. Unable to delete existing file. (-1610153460)”
I doubt it’s because of the new Mac. Try to save a brand new file and let us know if that helps. Sounds like it’s a file writing issue.