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

How to get the decoding time or presentation time stamp

Community Beginner ,
Mar 26, 2024 Mar 26, 2024

Copy link to clipboard

Copied

Hi, I'm new to the After Effects plugin sdk. I want to get the source file decoding time in complex scenarios, such as after time remapping.
I found that "inData->current_time", "time_step", "total_time", "time_scale" is all about player time, NOT decode time. 
Thank you!

TOPICS
FAQ , How to , SDK

Views

65

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
LEGEND ,
Mar 26, 2024 Mar 26, 2024

Copy link to clipboard

Copied

I don't think there's any way to track that, since the AEIO handles it automatically and AFAIK there are no hooks to request that info.

 

Mylenium

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
Community Expert ,
Mar 27, 2024 Mar 27, 2024

Copy link to clipboard

Copied

LATEST

i think AEGP_GetLayerCurrentTime with AEGP_LTimeMode set to layer time should do the trick.

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