Shows obs stats on stream and/or in Twitch chat. Supported data: encoder, output mode, canvas resolution, output resolution, missed frames, skipped frames, dropped frames, congestion, average frame time, fps, memory usage, cpu core count, cpu usage, audio bitrate, video bitrate, streaming duration, recording duration, streaming status and recording status.
Text Formatting Variables | Bot Commands |
- Download the script from the release page. Unzip the archive.
- Add a text source to your scene. This source will be used to display the data.
- Open Tools -> Scripts. Add the
OBS-Stats-on-Stream.lua
script. - Configure the script.
-
If you don't need Twitch Bot functionality, uncheck
Enable Bot
mark. -
Update Delay
determines how often the data will be updated. 1000 ms means once a second. 100 ms means 10 times a second. -
Bot Delay
determines how often the bot will read chat and write to it. -
Enter bot's (or your own) nickname in
Bot Nickname
field. -
Enter
Bot OAuth Password
for the bot's (or your own) twitch account. You can get it here: click. -
Enter
Channel Nickname
your bot gonna join (it gonna accept commands from this chat and print there). PLEASE, ONLY JOIN YOUR OWN CHANNEL. DO NOT TRY TO JOIN OTHER CHANNELS. -
Link your created text source.
-
Modify
Text Formatting
if needed. all $name are variables and are replaced with actual values.
-
- You are ready to go!
π NOTE: If you don't need Text Source functionality, you don't need to add a text source and link it in the script.
π NOTE: If you don't need Twitch Bot functionality, you can use
Enable Bot
checkbox to disable it. You also don't need to typeBot Nickname
,Bot OAuth Password
andChannel Nickname
in that case.
π NOTE: Bot only works on Twitch. I have no knowledge nor intentions to make it work on YT or any other platform.
π NOTE: If you use source code instead of the release page, the script will not come precompiled into one file, but instead will be composed of many files.
OBS-Stats-on-Stream.lua
file and a bunch of files inmodules
folder. The file and the folder must be located in the same place and in OBS you only need to addOBS-Stats-on-Stream.lua
as a script.
Big thanks to jammehcow for helping me with figuring out Socket functionality in Lua!
OBS Docs are very confusing. If you want to contribute feel free to message me, make a pull request or open an issue!
Another way to support me is donating! Thank you for using this script!