lua

  1. V

    Enable Source Named in Text File

    Hello, If I have a text file "File.txt", and the contents of the file is "Background1", I'd like to have OBS automatically make a source I have Named "Background1" visible, and keep monitoring the text file for changes. I've looked at txt-trigger and have a reasonable idea about monitoring the...
  2. A

    OBS Lua DR2TVOverlay V3.1.2

    DR2TVOverlay is an extension for OBS Studio built on top of its scripting facilities utilising the built-in embedded LuaJIT interpreter. This Lua script uses a number of OBS-Studio Sources to display the event information from DiveRecorder (DR) onto the live event video stream. To use this...
  3. 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...
  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. 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...
  6. khaver

    OBS Lua RGB Adjustment Tool filter 1.2

    Unzip the LUA file into your scripts folder and load the filter-rgbtool.lua script. Add the "RGB Adjustment Tool" filter to your source. Click the "Show Tools" box and using the "Move Graph" slider, position the graph out of the way. Using the "Center X" and "Center Y" sliders, position...
  7. P

    OBS Lua showhtk 0.1.0

    showhtk A simple OBS script to show pressed common hotkey form (e.g. Ctrl+C, Alt+V) in screen. Demo: https://youtu.be/iMdDl_yG-c4 Instructions 1. Download the showhtk.lua and save to any folder you like. 2. In OBS, create a new text source, and design it, because showhtk.lua doesn't design...
  8. S

    Lua script property with OBS_TEXT_INFO not updating properly

    I'm writing a Lua script and attempting to add an informational text label to my script properties using a text property with the text type "OBS_TEXT_INFO", which I think is fairly new (maybe added in v28?). The property add looks like this: local p_info_text = obs.obs_properties_add_text(props...
  9. KGeetings

    Help with modifying Instant Replay Lua Script to incorporate Source Record

    Hello, I want to first state that I am still fairly new to programming in Lua, and am definitely looking for help and suggestions for my code. So I have taken the Instant Replay script made by Jim and Exeldro, and have attempted to modify it. What I want to be able to do is use the multiple...
  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. 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...
  12. 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...
  13. 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...
  14. khaver

    OBS Lua Color Curves 1.2

    This Lua script adds a Color Curves filter for color correction by adjusting red, green and blue curves. Load the script into OBS. Add a Color Curves filter to a source. Check the Graph checkbox to see the RGB adjustment curves. The High Point, Mid Point and Shadow Point sliders move the...
  15. khaver

    OBS Lua Clone Stamp 1.2

    A Lua script to add a clone stamp effect filter. Use for removing unwanted objects, etc. in a source. Add the script using the OBS Tools->Scripts menu. Add the Clone Stamp filter to a source. Check the "Show Destination and Source" checkbox. The red tinted area is the destination (the stamp)...
  16. Suslik V

    OBS Lua UnFish Lens 2022-05-21

    This script adds the "Unfish/Fish Lens" video effect filter. Compatible with OBS v21.1.2 and later. Usage: Download (or make it from the source code) the "filter-fish-lens.lua" script-file (MD5:B7094F27EEA1E2CE864BDB6A2E946ED2) Navigate to main menu Tools>Scripts>Add_button("+") and select the...
  17. khaver

    OBS Lua Chromatic Aberration 1.3

    This Lua script adds a chromatic aberration filter. Adjust red, green and blue as desired. You can also set a central zone that's not affected. Use the "Show protected center" checkbox to see the limits of the central zone. (tested only on Windows 10)
  18. J

    OBS Lua SmartStart v-1.0.0

    Simple script allowing to launch several applications at OBS startup
  19. A

    Image Source - Changing the file path in Lua

    I'm sure one of you cleaver people will know the answer, my problem is that I want to change in script (Lua) the file and location for an Image Source. Basically to change the source from displaying one countrys flag to another. The flags are .png files stored on the local machine. I have the...
  20. khaver

    OBS Lua Lens Flare #2 1.3

    Another Lua script to add a lens flare effect filter. Use the "Show Target" checkbox to set the flare source location. The "Use Image Intensity" checkbox uses the brightness of the source image at the target location to affect the flare. Use the "Threshold" slider to adjust the level of...
Top