Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

RobertWilliams

New Member
I'm trying to set it to detect some text and it doesn't seem to be working.... am I missing a step? btw I'm only choosing "Invert Flight" temporarily because it's way less complicated than the text I want, simple blackish words on whitish background. Just to test because it wasn't detecting my intended target either.
For your text, test with inserting a line feed (or press enter) after the last character of your "Invert Flight" text. That seems to work better when doing text search.

If the text is static and it appears in the same size on the screen, try using "matches pattern" condition. I have migrated most of my text searches to this condition because with 1.28, you know have the ability to search of an image screenshot in a general area of the screen.
 

AaronD

Active Member
I followed your instructions, still no luck. One thing, where exactly am I supposed to be seeing those green indicators you're talking about?
You missed one:
Keep Adv. SS open while the thing you're looking for happens, and see if it lights up.
You keep closing it. Keep it open so you can see it.

You might also make a temporary macro with maybe a hotkey or something else that's easy to trigger, just to see that it does actually do something. Have the video play on that while you have it open to see the flash, and then come back to this.
 

Warmuptill

Active Member
Trying to diagnose my constant crashing on OBS, here's one of them.
Thank you for reporting the crash and for sharing the crash log!
I will look into it.

Would it be possible to attach the full log just in case there are additional stack frames?

The crash seems to be happening when deleting a condition.
Are you able to narrow down the scenario in, which this happens in any way?

Does anyone know if it works with steam deck IPAD version? Thank you.
Yes it should.
I was using the app on my phone to develop it as I don't have a stream deck.

If you run into any issues let me know!


I'm trying to set it to detect some text and it doesn't seem to be working.... am I missing a step? btw I'm only choosing "Invert Flight" temporarily because it's way less complicated than the text I want, simple blackish words on whitish background. Just to test because it wasn't detecting my intended target either.
I would recommend that you click on the "Show match" button to help dial in the settings and see what is being detected.
Here is an example based on the video you shared:
TPfiB36.gif


In general you probably want to use "Single uniform block of text" instead of "Single text line" as your input image does not contain only a single line of text.
Also note that I (capital i) and l (lowercase L) of "Invert" and "Flight" are very easy to get mixed up during OCR.

And as you seem to using multiple Video conditions performing the same / similar OCR check (maybe I am mistaken) I would recommend to instead save the OCR text to variable to save some resources.
1733422188079.png

Then you can check what is in the variable value using the "Variable" condition type.

Alternatively you could also try to use the pattern matching as already mentioned in another comment.
As it is a static menu without much noise it should preform pretty well.

Hope that helped!
 

dzidek23

New Member
Hi there,
First and foremost, I'd like to thank you for the plug-in, what a great tool this is!

I have a rather simple question that baffles me a little. I made a schedule to run streams at certain time of a day and all works great if I keep OBS open. However, if I minimize OBS window, the macro doesn't run. "Hide OBS to tray" and your plugin works again?

Is there any reason why "minimize" stops Advanced Scene Switcher from working?

Windows 11 21H2 (updating to 23H2), OBS 30.2.3 (64), Advanced Scene Switcher 1.28.1
 

Warmuptill

Active Member
Hi there,
First and foremost, I'd like to thank you for the plug-in, what a great tool this is!

I have a rather simple question that baffles me a little. I made a schedule to run streams at certain time of a day and all works great if I keep OBS open. However, if I minimize OBS window, the macro doesn't run. "Hide OBS to tray" and your plugin works again?

Is there any reason why "minimize" stops Advanced Scene Switcher from working?

Windows 11 21H2 (updating to 23H2), OBS 30.2.3 (64), Advanced Scene Switcher 1.28.1
Hi,

Thanks for reporting the problem!
Unfortunately I am not able to reproduce the issue so far using an example macro like this:
1733511369388.png


Can you export your settings to a file and share them with me?

And just to make I am not misunderstanding the questions:
You are referring to this option when right clicking the system tray icon, right?
1733511503043.png
 

Addiefied

New Member
Hi, Advanced scene switcher isn't working in portable mode after the OBS 31 update. It is actually working fine in non-portable version of OBS, which is updated to 31 as well, but giving issue in portable version.
I've attached screenshots of the log from non-portable version where its working fine as well as the portable version where its not loading up at all.
 

