• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Achieve different playback speeds for different segments within a single layer

New Here ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

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?

TOPICS
SDK

Views

68

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines