vulkansink
vulkansink renders video frames to a drawable on a local or remote display using Vulkan.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSink ╰──GstVideoSink ╰──vulkansink
Factory details
Authors: – Matthew Waters
Classification: – Sink/Video
Rank – none
Plugin – gstvulkan
Package – GStreamer Bad Plug-ins git
Pad Templates
sink
video/x-raw(memory:VulkanImage):
format: { RGBA, BGRA, RGB, BGR }
width: [ 1, 2147483647 ]
height: [ 1, 2147483647 ]
framerate: [ 0/1, 2147483647/1 ]
Properties
blocksize
“blocksize” guint
Size in bytes to pull per buffer (0 = default)
Flags : Read / Write
Default value : 4096
enable-last-sample
“enable-last-sample” gboolean
Enable the last-sample property
Flags : Read / Write
Default value : true
force-aspect-ratio
“force-aspect-ratio” gboolean
When enabled, scaling will respect original aspect ratio
Flags : Read / Write
Default value : true
max-bitrate
“max-bitrate” guint64
The maximum bits per second to render (0 = disabled)
Flags : Read / Write
Default value : 0
max-lateness
“max-lateness” gint64
Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
Flags : Read / Write
Default value : 5000000
pixel-aspect-ratio
“pixel-aspect-ratio” GstFraction *
The pixel aspect ratio of the device
Flags : Read / Write
Default value : 0/1
processing-deadline
“processing-deadline” guint64
Maximum processing time for a buffer in nanoseconds
Flags : Read / Write
Default value : 15000000
qos
“qos” gboolean
Generate Quality-of-Service events upstream
Flags : Read / Write
Default value : true
render-delay
“render-delay” guint64
Additional render delay of the sink in nanoseconds
Flags : Read / Write
Default value : 0
show-preroll-frame
“show-preroll-frame” gboolean
Whether to render video frames during preroll
Flags : Read / Write / Construct
Default value : true
stats
“stats” GstStructure *
Sink Statistics
Flags : Read
Default value :
application/x-gst-base-sink-stats, average-rate=(double)0, dropped=(guint64)0, rendered=(guint64)0;
throttle-time
“throttle-time” guint64
The time to keep between rendered buffers (0 = disabled)
Flags : Read / Write
Default value : 0
Properties
physical-device
“physical-device” GstVulkanPhysicalDevice *
Associated Vulkan Physical Device
Flags : Read / Write / Construct Only
Signals
create-device
GstVulkanDevice * create_device_callback (GstElement * param_0, gpointer udata)
def create_device_callback (param_0, udata):
#python callback for the 'create-device' signal
function create_device_callback(param_0: GstElement * param_0, udata: gpointer udata): {
// javascript callback for the 'create-device' signal
}
Parameters:
param_0
–
udata
–
Flags: Run Last
Properties
device-index
“device-index” guint
Device Index
Flags : Read / Write / Construct Only
Default value : 0
instance
“instance” GstVulkanInstance *
Associated Vulkan Instance
Flags : Read / Write / Construct Only
The results of the search are