Class NVENCBaseEncoderSettings
NVENC base encoder settings. Do not use it directly.
Inheritance
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class NVENCBaseEncoderSettings
Properties
AQStrength
Gets or sets the Adaptive Quantization Strength when spatial-aq is enabled from 1 (low) to 15 (aggressive), (0 = autoselect).
Declaration
public uint AQStrength { get; set; }
Property Value
Type | Description |
---|---|
uint | The aq strength. |
Bitrate
Gets or sets the bitrate (kbit/s) (0 = from NVENC preset).
Declaration
public uint Bitrate { get; set; }
Property Value
Type | Description |
---|---|
uint | The bitrate. |
ConstQuality
Gets or sets the target constant quality level for VBR mode (0 = automatic).
Declaration
public double ConstQuality { get; set; }
Property Value
Type | Description |
---|---|
double | The constant quality. |
GOPSize
Gets or sets the number of frames between intra frames (-1 = infinite).
Declaration
public int GOPSize { get; set; }
Property Value
Type | Description |
---|---|
int | The size of the gop. |
IAdaptive
Gets or sets a value indicating whether adaptive I-frame insert when lookahead is enabled.
Declaration
public bool IAdaptive { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxBitrate
Gets or sets the maximum bitrate (Kbit/s). Ignored for CBR mode.
Declaration
public uint MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint | The maximum bitrate. |
NonRefP
Gets or sets a value indicating whether automatic insertion of non-reference P-frames is enabled.
Declaration
public bool NonRefP { get; set; }
Property Value
Type | Description |
---|---|
bool |
Preset
Gets or sets the preset.
Declaration
public NVENCPreset Preset { get; set; }
Property Value
Type | Description |
---|---|
NVENCPreset | The preset. |
QPConst
Gets or sets the constant quantizer (-1 = from NVENC preset).
Declaration
public int QPConst { get; set; }
Property Value
Type | Description |
---|---|
int |
QPConstB
Gets or sets the constant QP value for B frame, When >= 0, "QPConstI" and "QPConstP" should be also >= 0. Overwritten by "QPConst" (-1 = from NVENC preset).
Declaration
public int QPConstB { get; set; }
Property Value
Type | Description |
---|---|
int |
QPConstI
Gets or sets the constant QP value for I frame, When >= 0, "QPConstP" and "QPConstB" should be also >= 0. Overwritten by "QPConst" (-1 = from NVENC preset).
Declaration
public int QPConstI { get; set; }
Property Value
Type | Description |
---|---|
int |
QPConstP
Gets or sets the constant QP value for P frame, When >= 0, "QPConstI" and "QPConstB" should be also >= 0. Overwritten by "QPConst" (-1 = from NVENC preset).
Declaration
public int QPConstP { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMax
Gets or sets the maximum quantizer (-1 = from NVENC preset).
Declaration
public int QPMax { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMaxB
Gets or sets the Maximum QP value for B frame, When >= 0, "QPMaxI" and "QPMaxP" should be also >= 0. Overwritten by "QPMax" (-1 = from NVENC preset).
Declaration
public int QPMaxB { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMaxI
Gets or sets the maximum QP value for I frame, When >= 0, "QPMaxP" and "QPMaxB" should be also >= 0. Overwritten by "QPMax" (-1 = from NVENC preset).
Declaration
public int QPMaxI { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMaxP
Gets or sets the maximum QP value for P frame, When >= 0, "QPMaxI" and "QPMaxB" should be also >= 0. Overwritten by "QPMax" (-1 = from NVENC preset).
Declaration
public int QPMaxP { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMin
Gets or sets the minimum quantizer (-1 = from NVENC preset).
Declaration
public int QPMin { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMinB
Gets or sets the minimum QP value for B frame, When >= 0, "QPMinI" and "QPMinP" should be also >= 0. Overwritten by "QPMin" (-1 = from NVENC preset).
Declaration
public int QPMinB { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMinI
Gets or sets the minimum QP value for I frame, When >= 0, "QPMinP" and "QPMinB" should be also >= 0. Overwritten by "QPMin" (-1 = from NVENC preset).
Declaration
public int QPMinI { get; set; }
Property Value
Type | Description |
---|---|
int |
QPMinP
Gets or sets the minimum QP value for P frame, When >= 0, "QPMinI" and "QPMinB" should be also >= 0. Overwritten by "QPMin" (-1 = from NVENC preset).
Declaration
public int QPMinP { get; set; }
Property Value
Type | Description |
---|---|
int |
RateControl
Gets or sets the rate control.
Declaration
public NVENCRateControl RateControl { get; set; }
Property Value
Type | Description |
---|---|
NVENCRateControl | The rate control. |
SpatialAQ
Gets or sets a value indicating whether Spatial Adaptive Quantization is enabled.
Declaration
public bool SpatialAQ { get; set; }
Property Value
Type | Description |
---|---|
bool |
StrictGOP
Gets or sets a value indicating whether strict GOP is enabled. If true - minimize GOP-to-GOP rate fluctuations.
Declaration
public bool StrictGOP { get; set; }
Property Value
Type | Description |
---|---|
bool |
ZeroLatency
Gets or sets a value indicating whether zero latency mode is enabled.
Declaration
public bool ZeroLatency { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetPresetList()
Gets the preset list.
Declaration
public static IEnumerable<string> GetPresetList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |
GetRateControlList()
Gets the rate control list.
Declaration
public static IEnumerable<string> GetRateControlList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |