FORUMS: list search recent posts

How to time remap layer using scripting?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jeremy Paul
How to time remap layer using scripting?
on Dec 18, 2018 at 5:26:33 pm

I have a AVLayer that is 6s long. I'd like to slow down the first 2 seconds, speed up the 2-4s part and then again slow down the final 2 seconds.

I am totally lost when it comes to scripting keyframes.. I am even more lost now, because there is no "move" functionality when it comes to keyframes. Has anyone tried using time remap with scripting? I'd love to see some examples.

This is my starting code:

var layer = containerComp.layers[layerIndex];
layer.timeRemapEnabled = true; // sets 2 keyframes at start and end of the layer


Return to posts index

Dave LaRonde
Re: How to time remap layer using scripting?
on Dec 18, 2018 at 5:35:54 pm

Why don't you just keyframe it ONCE, render it out in a lossless codec, then use it in whatever project you wish? It's a lot more straightforward, and in the end will save you rendering time on subsequent projects.

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]