If I ever write any script for OBS, it'll be here.
Find a file
2023-12-20 19:20:23 +03:00
frame_updater.lua Create frame_updater.lua 2023-12-20 19:17:47 +03:00
README.md Added frame changer info 2023-12-20 19:20:23 +03:00
source_synchronizer.lua Fixed audio source update I broke earlier :/ 2023-12-20 19:09:56 +03:00

A collection (?) of OBS scripts...

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

source_synchronizer.lua

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!

frame_updater.lua

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.
Tinker with it to suit your needs.