vban-cmd-python/examples/obs/README.md
onyx-and-iris ca9a31c94a example now registeres on_exit_started
script will now end when OBS is closed

filter out all logs but `vban_cmd.iremote`

setup.py added
2023-06-25 14:49:07 +01:00

1.4 KiB

Requirements

About

Perhaps you have a streaming setup but you want to control OBS and Voicemeeter from a remote location with python installed. With the vban-cmd and obsws-python packages you may sync a distant Voicemeeter with a distant OBS over LAN.

Configure

This script assumes the following:

  • OBS Connection info in a valid config.toml:

    [connection]
    host = "gamepc.local"
    port = 4455
    password = "mystrongpass"
    
  • VBAN Connection info in a valid vban.toml:

    [connection]
    ip = "gamepc.local"
    port = 6980
    streamname = "Command1"
    
  • Both configs should be placed next to __main__.py.

  • Four OBS scenes named "START", "BRB", "END" and "LIVE".

Use

Make sure you have established a working connection to OBS and the remote Voicemeeter.

Run the script, change OBS scenes and watch Voicemeeter parameters change.

Closing OBS will end the script.

Notes

All but vban_cmd.iremote logs are filtered out. Log in DEBUG mode.

This script can be run from a Linux host since the vban-cmd interface relies on UDP packets and obsws-python runs over websockets.

You could for example, set this up to run in the background on a home server such as a Raspberry Pi.

It requires Python 3.10+.