Top | ![]() |
![]() |
![]() |
![]() |
plugin |
opengl |
author |
Matthew Waters <matthew@centricular.com> |
class |
Filter/Effect/Video/Compositor |
name |
sink_%u |
direction |
sink |
presence |
request |
details |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
struct GstGLVideoMixer { GstGLMixer mixer; GstGLVideoMixerBackground background; GstGLShader *shader; GstGLShader *checker; GLuint vao; GLuint vbo_indices; GLuint checker_vbo; GstGLMemory *out_tex; };
The different backgrounds compositor can blend over.
checker pattern background |
||
solid color black background |
||
solid color white background |
||
background is left transparent and layers are composited using "A OVER B" composition rules. This is only applicable to AYUV and ARGB (and variants) as it preserves the alpha channel and allows for further mixing. |
“background”
property“background” GstGLVideoMixerBackground
Background type.
Flags: Read / Write
Default value: Checker pattern