How to time remap layer using scripting?
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:
layer.timeRemapEnabled = true; // sets 2 keyframes at start and end of the layer
