# nvh265dec

NVIDIA H.265 video decoder

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoDecoder
                        ╰──GstH265Decoder
                            ╰──nvh265dec

## Factory details

Authors: – Seungha Yang

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

Rank – primary + 1

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-h265:
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
      stream-format: { (string)hev1, (string)hvc1, (string)byte-stream }
          alignment: au
            profile: { (string)main, (string)main-10, (string)main-12, (string)main-444, (string)main-444-10, (string)main-444-12 }

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw(memory:CUDAMemory):
             format: { NV12, P010_10LE, P012_LE, Y444, Y444_16LE, GBR, GBR_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]

    video/x-raw(memory:D3D12Memory):
             format: { NV12, P010_10LE, P012_LE, Y444, Y444_16LE, GBR, GBR_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]

    video/x-raw(memory:D3D11Memory):
             format: { I420, I420_10LE, I420_12LE, Y444, Y444_16LE, GBR, GBR_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]

    video/x-raw(memory:GLMemory):
             format: { I420, I420_10LE, I420_12LE, Y444, Y444_16LE, GBR }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
    video/x-raw:
             format: { NV12, P010_10LE, P012_LE, Y444, Y444_16LE, GBR, GBR_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### cuda-device-id

    “cuda-device-id” guint

Assigned CUDA device id

Flags : Read

Default value : 0

Since : 1.22

### init-max-height

    “init-max-height” guint

Initial CUVIDDECODECREATEINFO.ulMaxHeight value

Flags : Read / Write

Default value : 0

Since : 1.24

### init-max-width

    “init-max-width” guint

Initial CUVIDDECODECREATEINFO.ulMaxWidth value

Flags : Read / Write

Default value : 0

Since : 1.24

### max-display-delay

    “max-display-delay” gint

Maximum display delay

Flags : Read / Write

Default value : -1

Since : 1.24

### num-output-surfaces

    “num-output-surfaces” guint

The number of output surfaces (0 = auto, 1 = always copy). This property will be used to calculate the CUVIDDECODECREATEINFO.ulNumOutputSurfaces parameter in case of CUDA output mode.

Flags : Read / Write

Default value : 1

Since : 1.24

The results of the search are