Advanced Scene Switcher

Advanced Scene Switcher 1.32.3

Deliverator

New Member
Hi! First of all, FANTASTIC piece of plugin. I can't overstate how much it has made my life easier!

I am getting into the variables system. I do use a variables system through Touch Portal ( ElGato StreamDesk's alternative on your Android device) and I can't find a way to inter-connect the variables of them both so as to have a better control over OBS.

There are things that I need to run through Touch Portal as I have a quide in-depth system already running over there, but I also need the controll given by variables within Scene Switcher.

Any idea on how could i made them talk? I don't mind if I need some janky solution, as far as it works!
 

ArdSagart

New Member
Thanks for letting me know.
Would you mind sharing more details about what you are referring to regarding timestamp issues?

Can you share an OBS log, if you still have one of that issue?
Yep. We had a short conversation about 6 months ago. I encontered a similar issue, you said it was a timestamp. I downloaded some very special version of the plugin and the problem disappeared. Everything was ok after updating to 1.31.0
This is the log when I expected a chat message in 1.32.2

Code:
22:35:55.482: [adv-ss] try to sleep for 300
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro Reward returned 0
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro Chat returned 0
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro New Follower returned 0
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro Raid returned 0
22:35:55.784: [adv-ss] Macro Show follower alert returned 0
22:35:55.784: [adv-ss] Macro Listen for followers is paused
22:35:55.784: [adv-ss] Macro Listen for followers returned 0
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro Start returned 0
22:35:55.784: [adv-ss] condition twitch returned 0
22:35:55.784: [adv-ss] Macro End returned 0
22:35:55.784: [adv-ss] try to sleep for 300

By some reason OBS is not creating a crash report, but the new log starts from

Code:
22:47:41.682: Crash or unclean shutdown detected
22:47:42.946: [Safe Mode] Normal launch selected, loading third-party plugins is enabled
 

hpanioniv

New Member
Sorry about that and thanks for letting me know about the problem!
I think I was able to track down the problem and will release yet another update shortly.

Please let me know this new version resolves the issue on your side! :)


Unfortunately, I believe there is no direct "next" / "previous" signal.
But I will have another look once I find the time to.
Thanks, that fixed it!
 

Warmuptill

Active Member
Yep. We had a short conversation about 6 months ago. I encontered a similar issue, you said it was a timestamp. I downloaded some very special version of the plugin and the problem disappeared. Everything was ok after updating to 1.31.0
This is the log when I expected a chat message in 1.32.2
I see.

I don't think anything changed in 1.32 regards to the timestamp verification of Twitch events / chat messages.
But I will try to have another look and reproduce the issue.

The log snippet itself seems fine - as in, there are no errors reported regarding the connection to the Twitch servers.

By some reason OBS is not creating a crash report, but the new log starts from
That can happen if there is a "deadlock".
If it is not a problem for you, can you share the complete log from where OBS was frozen on shutdown?
That might help me track down what caused that to happen.
 

Warmuptill

Active Member
Hi! First of all, FANTASTIC piece of plugin. I can't overstate how much it has made my life easier!

