Detect silence in remote media source

selekta

New Member
Hi all,

I use Advanced Scene Switcher to advance through scenes. Each has a media source. It moves on to the next scene when a local video ends, then plays the next video.

However, I have one scene that's a Shoutcast source, that sometimes drops. Refreshing this fixes it (literally opening and closing the source properties), but OBS cannot seem to detect this silence so it gives me dead air.

How would I detect the silence, so I can advance this scene when it happens? FFMPEG? Any help appreciated.
 

Warmuptill

Active Member
Hi all,

I use Advanced Scene Switcher to advance through scenes. Each has a media source. It moves on to the next scene when a local video ends, then plays the next video.

However, I have one scene that's a Shoutcast source, that sometimes drops. Refreshing this fixes it (literally opening and closing the source properties), but OBS cannot seem to detect this silence so it gives me dead air.

How would I detect the silence, so I can advance this scene when it happens? FFMPEG? Any help appreciated.
As you mentioned that you are already using the Advanced Scene Switcher I guess you could set up a macro like this to detect if a given source has no audio output for a certain amount of time and then refresh its settings:

1729538327049.png


I hope I didn't misunderstand the question and this helps! :)
 
Top