gloverlay
Overlay GL video texture with a PNG image
Examples
gst-launch-1.0 videotestsrc ! gloverlay location=image.jpg ! glimagesink
FBO (Frame Buffer Object) is required.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstGLBaseFilter ╰──GstGLFilter ╰──gloverlay
Factory details
Authors: – Filippo Argiolas
Classification: – Filter/Effect/Video
Rank – none
Plugin – opengl
Package – GStreamer Base Plug-ins
Pad Templates
sink
video/x-raw(ANY):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
texture-target: 2D
video/x-raw(memory:GLMemory):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
texture-target: 2D
src
video/x-raw(memory:GLMemory):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
texture-target: 2D
video/x-raw(ANY):
format: RGBA
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
texture-target: 2D
Properties
location
“location” gchararray
Location of image file to overlay
Flags : Read / Write
Default value : NULL
offset-x
“offset-x” gint
For positive value, horizontal offset of overlay image in pixels from left of video image. For negative value, horizontal offset of overlay image in pixels from right of video image
Flags : Read / Write
Default value : 0
offset-y
“offset-y” gint
For positive value, vertical offset of overlay image in pixels from top of video image. For negative value, vertical offset of overlay image in pixels from bottom of video image
Flags : Read / Write
Default value : 0
overlay-height
“overlay-height” gint
Height of overlay image in pixels (0 = same as overlay image)
Flags : Read / Write
Default value : 0
overlay-width
“overlay-width” gint
Width of overlay image in pixels (0 = same as overlay image)
Flags : Read / Write
Default value : 0
relative-x
“relative-x” gdouble
Horizontal offset of overlay image in fractions of video image width, from top-left corner of video image
Flags : Read / Write
Default value : 0
relative-y
“relative-y” gdouble
Vertical offset of overlay image in fractions of video image height, from top-left corner of video image
Flags : Read / Write
Default value : 0
The results of the search are