Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

How do I get AEGP time_step

$
0
0

I am doing an AEIO export of 23.976 frames per second, 40 frames. 

 

I call AEGP_GetOutSpecFPS() and I get the expected frame rate. 

 

I call AEGP_GetOutSpecDuration() and I get a duration.value of 5000 and a duration.scale of 2997.

 

I have seen this in QuickTime where the time scale is 2997 and the sample duration is 125 for 23.976 frame rate.

 

How do I get the equivalent value for After Effects rendering "time_step" so I can convert a duration.value of 5000 to a result of 40 frames?

 

I can not figure out how to get the After Effects "time_step" in my render module at the call back My_StartAdding() time? 

 

Obviously I need a "time_step" of 125. 


Viewing all articles
Browse latest Browse all 73444

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>