Question / Help Webcam with different global settings

lietu

New Member
I have an Elgato Game Capture HD, that I use to capture the video from a console. This device seems to introduce about 1.5 seconds of lag to the video.

To compensate for that, I need to set my mic and webcam to buffer for 1500ms when streaming with the Elgato. However, I also stream without the Elgato, so I need to have a way to toggle between buffered and unbuffered modes for the mic and webcam.

For the mic that was not a big deal, I created two profiles and switch between them. However unlike like I expected, it doesn't seem the scene settings didn't seem to be affected by the profile switching.

As an alternative to profile switching, I tried to create two global sources with different settings for the same webcam, and I'd only use one of them at a time. However, OBS prevents doing this with an error message saying: "A global source using this device already exists".

So I thought I'd leave the unbuffered settings as global, since I will likely have more scenes I want that on, and create "local" sources for the screens with Elgato .. but again, OBS prevents me from doing that with the same message.

What I *can* do is create the webcam for every screen separately, but now if I want to change the settings, it'll quickly become a chore.

Is there some way to bypass the silly limitation for global sources?

If not, does anyone have any other ways for managing this mess with the buffers? I would prefer not to add the 1500ms buffer to everything all the time, that'll just contribute to issues and stream lag which is already annoying.
 

dodgepong

Administrator
Community Helper
The limitation on global sources isn't silly. You can only have a Directshow device open in one place at a time (this is a limitation of directshow in general), and global sources are always loaded, even if you don't have them on a scene (that's what makes them global).

Unfortunately, there's no way currently built-in to OBS to swap out sets of scenes. You can only save stream settings into different profiles. (This may or may not change with the next version of OBS).

The current workaround is to make copies of the scenes.xconfig file in %appconfig%\OBS and swap them in and out when you need to.

The OBS rewrite will have better support for managing different sets of scenes and sources like you want.
 

lietu

New Member
Ok well that explains it, I didn't expect it to actually load them when they are configured global sources .. which is silly .. what I expected it to do is to have global configurations for sources, that I could then add to the scenes as I wished.

But thanks for the tip with the scenes.xconfig, I guess that could work for now.
 
Top