Class QSVHEVCEncoderSettings
Intel QSV HEVC encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class QSVHEVCEncoderSettings : IHEVCEncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo
Constructors
QSVHEVCEncoderSettings()
Initializes a new instance of the QSVHEVCEncoderSettings class.
Declaration
public QSVHEVCEncoderSettings()
QSVHEVCEncoderSettings(VideoQuality)
Initializes a new instance of the QSVHEVCEncoderSettings class.
Declaration
public QSVHEVCEncoderSettings(VideoQuality quality)
Parameters
Type | Name | Description |
---|---|---|
VideoQuality | quality | The quality. |
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
BFrames
Gets or sets the number of B frames between I and P frames.
Declaration
public uint BFrames { get; set; }
Property Value
Type | Description |
---|---|
uint |
Bitrate
Gets or sets the target bitrate in Kbit/sec. Ignored when selected rate-control mode is constant QP variants (i.e., "CQP" and "ICQ").
Declaration
public uint Bitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
CCInsertMode
Gets or sets the Closed Caption Insert mode.
Declaration
public QSVHEVCEncSEIInsertMode CCInsertMode { get; set; }
Property Value
Type | Description |
---|---|
QSVHEVCEncSEIInsertMode |
DisableHRDConformance
Gets or sets a value indicating whether to allow NAL HRD non-conformant stream.
Declaration
public bool DisableHRDConformance { get; set; }
Property Value
Type | Description |
---|---|
bool |
GOPSize
Gets or sets the number of frames between intra frames.
Declaration
public uint GOPSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
ICQQuality
Gets or sets the Intelligent Constant Quality for "icq" rate-control (0: default).
Declaration
public uint ICQQuality { get; set; }
Property Value
Type | Description |
---|---|
uint |
IDRInterval
Gets or sets the IDR-frame interval in terms of I-frames. 0: every I-frame is an IDR frame, N: "N" I-frames are inserted between IDR-frames.
Declaration
public uint IDRInterval { get; set; }
Property Value
Type | Description |
---|---|
uint |
LowLatency
Gets or sets a value indicating whether low-latency encoding is enabled.
Declaration
public bool LowLatency { get; set; }
Property Value
Type | Description |
---|---|
bool |
MaxBitrate
Gets or sets the maximum bitrate in Kbit/sec. Ignored when selected rate-control mode is constant QP variants (i.e., "CQP", "ICQ", and "LA_ICQ").
Declaration
public uint MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQPB
Gets or sets the maximum allowed QP value for B-frame types (0: default).
Declaration
public uint MaxQPB { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQPI
Gets or sets the maximum allowed QP value for I-frame types (0: default).
Declaration
public uint MaxQPI { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQPP
Gets or sets the maximum allowed QP value for P-frame types (0: default).
Declaration
public uint MaxQPP { get; set; }
Property Value
Type | Description |
---|---|
uint |
MinQPB
Gets or sets the minimum allowed QP value for B-frame types (0: default).
Declaration
public uint MinQPB { get; set; }
Property Value
Type | Description |
---|---|
uint |
MinQPI
Gets or sets the minimum allowed QP value for I-frame types (0: default).
Declaration
public uint MinQPI { get; set; }
Property Value
Type | Description |
---|---|
uint |
MinQPP
Gets or sets the minimum allowed QP value for P-frame types (0: default).
Declaration
public uint MinQPP { get; set; }
Property Value
Type | Description |
---|---|
uint |
ParseStream
Gets or sets a value indicating whether to parse the video stream. True by default. Disable it for SRT streaming.
Declaration
public bool ParseStream { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Profile
Gets or sets the profile.
Declaration
public QSVHEVCEncProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
QSVHEVCEncProfile | The profile. |
QPB
Gets or sets the constant quantizer for B frames (0: default).
Declaration
public uint QPB { get; set; }
Property Value
Type | Description |
---|---|
uint |
QPI
Gets or sets the constant quantizer for I frames (0: default).
Declaration
public uint QPI { get; set; }
Property Value
Type | Description |
---|---|
uint |
QPP
Gets or sets the constant quantizer for P frames (0: default).
Declaration
public uint QPP { get; set; }
Property Value
Type | Description |
---|---|
uint |
QVBRQuality
Gets or sets the quality level used for "QVBR" rate-control mode (0: default).
Declaration
public uint QVBRQuality { get; set; }
Property Value
Type | Description |
---|---|
uint |
RateControl
Gets or sets the rate control.
Declaration
public QSVHEVCEncRateControl RateControl { get; set; }
Property Value
Type | Description |
---|---|
QSVHEVCEncRateControl |
RefFrames
Gets or sets the number of reference frames (0: unspecified).
Declaration
public uint RefFrames { get; set; }
Property Value
Type | Description |
---|---|
uint |
TargetUsage
Gets or sets the target usage. 1: Best quality, 4: Balanced, 7: Best speed.
Declaration
public uint TargetUsage { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetCaps()
Gets the caps.
Declaration
public string GetCaps()
Returns
Type | Description |
---|---|
string | System.String. |
GetEncoderType()
Gets the type of the encoder.
Declaration
public HEVCEncoderType GetEncoderType()
Returns
Type | Description |
---|---|
HEVCEncoderType | HEVCEncoderType. |
GetParameters()
Gets the parameters as string.
Declaration
public string GetParameters()
Returns
Type | Description |
---|---|
string | System.String. |
GetProfileList()
Gets the profile list.
Declaration
public static IEnumerable<string> GetProfileList()
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>. |
IsAvailable()
Determines whether this encoder is available.
Declaration
public static bool IsAvailable()
Returns
Type | Description |
---|---|
bool |
|
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |