Skip to main content
Participant
November 18, 2024
Question

Achieve different playback speeds for different segments within a single layer

  • November 18, 2024
  • 1 reply
  • 189 views

Hi, all~Suppose there is a scenario like this: One layer in the AE composition consists of 30 frames of images. I want to accelerate the playback of images from frames 1 to 10, and slow down the playback of images from frames 20 to 30. Which APIs of the AE SDK plugin can be used to achieve similar effects?

This topic has been closed for replies.

1 reply

Community Expert
November 18, 2024

It would be a lot easier to accomplish that kind of playback speed change using time remapping and a few keyframes than to try and write code to do it. 

 

You could start with a simple timeToFrames expression and work up from there. Tie that to a slider and you would probably be most of the way there. 

JimmyMagaAuthor
Participant
November 18, 2024

Since I have already implemented some other functions using the AE SDK plugin API, including selecting certain frames from a layer for looping playback, and the selection of those frames for looping is determined by combining the results of two Popup options, I would like to explore which APIs in the AE SDK plugin can be used to change the playback speed of different segments of the layer.