cpyarger / obs-midi

Use MIDI devices to trigger events in OBS and vice versa
https://obs-midi.org
GNU General Public License v2.0
168 stars 20 forks source link

OBS source scale feature does not save #141

Open Nemsters opened 3 years ago

Nemsters commented 3 years ago

Im using the "Set Source Scale" feature and every load up of OBS, scenes are in random positions and scale feature must be re-saved in order to work as intended.

Platform

Operating system and version: Windows 10 OBS Studio version: OBS 27.0.1

Expected Behavior

What should happen is every time I load up OBS, my sources are where they were last saved and the size scaling feature behaves as programmed by the user.

Current Behavior

My sources are in random locations of my scene rather than where it was last placed. Also source scale feature is not saving after every fresh load up of OBS. I would have to go to OBS MIDI Settings and manually press "Save Edit" to produce what I wanted.

For example, When its working: I use a knob to change the size of my face camera source. Minimum (knob turned all the way left) snaps to original size; Maximum (knob turned all the way to the right) increases scale for a "zoom in" effect to where my camera is zoomed in almost all the way to my face.

When I restart OBS: Without changing anything, Minimum (knob turned all the way left) it ends up making my face camera source very tiny; Maximum (knob turned all the way to the right) it goes to original size.

Temporary fix: I have to manually go back to OBS MIDI Settings every time I load up OBS and press "Save Edits" to all my midi Actions to work as I programmed and reorient all the effected sources back into place where it is suppose to be.

Steps to Reproduce

Have a preexisting camera source at a custom size (For example: Zoomed in a little than the original size) Add a new action: Set Source Scale Choose scene and Source (Keep Max X and Y default to 10) Press Listen One/Listen Many and turn knob to activate and assign knob. (make sure Message type is set to "Control Change" Press Add Mapping Use knob

Edit: I just tried it on a fresh scene and upon turning knob, the source moved to a different spot.

Suggestion: Maybe have an option under "Max X and Max Y" to have source alignment options.

Additional information

cpyarger commented 2 years ago

I haven't yet gotten around to adding alignment options, you can manually change the focus point in obs though

lcalder commented 2 years ago

EverySingleDay I have to resave the Set Source Scale programming right after I launch OBS. Now, it appears this plugin won't work with OBS v28. I would be willing to help fund a fix...