![]() |
![]() |
![]() |
GStreamer OpenGL Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GObject +----GstObject +----GstElement +----GstBaseTransform +----GstGLFilter +----GstGLOverlay
"location" gchar* : Read / Write "proportion" gint : Read / Write "xpos" gint : Read / Write "ypos" gint : Read / Write "angle-png" gint : Read / Write "angle-video" gint : Read / Write "proportion-png" gint : Read / Write "proportion-video" gint : Read / Write "rotate-png" gint : Read / Write "rotate-video" gint : Read / Write "video-top" gboolean : Read / Write "xpos-png" gint : Read / Write "xpos-video" gint : Read / Write "ypos-png" gint : Read / Write "ypos-video" gint : Read / Write "ratio-video" gint : Read / Write
Overlay GL video texture with a PNG image
1 |
gst-launch videotestsrc ! "video/x-raw-rgb" ! glupload ! gloverlay location=imagefile ! glimagesink |
plugin |
opengl |
author |
Filippo Argiolas <filippo.argiolas@gmail.com> |
class |
Filter/Effect |
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-raw-gl, width=(int)[ 1, 8000 ], height=(int)[ 1, 6000 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ] |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw-gl, width=(int)[ 1, 8000 ], height=(int)[ 1, 6000 ], pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ] |
"proportion"
property "proportion" gint : Read / Write
Relative size of iverlay image, in percents.
Allowed values: [0,100]
Default value: 0
"xpos"
property "xpos" gint : Read / Write
X position of overlay image in percents.
Allowed values: [0,100]
Default value: 0
"ypos"
property "ypos" gint : Read / Write
Y position of overlay image in percents.
Allowed values: [0,100]
Default value: 0
"angle-png"
property "angle-png" gint : Read / Write
choose angle in axis to choosen between -90 and 90.
Allowed values: [-90,90]
Default value: 0
"angle-video"
property "angle-video" gint : Read / Write
choose angle in axis to choosen between -90 and 90.
Allowed values: [-90,90]
Default value: 0
"proportion-png"
property "proportion-png" gint : Read / Write
Relative size of iverlay image, in percents.
Allowed values: [0,100]
Default value: 0
"proportion-video"
property "proportion-video" gint : Read / Write
Relative size of iverlay video, in percents.
Allowed values: [0,100]
Default value: 0
"rotate-png"
property "rotate-png" gint : Read / Write
choose rotation axis for the moment only Y axis is implemented.
Allowed values: [0,3]
Default value: 0
"rotate-video"
property "rotate-video" gint : Read / Write
choose rotation axis for the moment only Y axis is implemented.
Allowed values: [0,3]
Default value: 0
"video-top"
property "video-top" gboolean : Read / Write
Video is over png image.
Default value: FALSE
"xpos-png"
property "xpos-png" gint : Read / Write
X position of overlay image in percents.
Allowed values: [0,100]
Default value: 0
"xpos-video"
property "xpos-video" gint : Read / Write
X position of overlay video in percents.
Allowed values: [0,100]
Default value: 0
"ypos-png"
property "ypos-png" gint : Read / Write
Y position of overlay image in percents.
Allowed values: [0,100]
Default value: 0
"ypos-video"
property "ypos-video" gint : Read / Write
Y position of overlay video in percents.
Allowed values: [0,100]
Default value: 0