OBS Status (OBS Stream Info)

Description

Get OBS stream info with a command.

OBS WS v4.9

Import code

TlM0RR+LCAAAAAAABADtW21T20gS/r5V+x98VO2n20nNm6TRVt0HcIAYAgk2tsHHVWreZGvRi0+ScczW/vdrSQaMbbKQtUPublOhLGs83dNPP9PTPRr99uMPjcbOjc3yME12fmnQn6sbiYwtfNv5sNdpdApZTPKdukHqAn6YQ9s/y++Nxm/1BzSFpuyhCXUDG0jEpE8QdyRD0hqBXI8y4WDPelTWsqpO/57YSakpmUTRw12bSBXZUl6RTezD/dVhNXbNjUy0XRA5zNLJeN3gq1YZTeUsb09KYwMZ5QvSM5mYNN6tLFxt1WmiJ1lmk2K1bQWVR8hUP7mRWVgadTo3IZPTVjKeFA9Dq36Wjm0m5wNwf16SEFVQ7Sx1qZW3zDKKtU2TpBXH1oSysNFsGdC6f1DY7N5q8rixdqprNQ+w5yBMfYm4pxwkiMDIJ4w5BvvW8dnSqKY2HI5KqPAb/LilmI1LMwhdun/nt1UjnqBDPcDE2M+lmoe7v//8lBMW+POpZsYnnY9kNl4avLG5zsLxHJKdoS3yBpCjkdvE5I1iZBvgTrhIG3okl114be14Nwpv7ApPao/YwAKLtF2iS9XY/OXqqg8mpdP86uok1Fmap0Hx5nT//OrqIIPRT9Ps2uVXVzf8DX7DMCP+1VWc6zSLQvXGRNHOosB/PdasZoVtpqZCwFycjlWsh10W3ZrDXvFhio/fno2npn+Uy/7J8JJ+Hml2Mjwje61O34F7TgTt3tuz9Ei/64XqMPq1dXh0o+h02L4YRZeshwed4bhstyCreQZy3x1VOhQ9uu2y9si869223uLh5cVRokke6viAgeypuTgLLzpOV5FTrONoMpgNxx9qGWOVnA0Hh71fZZ+M1LuT4cfO3ltFHTq4OMLvo/YN9Mcnt630TuYFbUeXNCou+59vWxG+k3M96IO9/YO8dXhAB3jQfd/c+1W/68J3EqnOFHREt3IGn8ne7bzPyMSATHPXb+2TkTkcTrqxT1R8lpaYvL82kdk3Odg2UgeDkf71872Oj+EwPLsYJ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rnuxttobafBHbyttWp5kJk+G2kM+eUFDD7nDA3DEKYeEDx6XQsPRiiowxhEEKChC+NtvJ5mvXBdg/ykkOA9g2+Gi8Ts8828cMKyMZ5DsQ/LlHIQMNIPYo7XH4pBCP+Gv7YPPFbNuC7OwkzPNtr8BZpQnFlaovhX4mfccnxkPS0VAAuA5HQvsepEJu4BPrEMuC13bE5qvd2hHfYAWe++EPV2CslTUa8n9OAHwekPKlCVZup7lEKO36gSKv7YbNl79lTBpHcrY3CQKbfUi254VSC1KVGlRui9+sr8qIgISUeRxJgyXiDizLPuUYaZcqqJPdsmR7bTdsvh7uFJkMtwZ+vk76PO90uCeZw5DyFCRAngS4uTCIYR5g65cvEL063JuvgrvjNbvqm4TbyrjauNfl4ZB1uEvKjVS+QrDKcsSthfCvXQ9hL6CBT53ADfBr4/6sAnjhzacXHg2rut+9G3X3atSTT6s96xlOHI0cRaBAUooiYYSLFHYD6TJHKP7iDQO+UbgWq9S7yz/9LLX8qH9ZPxBd6Ard4lgmZu2LgDVblx484jXDAtbHYQGs7+bA/6WB3TeuHfY8gnA38LhmyLjlIXXOBBIuJcizgW8dbMBvC9toTz7ADRMdTaqTVI/vx/XxKryIVmV2qftvK8c6H/HxhWeWdZpGJp0mu0+8zLcTpXo1wOyEwyTN7F5aPJzefWzCPLA0y0abrZB8R983kJVOpVee7Dh5aCx9szAxd7hwBHfADzsLT+F+X9Apc9uxSR4W647V7QyjVMmoOQfksb211nUtX37APsxkUpzXM2/OxNWjAt+Ot452LJGQWUCohaTPDxxIwKlAAXexZq5lUpqt8RbWiic4+8J3d78DzrLtkJZ9v6ytgvKPP/z+H8FlKke5PQAA

Installation

  1. Import the code from below.
  2. Add the action OBS Status Setter to the obs event StreamStatus
  3. Optional, change the amount of decimal numbers in OBS Status Config.

Commands

It comes with 2 commands, !bitrate and !obs.
!bitrate - This just gives back your bitrate.
!obs <info name> - For this to work you need to write what info you want. The list of info names are below.

DroppedFrames
AvgFrames
CpuUsage
FPS
MemUsage
Bitrate
FreeDisk
TotalFrames
OutputSkippedFrames
OutputTotalFrames
IsPreview
IsRecording
IsRecordingPaused
IsReplayBufferOn
RenderMissedFrames
RenderTotalFrames
Strain
Uptime

These are global variables, so they can be used anywhere.

Example Usage

!bitrate
Output: Bitrate is currently 7080 Kbits per sec.
!obs OBS cpuUsage
Output: 2.74

Contributors

3 Likes