lua

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

    OBS Lua Chromatic Aberration 1.0

    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)
  3. J

    OBS Lua SmartStart v-1.0.0

    Simple script allowing to launch several applications at OBS startup
  4. 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...
  5. K

    OBS Lua Lens Flare #2 1.1

    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...
  6. K

    OBS Lua Lens Flare 1.1

    A Lua script to add a lens flare effect filter. The "Use Image Intensity" checkbox uses the brightness of the source image at the center point location to affect the flare. Use the "Threshold" slider to adjust the level of brightness that affects the flare. "Animate Rays" slowly spins the...
  7. K

    OBS Lua Corner Pin 1.2

    A Lua script that adds a four corner pin transform effect filter. Adjust the four corners of a source to create various perspective effects. Copy filter-cornerpin.lua to your scripts folder (Tested only on Windows 10) Based on a corner pin shader by Charles Fettinger...
  8. K

    OBS Lua 3 Axis Color Correction 1.0

    A Lua script that adds a color correction effect filter. Adjust color levels between red<>cyan, green<>magenta, and blue<>yellow, corresponding to the 3 axes of a vectorscope. Another slider adjusts the luma level. Used for matching colors of different cameras. Copy filter-3axiscolor.lua and...
  9. C

    Create video/webcam sources in a script

    Hello, This is my first post here so sorry if I am not perfectly clear. I try to create sources with a script, one for a webcam and a second for a rtsp video flux. It can be in Lua or in Python if possible but it seem if I don't make a mistake that it was not possible in Python. I have looked...
  10. JEJ

    OBS Lua Score Board 0.1

    OBS Text Source based scoreboard triggered with hotkeys. 1: Use this for the timer 2 to 5: Assign a <text source> for a numeric incriment container Design any layout you need Update values with a Hotkey! Add Text Sources as needed. Assign Hotkeys to add or subtract points To use this...
  11. JEJ

    OBS Lua LUA Comment Removal 0.1

    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...
  12. BadaqMeAjuda

    OBS Lua Random Toggler v1.0.0 1.0.0

    Based on Exeldro's Source Toggle I've made a version that let's you randomly toggle one source from a scene via hotkey.
  13. 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`...
  14. JEJ

    OBS Lua Media Switch Scene 0.3

    This Script will change the active scene once the selected media file ended. Download and install the Audio Status Monitor lua script. Open up the Scripts dialog (Tools -> Scripts) Click the Plus '+' to add a new Script, select MediaSwitchScene.lua Configure the Script properties: Select the...
  15. JEJ

    OBS Lua Snip - Now Playing - Spotify & iTunes 0.1

    This Script allows you to impliment the Now Playing Widget using Snip, but instead of using a browser source such as this awesome widget by ZyphenVisuals it instead uses OBS Sources. This LUA script uses a Scene named 'Snip' containing several Sources that can be nested as a single Source in...
  16. 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...
  17. JEJ

    OBS Lua Comprehensive Stopwatch & Countdown Timer 3.4

    All things up and all things down in time. Modes: 1) Stopwatch 2) Countdown Property Configuration: 1) Basic - Hides all advanced settings 2) Advanced - Show all available configurations Note: Properties defined in 'Advanced' settings will remain active even if the config is set to...
  18. Lerwox

    Source transition on show/hide doesn't work with scripting

    I develop a small script in LUA which allows me to change the window of a source, but there is no transtion for this kind of effect. So I came to the idea to hide the source, modify the window and then show it to make it look better. Only when I hide and show the source the transtion are not...
  19. Paulo Soares

    OBS Lua Custom Shaders 0.9

    Custom Shaders is a LUA script for Open Broadcaster Software (OBS) that can be used to apply OBS effects to any image source. An OBS effect (or shader) is defined in a file with a nearly identical syntax to Direct3D 11 HLSL effect files. This script was inspired by the filter-custom included in...
  20. KnightNine

    How can i get a script to save each frame's video data to a file every frame?

    So i'm completely new to lua and the OBS API but i want to have a script save the video output to a jpeg every frame, i'm aware that there's a "singlejpeg" output in the recording settings but since obs doesn't let me open that jpeg while it's being written over; so i can't read it from any...
Top