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
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.
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA