lookiarmy.blogg.se

Obs studio recording progress indicator
Obs studio recording progress indicator




obs studio recording progress indicator
  1. #Obs studio recording progress indicator serial
  2. #Obs studio recording progress indicator software
  3. #Obs studio recording progress indicator code
  4. #Obs studio recording progress indicator series

The code driving this uses the Arduino Servo library to generate the PWM signal pulses for the servo. When the source is unmuted the servo swings back down and hides the flag. Whenever the audio source is muted in OBS, the servo swings the flag up and waves it around. Oh, and added some googly eyes for good measure. Then I drew some artwork on a piece of paper, stapled it to the stick, and taped the servo motor to the back of my monitor (again with more of that awesome VHB tape). I drilled out a popsicle stick to accept some M2 screws and mounted it to a plastic servo arm. This is the silliest, and for that reason I think it might be my favorite.

#Obs studio recording progress indicator serial

All of these programs share the same parsing function for reading the ‘mute’ state from the USB serial input the only difference is the physical indicator attached to the output.įor the indicator itself I decided to build out a few different options, just to play around with what I had on hand and figure out what worked best. With each indicator the ‘unmuted’ state is ‘off’ and the ‘muted’ state is ‘on’.

obs studio recording progress indicator

The output is a plain text ( ASCII encoded) string terminated with a newline character, writing either “muted” or “unmuted” respectively depending on the state. After waiting for the microcontroller to finish booting (1.6 s) it then sends the initial ‘mute’ state of the source over the bus. Speaking of, the serial port connection is created on script load and then automatically closed and reopened if either the user-selected port or baudrate is changed. Changing the audio source’s ‘mute’ setting (either by the GUI or a hotkey) will trigger this callback, telling the script to send the state over the serial bus using the chosen port. Once the user selects the audio source, the script adds a callback to the ‘mute’ state function using OBS’s callback handler API. The script makes use of Qt’s signals and slots interface for extremely low overhead while running. Once the script has been installed and the settings configured, everything will automatically load and run in the background with OBS.

#Obs studio recording progress indicator series

The script hooks into the OBS scripting API and lets the user select the audio source, serial port, and baud rate from a series of list boxes. To accomplish this task I wrote a Python script called “OBS_Mute_Indicator.py”. Also loaded is a previous project, the OBS_ChatSpam script. The OBS scripts window showing the options for the OBS_Mute_Indicator script. This requires no external plugins (such as OBS WebSocket) and provides a preconfigured Qt “properties” page for adjusting settings from within OBS.

obs studio recording progress indicator

There are a few different ways to do this, but I’m going to use the “scripting” support that was added to OBS in version 21.0.0. It’s this ‘mute’ button that we’re interested in – we have to somehow hook into the program to get the state of the mute button for the relevant audio source before we can set the physical indicator. Sources containing audio such as webcams and microphones are each given a volume control slider and a ‘mute’ button to cut the output. In OBS Studio streamers can manage a variety of video and audio sources and collect them together in different ‘scenes’ for display on their live broadcast.

#Obs studio recording progress indicator software

The most popular software for live streaming is Open Broadcaster Software, more commonly known as OBS Studio. The “speaker” icon indicates the muted state of the audio source. The audio mixer in Open Broadcaster Software (OBS Studio). If you want to know more, keep reading! Fetching the Mute State For those of you who like videos, here’s a quick overview of the script and the indicators I came up with.






Obs studio recording progress indicator