Top | ![]() |
![]() |
![]() |
![]() |
gfloat | brightness | Read / Write / Construct |
gfloat | contrast | Read / Write / Construct |
GstVaapiDisplayType | display | Read / Write |
gchar * | display-name | Read / Write |
gboolean | force-aspect-ratio | Read / Write |
gboolean | fullscreen | Read / Write |
gfloat | hue | Read / Write / Construct |
GstVaapiRotation | rotation | Read / Write |
gfloat | saturation | Read / Write / Construct |
gboolean | signal-handoffs | Read / Write |
gint | view-id | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstVideoSink ╰── GstVaapiSink
vaapisink renders video frames to a drawable (X Window) on a local display using the Video Acceleration (VA) API. The element will create its own internal window and render into it.
plugin |
vaapi |
author |
Gwenole Beauchesne <gwenole.beauchesne@intel.com> |
class |
Sink/Video |
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-raw(memory:VASurface), format=(string){ ENCODED, NV12, I420, YV12, YUY2, UYVY, Y210, P010_10LE, AYUV, Y410 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
video/x-raw(memory:VASurface, meta:GstVideoOverlayComposition), format=(string){ ENCODED, NV12, I420, YV12, P010_10LE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] | |
video/x-raw(meta:GstVideoOverlayComposition), format=(string){ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] | |
video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, AYUV, VUYA, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, Y210, Y410, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, BGR10A2_LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32, NV12_10LE40 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ] |
“brightness”
property“brightness” gfloat
The VA display brightness, expressed as a float value. Range is -1.0 to 1.0. Default value is 0.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [-1,1]
Default value: 0
“contrast”
property“contrast” gfloat
The VA display contrast, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [0,2]
Default value: 1
“display”
property “display” GstVaapiDisplayType
The type of display to use.
Flags: Read / Write
Default value: Auto detection
“display-name”
property“display-name” gchar *
The native display name.
Flags: Read / Write
Default value: NULL
“force-aspect-ratio”
property“force-aspect-ratio” gboolean
When enabled, scaling respects video aspect ratio; when disabled, the video is distorted to fit the window.
Flags: Read / Write
Default value: TRUE
“fullscreen”
property“fullscreen” gboolean
Selects whether fullscreen mode is enabled or not.
Flags: Read / Write
Default value: FALSE
“hue”
property“hue” gfloat
The VA display hue, expressed as a float value. Range is -180.0 to 180.0. Default value is 0.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [-180,180]
Default value: 0
“rotation”
property “rotation” GstVaapiRotation
The VA display rotation mode, expressed as a GstVaapiRotation.
Flags: Read / Write
Default value: Unrotated mode
“saturation”
property“saturation” gfloat
The VA display saturation, expressed as a float value. Range is 0.0 to 2.0. Default value is 1.0 and represents no modification.
Flags: Read / Write / Construct
Allowed values: [0,2]
Default value: 1
“signal-handoffs”
property“signal-handoffs” gboolean
Send a signal after rendering the buffer.
Flags: Read / Write
Default value: FALSE
“view-id”
property“view-id” gint
When not set to -1, the displayed frame will always be the one that matches the view-id of the very first displayed frame. Any other number will indicate the desire to display the supplied view-id only.
Flags: Read / Write
Allowed values: >= G_MAXULONG
Default value: -1
“handoff”
signalvoid user_function (GstVaapiSink *object, GstBuffer *buffer, gpointer user_data)
This signal gets emitted after rendering the frame.
object |
the GstVaapiSink instance |
|
buffer |
the buffer that was rendered |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last