Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] target a Source by name independent from the Scene #107

Open
lmerkens opened this issue Feb 15, 2024 · 4 comments
Open

Comments

@lmerkens
Copy link

Some Sources e.g. your main camara (or the group your face cam is included) tend to be used in multiple scenes. In a lot of scenarios it would be useful to have only one set of bindings|actions to control e.g. scale, position, visibility etc. of this video source independent on the currently active scene.

@nhielost
Copy link
Owner

Hello!

Unfortunately, I am unable to achieve this behavior within the plugin due to what OBS Studio allows me to change with sources. Specifically, Video Sources actions must have a scene attached to them or the action fails.

However, I can offer a potential workaround. You could add all the necessary sources, groups, etc. to another "hidden" scene (if you will), and use that scene as an overlay over any other scenes that require those sources. Then, you can use the plugin to move those sources around on that hidden scene to have a similar effect to what you desire.

Hope this helps!

@lmerkens
Copy link
Author

Thanks, I will give this a try.

@lmerkens
Copy link
Author

I just got an idea. For many cases something like "current scene (if applicable)" would probably be sufficient. When handling a midi event you "just" had to check, if there is a matching source in the "current scene".

@lmerkens lmerkens reopened this Feb 20, 2024
@nhielost
Copy link
Owner

Hello again!

Unfortunately, I do not believe this is possible either, as the plugin would become very slow when executing this type of action. Not only would the plugin have to check the current scene's sources, it would also have to make sure that the source you wanted was actually in that scene. With enough scenes and sources, this would take a very long time.

Additionally, the configuration menu would have to change a lot in order to accommodate this action, and I don't think that it is worthy of such change.

Thanks for the suggestion though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants