Activity › Forums › Adobe After Effects › Batch Encoding Each Cam in Comp
-
Batch Encoding Each Cam in Comp
Posted by Nick Marques on March 22, 2009 at 7:13 amHello,
I have a composition that has about 50 different cameras and I need to render out each one. What is the easiest way for me to do this without having to render one camera, hide it, enable the next, render, and repeat for all of them?
Can someone help me script this in some way?
Nick Marques replied 17 years, 1 month ago 3 Members · 6 Replies -
6 Replies
-
David Bogie
March 22, 2009 at 5:21 pmBe interesting to see how you pull this off.
Generally, one starts such an ambitious project knowing how it will be finished. So your experience will serve as an example for those who follow.I’d do this the easy but bombproofway: duplicate the project 50 times, name each copy for the camera, delete all unused cameras from each copy, select all 50, select make movie, push render, go have dinner.
bogiesan
-
Nick Marques
March 22, 2009 at 6:16 pmYeah, that was my guess as to how that was going to happen. It would be nice to be able to script that duplication and deletion.
-
Filip Vandueren
March 23, 2009 at 1:56 amDeletion is not really necessary, just disabling.
I made you a script that does that:
https://www.vandueren.be/forumstuff/scripts/FV-dup_cam_projects.jsx
Just select a comp, run the script and a new project folder (“comp name | cameras”) will be created, with your comps ready (renamed “comp name | camera name”) drop them in the render queue and you’re done.
if you use the script multiple times, you’ll get identical foldernames, but if you look at the comments column, they’ll have the creation date in them so you can see which one is the most recent.
I haven’t tested this extensively, just knocked it together quickly, so let me know if there’s trouble.
-
David Bogie
March 23, 2009 at 2:05 pmI bow, man, I am in awe of anyone who can write code.
Thanks for the contribution.
bogiesan
-
Nick Marques
March 25, 2009 at 3:38 pmYour script works, but as far as being tidy, the bottom layer camera stays on for all of them.
Reply to this Discussion! Login or Sign Up