lua

  1. J

    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...
  2. wilderf353

    OBS Lua Scene Count Up Timer 0.2

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

    OBS Lua Comprehensive Stopwatch 2.5

    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...
  4. 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...
  5. 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...
  6. 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...
  7. U

    OBS Lua obs-libre-macros

    upgradeQ submitted a new resource: obs-libre-macros - Scripting and macros hotkeys in OBS Studio for Humans Read more about this resource...
  8. U

    OBS Lua obs-libre-macros 2.1.0

    Description obs-libre-macros is an Extension for OBS Studio built on top of its scripting facilities, utilising built-in embedded LuaJIT interpreter, filter UI and function environment from Lua 5.2 Screenshot Features Attach Console to any source in real-time. Auto run code when OBS starts...
  9. P

    Shortcuts / hotkeys for online web docks

    Hi, I've developed a dynamic lower third consisting of a control panel to be used as a dock and a "receiver page" to be used as a browser source / overlay. The two communicate via Broadcast Channels in javascript. I've also implemented basic hotkey functionalities in javascript in the control...
  10. I

    OBS Lua Fight Clock 0.2.10

    Fight Clock *PC Only Extract the Fight_Clock zip file to a folder. Make sure you extract it to a permanent location. If you use the template first and move the folder later, it may not work properly. Configure OBS to 1920x1080 Open OBS Go to File > Settings in the menu bar or click...
  11. I

    OBS Lua Podcast Template 1.1.1

    Instructions *PC Only Extract the Podcast_Template zip file to a folder Make sure you extract it to a permanent location. If you use the template first and move the folder later, it may not work properly. Create a new Scene Collection in OBS Go to Scene Collections in the menu bar and...
  12. 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...
  13. DeckerEgo

    TallyPi: Push scene changes to WiFi-enabled tally lights

    DeckerEgo submitted a new resource: TallyPi: Push scene changes to WiFi-enabled tally lights - A tally light platform that doesn't require remote connections into your OBS instance Read more about this resource...
  14. DeckerEgo

    OBS Python TallyPi: Push scene changes to WiFi-enabled tally lights 0.5.6

    A network controlled tally light for cameras, intended for control directly from OBS. Rather than having the lights hit a web gateway hosted by OBS, this reaches out directly to the tally lights and controls them over HTTP. This does not use the websocket plugin and there is no need to open up...
  15. M

    Regular crashing

    Almost every time I use OBS it crashes at least once (and more likely twice or more) on me. * At startup, there's about a 25% chance of it crashing * If I switch scene collections, there's about a 50% chance of it crashing * If I try to remove a scene collection, there's about a 75% chance...
  16. Alexik

    OBS Lua Scene Browsers Refresh 1.0

    This script refreshes all browsers on chosen scene. Created from other script refresh-browsers.lua which refreshes all browsers in the project.
  17. Alexik

    OBS Lua - Scene Item to Source

    I need to get a list of sources of needed scene, but i only found the way to get a list of obs_scene_item objects. How to take the obs_source objects from them?
  18. D

    OBS Lua Whiteboard Source (Windows only) 1.3a

    Whiteboard Source for OBS Studio (Windows only) This script adds a new whiteboard source to OBS Studio that allows users to display live drawings on top of their scenes. Each scene can have its own whiteboard, though the tool settings (color, size, etc.) are shared. Installation Download the...
  19. P

    OBS Lua Text Label Replicator 0.9 (alpha)

    This script is used to propagate changes in the text from a source label (such as, say, a timer) to up to 10 target labels. This is most useful if you have a script such as a countdown timer that you can share among multiple scenes, but which you might want to have styled differently for each...
  20. F

    Hotkeys with Lua script

    Hello! I want to write a script that will write an increasing value to a file. The script code is in the attachments. It works, but the hotkey works twice. When a hot key is pressed once, the value 2 will be written to the file, not 1. Where did I make a mistake?
Top