glfiltercube
The resize and redraw callbacks can be set from a client code.
Examples
gst-launch-1.0 -v videotestsrc ! glfiltercube ! glimagesink
A pipeline to mpa textures on the 6 cube faces.. FBO is required.
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.
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.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstGLBaseFilter ╰──GstGLFilter ╰──glfiltercube
Factory details
Authors: – Julien Isorce
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
zfar
“zfar” gdouble
Specifies the distance from the viewer to the far clipping plane
Flags : Read / Write
Default value : 100
znear
“znear” gdouble
Specifies the distance from the viewer to the near clipping plane
Flags : Read / Write
Default value : 0.1
The results of the search are