# nvh265enc

Encode HEVC video streams using NVIDIA's hardware-accelerated NVENC encoder API

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstVideoEncoder
                        ╰──GstNvBaseEnc
                            ╰──GstNvDevice0H265Enc
                                ╰──nvh265enc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Tim-Philipp Müller , Matthew Waters , Seungha Yang

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

Rank – primary + 256

Plugin – nvcodec

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: { NV12, P010_10LE, P016_LE, Y444, Y444_16LE, Y444_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
          framerate: [ 0/1, 2147483647/1 ]

    video/x-raw(memory:GLMemory):
             format: { NV12, P010_10LE, P016_LE, Y444, Y444_16LE, Y444_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
          framerate: [ 0/1, 2147483647/1 ]

    video/x-raw(memory:CUDAMemory):
             format: { NV12, P010_10LE, P016_LE, Y444, Y444_16LE, Y444_16LE }
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-h265:
              width: [ 144, 8192 ]
             height: [ 144, 8192 ]
      stream-format: 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 – src

Object type – GstPad

## Properties

### 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

Number of B-frames between I and P

Flags : Read / Write

Default value : 0

### rc-lookahead

    “rc-lookahead” guint

Number of frames for frame type lookahead

Flags : Read / Write

Default value : 0

### temporal-aq

    “temporal-aq” gboolean

Temporal Adaptive Quantization

Flags : Read / Write

Default value : false

### 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

Weighted Prediction

Flags : Read / Write

Default value : false

The results of the search are