NvidiaH264 interface

Settings for a H264 Encode using Nvidia hardware A detailed description of these params can be found on the Nvidia Encoder Documentation

If left undefined, all will default to Nvidia’s own defaults If a preset is configured, then all will default to the values provided by that preset

Signature:

export interface NvidiaH264

Properties

Property Type Description

frameIntervalP?

number

(Optional) This is the gop structure to be used, and again it’s best to look this up in the Nvidia documentation

gopInterval?

number

(Optional) The gopInterval to use for this encode Note: This is different from the idrPeriod but usually you want them set to the same value regardless

idrPeriod?

number

(Optional) The IDR period

level?

NvidiaH264Level

(Optional) The target level of this H264 encode Note: The behaviour of Nvidia is to error out if this is incompatible with the other settings this differs from other codecs which just silently change the outgoing level/profile for example

maxNumRefFrames?

number

(Optional) This is somewhat related to the gop structure and again, care should be taken when overriding this from the preset

outputAud?

boolean

(Optional) Output Access Unit Delimiters

preset?

NvidiaPreset

(Optional) The preset to use for this encode

profile?

NvidiaH264Profile

(Optional) The target profile of this H264 encode Note: The behaviour of Nvidia is to error out if this is incompatible with the other settings this differs from other codecs which just silently change the outgoing level/profile for example

rateControl?

NvidiaRateControl

(Optional) Rate Control Settings

type

"nv-h264"