d3d12screencapturesrc

Direct3D12 screen capture element

Example launch line

gst-launch-1.0 d3d12screencapturesrc ! queue ! d3d12videosink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──d3d12screencapturesrc

Factory details

Authors: – Seungha Yang

Classification:Source/Video

Rank – none

Plugin – d3d12

Package – GStreamer Bad Plug-ins

Pad Templates

src

video/x-raw(memory:D3D12Memory):
         format: BGRA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
pixel-aspect-ratio: 1/1
    colorimetry: sRGB
video/x-raw:
         format: BGRA
          width: [ 1, 2147483647 ]
         height: [ 1, 2147483647 ]
      framerate: [ 0/1, 2147483647/1 ]
pixel-aspect-ratio: 1/1
    colorimetry: sRGB

Presencealways

Directionsrc

Object typeGstPad


Properties

crop-height

“crop-height” guint

Height of screen capture area (0 = maximum)

Flags : Read / Write

Default value : 0


crop-width

“crop-width” guint

Width of screen capture area (0 = maximum)

Flags : Read / Write

Default value : 0


crop-x

“crop-x” guint

Horizontal coordinate of top left corner for the screen capture area

Flags : Read / Write

Default value : 0


crop-y

“crop-y” guint

Vertical coordinate of top left corner for the screen capture area

Flags : Read / Write

Default value : 0


monitor-handle

“monitor-handle” guint64

A HMONITOR handle of monitor to capture

Flags : Read / Write

Default value : 0


monitor-index

“monitor-index” gint

Zero-based index for monitor to capture (-1 = primary monitor)

Flags : Read / Write

Default value : -1


show-cursor

“show-cursor” gboolean

Whether to show mouse cursor

Flags : Read / Write

Default value : false


The results of the search are