Simple scene switcher

Reesebiz

New Member
Thanks for the great plugin. I was wondering if there is a simple way to switch through scenes after a certain interval of time without having to rely on window switching. It would be nice for example the scenes switch every 20 seconds automatically.
 

ThoNohT

Developer
Nope, there isn't at this moment, and it's not functionality this plugin will ever provide. What exactly is the reason you want this? It's quite possible that what you want to achieve can be done without switching scenes.

Related: I have been thinking of making some kind of plugin that does this among others, basically it would allow you to schedule tasks on fixed times or intervals. Those could be switching scenes, or well other things OBS lets plugins do.

But I am completely buried in stuff I still need to do for other projects for OBS and personally. And the time I currently have to spend on those projects is near zero, so don't expect this anytime soon from me. Someone else could of course always decide to pick up creating a plugin with similar functionality.
 

Reesebiz

New Member
The idea came from having the scenes switch automatically on OBS while streaming gameplay. I'm occupied playing the game (Not SC2 by the way, so that plugin won't work) so I don't have time to switch through windows or click the scene myself.

The idea also comes from having sources, for example song playing or an overlay, switch automatically after a certain amount of time. But that idea is completely unrelated anyways.

If you or anyone else decides to create a plugin/tool for automatic scene switching i'll be looking forward to using it!
 

ThoNohT

Developer
See, you don't want the game to change while you are playing a game. So for switching scenes to and from gameplay, you can use scene switcher.

For the other part, alternating overlays, you don't really need to switch scenes. As long as you don't have a too complicated mess of sources over it (I imagine you want to show about the same info throughout the game), you could use an image slideshow that changes the image periodically. Those images then show the overlay, and are transparent where the game should be shown.
For more customization, you might be able to utilize the browser source plugin to have content dynamically changing using javascript for example.
Just some ideas of how you might achieve a similar effect.
 

thedaber

New Member
Hi, need a little help.
I am trying to use the scene switcher for League right now but every time the scene switches to the game, the screen is black. Funny thing is that I can still see the mouse cursor moving and making actions but everything else is black. Anyone encounter this problem? When I use game capture without the scene switcher, it works perfectly fine.
 

ThoNohT

Developer
Scene switcher doesn't affect capturing. When you use it without scene switcher, are you sure it isn't secretly staying on your monitor capture scene, making it look like it switched because monitor capture also shows the game?

That, or your manual switching is correct, but scene switcher isn't configured properly, which means that it will not switch into the game scene. And if whatever you were capturing before disappears, that would also cause a black screen.
 

thedaber

New Member
Thanks man, I'm such a noob.
You're right, it was a configuration problem.
Didn't realize I had to write something specific like "league of legends" in the window for it to switch properly.
 
D

Deleted member 3892

Good thing for lazy LoL streamers - changes scene, when they join the game!
 

Ryden7

New Member
Hey, im having a bit of trouble setting up the scene switcher, specifically with LoL. I don't really understand how im supposed to setup the switcher. When im in a game, I want it to switch from the PVP.net client to the game and when im out of the game, I want it to switch back to the PVP.net. Ive tried multiple ways of trying to set this up but I just can't seem to get it. Can anyone who got it working set up a tutorial of kind? It'd be much appreciated.
 

Jack0r

The Helping Squad
Ryden7 said:
Hey, im having a bit of trouble setting up the scene switcher, specifically with LoL. I don't really understand how im supposed to setup the switcher. When im in a game, I want it to switch from the PVP.net client to the game and when im out of the game, I want it to switch back to the PVP.net. Ive tried multiple ways of trying to set this up but I just can't seem to get it. Can anyone who got it working set up a tutorial of kind? It'd be much appreciated.

Man this LoL download and setup took me like an hour, but here is the video: (its like 5minutes)
http://www.youtube.com/watch?v=PhCxX3zrljU (720/1080 versions are still being encoded by youtube)
 

ndr

New Member
First of all, thanks for the plugin!

I have one issue though, I don't know if this have been mentioned before but I will give it a shot:

I have currently 3 scenes (Idle, LoL Lobby, LoL Ingame) and everything works when its up and running. So far so good :)

The problem occurs when you want to edit one of the scenes.
As an example: When the plugin is activated and you want to edit LoL Ingame which is at the bottom of the scene list, as soon as you mark that scene, it jumps straight back to the Idle scene (which is at the top of the list). If you choose LoL Lobby same thing happens again.

Same thing happens if you create a new scene, it immediately jumps to the top of the list and doesn't let you edit it new one.

The only way to edit the scenes is turning of the plugin atm.

Is this a know issue or am I doing something wrong?
 

chris84

New Member
It's not really an issue, just the plugin doing its job :o
If it doesn't break your setup, try using "when no window title matches don't switch" option.
If not, well, I could make an option that the plugin never switches scenes when OBS window is active if that's really a problem.
 

ndr

New Member
Hi again,

I tried "when no window title matches don't switch" but didn't work out so well.
If it's possible to get that option it would be great actually :)

Well done and keep up the good work!
 

ThoNohT

Developer
Hmm, that would be a possibility, or maybe a bit more general, make a "no switch"option for every scene, just as a part of the list showing the possible scenes that may be switched to.

The hotkey I added was pretty much meant for this purpose though, being able to quickly disable it for some editing, and then enabling it back after, so if you have a spare key anywhere, you could bind the toggle hotkey and see if that works for you.
 
D

Deleted member 6788

I just downloaded winrar to 'extract files in selected folder'. However, when I try to put them in 'plugings' or just in general OBS folder it says that access is denied. What am I doing wrong?
 

ThoNohT

Developer
Winrar might not have access to those folders, you could try running winrar as administrator.

You should place the dlls in correct plugins folder though (64 bit dll in OBS/64 bit/plugins, 32 bit in OBS/plugins), not simply extract the zip file somewhere.
 
D

Deleted member 6788

Could anybody help me?

Basically, I want 3 scenes: my Chrome Browser with tabs, League of Legends game client and League of Legends chat client. I have the scene switcher configured but not properly I guess. When I switch tabs in Chrome it will show a black screen after (I called the Window title to switch for 'Google Chrome', not sure if correct?). Also, I just tested and it doesn't seem to go from Chrome to my game client when I tab (as you can see here: http://www.twitch.tv/jhoodbossb/b/439744203). Finally, I tried to uncheck 'match exact name' but after click ok I got a crash. I tried to undo it but got a crash again. Here is one of the reports:

This crash appears to have occured in the '<unknown>' module.

Code:
**** UNHANDLED EXCEPTION: c0000005
Fault address: 0000000000000000 (<unknown>)
OBS version: Open Broadcaster Software v0.542b
Windows version: 6.1 (Build 7601) Service Pack 1
CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz

