These two After Effects expressions are pretty simple, but they make slide show projects a breeze!! The first, “AutoZoom”, makes a layer zoom (scale) based on the in and out points of the layer.The “zoom” value, is how much it zooms. Positive or negative values will both work.
Next, AutoFade creates fades on head and tail of any clip. The transition is specified in the “transition” variable, which is defined in frames. Note: Presentation is audio only.
Hi Harry,
this is a great timesaver, but is it possible (via the expression) to trigger the zoom or the fade some frames later/sooner than the in/out point? I asked this Maltannon a while ago, but it seems he found no solution. What do you think, is there a way to tweak this?
It could be done with markers. That’s a good idea. I’ll try another version for this.
Hi Harry,
thats a quick and really easy solution. Thank you!
But is there a way to offset the trigger only with code? I am asking, because I use Maltannons “Global transition” Preset. In short words what it does:
It uses the inPoint/outPoint function on an adjustmentlayer with a (only on the beginning) keyframed transition effect. This effect (and Keyframes) get s always triggererd when a new layer in this comp starts/ends.
But because it starts exactly always at the end/beginning of a Layer, it is not a real transition, the two layers won´t blend smoothly. I am not shure if I am allowed to post the code here, because it´s from maltaannons Milg5. If you are Interested in it, please p.m. me
So dont you think there is a chance to realize this without markers?
LOVE YOU. YOU ARE GREAT MAN.
how do you install it
It’s shown in the demonstration video.
I’ll post another preset for this, but here’s one way for scale:
zoom = 10;if (marker.numKeys<2)
value + linear(time, inPoint, outPoint, 0, [zoom, zoom])
else
value + linear(time, marker.key(1).time, marker.key(2).time, 0, [zoom, zoom])
This does it like it did before without any markers, but if you add 2 markers, it will use the markers for start and stop timing.