Class AMFHEVCEncoderSettings
AMD HEVC encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class AMFHEVCEncoderSettings : IHEVCEncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo
Constructors
AMFHEVCEncoderSettings()
Initializes a new instance of the AMFHEVCEncoderSettings class.
Declaration
public AMFHEVCEncoderSettings()
AMFHEVCEncoderSettings(VideoQuality)
Initializes a new instance of the AMFHEVCEncoderSettings class.
Declaration
public AMFHEVCEncoderSettings(VideoQuality quality = VideoQuality.Normal)
Parameters
Type | Name | Description |
---|---|---|
VideoQuality | quality | The quality. |
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
AUD
Gets or sets a value indicating whether to use Access Unit delimiter.
Declaration
public bool AUD { get; set; }
Property Value
Type | Description |
---|---|
bool |
Bitrate
Gets or sets the target bitrate in Kbps.
Declaration
public uint Bitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
GOPSize
Gets or sets the number of pictures within a GOP. -1 to use default value.
Declaration
public int GOPSize { get; set; }
Property Value
Type | Description |
---|---|
int |
MaxBitrate
Gets or sets the maximum bitrate in kbit/sec.
Declaration
public uint MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQP_I
Gets or sets the maximum allowed QP value for I frames. -1 to use default value.
Declaration
public int MaxQP_I { get; set; }
Property Value
Type | Description |
---|---|
int |
MaxQP_P
Gets or sets the maximum allowed QP value for P frames. -1 to use default value.
Declaration
public int MaxQP_P { get; set; }
Property Value
Type | Description |
---|---|
int |
MinQP_I
Gets or sets the minimum allowed QP value for I frames. -1 to use default value.
Declaration
public int MinQP_I { get; set; }
Property Value
Type | Description |
---|---|
int |
MinQP_P
Gets or sets the minimum allowed QP value for P frames. -1 to use default value.
Declaration
public int MinQP_P { get; set; }
Property Value
Type | Description |
---|---|
int |
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 |
|
Preset
Gets or sets the preset.
Declaration
public AMFHEVCEncoderPreset Preset { get; set; }
Property Value
Type | Description |
---|---|
AMFHEVCEncoderPreset |
QP_I
Gets or sets the constant QP for I frames.
Declaration
public uint QP_I { get; set; }
Property Value
Type | Description |
---|---|
uint |
QP_P
Gets or sets the constant QP for P frames.
Declaration
public uint QP_P { get; set; }
Property Value
Type | Description |
---|---|
uint |
RateControl
Gets or sets the rate control.
Declaration
public AMFHEVCEncoderRateControl RateControl { get; set; }
Property Value
Type | Description |
---|---|
AMFHEVCEncoderRateControl |
RefFrames
Gets or sets the number of reference frames.
Declaration
public uint RefFrames { get; set; }
Property Value
Type | Description |
---|---|
uint |
Usage
Gets or sets the target usage.
Declaration
public AMFHEVCEncoderUsage Usage { get; set; }
Property Value
Type | Description |
---|---|
AMFHEVCEncoderUsage |
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. |
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. |