Class MP4OutputNVENCSettings
NVENC settings.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class MP4OutputNVENCSettings
Constructors
MP4OutputNVENCSettings()
Initializes a new instance of the MP4OutputNVENCSettings class.
Declaration
public MP4OutputNVENCSettings()
Properties
BFrames
Gets or sets B-frames value. Default is 0.
Declaration
public int BFrames { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Bitrate
Gets or sets video bitrate.
Declaration
public int Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Codec
Gets or sets NVENC codec.
Declaration
public NVENCEncoder Codec { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCEncoder |
GOP
Gets or sets GOP value. Default is 32.
Declaration
public int GOP { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Level
Gets or sets NVENC video level.
Declaration
public NVENCEncoderLevel Level { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCEncoderLevel |
MaxBitrate
Gets or sets H264 maximal video bitrate.
Declaration
public int MaxBitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Profile
Gets or sets NVENC video profile.
Declaration
public NVENCVideoEncoderProfile Profile { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCVideoEncoderProfile |
QP
Gets or sets QP.
Declaration
public int QP { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RateControl
Gets or sets rate control.
Declaration
public NVENCRateControlMode RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| NVENCRateControlMode |
VBV_BufferSize
Gets or sets VBV buffer size.
Declaration
public int VBV_BufferSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Load(string)
Loads from JSON.
Declaration
public static MP4OutputNVENCSettings Load(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| string | json | JSON string. |
Returns
| Type | Description |
|---|---|
| MP4OutputNVENCSettings | The string. |
Save()
Saves to JSON.
Declaration
public string Save()
Returns
| Type | Description |
|---|---|
| string | The string. |