Activity › Forums › Adobe After Effects › Scripts or actions in AE
-
Scripts or actions in AE
Posted by Peter Giffen on February 27, 2007 at 5:53 pmIs there a “actions” function in AE. I need to resize a comp, change the scale and add a blur to 300 – 400 comps. I need to automate this. Any help would be great
Filip Vandueren replied 19 years, 2 months ago 3 Members · 6 Replies -
6 Replies
-
Colin Braley
February 27, 2007 at 7:15 pmI think scripting would be the way to go on this, it shouldn’t be too tough.
~Colin -
Peter Giffen
February 27, 2007 at 9:04 pmAny Idea who I can hire to do this? I know nothing about scripts
-
Filip Vandueren
February 27, 2007 at 11:43 pmSome Questions:
Are all the comps inside one project or is it a batch of different project files that need to be opened.
Is the scaling uniform, and the same for all comps ?
Is it a simple comp without 3D cameras, etc. ?
Will adding an adjustment layer with a blur do the trick or does that blur need to be animated ?The script should not be that hard, I can do it for you in the next few days. How fast do you need it ?
PS: Just donate some money to charity…
-
Colin Braley
February 28, 2007 at 1:51 amE-mail me off list at cbraley AT vt.edu if you would like to hire someone to create this script for you.
~Colin -
Peter Giffen
February 28, 2007 at 6:03 pmThanks for offering to help, really appreciate that
Here is the deal
I have 300 or so quicktimes that are 1152×648, they are flash animation drawn @24fps, so I need to intruduce a pull down in AE to get them to 29.97 and onto Dbeta for broadcast. This is all fine it works well I am just telling you so you understand what I am up to.
I select them and drag them to the comp icon on the bottom of the project window and create individual comps for every quicktime.
Here is when I need a script to take over
1. I need to change them to all to 720×486 D1 comps @24fps
2. I need to change the scale of the quicktimes inside the comps to 56.5 x 75 (the animation is drawn 16:9 widescreen but I am delivering 16:9 anamorphic, tall and skinny)
3. I need to add a 0.2 gaussion blur to every quicktime and a level effect
The rendered qt needs to retain the file name of the original
Can you email me directly peter@editfarm.tv or I can call you
Thanks again this will save me hrs and hrs if it works, I have to repeat this for 26 shows
-
Filip Vandueren
March 3, 2007 at 6:01 pmFor future reference of other forum-users, here’s the script:
{ // create a single undo step app.beginUndoGroup("resize and grade all comps"); p=app.project; // travel thorugh all items in the project for (i=1; i<=p.numItems;i++) { var it = p.item(i); // apply only to Compositions if (it.typeName=="Composition") { // set W & H of the comp it.width=720; it.height=486; // set the pixel aspect ratio it.pixelAspect=1.2; // NSTC Widescreen var l=it.layer(1); // place and scale the 1st layer l.position.setValue([360, 243, 0]); // center it l.scale.setValue([75, 75, 75]); // add the effects l.effect.addProperty("Gaussian Blur"); l.effect.addProperty("Color Balance (HLS)"); l.effect.addProperty("Levels (Individual Controls)"); // set the properties; l.effect(1)("Blurriness").setValue(0.2); l.effect(2)("Lightness").setValue(-2); l.effect(2)("Saturation").setValue(15); l.effect(3)("Input White").setValue(250/255); // this actually expects a value from 0 to 1 (255 = 1) l.effect(3)("Gamma").setValue(0.8446); } } alert("Have a nice day \r greetings, Filip"); app.endUndoGroup(); }
Reply to this Discussion! Login or Sign Up