This is a Lua script for OBS Studio that sets a text source as a timer with advanced options.
Modes
Formatting
The default format is: %0H:%0m:%0s (00:00:00)
%d - days
%0h - hours with leading zero (00..23)
%h - hours (0..23)
%0H - hours with leading zero (00..infinity)
%H - hours (0..infinity)
%0m - minutes with leading zero (00..59)
%m - minutes (0..59)
%0M - minutes with leading zero (00..infinity)
%M - minutes (0..infinity)
%0s - seconds with leading zero (00..59)
%s - seconds (0..59)
%0S - seconds with leading zero (00..infinity)
%S - seconds (0..infinity)
%t - tenths
%2t - hundredths
%3t - thousandths
Activation Modes
Hotkeys
Hotkeys can be set for starting/stopping and to the reset timer.