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.
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
1 Asked on January 4, 2022 by d9ngle
1 Asked on January 4, 2022 by jose-gmez
1 Asked on December 31, 2021
1 Asked on December 31, 2021 by totymedli
1 Asked on December 26, 2021
after effects after effects expressions after effects scripting
1 Asked on December 26, 2021 by gatzkerob
1 Asked on December 24, 2021 by ramiwi
1 Asked on December 24, 2021 by kaitain
1 Asked on December 19, 2021
1 Asked on December 19, 2021 by med-hammas
0 Asked on December 15, 2021 by jason-van-anden
0 Asked on December 10, 2021 by t_bmn
2 Asked on December 6, 2021 by rjgmore
1 Asked on December 2, 2021 by cecomp64
0 Asked on November 25, 2021 by hownowbrowncouch
1 Asked on November 16, 2021 by kurajber
1 Asked on November 16, 2021 by k7aay
Get help from others!
Recent Questions
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP