ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

calculate composition unstretched time

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
rami yaron
calculate composition unstretched time
on Oct 21, 2019 at 4:21:32 pm

how can I get or calculate the original current composition time of a time-remapped or stretched layer.
My composition has both stretched and non stretched layers and I want to display the current playback time (relative to the composition) as it would be if non of the layers were stretched.

Return to posts index

Oleg Pirogov
Re: calculate composition unstretched time
on Oct 29, 2019 at 2:56:31 pm

In case of time-remapping it appears to be quite straightforward as the Time Remap property of the nested comp is exactly the playback time of that nested comp.

In case of stretching it is not as straightforward since Stretch property is not accessible through expressions, otherwise the desired playback time would be:
A dummy workaround would be to just type in the layer's Stretch value as a constant.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved