Class AMFHEVCEncoderSettings
- Assembly
- VisioForge.Core.dll
Configuration settings for AMD AMF HEVC encoder.
public class AMFHEVCEncoderSettings : IHEVCEncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfoInheritance
Implements
Inherited Members
Constructors
AMFHEVCEncoderSettings()
Initializes a new instance of the VisioForge.Core.Types.X.VideoEncoders.AMFHEVCEncoderSettings class.
public AMFHEVCEncoderSettings()AMFHEVCEncoderSettings(VideoQuality)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEncoders.AMFHEVCEncoderSettings class with a specified quality level.
public AMFHEVCEncoderSettings(VideoQuality quality = VideoQuality.Normal)Parameters
qualityVideoQuality-
The video quality level that determines bitrate settings. Default is Normal.
Fields
Name
Gets the display name of this encoder.
public static string NameField Value
Properties
AUD
Gets or sets a value indicating whether to use Access Unit delimiter.
public bool AUD { get; set; }Property Value
Bitrate
Gets or sets the target bitrate in Kbps.
public uint Bitrate { get; set; }Property Value
GOPSize
Gets or sets the number of pictures within a GOP. -1 to use default value.
public int GOPSize { get; set; }Property Value
MaxBitrate
Gets or sets the maximum bitrate in kbit/sec.
public uint MaxBitrate { get; set; }Property Value
MaxQP_I
Gets or sets the maximum allowed QP value for I frames. -1 to use default value.
public int MaxQP_I { get; set; }Property Value
MaxQP_P
Gets or sets the maximum allowed QP value for P frames. -1 to use default value.
public int MaxQP_P { get; set; }Property Value
MinQP_I
Gets or sets the minimum allowed QP value for I frames. -1 to use default value.
public int MinQP_I { get; set; }Property Value
MinQP_P
Gets or sets the minimum allowed QP value for P frames. -1 to use default value.
public int MinQP_P { get; set; }Property Value
ParseStream
Gets or sets a value indicating whether to parse the video stream. True by default. Disable it for SRT streaming.
public bool ParseStream { get; set; }Property Value
Preset
Gets or sets the preset.
public AMFHEVCEncoderPreset Preset { get; set; }Property Value
QP_I
Gets or sets the constant QP for I frames.
public uint QP_I { get; set; }Property Value
QP_P
Gets or sets the constant QP for P frames.
public uint QP_P { get; set; }Property Value
RateControl
Gets or sets the rate control.
public AMFHEVCEncoderRateControl RateControl { get; set; }Property Value
RefFrames
Gets or sets the number of reference frames.
public uint RefFrames { get; set; }Property Value
Usage
Gets or sets the target usage.
public AMFHEVCEncoderUsage Usage { get; set; }Property Value
Methods
CreateBlock()
Creates a new HEVC encoder block with these settings.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A configured VisioForge.Core.MediaBlocks.MediaBlock instance for HEVC encoding.
GetCaps()
Gets the GStreamer capabilities string for this encoder configuration.
public string GetCaps()Returns
- string
-
A capabilities string for video/x-h265.
GetEncoderType()
Gets the type of the encoder.
public HEVCEncoderType GetEncoderType()Returns
- HEVCEncoderType
-
The VisioForge.Core.Types.X.VideoEncoders.HEVCEncoderType indicating this is an AMD GPU HEVC encoder.
GetParameters()
Gets the GStreamer pipeline parameters string for this encoder configuration.
public string GetParameters()Returns
- string
-
A formatted string containing all encoder parameters.
IsAvailable()
Determines whether this encoder is available.
public static bool IsAvailable()Returns
- bool
-
trueif this encoder is available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()