waylandsink
The waylandsink is creating its own window and render the decoded video frames to that. Setup the Wayland environment as described in Wayland home page.
The current implementation is based on weston compositor.
Example pipelines
gst-launch-1.0 -v videotestsrc ! waylandsink
test the video rendering in wayland
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSink ╰──GstVideoSink ╰──waylandsink
Implemented interfaces
Factory details
Authors: – Sreerenj Balachandran
Classification: – Sink/Video
Rank – marginal
Plugin – waylandsink
Package – GStreamer Bad Plug-ins
Pad Templates
sink
video/x-raw:
format: { AYUV, RGBA, ARGB, BGRA, ABGR, P010_10LE, NV12_10LE40, v308, RGBx, xRGB, BGRx, xBGR, RGB, BGR, Y42B, NV16, NV61, YUY2, YVYU, UYVY, I420, YV12, NV12, NV21, Y41B, YUV9, YVU9, BGR16, RGB16 }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
video/x-raw(memory:DMABuf):
format: DMA_DRM
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
display
“display” gchararray
Wayland display name to connect to, if not supplied via the GstContext
Flags : Read / Write
Default value : NULL
drm-device
“drm-device” gchararray
Flags : Read / Write / Construct Only
Default value : NULL
Since : 1.24
fullscreen
“fullscreen” gboolean
Whether the surface should be made fullscreen
Flags : Read / Write
Default value : false
render-rectangle
“render-rectangle” GstValueArray *
This helper installs the "render-rectangle" property into the class.
Flags : Read / Write
Since : 1.22
rotate-method
“rotate-method” GstVideoOrientationMethod *
Flags : Read / Write
Default value : identity (0)
Since : 1.22
The results of the search are