Class AMFH264EncoderSettings
AMD H264 encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class AMFH264EncoderSettings : IH264EncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo
Constructors
AMFH264EncoderSettings()
Initializes a new instance of the AMFH264EncoderSettings class.
Declaration
public AMFH264EncoderSettings()
AMFH264EncoderSettings(VideoQuality)
Initializes a new instance of the AMFH264EncoderSettings class.
Declaration
public AMFH264EncoderSettings(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
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 |
CABAC
Gets or sets a value indicating whether CABAC entropy coding enabled.
Declaration
public bool CABAC { get; set; }
Property Value
Type | Description |
---|---|
bool |
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 |
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 AMFH264EncoderLevel Level { get; set; }
Property Value
Type | Description |
---|---|
AMFH264EncoderLevel | The level. |
MaxBitrate
Gets or sets the maximum bitrate in kbit/sec.
Declaration
public uint MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQP
Gets or sets the maximum allowed QP value. -1 to use default value.
Declaration
public int MaxQP { get; set; }
Property Value
Type | Description |
---|---|
int |
MinQP
Gets or sets the minimum allowed QP value. -1 to use default value.
Declaration
public int MinQP { 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 AMFH264EncoderPreset Preset { get; set; }
Property Value
Type | Description |
---|---|
AMFH264EncoderPreset |
Profile
Gets or sets the profile.
Declaration
public AMFH264EncoderProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
AMFH264EncoderProfile | The profile. |
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 AMFH264EncoderRateControl RateControl { get; set; }
Property Value
Type | Description |
---|---|
AMFH264EncoderRateControl |
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 AMFH264EncoderUsage Usage { get; set; }
Property Value
Type | Description |
---|---|
AMFH264EncoderUsage |
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 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. |
GetPresetList()
Gets the preset list.
Declaration
public static IEnumerable<string> GetPresetList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<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 mode list.
Declaration
public static IEnumerable<string> GetRateControlList()
Returns
Type | Description |
---|---|
IEnumerable<string> | IEnumerable<System.String>. |
GetUsageList()
Gets the usage list.
Declaration
public static IEnumerable<string> GetUsageList()
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. |