scripting

  1. manoliszzz

    Bible Dock Plugin 0.9

    Summary The Bible Dock Plugin is a free and customizable tool designed for use with OBS Studio. It allows users to seamlessly integrate Bible text, chapter navigation, and verse selection into their live streams or presentations. The plugin offers a variety of features that enhance the display...
  2. S

    OBS Lua Lobster - An API wrapper to simplify writing OBS scripts 2024-01-25

    The OBS API is amazing in the fact that it allows you to do pretty much everything related to the software. The downside to that is that you have so many tools that even simple tasks require multiple API calls, which can be a pain to manage. It's why I made Lobster. The goal is to simplify the...
  3. 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...
  4. B

    Preview Scene Script

    Hello Dears, I use use Streamer.Bot/Noob Commander and HID Macros to create a keyboard with shortcuts to ease the use of OBS with a 10 cam setup. Simply I create .vbs or .bat file that do a specific task on obs using Streamer.Bot or Noob Commander and assign it to a key on a second keyboard...
  5. S

    Python Web-socket.py

    Hey I am trying to get TEXT GDI+ to change when I run my python script. source_name = "yo" # Replace with the actual name of your OBS Text source text_properties = { "source": source_name, "text": text, "textFile": "", "outline": True...
  6. iixisii

    HIDE & SHOW 4.0.0 ( COMING OUT SOON! )

    This is a thread, for hide and show new version release! LET ME KNOW WHAT FEATURES YOU GUYS WANT I'll do my best to implement them in the next release. With this release you will have to work a lot with typing and things ... NO UI it's kinda hard to work with UI, in OBS. That is why this next...
  7. boop_xyz

    Best Route to Handle API Scripting

    What would be the best course of action with scripting? I am making calls to an API and getting that data and displaying it I had these ideas: 1. I do all of the scripting in OBS python, make API call, update the text sources, and repeat this every second 2. I have an external application...
  8. R

    Python, Hiding Rust Map

    Hi folks, I've been working on this for the better part of a week but simply cannot find an elegant solution. Ideally, AutoHotKey would solve my problems, or there's a "fancy" Python script available on the internets that would also suit my needs. But I'm a Mac guy, and AutoHotKey is not...
  9. R

    OBS stops responding when setting scene within timer callback (Python Script)

    Hi all, I've been working on a python script which is a countdown timer pretty much like the Advanced Scene Switcher, but with customised funcionality for myself. The timer callback seems to work just fine, however when I try to set the scene from within the timer_callback function, the log...
  10. HisZd

    Lua Filter Source Can't Get Parent Sceneitem

    I am trying to create a filter source that manipulates the parent sceneitem's visibility using timers. I have successfully retrieved the parent source and scene, but when I try and use obs_scene_sceneitem_from_source(scene, source) I just get nil. I will attach my script, but it is VERY messy...
  11. R

    OBS crashes when switching scene during a timer_add (Python scripting)

    Hi, I'm still quite new to scripting for OBS and I'm trying to make a timer for switching scenes for my own purposes in python, since it's the language I'm the most used to. Inside my callback function for the timer, I added the obs.obs_frontend_set_current_scene(scene) which is causing OBS to...
  12. S

    Dynamically change recording location

    Hi, I'm developing a python script to help me automate a small workflow. I know I can start OBS recordings a specific scene by the command line, but I would like to change the location of the recording based on a parameter. Is there an out-of-the-box solution for this problem or, if possible...
  13. ItzDragon

    Changing image source's image using python scripting

    I'm currently trying to create a obs script using python, and i'm blocked, i cant find a function in the documentation which enable me to change the image of an image source thank you for your answers
  14. Soulbest

    Help With Websocket

    I've been trying to figure out how to use OBS-Websocket, and for the life of me I can't figure out how events work in it. Based on what I can find, you need to subscribe a method to events once the client is connected, but I am not sure how to do this. Any help appreciated!
  15. M

    How to trigger a python script on OBS Studio when a Alert box changes?

    Hello everyone, I would like to know how to trigger a python script (ran at localhost) on OBS Studio when a Alert box changes? Thanks in advance!
  16. H

    Best Of 3 Tally Mark Counter Using 3 Hyphens

    Need help making an obs script that has me and a friend stumped, I'm not a coder so keep that in mind if I make no sense. The idea behind it is that there are 3 text sources, one will be red team and one will be blue team. The last text will be the blank white to show no points were scored on...
  17. 412comms

    Populate text overlay elements from Excel file?

    Dear OBS developers, Sports stream producer here (hockey and horse racing, chiefly) with a bit of a dilemma, an idea of how I want to approach it, but absolutely no programming knowhow to make it work. Throughout a single horse racing meeting, over a hundred horses compete — not to mention...
  18. U

    OBS Lua libre-macros 3.3.0

    Description & Installation & Usage: https://github.com/upgradeQ/libre-macros/blob/master/README.md
  19. F

    How to install obspython module?

    Hello everyone, I apologize in advance if this question seems redundant or stupid. I've been struggling to find a proper way to install obspython, if that's even the name of the OBS Python API. I've downloaded python 3.6.x (x86-64), and am using obs 64 bit. I've attempted using the pip...
  20. ActiveCreek

    API for starting Virtual Camera

    I'm looking through the documentation for APIs to start the Virtual Camera output from a plugin (or script). I've found the obs_output_start method, but the documentation implies that an output is either a stream or a recording. Is there a method for starting the built-in virtual camera? Or, is...
Top