# d3d11testsrc

The videotestsrc element is used to produce test video data

## Example launch line

    gst-launch-1.0 d3d11testsrc ! queue ! d3d11videosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSrc
                        ╰──d3d11testsrc

## 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: { RGBA64_LE, RGB10A2_LE, BGRA, RGBA, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, AYUV, AYUV64, RGBP, BGRP, GBR, GBR_10LE, GBR_12LE, GBRA, GBRA_10LE, GBRA_12LE }
              width: [ 1, 16384 ]
             height: [ 1, 16384 ]
          framerate: [ 0/1, 2147483647/1 ]
    video/x-raw:
             format: { RGBA64_LE, RGB10A2_LE, BGRA, RGBA, BGRx, RGBx, VUYA, NV12, NV21, P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, GRAY8, GRAY16_LE, AYUV, AYUV64, RGBP, BGRP, GBR, GBR_10LE, GBR_12LE, GBRA, GBRA_10LE, GBRA_12LE }
              width: [ 1, 16384 ]
             height: [ 1, 16384 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter

    “adapter” gint

DXGI Adapter index (-1 for any device)

Flags : Read / Write

Default value : -1

### is-live

    “is-live” gboolean

Whether to act as a live source

Flags : Read / Write

Default value : false

### pattern

    “pattern” D3d11test-src-pattern *

Type of test pattern to generate

Flags : Read / Write

Default value : smpte (0)

## Named constants

### D3d11test-src-pattern

#### Members

`smpte` (0) – SMPTE 100%% color bars
`snow` (1) – Random (television snow)
`black` (2) – 100%% Black
`white` (3) – 100%% White
`red` (4) – Red
`green` (5) – Green
`blue` (6) – Blue
`checkers-1` (7) – Checkers 1px
`checkers-2` (8) – Checkers 2px
`checkers-4` (9) – Checkers 4px
`checkers-8` (10) – Checkers 8px

The results of the search are