Crashing thread stack trace:
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000000027EC48 0000000000000000 0000000000000001 0000000000000111 0000000000000427 000007FEFC410A29 <unknown>!0x0
000000000027EC50 000000013FFD2A72 0000000000000000 000000000027EDA0 0000000000000402 0000000000000001 obs.exe!OBS::CallHotkey+0x92
000000000027ECA0 000000014001B938 0000000077259BEF 000000000027EFA0 0000000000000000 0000000000000001 obs.exe!OBS::OBSProc+0x1928
000000000027EE30 0000000077259BD1 000000000027EFA0 000000014001A010 00000000000E020A 00000000008B9010 user32.dll!0x77259bd1
000000000027EEF0 00000000772598DA 00000000001B0374 00000000001B0374 000000014001A010 0000000000000001 user32.dll!0x772598da
000000000027EF70 0000000077264C1F 00000000001B0374 000000014001EFE0 0000000000000001 00000000001B0374 user32.dll!0x77264c1f
000000000027F000 0000000077264EDD 0000000140116F34 00000000001B0374 000000014001EFE0 000000014001EFE0 user32.dll!0x77264edd
000000000027F060 0000000077264F52 FFFFFFFFFFFFFFFF 00000000001B0374 000000014001EFE0 00000000004BBF50 user32.dll!0x77264f52
000000000027F0A0 000000007725D476 0000000000000000 000000000027F240 000000014001EFE0 FFFFFFFFCC011B16 user32.dll!0x7725d476
000000000027F0E0 000000013FFD3739 0000000000001397 0000000000000111 0000000000090226 000007FEFC194F66 obs.exe!IsolationAwareDialogBoxParamW+0x99
000000000027F140 000000014001A7D6 0000000000000070 FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF 0000000077259B43 obs.exe!OBS::OBSProc+0x7c6
000000000027F2D0 0000000077259BD1 00000000008B9010 000000014001A010 00000000FFFFFED1 0000000000090226 user32.dll!0x77259bd1
000000000027F390 0000000077256AA8 00000000001B0374 0000000000000111 0000000000001397 000007FEFC410A29 user32.dll!0x77256aa8
000000000027F420 0000000077256BAD 00000000004BC4F0 0000000000000001 0000000000000000 0000000000000001 user32.dll!0x77256bad
000000000027F470 000007FEFC410BBF 0000000000090226 0000000000000001 00000000004BC4F0 000007FEFF2D2421 comctl32.dll!0x7fefc410bbf
000000000027F4B0 000007FEFC4147FE 0000000000000000 0000000000000000 0000000000000000 0000000000000000 comctl32.dll!0x7fefc4147fe
000000000027F570 0000000077259BD1 000000000027F830 000007FEFC413B20 00000000008B9010 0000000000873FA0 user32.dll!0x77259bd1
000000000027F630 00000000772598DA 0000000000000000 0000000000000000 000007FEFC413B20 0000000000000001 user32.dll!0x772598da
000000000027F6B0 00000000772567C2 0000000040E7048D 0000000040E7048D 000007FEFF2D2164 00000000004A7760 user32.dll!0x772567c2
000000000027F740 000000013FFF0D59 0000000000000000 0000000000000000 000000013FFD0000 0000000000000000 obs.exe!WinMain+0x8b9
000000000027FC70 0000000140064040 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!strstr+0x1ac
000000000027FD20 0000000076E8652D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x76e8652d
000000000027FD50 000000007757C521 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7757c521

