Can OBS replace one color with another?

I often pull in a streamyard screen into OBS. I filter out the dark grey background with color key so I'm left with just avatars on a black background. When each person speaks, there is a grey bubble that indicates the volume level of that person speaking. I'd like to change the color of ONLY that grey bubble to a different color. The original color is #5b5b5d and I'd like to change it to.. let's say red. I don't want to change the color of anything else, JUST the grey bubble. I've tried all of the filters chroma/color/correction and I can't figure it out. Possible?

1628471469954.png
 

koala

Active Member
Either it's trivial so nobody bothered to answer, or I'm misunderstanding what you want to achieve, with keeping in mind you told you already tried what I consider the trivial solution.

My approach is trivial:
Use the color key filter to your source, set to Custom Color, select the key color you want to vanish (#5b5b5d). Set Similarity and Smoothness to 1. This will make the gray bubble transparent.
Then add a Color source below this source and set it to the replacement color (red). The red will shine through the transparent part of the above source, essentially make it appear the original color is replaced by some other color.
 

FerretBomb

Active Member
You can do this with a LUT filter, which OBS supports. Look-Up Tables are usually used for color grading though, as if that color appears ANYWHERE ELSE IN THE SOURCE, it will also be replaced. Specific-region LUT could probably be finagled by stacking multiple scenes and image masks, but it'd be a good bit of work to restrict it ONLY to one part of a given area. The above color key option, or a LUT filter would be a lot more straightforward.
 
Top