# d3d12h264dec

A Direct3D12 based H.264 video decoder

## Example launch line

    gst-launch-1.0 filesrc location=/path/to/h264/file ! parsebin ! d3d12h264dec ! videoconvert ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstH264Decoder
                            ╰──GstDxvaH264Decoder
                                ╰──d3d12h264dec

## Factory details

Authors: – Seungha Yang

Classification: – `Codec/Decoder/Video/Hardware`

Rank – primary + 2

Plugin – d3d12

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-h264:
      stream-format: { (string)avc, (string)avc3, (string)byte-stream }
          alignment: au
            profile: { (string)high, (string)progressive-high, (string)constrained-high, (string)main, (string)constrained-baseline, (string)baseline }
              width: [ 1, 4096 ]
             height: [ 1, 4096 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:D3D12Memory):
             format: NV12
              width: [ 1, 4096 ]
             height: [ 1, 4096 ]

    video/x-raw(memory:D3D11Memory):
             format: NV12
              width: [ 1, 4096 ]
             height: [ 1, 4096 ]
    video/x-raw:
             format: NV12
              width: [ 1, 4096 ]
             height: [ 1, 4096 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter-luid

    “adapter-luid” gint64

DXGI Adapter LUID (Locally Unique Identifier) of created device

Flags : Read

Default value : 0

### device-id

    “device-id” guint

DXGI Device ID

Flags : Read

Default value : 0

### vendor-id

    “vendor-id” guint

DXGI Vendor ID

Flags : Read

Default value : 0

The results of the search are