Trying to get a conditional chromakey, or similar effect

Bill-kun

New Member
I have a setup where I layer camera sources on top of each other for live streaming. One of the cameras, a Nikon D90, occasionally turns off, possibly due to overheating. (Replacing the camera may be a future move, but I don't want that to be the topic of this thread because that is not in the cards right now.) The camera's output is HDMI, with the subject image unobscured, but surrounded by the onscreen shooting data. To get a clean image, I use OBS to crop out the shooting data. Here is an example raw image from a review of the D90's live view.

1673152222413.png

When the camera turns off, the subject image goes very dark gray (color #070707, to be exact). The cropped-out shooting data is still present.

What I would like to do is set up a conditional chromakey, such that the chromakey is effectively off by default, but will be triggered effectively on if, for example, 75% of the screen is color #070707. By having that set up, OBS will automatically make the dark grey transparent, and the viewers will see what the next camera in the source list is showing. I need it to be conditional, or else it will have to be constantly on, which will constantly chromakey out all individual pixels on the good Nikon D90 image that are exactly #070707.

Incidentally, I can't find any option in the D90 menus, controls, or manual to turn off the yellow, red, and green boxes (see the face above). They show up on the recordings and livestreams when they automatically occur. Does anyone know of a way to turn them off?
 
Last edited:

Bill-kun

New Member
Help please? Does anyone know of a way to get this desired effect, even if it's with other filters than the chromakey?
 

AaronD

Active Member
The Advanced Scene Switcher plugin has an image-matching condition/trigger. Maybe you can use that to detect a large area of that specific color and either switch scenes or hide the source?
 

AaronD

Active Member
A google search for "nikon d90 manual" (without quotes) gives this:

Page 180 and following show how to turn *some* of the display elements off.
Page 165 and following show how to control the camera's features. Maybe if you disable some or change to a different mode, then their indications go away as well?
Maybe that also affects the HDMI output? Since that camera is really designed for stills, not video, I can see that possibility.
 

khaver

Member
As Aaron said above, The pattern matching condition of the Advanced Scene Switcher plugin is you best bet.
 
Top