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, BGRA64_LE, Y412_LE, RGB10A2_LE, Y410, BGR10A2_LE, Y212_LE, Y210, VUYA, RGBA, BGRA, RBGA, P016_LE, P012_LE, P010_10LE, RGBx, BGRx, YUY2, NV12, AYUV64, GBRA_12LE, GBRA_10LE, AYUV, ABGR, ARGB, GBRA, Y444_16LE, GBR_16LE, Y444_12LE, GBR_12LE, I422_12LE, I420_12LE, Y444_10LE, GBR_10LE, I422_10LE, I420_10LE, Y444, BGRP, GBR, RGBP, xBGR, xRGB, Y42B, NV21, I420, YV12, GRAY16_LE, GRAY8, v216, v210, r210, v308, IYU2, RGB, BGR, UYVY, VYUY, YVYU, RGB16, BGR16, RGB15, BGR15 }
          width: [ 1, 16384 ]
         height: [ 1, 16384 ]
      framerate: [ 0/1, 2147483647/1 ]
video/x-raw:
         format: { RGBA64_LE, BGRA64_LE, Y412_LE, RGB10A2_LE, Y410, BGR10A2_LE, Y212_LE, Y210, VUYA, RGBA, BGRA, RBGA, P016_LE, P012_LE, P010_10LE, RGBx, BGRx, YUY2, NV12, AYUV64, GBRA_12LE, GBRA_10LE, AYUV, ABGR, ARGB, GBRA, Y444_16LE, GBR_16LE, Y444_12LE, GBR_12LE, I422_12LE, I420_12LE, Y444_10LE, GBR_10LE, I422_10LE, I420_10LE, Y444, BGRP, GBR, RGBP, xBGR, xRGB, Y42B, NV21, I420, YV12, GRAY16_LE, GRAY8, v216, v210, r210, v308, IYU2, RGB, BGR, UYVY, VYUY, YVYU, RGB16, BGR16, RGB15, BGR15 }
          width: [ 1, 16384 ]
         height: [ 1, 16384 ]
      framerate: [ 0/1, 2147483647/1 ]

Presencealways

Directionsrc

Object typeGstPad


Properties

adapter

“adapter” gint

DXGI Adapter index (-1 for any device)

Flags : Read / Write

Default value : -1


alpha

“alpha” gfloat

Global alpha value to apply

Flags : Read / Write

Default value : 1

Since : 1.24


alpha-mode

“alpha-mode” GstD3D11AlphaMode *

Alpha mode to use

Flags : Read / Write

Default value : unspecified (0)

Since : 1.24


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

GstD3D11AlphaMode

Members

unspecified (0) – Unspecified
premultiplied (1) – Premultiplied
straight (2) – Straight

Since : 1.24


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
circular (11) – Circular
blink (12) – Blink
ball (18) – Moving ball

Since : 1.22


The results of the search are