OBS-Stats-on-Stream
OBS-Stats-on-Stream copied to clipboard
A script for OBS that shows lagged/skipped/dropped frames and other data on your stream and/or in chat.
OBS Stats on Stream
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 |
How to use
- 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.luascript. - Configure the script.
-
If you don't need Twitch Bot functionality, uncheck
Enable Botmark. -
Update Delaydetermines how often the data will be updated. 1000 ms means once a second. 100 ms means 10 times a second. -
Bot Delaydetermines how often the bot will read chat and write to it. -
Enter bot's (or your own) nickname in
Bot Nicknamefield. -
Enter
Bot OAuth Passwordfor the bot's (or your own) twitch account. You can get it here: click. -
Enter
Channel Nicknameyour 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 Formattingif needed. all $name are variables and are replaced with actual values.
-
- You are ready to go!
:pushpin: NOTE: If you don't need Text Source functionality, you don't need to add a text source and link it in the script.
:pushpin: NOTE: If you don't need Twitch Bot functionality, you can use
Enable Botcheckbox to disable it. You also don't need to typeBot Nickname,Bot OAuth PasswordandChannel Nicknamein that case.
:pushpin: NOTE: Bot only works on Twitch. I have no knowledge nor intentions to make it work on YT or any other platform.
:pushpin: 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.luafile and a bunch of files inmodulesfolder. The file and the folder must be located in the same place and in OBS you only need to addOBS-Stats-on-Stream.luaas a script.
Contribution
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!
Donate
Another way to support me is donating! Thank you for using this script!