Question / Help Switching Scenes Automatically

kevilay

New Member
Hey Guys,

Sorry if I am posting this in the wrong section. I have been using OBS for about two days now and am super happy with how great it works and how easy it was to setup a scene.

I did have a question. I am streaming using VR and my source is a game capture. However the game I am playing, Iracing, turns on and off. You use an web browser to select and start a race then it launches and the game capture picks it up and starts displaying it. What i am trying to do is have it auto change scenes based on a game capture being there or not. I have the game capture, but also a bunch of overlay stuff ontop of it that I would want to change as well. Let me know what you guys think

Thanks,
Kevin
 

koala

Active Member
This is like streaming League of Legends. You capture the lobby/launcher with Window capture, and the actual game you capture with Game capture. If you put the game capture source above the window capture source, it will obscure the lobby as soon as the game is running, and vanish as soon as a game session is finished. This can take place in the same scene, no need to have multiple scenes just for this switch.
 

kevilay

New Member
It's a little different. For the iracing I have a bunch of browsers that show stats from the racing sim. Positions. Track data. So I would need those to shut off as well.

I also won't show the launch screen I'll just go to a custom still image with all my racing info.
 

FerretBomb

Active Member
A minor correction, what you want to use is the Automatic Scene Switcher in the Tools menu. It can be set to watch for if a given program is running, and if it is, switch to a certain scene. If the program ends, it can switch back to a different scene.
Originally it was meant for League of Legends, but works for iRacing just fine too.
 

kevilay

New Member
A minor correction, what you want to use is the Automatic Scene Switcher in the Tools menu. It can be set to watch for if a given program is running, and if it is, switch to a certain scene. If the program ends, it can switch back to a different scene.
Originally it was meant for League of Legends, but works for iRacing just fine too.
this sounds like exactly what I need. I will try it!
 

FerretBomb

Active Member
Interesting I set that up and its switching back and forth but my game capture is showing black.
That one is a separate issue. I'm trying to remember if iRacing is one of the games that refuses to whitelist OBS' game capture hook, or if it uses an anticheat which has yet to update after the GC hook update in v25... I think it might be.
You may need to run iRacing in Fullscreen Windowed or Borderless Windowed mode, and use a Window Capture instead for the time being.
You may also just need to run OBS as Administrator. I'd try that first.

Do be aware that if you only have one monitor and alt-tab out to check on OBS, it may show a blackscreen due to how fullscreen games work... they stop rendering entirely when you're alt-tabbed, so there's nothing for OBS to capture. If you have OBS on a second monitor and it's still blackscreen, then see the above. :)
 

kevilay

New Member
Its interesting because it was working before. I did try again and now its working. I did run it as admin this time. Hopefully thats key. I have been having some bad luck lol everytime I try to stream something goes goofy!
 

FerretBomb

Active Member
Wouldn't be a livestream without technical difficulties. If nothing else, now you have a couple of fallbacks if it happens again. Have a good one!
 

kevilay

New Member
No. SLOBS is a derivative hack-job based on OBS Studio's codebase.

lol! I will stay away from it then. I did see they had a couple neat features. Streaming to twitch and facebook at the same time. But also the popup alerts for dontations and subs and viewer counts and stuff
 

FerretBomb

Active Member
lol! I will stay away from it then. I did see they had a couple neat features. Streaming to twitch and facebook at the same time. But also the popup alerts for dontations and subs and viewer counts and stuff
Multi-endpoint streaming is planned for OBS, and in the meantime there are plenty of replicator services out there like restream.io. Their alerts can be added to OBS Studio via their website, and adding their Alertbox as a browser source.

Using SLOBS does give some added features, but it also cuts you off from using the vast plugin ecosystem that makes Studio insanely powerful, as Streamlabs intentionally broke plugin compatibility at least partly to help enforce user lock-in. It's also less performant as their front end is essentially a webpage, and they lie outright at multiple points in their marketing material to mislead new users. Really scummy stuff.
 

kevilay

New Member
So far i really prefer the original OBS it just looks like a better software. I will look into that restream.io and look for some other alert browser plugins.
 

kevilay

New Member
Hey guys,

Just to revisit this again. I did have an issue during a race where my scene didn't switch properly. I did notice that when I click off the window, even tho it is still running in the background and running on my headset it will still not select that scene. Is there a way to do it more on an application is running level then an active window?

Or is there a way to scene switch using hotkeys?

Thanks,
Kevin
 

FerretBomb

Active Member
Im trying to assign my key to my button on my steering wheel. Does it not recognize 3rd party usb devices?
I believe it has to be a keyboard hotkey. Assign the button on your wheel to a hotkey combo, then assign that hotkey combo in OBS to 'switch to scene'.
 
Top