Class QSVH264EncoderSettings
Intel QSV H264 encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class QSVH264EncoderSettings : IH264EncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo
Constructors
QSVH264EncoderSettings()
Initializes a new instance of the QSVH264EncoderSettings class.
Declaration
public QSVH264EncoderSettings()
QSVH264EncoderSettings(VideoQuality)
Initializes a new instance of the QSVH264EncoderSettings class.
Declaration
public QSVH264EncoderSettings(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
AVBRAccuracy
Gets or sets the AVBR accuracy in the unit of tenth of percent.
Declaration
public uint AVBRAccuracy { get; set; }
Property Value
Type | Description |
---|---|
uint |
AVBRConvergence
Gets or sets the AVBR convergence in the unit of 100 frames.
Declaration
public uint AVBRConvergence { get; set; }
Property Value
Type | Description |
---|---|
uint |
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", "ICQ", and "LA_ICQ").
Declaration
public uint Bitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
CABAC
Gets or sets the CABAC entropy coding.
Declaration
public QSVCodingOption CABAC { get; set; }
Property Value
Type | Description |
---|---|
QSVCodingOption |
CCInsertMode
Gets or sets the Closed Caption Insert mode.
Declaration
public QSVH264EncSEIInsertMode CCInsertMode { get; set; }
Property Value
Type | Description |
---|---|
QSVH264EncSEIInsertMode |
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 |
KeyFrameDetected
Occurs when on key frame detected. Timestamp is in nanoseconds.
Declaration
public KeyFrameDetectedDelegate KeyFrameDetected { get; set; }
Property Value
Type | Description |
---|---|
KeyFrameDetectedDelegate |
Level
Gets or sets the level.
Declaration
public QSVH264EncLevel Level { get; set; }
Property Value
Type | Description |
---|---|
QSVH264EncLevel | The level. |
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 QSVH264EncProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
QSVH264EncProfile | 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 |
RCLookAhead
Gets or sets the number of frames to look ahead for Rate Control, used for "LA_VBR", "LA_ICQ", and "LA_HRD" rate-control modes.
Declaration
public uint RCLookAhead { get; set; }
Property Value
Type | Description |
---|---|
uint |
RCLookAheadDS
Gets or sets the downsampling method in look-ahead rate control.
Declaration
public QSVH264EncRCLookAheadDS RCLookAheadDS { get; set; }
Property Value
Type | Description |
---|---|
QSVH264EncRCLookAheadDS |
RateControl
Gets or sets the rate control.
Declaration
public QSVH264EncRateControl RateControl { get; set; }
Property Value
Type | Description |
---|---|
QSVH264EncRateControl |
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. |
GetCCInsertModeList()
Gets the CC insert mode list.
Declaration
public static IEnumerable<string> GetCCInsertModeList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |
GetCaps()
Gets the caps.
Declaration
public string GetCaps()
Returns
Type | Description |
---|---|
string | System.String. |
GetEncoderType()
Gets the type of the encoder.
Declaration
public H264EncoderType GetEncoderType()
Returns
Type | Description |
---|---|
H264EncoderType | H264EncoderType. |
GetLevelList()
Gets the level list.
Declaration
public static IEnumerable<string> GetLevelList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |
GetParameters()
Gets the parameters 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. |