Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Bairespm

Member
@Warmuptill

gracias por la aplicación es genial, hay algunas partes que funcionan y otras que no, detalle
1.- MACRO
Intente ejecutar un programa con una escena y se ejecuta sin parar, lo abre una y otra vez sin cesar. Imagen adjunta
2.- MACRO
Tengo 3 escenas
a) host 1box
b) invitado 1box
c) ambos 2box

Creo una macro que al pasar 12 minutos cambia a la escena comercial

el problema es que solo deja los siguientes condicionales
-y
-o
-y no
-o no

y necesito uno que permita si entre las 3 escenas llegan a los 12 minutos entonces cambian a escena comercial

usando "y" agregue a) + b) + c) entonces 12 + 12 + 12
usando "o"
si a) tienes 12 minutos
o si b) tiene 12 minutos
o si c) tiene 12 minutos

Pero qué pasa si cambio entre esas tres escenas en la transmisión y solo tengo 12 minutos antes de los comerciales, no tengo forma de programarlo con MACROS.
Probé con ESCENAS DE GRUPO pero ninguna de las dos, ya que solo permite seleccionarla en salida, sin entrada

3- TRANSICIÓN
ELEMENTO Cambiar la transición si la escena está activa

si solo selecciona una escena para cambiar la transición, funciona perfectamente
ahora, si selecciona varias escenas cuando desea cambiar manualmente la escena, no cambia, o cambia y no se muestra permaneciendo en la escena actual

4- AUDIO
Es global, si quiero usarlo solo cuando esté en las 2 primeras escenas para que cambie a una tercera es perfecto.
pero si estoy en una escena diferente, como la escena "Noticias"
y el invitado habla, la escena cambia y no es lo que quiero. Sería bueno poder elegir en qué escenas hacer que funcione.


Esto es lo que he visto hasta ahora. Creo que es la mejor aplicación que tiene el conmutador de escenas avanzado obs. el mejor

Gracias
 

Attachments

  • run.PNG
    run.PNG
    21.9 KB · Views: 70
  • switch.PNG
    switch.PNG
    36.7 KB · Views: 69
  • transition.PNG
    transition.PNG
    32.2 KB · Views: 68

Bairespm

Member
También me gustaría que pudieras agregar tiempo para que se muestre u oculte ya que si pongo esta condición no puedo activarlo porque lo desactiva. en otras palabras, si activo esta macro, no puedo habilitar manualmente la fuente.
thnks
 

Attachments

  • 120886355-d0723a00-c5ed-11eb-8565-b7f187a9dad4.png
    120886355-d0723a00-c5ed-11eb-8565-b7f187a9dad4.png
    34.8 KB · Views: 39

Warmuptill

Active Member
Hi, awesome plug in, i found some things could help:

on this windows could be a fixed size of popup, and add a scroll, cause i couldn't scroll to the lower rows:

View attachment 71939

Also, could be a random group of stingers, and on each of theese secuences, or any criteria, select the random stinger group:

View attachment 71940

Thanks for the devv duude.
Thanks for the suggestions!
I will look into it / add it to the todo list :)

@Warmuptill

gracias por la aplicación es genial, hay algunas partes que funcionan y otras que no, detalle
1.- MACRO
Intente ejecutar un programa con una escena y se ejecuta sin parar, lo abre una y otra vez sin cesar. Imagen adjunta
2.- MACRO
Tengo 3 escenas
a) host 1box
b) invitado 1box
c) ambos 2box

Creo una macro que al pasar 12 minutos cambia a la escena comercial

el problema es que solo deja los siguientes condicionales
-y
-o
-y no
-o no

y necesito uno que permita si entre las 3 escenas llegan a los 12 minutos entonces cambian a escena comercial

usando "y" agregue a) + b) + c) entonces 12 + 12 + 12
usando "o"
si a) tienes 12 minutos
o si b) tiene 12 minutos
o si c) tiene 12 minutos

Pero qué pasa si cambio entre esas tres escenas en la transmisión y solo tengo 12 minutos antes de los comerciales, no tengo forma de programarlo con MACROS.
Probé con ESCENAS DE GRUPO pero ninguna de las dos, ya que solo permite seleccionarla en salida, sin entrada

3- TRANSICIÓN
ELEMENTO Cambiar la transición si la escena está activa

si solo selecciona una escena para cambiar la transición, funciona perfectamente
ahora, si selecciona varias escenas cuando desea cambiar manualmente la escena, no cambia, o cambia y no se muestra permaneciendo en la escena actual

4- AUDIO
Es global, si quiero usarlo solo cuando esté en las 2 primeras escenas para que cambie a una tercera es perfecto.
pero si estoy en una escena diferente, como la escena "Noticias"
y el invitado habla, la escena cambia y no es lo que quiero. Sería bueno poder elegir en qué escenas hacer que funcione.


Esto es lo que he visto hasta ahora. Creo que es la mejor aplicación que tiene el conmutador de escenas avanzado obs. el mejor

Gracias
I used google translate so let me apologize in advance if I misunderstood anything.

1.) You can limit the amount of times a macro is run by using the "count" condition (and macro action option to reset the counters if necessary).
Alternatively you can use time restrictions on the condition to limit the amount of time the condition is true, which triggers the action to run the specified program.

But I agree that this might be a bit cumbersome.
Maybe I can just introduce a condition like "if scene was changed recently", but I have too look into it first.

2.) Basically you would want nested conditions, right?
That is indeed currently not supported.

But maybe using the "interval" condition in combination with the scene condition might also work here?
So something like this:

If current scene is "host 1box"
OR
current scene is "guest 1box"
OR
current scene is "both 2box"
AND
12 minutes have passed
-----
Switch to "commercial scene"

But this is of course not perfect as the interval will continue to run even when the other scenes are not active.

3.) I am not sure if I understand correctly but you might have to adjust the delay value after which the transition is changed.

Maybe this plugin might be more suited to what you are looking for?

4.) Are you referring to macros or the audio tab?
Using macros you should be able to achieve what you are looking for.
So something like this:

If NOT current scene is "news"
AND
volume of "guest mic" is above 30%
-----
Switch to "guest scene"

Thanks for the suggestions and I hope I could at least help a bit! :)

También me gustaría que pudieras agregar tiempo para que se muestre u oculte ya que si pongo esta condición no puedo activarlo porque lo desactiva. en otras palabras, si activo esta macro, no puedo habilitar manualmente la fuente.
thnks
Assuming I understood you correctly you could rely on the "time constraint" feature to only trigger the actions at the beginning of a scene change.
(I am referring to the options you can access by clicking the small clock icon)
 
Last edited:

Bairespm

Member
Thanks for the suggestions!
I will look into it / add it to the todo list :)


I used google translate so let me apologize in advance if I misunderstood anything.

1.) You can limit the amount of times a macro is run by using the "count" condition (and macro action option to reset the counters if necessary).
Alternatively you can use time restrictions on the condition to limit the amount of time the condition is true, which triggers the action to run the specified program.

But I agree that this might be a bit cumbersome.
Maybe I can just introduce a condition like "if scene was changed recently", but I have too look into it first.

2.) Basically you would want nested conditions, right?
That is indeed currently not supported.

But maybe using the "interval" condition in combination with the scene condition might also work here?
So something like this:

If current scene is "host 1box"
OR
current scene is "guest 1box"
OR
current scene is "both 2box"
AND
12 minutes have passed
-----
Switch to "commercial scene"

But this is of course not perfect as the interval will continue to run even when the other scenes are not active.



Thank you for taking a few minutes to answer me. I appreciate it.

Please correct me if I got it right to point 1 that I put in the attached image.

and point 2 I have not had luck because it works continuously. Is there any way to stop and start when I once again activate one of those three scenes?
 

Bairespm

Member
[QUOTE = "Bairespm, publicación: 529885, miembro: 276788"]
Gracias por tomarse unos minutos para contestarme. Te lo agradezco.

Por favor corríjame si entendí bien el punto 1 que puse en la imagen adjunta.

y el punto 2 no he tenido suerte porque funciona continuamente. ¿Hay alguna forma de detener y comenzar cuando vuelva a activar una de esas tres escenas?
[/CITA]
 

Attachments

  • macro.PNG
    macro.PNG
    17.5 KB · Views: 31

Bairespm

Member
@Warmuptill
I tried like this but I can't get it to work well, if I'm in another scene it would seem that the macro time continues to work and it changes to escene "Tanda" again.

thanks
 

Attachments

  • macro2.PNG
    macro2.PNG
    29.1 KB · Views: 37

Warmuptill

Active Member
[QUOTE = "Bairespm, publicación: 529885, miembro: 276788"]
Gracias por tomarse unos minutos para contestarme. Te lo agradezco.

Por favor corríjame si entendí bien el punto 1 que puse en la imagen adjunta.

y el punto 2 no he tenido suerte porque funciona continuamente. ¿Hay alguna forma de detener y comenzar cuando vuelva a activar una de esas tres escenas?
[/CITA]
@Warmuptill
I tried like this but I can't get it to work well, if I'm in another scene it would seem that the macro time continues to work and it changes to escene "Tanda" again.

thanks
Regarding 1.)
Yes you understood correctly :)
Note that you either have to reset the counters manually or add another macro to do this for you, if you want the macro to trigger again.

Regarding 2.)
Unfortunately, there is no "clean" solution for what you are trying to achieve using the existing conditions - what I suggested is just a workaround, which does not seem to fit your needs.
I will think about how to best implement this in one of the future updates.
 

JanVdB

New Member
Hi,
great plugin, thank you.
I'm running a few cameras, each camera is a scene.
In the "sequence" tab I have a sequence of scenes setup, that works fine.
In the "audio" tab I have the post-fader input of the radio dj, it switches to a certain cam (scene) when the dj starts talking and it is set to return to a certain scene after his speaking.
But then OBS remains on that last set scene in the Audio Tab, so it does not start the sequence setup anymore.
Is that something with the Priority settings on the general tab?
Or is better for me to make a Scene Group (I let my 4 cameras switch every 5 seconds in the same order)

Thank you,
Jan
 

Warmuptill

Active Member
Hi,
great plugin, thank you.
I'm running a few cameras, each camera is a scene.
In the "sequence" tab I have a sequence of scenes setup, that works fine.
In the "audio" tab I have the post-fader input of the radio dj, it switches to a certain cam (scene) when the dj starts talking and it is set to return to a certain scene after his speaking.
But then OBS remains on that last set scene in the Audio Tab, so it does not start the sequence setup anymore.
Is that something with the Priority settings on the general tab?
Or is better for me to make a Scene Group (I let my 4 cameras switch every 5 seconds in the same order)

Thank you,
Jan
Glad you like the plugin :)

It would be best if you could share your plugins settings with me so I don't misunderstand what you are trying to do / have set up already.
To do so click the export button on the general tab.
If you do not wish to share the settings here publicly feel free to start a private conversation with me.
 
Last edited:

JanVdB

New Member
Glad you like the plugin :)

It would be best if you could share your plugins with me so I don't misunderstand what you are trying to do / have set up already.
To do so click the export button on the general tab.
If you do not wish to share the settings here publically feel free to start a private conversation with me.
Hi,

I think I solved it myself. I deleted the "if audio is lower than... switch to scene..." so only the first line remains with "if audio is higher... switch to scene".
It seems that the second line is not necessary.

Jan
 

Warmuptill

Active Member
@Warmuptill
I tried like this but I can't get it to work well, if I'm in another scene it would seem that the macro time continues to work and it changes to escene "Tanda" again.

thanks
I now implemented the functionality which would allow you to "nest" macro conditions.
It works by referencing the conditions of one macro in another.

Here is a configuration based on your "commercial after x amount of time" example:
NestedMacro1.PNG

NestedMacro2.PNG


A build with this functionality will be available here in a few minutes:
(Note that you have to be logged into GitHub to be able to download it)

Let me know if that works for you! :)
 

Attachments

  • NestedMacro1.PNG
    NestedMacro1.PNG
    30.1 KB · Views: 27
  • NestedMacro2.PNG
    NestedMacro2.PNG
    27.3 KB · Views: 26

Warmuptill

Active Member
Hi, awesome plug in, i found some things could help:

on this windows could be a fixed size of popup, and add a scroll, cause i couldn't scroll to the lower rows:

View attachment 71939

Also, could be a random group of stingers, and on each of theese secuences, or any criteria, select the random stinger group:

View attachment 71940

Thanks for the devv duude.
If you should urgently need a fix for the scene sequence topic you can find a build here:
(You need to be logged in to GitHub to be able to download it)

ExtendedSequenceScroll.png
 

Bairespm

Member
Woooooowwww
genial muchas gracias ... uso mucho esta aplicación es genial ... una sugerencia con una macro puedo iniciar un programa ... sería bueno si con otra macro puedo cerrar un programa. Sería bueno tener una macro para aparecer / desaparecer gradualmente de la música de audio de fondo y hay algo que no puedo lograr ... pestaña "Secuencia" ... Elijo una secuencia de varias escenas con la misma música de referencia y cuando la música termina la música con la pestaña "Medios" hago que use una transición de aguijón (apagado) a la escena -Fin de transmisión- pero por alguna razón que no sé, la pestaña "Medios" no funciona si uso la pestaña "Secuencia" cambia la prioridad en la pestaña "general" y tampoco funciona. muchas gracias por tu tiempo eres genial
 

EndoSkull

New Member
I can't seem to get the FILE tab to change the scene based on the local file being changed.

I got it to work is I put the content of the text file.

However I am unable to change the scene if I clear out the text box and check the "if content changes" or "date changes"

Am I doing something wrong or is changing scene ONLY based on local field being update not possible?
Thanks
 

Warmuptill

Active Member
I can't seem to get the FILE tab to change the scene based on the local file being changed.

I got it to work is I put the content of the text file.

However I am unable to change the scene if I clear out the text box and check the "if content changes" or "date changes"

Am I doing something wrong or is changing scene ONLY based on local field being update not possible?
Thanks
I think what is causing issues for you is that empty files are being ignored.
This is something I should probably change.

Can you test if everything works as expected if you add some content to the file?

EDIT:
You can find a test build which allows you to match empty files also here in a few minutes:
(You need to be logged into GitHub to be able to download it)
 
Last edited:

Bairespm

Member
[QUOTE = "Warmuptill, publicación: 530529, miembro: 64711"]
Ahora implementé la funcionalidad que le permitiría "anidar" condiciones macro.
Funciona haciendo referencia a las condiciones de una macro en otra.

A continuación, se muestra una configuración basada en su ejemplo de "comercial después de x cantidad de tiempo":
[ATTACH = full] 72172 [/ ATTACH]
[ATTACH = full] 72173 [/ ATTACH]

Una compilación con esta funcionalidad estará disponible aquí en unos minutos:
[URL unfurl = "true"] https://github.com/WarmUpTill/SceneSwitcher/actions/runs/931576641 [/ URL]
(Tenga en cuenta que debe iniciar sesión en GitHub para poder descargarlo)

¡Avísame si eso funciona para ti! :)
[/ CITA]

It worked very well for me. Thank you very much for your time in this incredible application, and for helping me.
 

hard00

New Member
@Exeldro Hey! thank you and everyone involved in advanced scene switcher. As you have implemented the "Media" functionality, i have a request, that would be awesome to see in future releases: Can you add a "frames elapsed" counter to trigger a switch wich is actually reading the frame number from the media source?

The advantage over using elapsed time in "ms" is that even with a lagging media source, the scene-switch will happen with frame accuracy.

Thanks!
Jean-Noël
 

EndoSkull

New Member
I think what is causing issues for you is that empty files are being ignored.
This is something I should probably change.

Can you test if everything works as expected if you add some content to the file?

I'm unable to test your new build at the moment - but here is what I was trying to do:

I have a radio software playing tunes - I have it write the name of the song to a text file - each time it changed I was attempting to make the ASW switch scenes - so the file wasn't empty - but I was confused if the text box in the switcher had to be cleared out - if I used the check boxes to check for text file change.

Thanks
I'll try the new build this week.
 

Warmuptill

Active Member
I'm unable to test your new build at the moment - but here is what I was trying to do:

I have a radio software playing tunes - I have it write the name of the song to a text file - each time it changed I was attempting to make the ASW switch scenes - so the file wasn't empty - but I was confused if the text box in the switcher had to be cleared out - if I used the check boxes to check for text file change.

Thanks
I'll try the new build this week.
I see.
Then you probably want to use the regular expression ".*", which means "match any content", in combination with the file change change options you used before.
 
Last edited:

Warmuptill

Active Member
@Exeldro Hey! thank you and everyone involved in advanced scene switcher. As you have implemented the "Media" functionality, i have a request, that would be awesome to see in future releases: Can you add a "frames elapsed" counter to trigger a switch wich is actually reading the frame number from the media source?

The advantage over using elapsed time in "ms" is that even with a lagging media source, the scene-switch will happen with frame accuracy.

Thanks!
Jean-Noël
Just to be sure: You are referring to the following options on the media tab / macro tab with "elapsed time" right?
Media.png

Media2.png


If so:
Unfortunately I am not sure if this is something that can be implemented easily, as I am not aware of any API making the current frame count available.
 
Top