# d3d11desktopdupsrc

A DXGI Desktop Duplication API based screen capture element

## Example launch line

    gst-launch-1.0 d3d11desktopdupsrc ! queue ! d3d11videosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──GstPushSrc
                            ╰──d3d11desktopdupsrc

## Factory details

Authors: – Seungha Yang

Classification: – `Source/Video`

Rank – none

Plugin – d3d11

Package – GStreamer Bad Plug-ins

## Pad Templates

### `src`

    video/x-raw(memory:D3D11Memory):
             format: BGRA
              width: [ 1, 16384 ]
             height: [ 1, 16384 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### 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