# d3d12h265dec

A Direct3D12 based H.265 video decoder

## Example launch line

    gst-launch-1.0 filesrc location=/path/to/h265/file ! parsebin ! d3d12h265dec ! videoconvert ! autovideosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstH265Decoder
                            ╰──GstDxvaH265Decoder
                                ╰──d3d12h265dec

## 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-h265:
      stream-format: { (string)hev1, (string)hvc1, (string)byte-stream }
          alignment: au
            profile: { (string)main, (string)main-10 }
              width: [ 1, 8192 ]
             height: [ 1, 8192 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:D3D12Memory):
             format: { NV12, P010_10LE }
              width: [ 1, 8192 ]
             height: [ 1, 8192 ]

    video/x-raw(memory:D3D11Memory):
             format: { NV12, P010_10LE }
              width: [ 1, 8192 ]
             height: [ 1, 8192 ]
    video/x-raw:
             format: { NV12, P010_10LE }
              width: [ 1, 8192 ]
             height: [ 1, 8192 ]

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