Question / Help How do I detect from Windows 10 that OBS is recording?

Enricosx

New Member
Good morning,
I would like to flash the Scroll Lock LED when OBS is recording.
How do I detect from Windows 10 that OBS is recording? logs? process? files?
Thanks.
 
maybe I just need to monitor if obs-ffmpeg-mux.exe is active, right?
with
Code:
for(){(New-Object -c WScript.Shell).SendKeys('{SCROLLLOCK}');sleep -m 500}
i can make something....
 
Last edited:
Couldn't you just get a raspberry pi, hookup a small monitor or buy their small 7" monitor, macgyver tape it to the top of a main monitor, and make it blink or show like a "LIVE" or "ON AIR!" logo, when you're streaming/recording? Alternatively use it to display live stats.

Pretty sure someone has already done these things already or in part, but we will always need more tools and better versions.

Best of luck!
 
raspberry pi is more complex than the keyboard :).
Code:
 cls
while ($ true) {

if ((get-process "obs-ffmpeg-mux" -ea SilentlyContinue) -eq $ Null) {

}

Altro {

(New-Object -c WScript.Shell) .SendKeys ('{SCROLLLOCK}'); sonno -m 1000

}
}

it works with PowerShell if I use Notepad, but not with obs-ffmpeg-mux (^_^) and I use 30% of i7 ...
I record the monitor and the software in full screen, I don't see the statistics or the taskbar:
 
well if it is polling every hz, then yes, that's going to use a lot of cpu. But this isnt really an obs *support* issue dude. Perhaps look up "general development" sub forum?
 
Enable the system tray within OBS and you get an OBS icon in the system tray are oft the Windows task bar. The icon will indicate if OBS is currently recording. If you are not able to see the icon, check the overflow area where the inactive icons are moved by Windows.
 
Generally, two monitors should be considered 'bare minimum hardware' for content creation purposes.

That said, you could also try tossing a LUA or Python script together, as OBS supports both with the appropriate versions of the respective software environment. I'm not sure if obs-ffmpeg-mux being present in the process list is a reliable indicator of streaming/recording activity unless you're using ffmpeg output or remuxing files across.
 
Sounds like a job for autohotkey. (warning, blind code, can't test currently)

Code:
Loop
{
    Process, Exist, obs-ffmpeg-mux.exe
    {
        If ! errorLevel
        {
            Send, {ScrollLock down}
            sleep 50
            Send, {ScrollLock up}
       }
    }
    Sleep 500
}
 
my idea of using scrool lock was not good, it interferes with normal keyboard commands.
the autohotkey script works fine.
the second monitor is distant and I don't see the black mini button that signals the recording.
I thought I would turn on and turn off a USB LED, but I doubt it can be done via software, because I don't think it has a data connection.
For Python scripts, I would gladly use it if I understood how to do it :)
thanks everyone for the help, i will look for a beginner tutorial to use python and obs.
 
Back
Top