3
votes
How to programmatically personalize video?
You can use ffmpeg to do something like this programmatically. It has the capability to composite and edit footage as well as adding effects and text. It is a command line app, so works in the shell ...
2
votes
Automate After Effects assets rendering via script and external data
Have you got the latest version? After Effects CC 2018 is all about data driven animation.
Either way you can use external file to drive expressions (in older versions too) using the eval javascript ...
2
votes
Accepted
set scale in pixels in After Effects using Expressions
The size in pixels is easily computed as the source's original dimensions multiplied by the scale. Or in other words
p = d × s
where p=pixel dimensions required, d=source dimensions, s=scale.
So ...
2
votes
Accepted
Control key frame value with slider control
You were close.
if (numKeys > 1){
t1 = key(1).time;
t2 = key(2).time;
v1 = [95, 95]; //or if it's 3d [95, 95, 95]
slider = comp("INPUT").layer("CONTROL").effect("Zoom intensity")("Slider");...
2
votes
Accepted
Link audio to opacity effect of an image in After Effects
The easiest way to do this is to use an expression. First you convert audio to keyframes. Then set an expression on your opacity channel. If you drag the pick-whip for the expression to the audio ...
2
votes
Adobe After effects watch folder render all composition
Make sure that only the comps you want rendered are in the top level of the project. If there are compositions that you don't want rendered, such as subcomps, put them in a folder in your project ...
2
votes
Accepted
Change Output file name in AfterFX .jsx script
I found the right property that has to be changed and wrote a function that does the job:
function renameComposition(newName) {
var curComp = null;
for (var i = 1; i < app.project.numItems ...
2
votes
Accepted
Is it possible to modify a single precomp instance via scripting?
Scripting can do anything you can do with the UI. This isn't something you can do with the UI, so no, you can't do it with scripting. If you change the colour of precomp1.layer1.simpleRectangleLayer ...
1
vote
Accepted
How to get the number of options in a drop-down list (After Effects script)?
I ended up making a custom function that gets the number of values in a dropdown effect. I have no idea if this is a good way of doing it but it worked for me! :)
function getDropdownLength(...
1
vote
Accepted
FX Console plugin for After Effects not working on M1 Macs
It seems they’ve just announced updated M1 versions of most of their plugins, including FX console:
https://www.videocopilot.net/products/m1/
1
vote
Access a precomp as a CompItem not as an AV Layer
Well, I found my own answer. I just needed to access the source property.
var comp = app.project.activeItem.selectedLayers[0].source;
alert(comp);
1
vote
Animate a Slider With Json File Import?
Good question Xavier! I had a similar job recently, here's how I did it.
First I would suggest re-working your json file to be a little easier to parse. For example (hopefully I got your intention ...
1
vote
Accepted
After effects | How do I copy an image source from layer to another programatically?
It depends how you mean:
Option 1:
If you put the image in Layer 1 inside a Comp, then any change to the image inside the Comp will change in both Layer 1 and Layer 2 (assuming you also put the Comp ...
1
vote
Accepted
After Effects - Can Expressions read from Extend Script?
Short answer: no.
Long answer: There may be an unknown, undocumented hack that enables this, like modifying some of the core classes, or a workaround, like writing to a file and reading the results, ...
1
vote
Accepted
How to loop outer glow layer style in After Effects?
I'd suggest animate the 'Opacity' property of the outer glow:
Click to enlarge
Create a keyframe by clicking on the stopwatch of outer glow 'opacity' and set its value to 0%
Create a second keyframe ...
1
vote
Accepted
help to animate an lower thirds that's positioned by expressions
There are some built-in functions just for this purpose. You'll find them in the interpolation folder in the expression drop-down. The simplest is the linear() function:
linear(t, value1, value2)
...
1
vote
Use markers in After Effects as triggers for a particular animation
Markers are a special time of key, basically you can think of them as keys on a property of the layer called "marker", just like you can use keys on say, the position property. To access a marker on a ...
1
vote
Accepted
using images as text characters in after effects
The Characteristic plugin for After Effects is built specifically for this:
https://aescripts.com/characteristic/
You can set kerning and spacing parameters for each character. Check out this ...
1
vote
Accepted
What properties of After Effects project can be edited without opening the application itself
To my knowledge there is no tool available for editing After Effects project files other than After Effects itself.
However you can script After Effect using Adobe's Extendscript language, so that it ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
after-effects-scripting × 41after-effects × 37
after-effects-expressions × 26
adobe × 5
animation × 3
automation × 3
video × 2
premiere × 2
programming × 2
extendscript × 2
video-editor × 1
editing × 1
subtitles × 1
adobe-media-encoder × 1
workflow × 1
keyframes × 1
script × 1
rendering × 1
motion-graphics × 1
premiere-pro × 1