Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Bairespm

Member
This is the last release compatible with OBS 27:


What happens if the camera is "off"?
Which source type are you using?
Does it show a black image / does the image freeze?
If so you might be able to use the pattern matching functionality of the video condition to detect that state.


I am unfortunately not really familiar with the downstream keyer plugin or the obs-midi-mg plugin.
The advanced scene switcher also supports the action to send hotkeys signals to OBS, but I understand you don't want to use this right?

View attachment 94492

Maybe you can utilize the "Source" condition's "is showing" check to determine if a source which is part of the downstream keyer is currently visible?

View attachment 94493

I hope that helps somehow!
Thank you, here I attached some images so that you understand me better. With the downstream keyer plugin I can create new hotkeys... but I have no way to call them from the Macros... or at least I can't find the way to do it. I need to create a macro with the following condition

If hotkey "Show DSK1" is showing play a video.

either

If it is scene 2 showing, turn on hoteky "Show DSK1" Else "hide DSK1"

either

If it is scene 1 or scene 2 or scene 3 showing hotkey "show DSK1"
instead if it is scene 4 or scene 5 or scene 6 hide hotkey "hide DSK1"

I hope I have explained myself better.

thanks for your time
 

Attachments

  • Captura.JPG
    Captura.JPG
    57.8 KB · Views: 52
  • Captura2.JPG
    Captura2.JPG
    42.4 KB · Views: 46
  • Captura3.JPG
    Captura3.JPG
    44.1 KB · Views: 45
  • Captura4.JPG
    Captura4.JPG
    52.7 KB · Views: 44

Warmuptill

Active Member
@Warmuptill thanks But how do I do that macro to compare patterns, with a screenshot? like this attach
@AaronD
Thanks for your explanation, I understand better there, now the problem is how I get to correctly create the macro with that pattern.

Maybe I don't explain well. but what I want is for a macro to detect when a camera is not turned on or is tilted. And if that happens, change the scene.
Maybe this example can help you understand how to use the video condition's pattern matching options:

It is very difficult for me to give you concrete advice without having more details what exactly is happening visually when "camera is not turned on or is tilted". :(

Thank you, here I attached some images so that you understand me better. With the downstream keyer plugin I can create new hotkeys... but I have no way to call them from the Macros... or at least I can't find the way to do it. I need to create a macro with the following condition

If hotkey "Show DSK1" is showing play a video.

either

If it is scene 2 showing, turn on hoteky "Show DSK1" Else "hide DSK1"

either

If it is scene 1 or scene 2 or scene 3 showing hotkey "show DSK1"
instead if it is scene 4 or scene 5 or scene 6 hide hotkey "hide DSK1"

I hope I have explained myself better.

thanks for your time
First of all sorry if I am once again misunderstanding what you are asking.

If you want to "press" a hotkey you can use the hotkey action to send the corresponding key press you have configured for this hotkey to OBS.
(See the screenshot I shared previously)

If you want to perform additional actions when pressing a DSK specific hotkey you can use the hotkey condition to create a hotkey which triggers your desired actions.
The crucial step would just be to assign the same keybind to the hotkey used for your DSK and the one used for you macro.

The advanced scene switcher does not have access to the internals of the DSK so it cannot directly know what they DSK hotkey does.
You can however indirectly infer whether the DSK is currently showing or hiding a source using the source condition.
(See the screenshot from my previous reply)

I hope that helps.
If not feel free to message me directly and we can set up a call where you share your screen and work things out live. (This will probably make it easier for me to understand what you are trying to achieve and let you know if this is possible or not)
 

marcotasto

New Member
Hello and thank you for this great plugin!
I've a question about MIDI events. I would like to have a set of scene switches at specific MIDI timecodes. I see that on the GUI is possible to select "Time Code" through the "Type" dropdown, but I'm not sure to have understood how to specify the timecode in the format of hh:mm:ss:ff o whatever. Running plugin version 1.22.1 on Windows. Thank you.
 

Bairespm

Member
I have a TEXT(GDI+) font that I need to update with new text before streaming.
From the TEXT(GDI+) configuration I make it read a .txt that I manually open and update.
the problem is that i always forget to do it

The question is...
Is there any way from advanced scene switcher to be able, under the condition if advance scene switcher is started, to open a popup where it asks me to write a text and save it in that .txt file that I raise from the TEXT(GDI+) configuration?

From already thank you very much
 

Warmuptill

Active Member
I have a TEXT(GDI+) font that I need to update with new text before streaming.
From the TEXT(GDI+) configuration I make it read a .txt that I manually open and update.
the problem is that i always forget to do it

The question is...
Is there any way from advanced scene switcher to be able, under the condition if advance scene switcher is started, to open a popup where it asks me to write a text and save it in that .txt file that I raise from the TEXT(GDI+) configuration?

From already thank you very much
A build with the option ask the user for input is available here in a few minutes:
(The build also contains the hotkey stuff we discussed yesterday)

The variable action has the option to prompt the user for input.
In a later step you can then use this value to modify the settings of text source.

An example macro could look like this:

Variable.PNG


Hello and thank you for this great plugin!
I've a question about MIDI events. I would like to have a set of scene switches at specific MIDI timecodes. I see that on the GUI is possible to select "Time Code" through the "Type" dropdown, but I'm not sure to have understood how to specify the timecode in the format of hh:mm:ss:ff o whatever. Running plugin version 1.22.1 on Windows. Thank you.
Unfortunately I am not sure either at the moment as I don't have any physical midi devices and only used virtual devices for my testing.
I will try to investigate.

Not sure if this is a plugin bug or an OBS bug, but:
View attachment 94436
This is two monitors. OBS is supposed to be on the right one, with that arrangement of docks, but it also copies some of the Macro docks to the left monitor. The copies highlight their buttons when I hover over the main ones, and vice-versa, and when I close either one, the other goes away too.

The first macro dock doesn't do this, and sometimes the second is okay, but it seems like all the rest do.
Can you check if this build resolves the issue?

To be honest I am not quite sure what is going on there.
 

AaronD

Active Member
Can you check if this build resolves the issue?

To be honest I am not quite sure what is going on there.
Whatever it is, seems to work. Thank you!

Is that the only change from the previous release? Just wondering how safe it is to put this testing build on the production machine.
 

Warmuptill

Active Member
Whatever it is, seems to work. Thank you!

Is that the only change from the previous release? Just wondering how safe it is to put this testing build on the production machine.
I think it should be safe to use as there were no changes to existing functionality. (But I cannot give a guarantee)

Changes are limited to the source condition and action (only UI related), the support for configuring additional stream related settings using the streaming action type and the addition to prompt the user for variable values was added to the variable action type.

Detailed list of changes can be found here:

If you prefer I can start a build based on the 1.22.1 release + cherry-pick of the fix for the dock UI issue.
 
Last edited:

AaronD

Active Member
I think it should be safe to use as there were no changes to existing functionality. (But I cannot give a guarantee)

Changes are limited to the source condition and action (only UI related), the support for configuring additional stream related settings using the streaming action type and the addition to prompt the user for variable values was added to the variable action type.

Detailed list of changes can be found here:

If you prefer I can start a build based on the 1.22.1 release + cherry-pick of the fix for the dock UI issue.
It's not an immediate pressing issue. That machine normally runs from the Multiview anyway, so I can hide the errant docks under the browser window that monitors the YouTube stream. Just a bit of confusion for someone else who might need to run it is all.

How far off do you think the next formal release would be? I'd rather keep that machine on those, as long as they don't break anything. Either 1.23.x or 1.22.2.
 

Bairespm

Member
A build with the option ask the user for input is available here in a few minutes:
(The build also contains the hotkey stuff we discussed yesterday)

The variable action has the option to prompt the user for input.
In a later step you can then use this value to modify the settings of text source.

An example macro could look like this:

View attachment 94571
Excellent, thank you very much, it is really very good. The only thing I would do is remove that text in the "assign value to variable" popup, it would only leave the title that we put on it
since if another operator grabs the pc and a sign pops up, he will not know what to do

Yes, I saw what was spoken by the hotkey. It's really amazing. Now it works like a charm. I am very thankfull for your help
 

Bairespm

Member
I've seen that you could use a timer in advance scene switcher but I don't see how to show it in a source..

Example: I want to put a countdown before starting the streaming and I can't find the way in the macros. I only found how to use a timer internally if it is displayed

Another thing that I would like is to be able to show the transmission time of a scene that is on the program. can it?

thanks for your time
 

Bairespm

Member
Excelente, muchas gracias, es realmente muy bueno. Yo lo unico que haria seria quitar ese texto en el popup de "asignar valor a la variable", solo dejaria el titulo que le ponemos
ya que si otro operador agarra la pc y le sale un cartel no sabra que hacer

Sí, vi lo que dijo la tecla de acceso rápido. Es realmente increíble. Ahora funciona como un encanto! estoy muy agradecida por tu ayuda
1685384615763.png
 

Warmuptill

Active Member
How far off do you think the next formal release would be? I'd rather keep that machine on those, as long as they don't break anything. Either 1.23.x or 1.22.2.
I have no concrete plans yet.
Depends on if any urgent issues pop up. :)

hi @Warmuptill Here I notify a bug, in the new hotkey frontend the name of the variable is being filtered in scenes and in sources
look
View attachment 94593View attachment 94594
That is intended.
You can use variables in source / scene selection fields.
 

Warmuptill

Active Member
@Warmuptill I would like to ask you if the name of the popup could be removed? . Thanks for your great help
A build with the requested functionality will be available here in a few minutes:
Let me know if everything works as you expect! :)

Variable.PNG
 

CodeYan

Member
For "scene item visibility" action, can you please allow selecting a scene item by index (and as a variable), not by name? I have a scene containing all my videos, and I intend to play them sequentially (not necessarily one after the other, and may entail moving to other scenes). I want to be able to first show the first scene item. Once it finishes, I want to be able to show the second scene item and hiding the first scene item. While I haven't fiddled with variables that much yet, I think incrementing the index should be easy. Thanks!
 

CodeYan

Member
I happened to get a bug when it comes to importing/exporting. I'm not really sure which adv-ss version I had (might be 1.20 or 1.21 or something), but I updated to 1.22.1. When it prompted to backup settings, I did. However, now all duration (seconds) in conditions and actions became 0. I only checked the wait actions and "time remaining shorter" condition (I have yet to completely evaluate the scope of the damage to my setup) and both have the issue, so it does seem like this is not an action/condition specific issue.

I included an old backup file of mine, and the new backup file that has all seconds set to 0. Here's also the log file even though it might not help as there's a lot of things I did here before I noticed the issue. https://obsproject.com/logs/45C3IUc8qAjOLnlL
 

Attachments

  • adv-ss-SK-2023.05.19.15.25.38.txt
    29.5 KB · Views: 16
  • adv-ss-SK-2023.06.04.00.27.50.txt
    22.8 KB · Views: 16
Top