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.
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: (time-thatLayer.startTime)/(thatLayer.stretch/100)
A dummy workaround would be to just type in the layer's Stretch value as a constant.