Show current play speed in after effects

Video Production Asked on December 26, 2021

Is it possible to display the current play speed (eg. X2, X3.5, etc) in a text layer above my footage?
Some of my composition layers plays at normal (X1) speed but others were time remapped or time stretched.

One Answer

You can do it with expressions on the time remapped layers: create an empty text layer ctrl/cmdalt/optshiftt. Alt-click the Source Text stopwatch, and use an expression like:

var s = thisComp.layer("some layer").timeRemap.speed;
"X" + Math.round(s * 10)/10 //limits the result to one decimal place

The time-stretched layers are more tricky. The stretch property isn't accessible to expressions, but what you can do is use the sourceTime() function. This gets the time of the source footage. If your layers start at the beginning of the source then this expression would work:

var s = thisComp.layer("some layer").sourceTime()/time;
"X" + Math.round(s * 10)/10 //limits the result to one decimal place

if the layer source doesn't start at the beginning of the comp then you'd have to do some extra maths, like subtracting the in-point, or to make it easier you could pre-comp the source layer with the text overlay and make sure the precomp has the source footage starting at the beginning of the comp.

Answered by stib on December 26, 2021

Add your own answers!

Related Questions

What causes a loud tone/noise in Blackmagic ATEM talkback?

1  Asked on December 31, 2021 by totymedli


Reimport exported file and make all the cuts same

1  Asked on December 28, 2021 by azz-kawa


Save video track names as a preset

1  Asked on December 28, 2021


clean HDMI output camera – on start

2  Asked on December 26, 2021 by mk


Adding separate WebVTT files to FFmpeg HLS muxer

0  Asked on December 10, 2021 by t_bmn


Record video to timeline during playback

2  Asked on December 6, 2021 by rjgmore


VHS Wobble After Effects

1  Asked on November 16, 2021 by kurajber


Find duration only with ffprobe in Windows

1  Asked on November 16, 2021 by k7aay


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP