Top |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseTransform ╰── GstGLBaseFilter ╰── GstGLFilter ╰── GstGLFilterCube
The resize and redraw callbacks can be set from a client code.
1 |
gst-launch-1.0 -v videotestsrc ! glfiltercube ! glimagesink |
A pipeline to mpa textures on the 6 cube faces.. FBO is required.
1 |
gst-launch-1.0 -v videotestsrc ! glfiltercube ! video/x-raw, width=640, height=480 ! glimagesink |
Resize scene after drawing the cube. The scene size is greater than the input video size.
1 |
gst-launch-1.0 -v videotestsrc ! video/x-raw, width=640, height=480 ! glfiltercube ! glimagesink |
Resize scene before drawing the cube. The scene size is greater than the input video size.
plugin |
opengl |
author |
Julien Isorce <julien.isorce@gmail.com> |
class |
Filter/Effect/Video |
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-raw(ANY), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
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 ], texture-target=(string)2D |
video/x-raw(ANY), format=(string)RGBA, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], texture-target=(string)2D |
“aspect”
property“aspect” gdouble
Field of view in the x direction.
Flags: Read / Write
Allowed values: [0,100]
Default value: 0
“blue”
property“blue” gfloat
Background blue color.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
“fovy”
property“fovy” gdouble
Field of view angle in degrees.
Flags: Read / Write
Allowed values: [0,180]
Default value: 45
“green”
property“green” gfloat
Background green color.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
“red”
property“red” gfloat
Background red color.
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
“zfar”
property“zfar” gdouble
Specifies the distance from the viewer to the far clipping plane.
Flags: Read / Write
Allowed values: [0,1000]
Default value: 100
“znear”
property“znear” gdouble
Specifies the distance from the viewer to the near clipping plane.
Flags: Read / Write
Allowed values: [0,100]
Default value: 0.1