DaVinci Resolve scripts - Printable Version

+- (https://diviera.com)
+-- Forum: Os (https://diviera.com/forumdisplay.php?fid=5)
+--- Forum: Scripts in programs (https://diviera.com/forumdisplay.php?fid=7)
+--- Thread: DaVinci Resolve scripts (/showthread.php?tid=71)



DaVinci Resolve scripts - Janusz - 05-13-2022

Countdown timer 00:00:00, change framerate and startseconds for your needs.


:framerate=30;startseconds=10; startcounter=startseconds*framerate;hours=floor((startcounter-time)/framerate/60/60)%60;minutes=floor((startcounter-time)/framerate/60)%60; seconds=floor((startcounter-time)/framerate)%60; return Text(string.format("%02.f",hours)..":"..string.format("%02.f",minutes)..":"..string.format("%02.f",seconds));

Countdown timer 00:00

:framerate=30;startseconds=10; startcounter=startseconds*framerate;minutes=floor((startcounter-time)/framerate/60)%60; seconds=floor((startcounter-time)/framerate)%60; return Text(string.format("%02.f",minutes)..":"..string.format("%02.f",seconds));