# nvd3d11h265enc

NVIDIA Direct3D11 mode H.265 encoder

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstNvEncoder
                            ╰──nvd3d11h265enc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Seungha Yang

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

Rank – none

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw(memory:D3D11Memory):
             format: { NV12, P010_10LE, Y444, Y444_16LE, GBR, GBR_16LE, VUYA, RGBA, RGBx, BGRA, BGRx, RGB10A2_LE }
              width: [ 144, 8192 ]
             height: [ 48, 8192 ]
     interlace-mode: progressive
    video/x-raw:
             format: { NV12, P010_10LE, Y444, Y444_16LE, GBR, GBR_16LE, VUYA, RGBA, RGBx, BGRA, BGRx, RGB10A2_LE }
              width: [ 144, 8192 ]
             height: [ 48, 8192 ]
     interlace-mode: progressive

Presence – always

Direction – sink

Object type – GstPad

### `src`

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

Presence – always

Direction – src

Object type – GstPad

## Properties

### adapter-luid

    “adapter-luid” gint64

DXGI Adapter LUID (Locally Unique Identifier) of associated GPU

Flags : Read

Default value : 0

### aq-strength

    “aq-strength” guint

Adaptive Quantization Strength when spatial-aq is enabled from 1 (low) to 15 (aggressive), (0 = autoselect)

Flags : Read / Write

Default value : 0

### aud

    “aud” gboolean

Use AU (Access Unit) delimiter

Flags : Read / Write

Default value : true

### b-adapt

    “b-adapt” gboolean

Enable adaptive B-frame insert when lookahead is enabled

Flags : Read / Write

Default value : false

### bframes

    “bframes” guint

Flags : Read / Write

Default value : 0

Since : 1.26

### bitrate

    “bitrate” guint

Bitrate in kbit/sec (0 = automatic)

Flags : Read / Write

Default value : 0

### const-quality

    “const-quality” gdouble

Target Constant Quality level for VBR mode (0 = automatic)

Flags : Read / Write

Default value : 0

### gop-size

    “gop-size” gint

Number of frames between intra frames (-1 = infinite)

Flags : Read / Write

Default value : 75

### i-adapt

    “i-adapt” gboolean

Enable adaptive I-frame insert when lookahead is enabled

Flags : Read / Write

Default value : false

### max-bitrate

    “max-bitrate” guint

Maximum Bitrate in kbit/sec (ignored in CBR mode)

Flags : Read / Write

Default value : 0

### multi-pass

    “multi-pass” GstNvEncoderMultiPass *

Flags : Read / Write

Default value : default (0)

Since : 1.24

### nonref-p

    “nonref-p” gboolean

Automatic insertion of non-reference P-frames

Flags : Read / Write

Default value : false

### preset

    “preset” GstNvEncoderPreset *

Encoding Preset

Flags : Read / Write

Default value : default (0)

### qp-const

    “qp-const” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-const-b

    “qp-const-b” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-const-i

    “qp-const-i” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-const-p

    “qp-const-p” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-max

    “qp-max” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-max-b

    “qp-max-b” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-max-i

    “qp-max-i” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-max-p

    “qp-max-p” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-min

    “qp-min” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-min-b

    “qp-min-b” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-min-i

    “qp-min-i” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### qp-min-p

    “qp-min-p” gint

Flags : Read / Write

Default value : -1

Since : 1.26

### rc-lookahead

    “rc-lookahead” guint

Number of frames for frame type lookahead

Flags : Read / Write

Default value : 0

### rc-mode

    “rc-mode” GstNvEncoderRCMode *

Flags : Read / Write

Default value : default (0)

Since : 1.26

### repeat-sequence-header

    “repeat-sequence-header” gboolean

Insert sequence headers (SPS/PPS) per IDR, ignored if negotiated stream-format is "hvc1"

Flags : Read / Write

Default value : false

### spatial-aq

    “spatial-aq” gboolean

Spatial Adaptive Quantization

Flags : Read / Write

Default value : false

### strict-gop

    “strict-gop” gboolean

Minimize GOP-to-GOP rate fluctuations

Flags : Read / Write

Default value : false

### temporal-aq

    “temporal-aq” gboolean

Temporal Adaptive Quantization

Flags : Read / Write

Default value : false

### tune

    “tune” GstNvEncoderTune *

Flags : Read / Write

Default value : default (0)

Since : 1.24

### vbv-buffer-size

    “vbv-buffer-size” guint

VBV(HRD) Buffer Size in kbits (0 = NVENC default)

Flags : Read / Write

Default value : 0

### weighted-pred

    “weighted-pred” gboolean

Enables Weighted Prediction

Flags : Read / Write

Default value : false

### zerolatency

    “zerolatency” gboolean

Flags : Read / Write

Default value : false

Since : 1.26

The results of the search are