Attachments

  • Screenshot 2024-12-07 191339.png
    Screenshot 2024-12-07 191339.png
    82.6 KB · Views: 4
  • Screenshot 2024-12-07 191246.png
    Screenshot 2024-12-07 191246.png
    35.1 KB · Views: 4

Warmuptill

Active Member
Hi, Advanced scene switcher isn't working in portable mode after the OBS 31 update. It is actually working fine in non-portable version of OBS, which is updated to 31 as well, but giving issue in portable version.
I've attached screenshots of the log from non-portable version where its working fine as well as the portable version where its not loading up at all.
Hi,
I just gave it a try with a fresh OBS 31 portable install and it seems to work.

1733596227580.png


What exactly is not working on your end?
The "advanced-scene-switcher-lib.dll" not begin loaded is expected as it is not an obs-plugin just as the error states and instead a lib used by the advanced scene switcher itself.

Unfortunately, I think your issue is more likely related to you using version 1.25 of the advanced scene switcher.
This version being compatible with OBS 31 in non-portable mode is just a happy accident.
OBS 31 support was only added with advanced scene switcher 1.28.
 

Chipperchap

New Member
Hi @Warmuptill,
Please, I have a new to me issue where whenever I click on anywhere within the OBS program, my "Projector" (windowed - on startup) which is set to recognize whatever is on a screen (scene) will instantly go blank. With the projector blank Adv.SS macros will simply not work anymore. I did download the latest OBS but rolled back to version 30.2.3 in case it was an update matter. I am running Adv.SS version1.28.1
Before I send logs etc. please I was just wondering if there was a common reason why clicking on OBS makes a projector fail to see content - in my case "Media" which is output from a separate software.
 

Addiefied

New Member
Hi,
I just gave it a try with a fresh OBS 31 portable install and it seems to work.

View attachment 109771

What exactly is not working on your end?
The "advanced-scene-switcher-lib.dll" not begin loaded is expected as it is not an obs-plugin just as the error states and instead a lib used by the advanced scene switcher itself.

Unfortunately, I think your issue is more likely related to you using version 1.25 of the advanced scene switcher.
This version being compatible with OBS 31 in non-portable mode is just a happy accident.
OBS 31 support was only added with advanced scene switcher 1.28.
Thanks for your response. What's the best way to check what version of ADV-SS I'm on right now?
 

Addiefied

New Member
Hi,
I just gave it a try with a fresh OBS 31 portable install and it seems to work.

View attachment 109771

What exactly is not working on your end?
The "advanced-scene-switcher-lib.dll" not begin loaded is expected as it is not an obs-plugin just as the error states and instead a lib used by the advanced scene switcher itself.

Unfortunately, I think your issue is more likely related to you using version 1.25 of the advanced scene switcher.
This version being compatible with OBS 31 in non-portable mode is just a happy accident.
OBS 31 support was only added with advanced scene switcher 1.28.
UPDATE: I just updated plugin to 1.28.1 and that isn't working on OBS portable 31.0.0 as well.
 

Chipperchap

New Member
Hi @Warmuptill,
Please, I have a new to me issue where whenever I click on anywhere within the OBS program, my "Projector" (windowed - on startup) which is set to recognize whatever is on a screen (scene) will instantly go blank. With the projector blank Adv.SS macros will simply not work anymore. I did download the latest OBS but rolled back to version 30.2.3 in case it was an update matter. I am running Adv.SS version1.28.1
Before I send logs etc. please I was just wondering if there was a common reason why clicking on OBS makes a projector fail to see content - in my case "Media" which is output from a separate software.
After a couple of hours trying, I figured it out.

It appears that one of the scenes PTZ presets was not playing nice with my master set of presets (PTZ Controls - Plugin) so I started going through my scenes to delete and recreate each one until OBS came right. Thankfully I found it first up so recreating a scene didn't take long. Don't know what happened there - someone had messed the scenes up. So that sorted the projector.

Next was sorting out Adv.SS not working.

For that fix I discovered that the macro screenshot was too small for the "Perform check only in area" feature. So I recreated a full screen screenshot and then selected a section for Adv.SS to "check only...". Fixed!

