glvideomixerelement
OpenGL video_mixer
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstAggregator ╰──GstVideoAggregator ╰──GstGLBaseMixer ╰──GstGLMixer ╰──glvideomixerelement
Factory details
Authors: – Matthew Waters
Classification: – Filter/Effect/Video/Compositor
Rank – none
Plugin – gstopengl
Package – GStreamer Base Plug-ins
Pad Templates
sink_%u
video/x-raw(memory:GLMemory):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
src
video/x-raw(memory:GLMemory):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
background
“background” GstGLVideoMixerBackground *
Background type
Flags : Read / Write
Default value : checker (0)
latency
“latency” guint64
Additional latency in live mode to allow upstream to take longer to produce buffers for the current position (in nanoseconds)
Flags : Read / Write
Default value : 0
min-upstream-latency
“min-upstream-latency” guint64
When sources with a higher latency are expected to be plugged in dynamically after the aggregator has started playing, this allows overriding the minimum latency reported by the initial source(s). This is only taken into account when larger than the actually reported minimum latency. (nanoseconds)
Flags : Read / Write
Default value : 0
start-time
“start-time” guint64
Start time to use if start-time-selection=set
Flags : Read / Write
Default value : 18446744073709551615
start-time-selection
“start-time-selection” GstAggregatorStartTimeSelection *
Decides which start time is output
Flags : Read / Write
Default value : zero (0)
Named constants
GstGLVideoMixerBackground
The different backgrounds compositor can blend over.
Members
checker
(0) – Checker pattern
black
(1) – Black
white
(2) – White
transparent
(3) – Transparent Background to enable further compositing
GstGLVideoMixerBlendEquation
The blending equation to use. See the opengl specificition for glBlendEquationSeparate
Members
add
(0) – Add
subtract
(1) – Subtract
reverse-subtract
(2) – Reverse Subtract
GstGLVideoMixerBlendFunction
The blending function to use. See the opengl specificition for glBlendFuncSeparate
Members
zero
(0) – Zero
one
(1) – One
src-color
(2) – Source Color
one-minus-src-color
(3) – One Minus Source Color
dst-color
(4) – Destination Color
one-minus-dst-color
(5) – One Minus Destination Color
src-alpha
(6) – Source Alpha
one-minus-src-alpha
(7) – One Minus Source Alpha
dst-alpha
(8) – Destination Alpha
one-minus-dst-alpha
(9) – One Minus Destination Alpha
constant-color
(10) – Constant Color
one-minus-contant-color
(11) – One Minus Constant Color
constant-alpha
(12) – Constant Alpha
one-minus-contant-alpha
(13) – One Minus Constant Alpha
src-alpha-saturate
(14) – Source Alpha Saturate
GstGLVideoMixerPad
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstPad ╰──GstAggregatorPad ╰──GstVideoAggregatorPad ╰──GstGLBaseMixerPad ╰──GstGLMixerPad ╰──GstGLVideoMixerPad
The opaque GstGLVideoMixerPad structure.
Signals
buffer-consumed
buffer_consumed_callback (GstElement * param_0, GstBuffer * arg0, gpointer udata)
def buffer_consumed_callback (param_0, arg0, udata):
#python callback for the 'buffer-consumed' signal
function buffer_consumed_callback(param_0: GstElement * param_0, arg0: GstBuffer * arg0, udata: gpointer udata): {
// javascript callback for the 'buffer-consumed' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run First
Properties
blend-constant-color-alpha
“blend-constant-color-alpha” gdouble
Blend Constant Color Alpha
Flags : Read / Write
Default value : 0
blend-constant-color-blue
“blend-constant-color-blue” gdouble
Blend Constant Color Green
Flags : Read / Write
Default value : 0
blend-constant-color-green
“blend-constant-color-green” gdouble
Blend Constant Color Green
Flags : Read / Write
Default value : 0
blend-constant-color-red
“blend-constant-color-red” gdouble
Blend Constant Color Red
Flags : Read / Write
Default value : 0
blend-equation-alpha
“blend-equation-alpha” GstGLVideoMixerBlendEquation *
Blend Equation for Alpha
Flags : Read / Write
Default value : add (0)
blend-equation-rgb
“blend-equation-rgb” GstGLVideoMixerBlendEquation *
Blend Equation for RGB
Flags : Read / Write
Default value : add (0)
blend-function-dst-alpha
“blend-function-dst-alpha” GstGLVideoMixerBlendFunction *
Blend Function for Destination Alpha
Flags : Read / Write
Default value : one-minus-src-alpha (7)
blend-function-dst-rgb
“blend-function-dst-rgb” GstGLVideoMixerBlendFunction *
Blend Function for Destination RGB
Flags : Read / Write
Default value : one-minus-src-alpha (7)
blend-function-src-alpha
“blend-function-src-alpha” GstGLVideoMixerBlendFunction *
Blend Function for Source Alpha
Flags : Read / Write
Default value : one (1)
blend-function-src-rgb
“blend-function-src-rgb” GstGLVideoMixerBlendFunction *
Blend Function for Source RGB
Flags : Read / Write
Default value : src-alpha (6)
emit-signals
“emit-signals” gboolean
Send signals to signal data consumption
Flags : Read / Write
Default value : false
max-last-buffer-repeat
“max-last-buffer-repeat” guint64
Repeat last buffer for time (in ns, -1=until EOS), behaviour on EOS is not affected
Flags : Read / Write
Default value : 18446744073709551615
repeat-after-eos
“repeat-after-eos” gboolean
Repeat the last frame after EOS until all pads are EOS
Flags : Read / Write
Default value : false
The results of the search are