python

  1. H

    OBS Python Multi-Counter Script with Sounds v1.3

    This script can handle as many counters as your system has hot keys. Each counter gets a increment, decrement and reset hotkey, start, end and step values, and you can pad the beginning of the output with whatever character you'd like, the length is calculated on the maximum value. You can...
  2. H

    OBS Python YouTube Live Chat browser source updater 1.0

    This is a script that will automatically update a browser source to your YouTube Live's chat window. It take's your channel URL, with example in settings. Then you can set the retry interval, it does this because sometimes the URL isn't available right when going live. So it makes sure the...
  3. T

    OBS Python Python Tkinter OBS Recording & Replay Indicator 1.1.0

    Description A super-lightweight Python/Tkinter overlay that shows recording and Instant-Replay status icons (in the style of NVIDIA Geforce Instant Replay) on top of all windows (except exclusive fullscreen), with no external dependencies, and fully visible in your OBS captures. Functionality...
  4. X

    Find a scene filter and enable/disable it

    I'm making a python script for OBS and woud like to do that. I don't think obs_source_get_filter_by_name can be used on scenes, so how can I access the filter list? And once done, how do I enable the filter? I cannot find this info in the doc, sorry.
  5. shadowxdgamer

    OBS Python Recording & Replay buffer Notification Popup 1.1.0

    Hi OBS community! I've developed a polished recording notification simple script "third party plugin" that brings clean, Shadowplay-style like alerts to OBS Studio. Key Features: ✨ Sleek Modern UI - Dark theme with vibrant indicators Smooth Animations - Elegant fade in/out transitions ✅ Smart...
  6. N

    How to Resize Output (Source size) from python after hook

    Making some automations for game testing and I want to do what the Resize Output menu item does from python. Specifically I have a hook callback which allows me to get the resolution of the game's window (I test in windowed mode usually). I've figured out that Resize changes at least 2...
  7. Markwasfy

    How do you create a transition programmatically?

    as the title says how can I create a transition with Python or C, I searched in WebSockets too but had no hope
  8. blackeye

    OBS Python Reset and overwrite source setting values 1

    This OBS-Script can reset and overwrite values of a source. This can be done via a json file which contains the values for the update. But I can edit the values in the source setting and save them? Why Do I need a script for that? Thats right, but sometimes there are cases, where you need to...
  9. Send

    Excel2OBS v1.0

    https://github.com/loseisbest/Excel2OBS excel2OBS是一款非常方便的软件,可以使obs读取Excel数据,其中包括文本和图片。
  10. satalight

    OBS Python Shitrate!! - Decreases the bitrate of a recording / stream as audio increases. v1.0.0

    A Python 3.6 script that reduces the bitrate of the stream / recording as audio increases. Includes two versions of the script, one that looks for specific jumps in volume and another that proportionally relates high volume amounts with bitrate count. Full Description and Instructions...
  11. S

    checking obs si via code

    Hello friends, I am making a stream deck for myself, but I don't understand how to control obs si, I want to make all of the scene transitions on and off through the code, I want to make code that turns the recording on and off through the code, but I don't know how to do it, I want to write...
  12. oxypatic

    OBS Python OBS Recording Organizer Upgraded 1.0

    Originally created by francdv23. What has changed? I freshened it up and made it working again. Additionally I added a feature that lets you choose if you prefer the "game title + recording name" file name or without any changes. Will there be any updates? In the future I will be improving it...
  13. Andrewwz

    python script doesn't work?

    I installed python3.9 built by the framework on macOS and successfully loaded the path in the OBS script. But the python file didn't work
  14. M

    Python Script to connect to OBS Websocket Server Help

    Goal of the script: Send command to OBS to make it do something, like switch scenes, change Sources, play a gif, etc. I've tried using Postman to get an example, and while I can connect, I get errors about the websocket version from the client being out of date when I try and SEND something to...
  15. D

    help with obs python script (play video source at certain timestamp)

    have a python script for OBS that makes a scene and loads a video and tries to play it. The script looks something like this: import obspython as obs import math, time, os, random hotkey_id = obs.OBS_INVALID_HOTKEY_ID is_active = 0 def script_description(): return """Random Script""" def...
  16. bradleyp

    Python - Modifying Window Capture Settings

    I'm trying to write a script to automatically update the Window Capture window when a user changes the current foreground window in Windows. This would eliminate the need to constantly change the currently selected window for recording or for replay buffer. I'm able to use obs_data_set_string...
  17. J

    Python Script wont start properly on obs

    Hi, I've created a small Python program (OBS_Python.py), and you can find the attached files. The program is designed to move mp4 files from the C drive to another drive when a game is opened + to specific folder named after the game. However, I'm facing an issue: it only prints the message...
  18. adaendra

    Error "Attempted to insert context with duplicate name"

    Hi, I have a script which automatically change scene in Python, but when I change the scene collection and come back to the one with my script, I have the following error : Here is my script Do you have any idea about what can generate this ? or a way to clear the context please? Thanks...
  19. ysmd_

    OBS crashing/long opens because of the code based on python.

    I have a code on python (3.11) from pynput.keyboard import Key, Listener import pydub from pydub import AudioSegment from pydub.playback import play is_microphone_muted = False def sound_disconnect(): songd = AudioSegment.from_mp3("mute.mp3") play(songd) def sound_connect()...
  20. W

    Obs, Python and web socket : impossible agreement ?

    Hello everyone :), I have a very important little question about the web socket in Python. We want to ensure that certain text sources in our scene are updated using the web socket in Python. However, we have been trying for several weeks without any convincing results :/. I would like to...
Top