Top |
GstGLStereoDownmix | downmix-mode | Read / Write |
GstVideoMultiviewFlags | input-flags-override | Read / Write |
GstVideoMultiviewFramePacking | input-mode-override | Read / Write |
GstVideoMultiviewFlags | output-flags-override | Read / Write |
GstVideoMultiviewMode | output-mode-override | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseTransform ╰── GstGLBaseFilter ╰── GstGLFilter ╰── GstGLViewConvertElement
Convert stereoscopic video between different representations using fragment shaders.
The element can use either property settings or caps negotiation to choose the input and output formats to process.
1 |
gst-launch-1.0 videotestsrc ! glupload ! glviewconvert ! glimagesink |
Simple placebo example demonstrating identity passthrough of mono video
1 2 |
gst-launch-1.0 videotestsrc pattern=checkers-1 ! glupload ! \ glviewconvert input-mode-override=side-by-side ! glimagesink -v |
Force re-interpretation of the input checkers pattern as a side-by-side stereoscopic image and display in glimagesink. FBO (Frame Buffer Object) and GLSL (OpenGL Shading Language) are required.
plugin |
opengl |
author |
Jan Schmidt <jan@centricular.com> Matthew Waters <matthew@centricular.com> |
class |
Filter |
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 |
“downmix-mode”
property“downmix-mode” GstGLStereoDownmix
Output anaglyph type to generate when downmixing to mono.
Flags: Read / Write
Default value: Dubois optimised Green-Magenta anaglyph
“input-flags-override”
property“input-flags-override” GstVideoMultiviewFlags
Override any input information about multiview layout flags.
Flags: Read / Write
“input-mode-override”
property“input-mode-override” GstVideoMultiviewFramePacking
Override any input information about multiview layout.
Flags: Read / Write
Default value: GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE
“output-flags-override”
property“output-flags-override” GstVideoMultiviewFlags
Override automatic negotiation for output multiview layout flags.
Flags: Read / Write
“output-mode-override”
property“output-mode-override” GstVideoMultiviewMode
Override automatic output mode selection for multiview layout.
Flags: Read / Write
Default value: GST_VIDEO_MULTIVIEW_MODE_NONE