I am getting into the variables system. I do use a variables system through Touch Portal ( ElGato StreamDesk's alternative on your Android device) and I can't find a way to inter-connect the variables of them both so as to have a better control over OBS.

There are things that I need to run through Touch Portal as I have a quide in-depth system already running over there, but I also need the controll given by variables within Scene Switcher.

Any idea on how could i made them talk? I don't mind if I need some janky solution, as far as it works!
Unfortunately, I don't have any experience with Touch Portal.
If it can send out OBS websocket vendor requests that might be a way to do it.
Then you could use the "Websocket" condition and action to exchange messages.
 

Deliverator

New Member
Unfortunately, I don't have any experience with Touch Portal.
If it can send out OBS websocket vendor requests that might be a way to do it.
Then you could use the "Websocket" condition and action to exchange messages.
Thank you! Yes, it does work with Websockets. Will investigate!
 

Warmuptill

Active Member
Hello. How to avoid a millisecond of black screen while transition between static (images, background color) and non-static (video, playlist) sources using "Cut"?
Here is example of this problem: https://drive.google.com/file/d/1be7HK2e4PJBoVVzX5dfUWJ4BDS-IBMFt/view?usp=sharing (sorry but loaded file does not support 50 fps as I recorded, so pay attention on the second part)
I am not sure that this can solved in any way on the Advanced Scene Switcher side.
What type of sources are you using on the relevant scenes?
Is a source maybe configured to only load when visible?
If so, then that brief flicker might be caused by the source loading whatever file / resource it is playing back.

Maybe you could use a fade with a very short duration to mask the issue?
 

songbirder

New Member
Can you share a crash log and OBS log?
Which version of the plug-in are you using?

Backups should automatically created if the version you are using is not too old:

This wiki page also describes where your settings are stored.
FYI I looked up the log and put it into ChatGPT and it pointed out I still had an old websocket legacy compat plugin for the OBS 28->29 transition and it was crashing the plugin. Renaming it to obs-websocket-compat.disabled rather than obs-websocket-compat.plugin allowed it to load without crashing.
 

Frozen Bok

New Member
I am not sure that this can solved in any way on the Advanced Scene Switcher side.
What type of sources are you using on the relevant scenes?
Is a source maybe configured to only load when visible?
If so, then that brief flicker might be caused by the source loading whatever file / resource it is playing back.

Maybe you could use a fade with a very short duration to mask the issue?
It's OBS related problem in general. I want ideal transition with no black miliseconds
 

MrGhost

Member
I have generally ok luck with the Advanced Scene Switcher, it really does a great job of following my train of thought around my process based on scene change using percent change of selected picture regions. Switches to 10 + 5 different scenes on 2 computers with OBS connecting and compiling across the 2 computers over the NDI network OBS plugin.

Are there any ideas with such a setup as to whether there is a good way to keep minimal duration switches (flashing scenes quickly switching to another scene and one scene on one computer switching a small amount of time after a scene on the other computer switches) off the final video? I can't follow any normal algorithm for success because as both computers are running the switcher, there would need to be some cross talk for it to agree when to change the scene smoothly from both computers. I am frankly not even sure if it is working with all good intervals on either computer by themselves. I see quite a few short snippets of scenes or quick jumps.

It doesn't bother me but I suppose it looks glitch + wrong to outsiders? Anyone ever successfully got the scene switching to sync up? Is there any network syncing mechanism that I don't know about for 2 computer Adv.S.S. setup? Something that could grab a tempo and just use it. A nice slow tempo.
 
Last edited:

Warmuptill

Active Member
Love the updates! Absolutely fantastic!

One/Two quick questions/requests. Can the variables be dockable, able to be opened in a separate window so that the macros can be seen side by side with the variables? - And for icing on the cake, could a search/filter top entry field be added to filter the variables displayed?

Thank you, as always!
A build with the option to filter and dock the variables tab is available here:

You will have to be logged into Github to be able to download it at the bottom of the page.
If that should be a problem let me know and I will try to upload it somewhere else.

Is this roughly what you had in mind?

1762800087415.png


1762800115246.png


I have generally ok luck with the Advanced Scene Switcher, it really does a great job of following my train of thought around my process based on scene change using percent change of selected picture regions. Switches to 10 + 5 different scenes on 2 computers with OBS connecting and compiling across the 2 computers over the NDI network OBS plugin.

Are there any ideas with such a setup as to whether there is a good way to keep minimal duration switches (flashing scenes quickly switching to another scene and one scene on one computer switching a small amount of time after a scene on the other computer switches) off the final video? I can't follow any normal algorithm for success because as both computers are running the switcher, there would need to be some cross talk for it to agree when to change the scene smoothly from both computers. I am frankly not even sure if it is working with all good intervals on either computer by themselves. I see quite a few short snippets of scenes or quick jumps.

It doesn't bother me but I suppose it looks glitch + wrong to outsiders? Anyone ever successfully got the scene switching to sync up? Is there any network syncing mechanism that I don't know about for 2 computer Adv.S.S. setup? Something that could grab a tempo and just use it. A nice slow tempo.
Would you mind sharing a minimal example macro setup to replicate issue?
I think I roughly get what the problem is, but I am not sure I fully understand what is triggering the problem on your side and the example might help with that.

Without knowing much about the setup:
Wouldn't it help to simply add a "Wait X seconds" action after each scene switch to ensure scenes are not switched too quickly?
1762800562214.png

Alternatively the conditions section of the relevant macros could be adapted to limit how frequently the actions are triggered.
1762800623630.png
 

spacewizard

New Member
Hello!

I'm trying to use the Date function to start a recording, but it doesn't seem to work as expected.
1762800949348.png

Whenever this macro runs the recording starts immediately regardless of the date and time I set. Is there something obvious I'm missing here? I've also tried setting it from Any day at to Any day after or before, but it still starts as soon as I press run macro.
 

Warmuptill

Active Member
Hello!

I'm trying to use the Date function to start a recording, but it doesn't seem to work as expected.
View attachment 116536
Whenever this macro runs the recording starts immediately regardless of the date and time I set. Is there something obvious I'm missing here? I've also tried setting it from Any day at to Any day after or before, but it still starts as soon as I press run macro.
Hello!
Can you please enable verbose logging, then reproduce the problem, and share the corresponding log file?
 

spacewizard

New Member
Thanks for sharing the log!

Just for my understanding:
How did you reproduce the issue?
Did you press the "Run macro" button at the top?
Yes, I pressed Run macro at the top. And it seems it gets a little weirder. It runs as soon as Run macro is pressed, then it runs again once the time I've set is detected.

I've attached logs of this happening. Hopefully that helps.
 

Attachments

  • 2025-11-10 12-52-21.txt
    51.7 KB · Views: 3

Warmuptill

Active Member
Yes, I pressed Run macro at the top. And it seems it gets a little weirder. It runs as soon as Run macro is pressed, then it runs again once the time I've set is detected.

I've attached logs of this happening. Hopefully that helps.
There seems to be a slight misunderstanding what the "Run macro" button does:

The "Run macro" button will run the actions of the macro regardless of what the current condition state is.
You will not have to press it to "activate" a macro.
A macro is active, if the checkbox next to the name of the macro is checked.

1762883469700.png


So, it sounds like the macro is behaving as it should and starting the recording at the given time.
Let me know if that cleared things up! :)
 

spacewizard

New Member
There seems to be a slight misunderstanding what the "Run macro" button does:

The "Run macro" button will run the actions of the macro regardless of what the current condition state is.
You will not have to press it to "activate" a macro.
A macro is active, if the checkbox next to the name of the macro is checked.

View attachment 116560

So, it sounds like the macro is behaving as it should and starting the recording at the given time.
Let me know if that cleared things up! :)
Ah, that makes much more sense! Thank you very much.
 
Top