In the docs of video-processor it is stated:
Quote:
gfx_keyedblit(input[,x,y,w,h,srcx,srcy,kv1,kv2,kv3,kv4])
chroma-key blits, using the source color as key. kv1-kv4 meaning depends on colorspace:
YV12/YUY2: kv1 is U target (-0.5 default), kv2 is V target (-0.5 default), kv3 is closeness-factor (0.4 default), kv4 is the gain (2.0 default)
RGBA: kv1 is green-factor (1.0 default), kv2 is blue-factor (-1.0 default), kv3 is offset (-1.0 default), kv4 enables spill removal (1.0 default)
|
In contrary kv1 adjusts yellow here (Linux native 64bit) if video output is set to RGBA mode.
This would make it hard (impossible?) to chroma-key green screens in RGBA mode.
reproduce:
- download a color-wheel image or similar (e.g. this post attachment) and insert on track in empty project
- set video colorspace to RGB in project settings
- insert video processor and open "simple source chroma-key" preset
- set k1 all the way to the right (16)
- set k2 (blue-factor) to 0
- adjust k3 (offset)
You'll notice that yellow is faded out first.