A minidump was saved to C:\Users\Jeffrey Bloemen\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-08-02_3.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address                      Module
000000013FFD0000-000000014011D000 C:\Program Files (x86)\OBS\64bit\OBS.exe
0000000077550000-00000000776F9000 C:\Windows\SYSTEM32\ntdll.dll
0000000076E70000-0000000076F8F000 C:\Windows\system32\kernel32.dll
000007FEFDA80000-000007FEFDAEB000 C:\Windows\system32\KERNELBASE.dll
000007FEFBDB0000-000007FEFBDB9000 C:\Windows\system32\AVRT.dll
000007FEFF3E0000-000007FEFF3FF000 C:\Windows\SYSTEM32\sechost.dll
000007FEFF100000-000007FEFF19F000 C:\Windows\system32\msvcrt.dll
000007FEFF400000-000007FEFF52D000 C:\Windows\system32\RPCRT4.dll
000007FEFB8D0000-000007FEFB8E8000 C:\Windows\system32\dwmapi.dll
000007FEFF530000-000007FEFF597000 C:\Windows\system32\GDI32.dll
0000000077240000-000000007733A000 C:\Windows\system32\USER32.dll
000007FEFF050000-000007FEFF05E000 C:\Windows\system32\LPK.dll
000007FEFEF20000-000007FEFEFE9000 C:\Windows\system32\USP10.dll
000007FEF7A60000-000007FEF7ABD000 C:\Windows\system32\dxgi.dll
000007FEFF1F0000-000007FEFF2CB000 C:\Windows\system32\ADVAPI32.dll
000007FEFCB10000-000007FEFCB1C000 C:\Windows\system32\VERSION.dll
000007FEF7B20000-000007FEF7B54000 C:\Windows\system32\d3d10_1.dll
000007FEF7AC0000-000007FEF7B17000 C:\Windows\system32\d3d10_1core.dll
000007FEF7880000-000007FEF7A55000 C:\Windows\system32\d3d11.dll
000007FEFB2B0000-000007FEFB32F000 C:\Windows\system32\d3dx10_43.dll
000007FEFF5B0000-000007FEFF7B3000 C:\Windows\system32\ole32.dll
000007FEFF1A0000-000007FEFF1ED000 C:\Windows\system32\WS2_32.dll
000007FEFF5A0000-000007FEFF5A8000 C:\Windows\system32\NSI.dll
000007FEFA540000-000007FEFA567000 C:\Windows\system32\IPHLPAPI.DLL
000007FEFA530000-000007FEFA53B000 C:\Windows\system32\WINNSI.DLL
000007FEFA9C0000-000007FEFA9FB000 C:\Windows\system32\WINMM.dll
000007FEF1980000-000007FEF1B9D000 C:\Program Files (x86)\OBS\64bit\OBSApi.dll
0000000077720000-0000000077727000 C:\Windows\system32\PSAPI.DLL
000007FEFE190000-000007FEFEF18000 C:\Windows\system32\SHELL32.dll
000007FEFDE50000-000007FEFDEC1000 C:\Windows\system32\SHLWAPI.dll
000007FEFBDD0000-000007FEFBFE6000 C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_2b25b14c71ebf230\gdiplus.dll
000007FEF96E0000-000007FEF9751000 C:\Windows\system32\WINHTTP.dll
000007FEF9660000-000007FEF96C4000 C:\Windows\system32\webio.dll
0000000069E90000-000000006A0BA000 C:\Program Files (x86)\OBS\64bit\libx264-136.dll
000007FEFC190000-000007FEFC1E6000 C:\Windows\system32\UxTheme.dll
000007FEFDE00000-000007FEFDE2E000 C:\Windows\system32\IMM32.DLL
000007FEFF2D0000-000007FEFF3D9000 C:\Windows\system32\MSCTF.dll
000007FEFD980000-000007FEFD98F000 C:\Windows\system32\CRYPTBASE.dll
000007FEFC370000-000007FEFC564000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\Comctl32.dll
000007FEFF7C0000-000007FEFF859000 C:\Windows\system32\CLBCatQ.DLL
000007FEFE0B0000-000007FEFE187000 C:\Windows\system32\OLEAUT32.dll
000007FEFBAF0000-000007FEFBB3B000 C:\Windows\System32\MMDevApi.dll
000007FEFC1F0000-000007FEFC31C000 C:\Windows\System32\PROPSYS.dll
000007FEFDED0000-000007FEFE0A7000 C:\Windows\system32\SETUPAPI.dll
000007FEFDC60000-000007FEFDC96000 C:\Windows\system32\CFGMGR32.dll
000007FEFDA60000-000007FEFDA7A000 C:\Windows\system32\DEVOBJ.dll
000007FEFB6F0000-000007FEFB722000 C:\Program Files (x86)\OBS\64bit\plugins\DShowPlugin.dll
000007FEFB6B0000-000007FEFB6D2000 C:\Program Files (x86)\OBS\64bit\plugins\GraphicsCapture.dll
000007FEFB690000-000007FEFB6AA000 C:\Program Files (x86)\OBS\64bit\plugins\NoiseGate.dll
000007FEFB750000-000007FEFB765000 C:\Program Files (x86)\OBS\64bit\plugins\PSVPlugin.dll
000007FEFB5D0000-000007FEFB5E6000 C:\Program Files (x86)\OBS\64bit\plugins\scenesw.dll
000007FEFB140000-000007FEFB2B0000 C:\Program Files (x86)\OBS\64bit\DBGHELP.DLL

Can anybody please help me out? I don't know why I can't get it to work.

edit: whenever I try to change something in the scene switcher plugin the OBS crashes. Also, when I go to the properties of my scenes they don't show source they are attached to (game client for example) but all show a tab in my chrome, first of the list. Is that normal?
 

ThoNohT

Developer
This is very strange behaviour, for your second problem, scene switcher does not affect the sources. The first one, I'm not sure. It looks like something crashes when you press a hotkey.

I'll try to run some tests on this latest build, but I haven't changed anything for quite a long while. What you could do is go to %APPDATA%\OBS\pluginData, and delete the scenesw.ini file. This will reset your scene switcher settings, by the way, before you do that. Could you paste the current contents of that file in a reply here?
 
Top