Switch Scene if Video Source has Transparent Pixels


New Member
I have a situation when streaming where I have one video source that can either have transparency and be an "extra detail" in the stream, or it can have no transparency and be the main focus of the stream. Is there a way to get an automatic scene switch based on whether or not the source has transparency? And I don't mean the setting of whether or not OBS will allow the transparency but rather if it is actually present.

So to put it in pseudo code...
Every x milliseconds:
    if not on sceneA or sceneB:
    if hasAnyTransparencyAtAll(myVideoSource):

As you can see I have an idea of programming in general. But when I tried doing it with OBS I was out of my depth, since none of the C family were among the languages I learned.