I don't know why these two areas became messed up - it is a remote PC in another area so perhaps "helpful users" had had a go at making changes and failed.
 

mjgallop

New Member
Hi! I run an in-house arts related TV channel in a hospital.

I have a VLC video source in OBS (two directories of music videos) that shuffle and play continuously.

During the holidays, every 4 hours, I want 1 specific video to play (this video is set up as a separate scene in OBS, as. VLC media source).

I am able to get the playback of this video at specific times to work successfully. (Another Marco switches back to the video shuffle scene once the specific video has completed.)

However, what I want to do for the scheduled video is WAIT until the current video (the video in the shuffle scene) is done playing before the timed video plays. So, if the video is scheduled to play at 12:00, I want it to wait until the current video paying at 12:00 is done before playing the timed video. The attached image is how I have it set, but I cannot get it to work. When I add the second part about waiting for the video to end, the macro doesn't do anything.

Any advice about what I'm doing wrong would be appreciated. :-)
Screenshot 2024-12-11 at 12.00.01 PM.png
 

bcoyle

Member
Hi! I run an in-house arts related TV channel in a hospital.

I have a VLC video source in OBS (two directories of music videos) that shuffle and play continuously.

During the holidays, every 4 hours, I want 1 specific video to play (this video is set up as a separate scene in OBS, as. VLC media source).

I am able to get the playback of this video at specific times to work successfully. (Another Marco switches back to the video shuffle scene once the specific video has completed.)

However, what I want to do for the scheduled video is WAIT until the current video (the video in the shuffle scene) is done playing before the timed video plays. So, if the video is scheduled to play at 12:00, I want it to wait until the current video paying at 12:00 is done before playing the timed video. The attached image is how I have it set, but I cannot get it to work. When I add the second part about waiting for the video to end, the macro doesn't do anything.

Any advice about what I'm doing wrong would be appreciated. :-)
View attachment 109881
I know you are down the road on this. but you might want to look into my app, Casttor. It is a small tv station app (the app isn't small) that can schedule anything, do bulletin boards, psa, , whats coming up next intermission segments, can schedule out months if you want, does random,shuffe, fill,, does unlimited overlays/real compositing, like logos, text, can do commercial inserts, timed scheduling, ie. hogans hereos at 9pm, scheduled health videos, total 24/7. There are 2 cable companies currently running the software. We are in beta test, but have been running one station for a few years. The other one is in Saco River maine and is running 6 township government channesl. I am looking for new beta testers. Easy to use. FYI: casttor uses OBS as the front end, encoder/compositior. I can chat more here or DM me if interested. You will not be disappointed. Casttor is more for pre-recorded materials/unattended operation. than advanced scene switcher. Casttor can not do some of the amazing live features of advanced scene switcher. Each has it's strengths. Oh, easy to make music videos.

Thanks for your consideration.
 
Last edited:

Warmuptill

Active Member
Hi! I run an in-house arts related TV channel in a hospital.

I have a VLC video source in OBS (two directories of music videos) that shuffle and play continuously.

During the holidays, every 4 hours, I want 1 specific video to play (this video is set up as a separate scene in OBS, as. VLC media source).

I am able to get the playback of this video at specific times to work successfully. (Another Marco switches back to the video shuffle scene once the specific video has completed.)

However, what I want to do for the scheduled video is WAIT until the current video (the video in the shuffle scene) is done playing before the timed video plays. So, if the video is scheduled to play at 12:00, I want it to wait until the current video paying at 12:00 is done before playing the timed video. The attached image is how I have it set, but I cannot get it to work. When I add the second part about waiting for the video to end, the macro doesn't do anything.

Any advice about what I'm doing wrong would be appreciated. :-)
View attachment 109881
This example on the wiki might help setting this up:

Basically you rely on the VLC source entering state "Ended" every time the playback of a playlist item ends.
 

mb-PiBox

New Member
Perhaps I'm missing this option somewhere in the extensive list of options..

Is there an option to detect if an Audio Source has been muted within OBS?
I see the option for % & dB detection (thought it doesn't seem to work, or I'm using it incorrectly) but using this would not work, as it would trigger if the audio source went silent, either switch games, or not talking...
 
Top