obs lua

  1. 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...
  2. iisxiao

    OBS Lua HIDE & SHOW 2.0.1

    version ² How To use: (Screen Time) --required means how long the object/source should be visible for. the value it holds represents minutes! (Hide Time) --required means how long the object/source should be hidden for. the value it holds represents minutes! (Randomize)...
  3. GrumpyDog

    OBS Lua LUA Comment Removal 0.2

    In the event where script comments in obs lua scipts causes issues, you can use this script to remove the comments from the script quickly. This file adds no functionality to OBS whatsoever. If you have an LUA file, that you need to remove all the source code comments for, this script can...
  4. swolekat

    Getting audio capture callback in Lua

    Hello, I'm trying to write a lua script to move a source based on the audio level of an audio source. I am currently trying to get the audio levels by setting up ` obs_source_add_audio_capture_callback`...
  5. wilderf353

    OBS Lua Scene Count Up Timer with Active Scene's Name 0.3

    We use OBS Studio at my church with a multi-camera setup. With the idea that changing camera views enhances visual interest and it breaks up the monotony of a single head-shot during long segments, it is nice to rotate through the different cameras. The problem with changing cameras manually...
  6. bfxdev

    Tips and tricks for Lua scripts

    I start this thread to share my main advancements with Lua scripting. As of today (OBS v26.0.2 released October 6th 2020), the online documentation describes the OBS API in its original C form, and it is left as an exercise for the scripting enthusiast to figure out how data types are converted...
  7. rensdebee

    Lua script to change Custom dock url

    Hello, I was wondering if it is possible to change the url of a browser dock with a variable in a lua script. I'm writing a script because I need to change the op address in some urls of a browser source because these ip are changing. I can change the browser source but also wanted tot change...
  8. M

    OBS Lua Reload browser in preview scene V1.0.1

    This script will refresh any browser sources in the preview window of studio mode. I create this script because I am using browser triggers to set PTZOptics camera to a specific preset. I have to have the preset in the browser normally trigger on the scene becoming active. This is so same...
  9. D

    OBS Lua Whiteboard Source (Windows only)

    deetari submitted a new resource: Whiteboard Source (Windows only) - This script provides a whiteboard source that allows users to draw on their live output. Read more about this resource...
Top