Obscounter
Python implementation of hotkey counter in OBS Studio.
Requirements
For Windows install python3.6 64 or 32 bit depending on your OBS. Since 28 version OBS Studio supports most 3.x Python versions.
Installation
- Download source code.
- Unzip the file to be able to access
hotkey_counter.py. Remember the file location because you will need this later.
Usage
- On OBS, under Sources, click + to create a new text source (below, you will see Text GDI+). You may leave it blank.
Note
You can also use FreeType2 (which is hidden in Depricated) as it's more efficient
- On the OBS menu, click
Tools > Scripts
- Under the
Python Settingstab, make sure the Python path is configured.
- Under the
Scriptstab, click the + sign to add this script.
-
Close the scripts window, and return to your OBS window and configure OBS settings by clicking
File > Settings. -
Configure the hotkeys.
How do I use more counters?
If you need additional counters, duplicate the hotkey_counter.py file and save it with a new filename (e.g. hotkey_counter2.py), and repeat the process.
Alternatives
There is a Lua alternative with helpful blogpost (JP)
on how to install and setup those kinds of scripts in OBS. Lua support in OBS Studio is built-in , so you don't need install anything extra.
Contribute
Contributions are welcome.






