script

  1. JonathanC09

    Ayuda Script personalizados

    [En] Hello forum people. I'm trying to create a custom script for obs, using gtp chat. But it always gives mistakes. What I'm looking for is for a font to change whether a font is visible or not depending on the day of the week. If anyone can guide me or help me in any way I would appreciate...
  2. M

    Translating .json files to video source

    Hello! The question arose, is it possible to translate .json files into videos using a plugin or script? Let me explain, it is necessary that a window with text appears in the scene at a certain time, and that the window adjusts to the number of characters. Can this be done with any tools...
  3. A

    I asked ChatGPT to make a script in which my viewers can play audios from my folder just by typing ! and the audio file name.

    [chat-script.lua] Error running file: [string "C:/Program Files/obs-studio/data/obs-plugins/..."]:107: attempt to call field 'obs_register_script' (a nil value) I'm getting this error , and the separators are / and not \ [/ MAC] [\Windows]
  4. NAZARUIZ

    This LUA should display the filename of the video being played...

    I tried to create a LUA file using chatgpt but it doesn't work and I don't why because I'm not a developer or something like that... What do you think is happening? 1. In the first few lines of the script, we are defining the global variables video_source_name and text_source_name. These...
  5. H

    Distinguish Monitors By Something Other Than Index?

    I have four USB HDMI capture cards plugged into four different laptops which have their video stream sent to them from a desktop running OBS. There are several HDMI cables running from the desktop into each HDMI port of each capture card, which is then plugged into each laptop via USB. The...
  6. khaver

    OBS Lua Clipper 1.0

    I created this filter for a special use case for myself. All it does is allow you to clip the white and black levels. My use case: I am using the video macro in the Advanced Scene Switcher plugin to switch between a close shot of a person at a podium and a wide shot if the person moves away...
  7. S

    Looking for scripting help

    Hello! I am looking for a scripting expert to help me with a project. I use OBS to produce shopping livestreams for local brands/businesses, and I'm constantly re-building my scenes/sources based on the photos that I receive from those brands. It’s a lot of repetitive tasks, and I’m hoping...
  8. I

    How to add Media Source Local File with PYTHON

    I have a path such as 'D:\Cycling - My Mountain Route.mp4' how can I assign this path to OBS Media Source with websockets using PYTHON code ? I tried this : sourceName = 'Media Source' Local_file = 'D:\Cycling - My Mountain Route.mp4'...
  9. B

    Where is obspython installed? (so my IDE can see it)

    It seems OBS doesn't install the obspython module like a normal python module which means my IDE (VSCode) can't see it. Where can I point my IDE so it recognizes the obspython module and its contents? Anybody else use VSCode for writing OBS Python scripts?
  10. 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...
  11. M

    script to start stop live schedule time, change title random list, change midia, loop automatic

    my lives 24/7, but youtube max 8hs record, need stop live after 7hs, change title and midia and start live, loop automatic, script its possible? exist? thanks very match
  12. 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...
  13. khaver

    OBS Lua DeBlemish Filter Script 3.0

    Lua script to add a de-blemishing filter. Add the DeBlemish filter to your source. Click the "Select color" button and click "Pick Screen Color" and select a pixel in the skin. Click "OK". Check the "Show mask" box and use the sliders and Hue, Saturation and Value checkboxes to adjust the...
  14. R

    (Python) Memory management in scripts?

    I don't usually write programs or scripts which require memory management, so I have been looking at some scripts which has code like obs_data_get_array and later on they release the array using obs_data_array_release. When do I have to release references? When I am doing properties references...
  15. khaver

    OBS Lua VAPS - Volume Automation Per Scene 1.1

    Reads a text file of scene names with audio automation parameters for each audio source in each scene. With the checkbox unchecked, create a scene list text file in "Scene List to Save" by "Browsing" to a folder and enter a file name. One by one, select each scene in your Scenes dock...
  16. D

    OBS Python Show / Hide Transition Timers for Multiple Scene Items / Sources v0.1

    Hey there! So, this is a python script that will allow the user to have multiple timers that will trigger the scene item's (or "source's" as it's called in OBS) show / hide transitions. This is a pretty alpha version, so bugs may be present. The repeat timer was extensively tested by me to...
  17. LukasTycho

    Is there an event when connecting a monitor? (Scripting)

    Hi, I'm using OBS as a "Video Switcher" with a big screen. I'm using a Fullscreen Projector for this. I have a small script that autostarts the projector when OBS is started, which works fine if the screen is turned on. If the screen is off, it is not detected as a monitor in Windows and...
  18. M

    Lichess Next Challenger 1.0.1

    A simple script that will get the next challenger from lichess.org and display the challenger's username in the text resource selected. To install, download the latest release and unzip into a folder of your choosing. In OBS, create the Text Source you want to use to display the name and then...
  19. reejk

    OBS Python OBS Indications on Corsair Keyboard 1.1

    This script changes led colors on Corsair keyboards by statuses of OBS scenes, sources and filters. This way you can understand what's going on in the stream even when the OBS window is not visible. Each led has settings for color when scene is active, filter is enabled, source is active, shown...
  20. D

    OBS Python Change Scene Name of Scene 0.1

    This is a super, super basic script that lets the user change a scene name to the one specified in the script window through the use of a text field and a drop down list. As I've been learning how to write scripts for OBS, I initially found it hard to figure out how some things work. So...
Top