Skip to content

If I ever write any script for OBS, it'll be here.

Notifications You must be signed in to change notification settings

4aiman/obs_scripts

Repository files navigation

A collection (?) of OBS scripts...

...designed to make my life easier (and maybe yours?), no thanks to the OBS devs

Syncs your game audio capture source with your game window capture source.

If you want a finer degree of control what's getting in your VOD stream 2 - this is the script for you.
You know how you can stop capturing the entire desktop monitor and grab only what you need?
Well, except now you have to remember to update two sources instead of one every time you change a game/app you'd like to capture... This script brings it down to one again by synchronizing target window of an audio capture source with the target window of an image grabbing source.
Enjoy!

Checks the size of a game capture source and updates filepath of an image source to match that.
Right now only 2 resolutions are supported ad nothing is in the GUI apart from upadte interval and 2 sources: the game capture one and the frame/overlay one.
Be sure to select the folder with your frames.
If you want to change your crop filter name, then load the script and refresh it. That's the only way to update the list in OBS properties after it's been created, since one can't update a list on properties update. (In reality refreshing recreates the properties object)
Tinker with it to suit your needs.

A more elaborate version of the previous script.
It adds stream number tracking via a text source and a browser source.
You probably don't need it "as is", but there are things to learn inside:

  • fixing hotkeys firing twice and/or not firing when clicking buttons in the UI
  • settings custom css to a browser source (sadly requeires source refresh)
  • setting up hotkeys and buttons callbacks
  • reading and writing text source text

Uses one of the text sources as a death counter.
Set up a hotkey and press it for the counter to go up.
Reset the counter in the script setting window.

A helper file that can help one iterate OBS source's properties (also works for filters, as those are treated as sources internally).
Find details inside the file.

This folder contains all the Lua scripts that will help circumvent crappy desing of Lua bindings in OBS.

About

If I ever write any script for OBS, it'll be here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages