Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

Tintifax_78

New Member
Hi Aron!
Thanks for your reply!
I tried a few things in the meantime. Your idea for looking in changes in the footage worked best in my try and error attempts.
Best worked, if I tell the advanced Scene Switcher to look, when the Image gets black and then switch to the other Scene.

In my Case it would be the perfect solution to bring the "default Scene" via a Capture Card into OBS and the Streams via Pull Link from Restream. But that isn't working a 100% Stand alone. OBS isn't always pulling the Stream automatically, respectively doesn't always show the image of the Stream altough Audio is showing up from the Stream. I don't know, if this a Bug from OBS (using OBS 29.1.3 64Bit, with Mac OS 12.1)

Thanks für your help!
 

AaronD

Active Member
OBS isn't always pulling the Stream automatically, respectively doesn't always show the image of the Stream altough Audio is showing up from the Stream. I don't know, if this a Bug from OBS (using OBS 29.1.3 64Bit, with Mac OS 12.1)
That's probably better to ask on the Mac side of this forum. Adv. SS is probably working exactly as you need now.

Remove everything you can and still keep the problem, and then ask over there about your pared-down demo.
 

Mark Weiss

Member
I wonder if this can be used to interject a station ID or bumper into a VLC media stream?

I have VLC media pointed to a folder full of videos. They play sequentially or in random order.

What I'd like is to have this playlist pause every 15 minutes or so and the media file with the ID play, then resume to play the next VLC media in line. Is that possible? If so, how would I set it up?
 

AaronD

Active Member
I wonder if this can be used to interject a station ID or bumper into a VLC media stream?

I have VLC media pointed to a folder full of videos. They play sequentially or in random order.

What I'd like is to have this playlist pause every 15 minutes or so and the media file with the ID play, then resume to play the next VLC media in line. Is that possible? If so, how would I set it up?
VLC source in OBS? Or the standalone VLC app?
 

Warmuptill

Active Member
I wonder if this can be used to interject a station ID or bumper into a VLC media stream?

I have VLC media pointed to a folder full of videos. They play sequentially or in random order.

What I'd like is to have this playlist pause every 15 minutes or so and the media file with the ID play, then resume to play the next VLC media in line. Is that possible? If so, how would I set it up?
This might do what you are looking for:
 

AaronD

Active Member
VLC source.
I *think* this should work. I'm testing it now in a "sandbox" instance.
1698861590820.png

1698860751152.png

1698860840334.png

1698860847837.png

I thought you might want to have several different bumpers that play at random, so I included that too. If not, you can simplify a bit.

I tried "not Playlist Scene for 15 minutes", but the logic on that seems to be "not (Playlist Scene for 15 minutes)" instead of the "(not Playlist Scene) for 15 minutes" like is needed here. So I added a variable that keeps track of whether we're playing a bumper or not.

The "Playing" and "Less than X time remaining" condition, together with a transition over the same X time, makes a much nicer transition than having it stop fully and then switch. If your sources start and end nicely on their own, then you might not need that. In that case:
1698861548752.png

Another side-effect of doing it this way is if you have a scene that isn't a normal bumper, you can switch to it manually, and the same Return from Bump macro will trigger on that too, and go back to the playlist.

The playlist itself (VLC Source) should probably have this setting:
1698861857132.png
 

AaronD

Active Member
This might do what you are looking for:
That works too, if the bumpers are *always* 15 seconds, or whatever the Wait action is set to. Mine looks at the media itself and doesn't have that restriction.

If it helps the thought process, the variable in my example can be replaced with the 30-second timer from this one, but changed to 15 minutes, while keeping my switch logic. Lots of different ways to do the same thing. :-)
The result of that combination would be this, with the others unchanged:
1698862593744.png
1698862604446.png
 
Last edited:

Mark Weiss

Member
Thank you. This looks like it has the capacity to give plenty of flexibility. I downloaded the advanced switcher and will try out some of the settings you listed. My breaks are of varying length. Some as short as 5 seconds. The ability to detect the transition between VLC video clips is key here. I'd want to gracefully insert the bumpers, not interrupt if possible. Although for long form content, I may want to break in every 20 mins or so with a bumper.
 

Mark Weiss

Member
In the first example in the link you provided, they talk about a playlist file;
1698879957965.png


In my case, I have VLC media source looking at several folders which contain video files. This gets updated automatically as I add/remove videos from the folders. I hope to avoid having to edit a playlist file to make this work.
 

Mark Weiss

Member
The other question is does it have to be a scene file? If so, how do I make it play only ONE bumper/ID per break and shuffle the IDs each turn? Can I have it arbitrarily play a media file at each break, rather than switch scenes?
To be clear, can I have it play a MEDIA file as a break instead of switching scenes outright?
 
Last edited:

Mark Weiss

Member
I'm coming to the conclusion that I will have to make a new scene for the break, so if I do that, do I simply make another VLC Media source in the Break scene and point it to a folder with bumper videos?
 

AaronD

Active Member
I'm coming to the conclusion that I will have to make a new scene for the break, so if I do that, do I simply make another VLC Media source in the Break scene and point it to a folder with bumper videos?
My example uses a scene for each one, with an OBS-native Media source in each one. Not VLC.

In fact, I've never used the VLC source for any of my production rigs. Always native, and always a single specific thing in each. And it's usually the only source in its scene. Separate scene for each too. Lots of simple scenes; complex ones are hard to work with IMO, and I don't need a lot on the screen at once.

how do I make it play only ONE bumper/ID per break and shuffle the IDs each turn?
My example already does that. :-) It has a macro dedicated to starting each one, and the main Goto macro picks one of those other macros at random to run right then and there, regardless of its condition(s).
 

Mark Weiss

Member
Would it be possible to put all the break videos in one folder and one scene and have OBS randomly select a video from that scene and play it? I guess Native video uses less resources?

EDIT: it looks like Media Source can only do one file at a time.
 
Last edited:

Warmuptill

Active Member
Would it be possible to put all the break videos in one folder and one scene and have OBS randomly select a video from that scene and play it? I guess Native video uses less resources?

EDIT: it looks like Media Source can only do one file at a time.
I guess that should be possible using a VLC source.
Just make sure to enable shuffling for the VLC source and re-shuffle before showing to it.
 

Mark Weiss

Member
I couldn't find that video, but I looked up the problem and saw that some are using source... refresh source... VLC Media Source to reshuffle. I'll try that and see if it gets the desired result.
 

AaronD

Active Member
I'm finally getting around to reporting this. Not a huge deal, but the docks are still being replicated on the other screen.
Screenshot_20231029_090140.jpg

3x 1920x1080, side-by-side. The docks on the left screen are duplicates of where they are on the center screen. As before, mousing over either copy highlights both.
 

David51201

New Member
We have a church live stream that starts at 9:25am every Sunday. The problem is we would get busy with other setup tasks and not start the stream when we were supposed to, so we could miss a few minutes of the service. I then found Advanced Scene Switcher, which solved many of our problems. Fast forward to a couple of months ago and YouTube changed something that broke our web page which in turn broke this automation. I was able to get it to work but now we are using the Manage Broadcast functionality and we would really like to see a small expansion to the Streaming functionality. In the screen shot below, our automation is able to click on the Start Streaming button, but when we do that, the Manage Broadcast button changes to say Go Live! Would it be possible to have the ability to click the Go Live! button after the Start Streaming button is clicked within a running automation? I'm not sure how feature requests work here so let me know if it needs to be done somewhere else.

1699843845395.png
 
Top