Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Skycron

New Member
Hi everyone, for various reasons, I am running OBS 29.1.1 and running Advanced Studio Switcher 1.23.0. (OBS 30 is not an option for me right now.) I have included a log file. The issue I am having is I am trying to do an audio crossfade per this tutorial (https://www.youtube.com/watch?v=JNZNzdsmIN4). However, when I launch the macro, although it says it is running, I still get the hard audio cut off between scenes rather than the nice crossfade I am trying to get. I've also attached some screenshots as to how I configured the macros. What am I doing wrong?

Screenshot (1).png

Screenshot (2).png
Screenshot (3).png

Thanks in advance!

And the logfile: https://obsproject.com/logs/TFQubp1Pt42YsA64
 

RobertWilliams

New Member
Is there a way to get the index number of a sequence (current or next)? The plan is to store this value in a Variable to be used as a condition for other macros. TIA

1735565666091.png
 

Warmuptill

Active Member
Hi everyone, for various reasons, I am running OBS 29.1.1 and running Advanced Studio Switcher 1.23.0. (OBS 30 is not an option for me right now.) I have included a log file. The issue I am having is I am trying to do an audio crossfade per this tutorial (https://www.youtube.com/watch?v=JNZNzdsmIN4). However, when I launch the macro, although it says it is running, I still get the hard audio cut off between scenes rather than the nice crossfade I am trying to get. I've also attached some screenshots as to how I configured the macros. What am I doing wrong?

View attachment 110370
View attachment 110371View attachment 110372
Thanks in advance!

And the logfile: https://obsproject.com/logs/TFQubp1Pt42YsA64
The "Run Macro" button is intended to be used for testing.
You don't need to press it to "activate" each macro.

You will however have to start the plugin on the "General" tab.
The log shows that the plugin is not active and I assume that is why the desired crossfade is not happening.

Is there a way to get the index number of a sequence (current or next)? The plan is to store this value in a Variable to be used as a condition for other macros. TIA

View attachment 110380
Unfortunately, there is not.
You could however add an "index" variable which you set to the desired value within the "Pre-Game - Start" and "Pre-Game End" macros.
 

AaronD

Active Member
Hi everyone, for various reasons, I am running OBS 29.1.1 ... (OBS 30 is not an option for me right now.)
That always begs the question of "Why?" Why can't you use the currently supported version?

There are *a few* legitimate reasons, but even those are somewhat iffy, because they often imply that you're open to get hacked somehow. If your operating system isn't fully up-to-date with the latest version and patches for that version, then that's an open invitation. If it *is* fully up to date, then that's no longer an excuse to not keep the apps current. There may still be something else, but that's by far the most common one.
 

Skycron

New Member
Not that it warrants a response, but I am not upgrading because in my day job I am a traditional broadcaster and for various reasons when we do link with equipment I’m not going to risk breaking the setup. It works fine; there is no reason to upgrade.

There is too much fetishism towards upgrading for the sake of upgrading without any consideration for other pipeline or why it’s necessary. The fact that we don’t want to upgrade should be good enough.

That always begs the question of "Why?" Why can't you use the currently supported version?

There are *a few* legitimate reasons, but even those are somewhat iffy, because they often imply that you're open to get hacked somehow. If your operating system isn't fully up-to-date with the latest version and patches for that version, then that's an open invitation. If it *is* fully up to date, then that's no longer an excuse to not keep the apps current. There may still be something else, but that's by far the most common one.
 

Skycron

New Member
The "Run Macro" button is intended to be used for testing.
You don't need to press it to "activate" each macro.

You will however have to start the plugin on the "General" tab.
The log shows that the plugin is not active and I assume that is why the desired crossfade is not happening.


Unfortunately, there is not.
You could however add an "index" variable which you set to the desired value within the "Pre-Game - Start" and "Pre-Game End" macros.
Hi Warmuptill, thanks for getting back to me. When I generated the log it wasn’t running. However I had clicked ‘Start’ to ensure an active instance and didn’t run them. I can run it again and generate a log however.
 

Skycron

New Member
New Log File / Update: https://obsproject.com/logs/9BiJAOhuZ1M4MLV5

I have a bit of an update - I decided to back up, bite the bullet, and upgrade to the latest version. 30.1.1 of OBS, and 1.28.1 of AdvancedSS. Fortunately nothing weird happened and my setup works fine as it did before - a little faster, even. The bad news? I am having the SAME issue - I have attached a log file again. I did start the plugin in the General tab. Just to be safe I deleted my old macros just in case the migration caused an issue, with all new macros with the same event and...no dice. Ugly hard cut. I just don't get it, but here's the latest log file with everything running.
 

Warmuptill

Active Member
New Log File / Update: https://obsproject.com/logs/9BiJAOhuZ1M4MLV5

I have a bit of an update - I decided to back up, bite the bullet, and upgrade to the latest version. 30.1.1 of OBS, and 1.28.1 of AdvancedSS. Fortunately nothing weird happened and my setup works fine as it did before - a little faster, even. The bad news? I am having the SAME issue - I have attached a log file again. I did start the plugin in the General tab. Just to be safe I deleted my old macros just in case the migration caused an issue, with all new macros with the same event and...no dice. Ugly hard cut. I just don't get it, but here's the latest log file with everything running.
The plugin still does not seem to be running.
I would have expected to see the "[adv-ss] started" log message.

Can you please enable verbose logging and share a corresponding log file?
Can you please also export your settings to a file and share it with me?

Just a guess:
Have you maybe accidentally configured the plugin to not be started on OBS startup?
(I am referring to option 4 on the General tab here: https://github.com/WarmUpTill/SceneSwitcher/wiki/General-tab-overview#status)
 

AaronD

Active Member
There is too much fetishism towards upgrading for the sake of upgrading without any consideration for other pipeline or why it’s necessary. The fact that we don’t want to upgrade should be good enough.
It's not really a fetish. There are people who study the security patches, so they can get into things that haven't had them yet. So by fixing a problem, it also advertises what that problem is and how to exploit it.

If your rig works, great! It'll continue to work the same way...until it doesn't because someone took it over to send their spam emails, illegal robocalls, denial-of-service attack on someone else (flood them with useless data so they can't respond to legitimate customers), or whatever. That's the risk.

It's not about you at all. You're just a convenient machine to take over, to attack someone else with.

If you only ever have the system on when you need it to work RIGHT NOW, that's also a problem. Because you have no time to patch it and troubleshoot and adapt to whatever changed before the next gig. So sooner or later, you WILL lose a gig for one reason or another. Either you get hacked, or a forced update kills it directly, or a forced update happened successfully in the background without you noticing but then the changes kill the next one.

So yes, disable the automatic stuff so that YOU control the timing, and then schedule regular time to intentionally update it manually and then test and troubleshoot. By the time the next gig comes around, you're back to knowing how it's going to work, and it's still "hack resistant".
 

AaronD

Active Member
Hi, here's the updated logfile with verbose logging enabled: https://obsproject.com/logs/4UJ3WpdgCVhgZ5hh.

I appear to have this set up to run on startup. Took screenshot:
View attachment 110393
I would change the "On startup" setting to "Always start". That makes one less variable to consider. Did someone stop it before closing OBS? They weren't supposed to, but who knows?...

And I would run the "check every" setting as low as it goes, just to make it more responsive. You might not need that now, but if you do things like an automatic transition during the last 0.5 second of something, then it starts to matter. And if the additional CPU load of scanning that fast creates a problem, then you probably have performance problems already anyway. Adv. SS doesn't take that much, even with fast scanning.
 

Skycron

New Member
It's not really a fetish. There are people who study the security patches, so they can get into things that haven't had them yet. So by fixing a problem, it also advertises what that problem is and how to exploit it.

If your rig works, great! It'll continue to work the same way...until it doesn't because someone took it over to send their spam emails, illegal robocalls, denial-of-service attack on someone else (flood them with useless data so they can't respond to legitimate customers), or whatever. That's the risk.

It's not about you at all. You're just a convenient machine to take over, to attack someone else with.

If you only ever have the system on when you need it to work RIGHT NOW, that's also a problem. Because you have no time to patch it and troubleshoot and adapt to whatever changed before the next gig. So sooner or later, you WILL lose a gig for one reason or another. Either you get hacked, or a forced update kills it directly, or a forced update happened successfully in the background without you noticing but then the changes kill the next one.

So yes, disable the automatic stuff so that YOU control the timing, and then schedule regular time to intentionally update it manually and then test and troubleshoot. By the time the next gig comes around, you're back to knowing how it's going to work, and it's still "hack resistant".
It actually really is a fetish. I think the elegant thing for you to do is to not engage anymore. Your response is pretty typical of a mid-level IT tech that thinks they know more than the industry the software is designed to emulate, which you don't. As a 20+ year broadcast veteran (which includes a considerable amount of broadcast engineering tech), with respect, I'm not really interested in your defensive ramblings, masked by the pendantic obviousness of a year 1 basic computer tech class from 2009 that does NOT take into account the experience of the person they are talking to. They are unhelpful, unwanted, and unwelcome. The developer is, however, being helpful, so you can disengage at this point. Thanks.
 

AaronD

Active Member
As a 20+ year broadcast veteran...
So you became cognitively rigid before today's internet, and don't realize the actual threat???

Yes, you know exactly how to produce an excellent show - I'm not arguing that at all - but the online ecosystem has changed drastically since it became viable in its current form, and it continues to change even more. If you don't keep up with that, then you get taken advantage of, hard! Kinda like scammers targeting the elderly for similar reasons...
 

Skycron

New Member
So you became cognitively rigid before today's internet, and don't realize the actual threat???

Yes, you know exactly how to produce an excellent show - I'm not arguing that at all - but the online ecosystem has changed drastically since it became viable in its current form, and it continues to change even more...
I think you're a guy that can't handle being wrong. Feel free to rationalise anyway you like. Your comments are pendantic, tonedeaf and obvious, and we have an entire team that handles livestream. Your rationale that because YOU sit at home making livestreams that somehow the entire industry of live internet broadcasting would upend their entire pipeline is insane at best. It is ironic that someone so incensed at the idea of being called out tries to deflect by tossing the term "cognitively rigid" while providing a rather lucid case study of exactly that. I think broadcasting, internet or otherwise, is well served by the experts that do so by experience and innovation, like those that develop these plugins; it is less well served by the Sheldon Coopers that overstep and cry foul. If you're going to try and be the smartest person in the room, please actually be that person. I didn't ask for your opinion on an industry you know nothing about, I'm just trying to troubleshoot a plugin. Oh, and by the way, we did upgrade - and had the same issue, so your whole "iffy" argument is as out the window as your general logic with regard to this whole thing. Thanks!
 

Warmuptill

Active Member
@Warmuptill - I realized I did not give you the exported settings file, sorry about that! I have attached it here. Thanks so much again for helping troubleshoot. :-) Also here is the log file so you don't have to go digging through again: https://obsproject.com/logs/JtCdjstdqpVxRHnu
Thanks for sharing the log and settings file!

The new log file shows that the plugin is running and the actions are being performed.

Code:
...
19:21:35.998: [adv-ss] started
...
19:21:48.020: [adv-ss] running macro: MASTER-STANDBY
19:21:48.020: [adv-ss] running actions of MASTER-STANDBY
19:21:48.020: [adv-ss] performed action "AdvSceneSwitcher.action.audio.type.sourceVolume" for source "COUNTDOWN" with volume 1.000000 with fade 1 3.000000
...

I also imported your settings file and was able to see the source volume fading as expected for the macros where this setting is enabled. (MASTER-STANDBY and CAM 1 (MAIN) WITH BORDER)

I am at a bit off a loss as to why this would not be working on your side.
Would you mind hoping in a discord / zoom / teams / whatever ... call where you can share your screen so I can have a look at the problem live?
If you are up for it, please contact me directly by sending me a DM here on the forum.
 

puntoboy

New Member
I was wondering if anyone knew if I could use this plugin to fade out an audio input without changing scene?

I play music at times during my stream and there are times I need to stop the music so I can hear something in game etc. At the moment I just pause the audio in the application that's playing it, but that just hard stops the audio. I'd like to fade that audio out when I press a button (and pause it ideally) whilst staying on the same scene.

I can't figure out if this is possible.
 

Warmuptill

Active Member
I was wondering if anyone knew if I could use this plugin to fade out an audio input without changing scene?

I play music at times during my stream and there are times I need to stop the music so I can hear something in game etc. At the moment I just pause the audio in the application that's playing it, but that just hard stops the audio. I'd like to fade that audio out when I press a button (and pause it ideally) whilst staying on the same scene.

I can't figure out if this is possible.
Yes, that should be possible using a macro like this:
1735670064987.png


The keybinding for the "Fade hotkey" will have to be configured in the OBS settings window.
 
Top