Table of Contents

Class AMFHEVCEncoderSettings

Namespace
VisioForge.Core.Types.X.VideoEncoders
Assembly
VisioForge.Core.dll

Configuration settings for AMD AMF HEVC encoder.

public class AMFHEVCEncoderSettings : IHEVCEncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfo

Inheritance

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

quality VideoQuality

The video quality level that determines bitrate settings. Default is Normal.

Fields

Name

Gets the display name of this encoder.

public static string Name

Field Value

string

Properties

AUD

Gets or sets a value indicating whether to use Access Unit delimiter.

public bool AUD { get; set; }

Property Value

bool

Bitrate

Gets or sets the target bitrate in Kbps.

public uint Bitrate { get; set; }

Property Value

uint

GOPSize

Gets or sets the number of pictures within a GOP. -1 to use default value.

public int GOPSize { get; set; }

Property Value

int

MaxBitrate

Gets or sets the maximum bitrate in kbit/sec.

public uint MaxBitrate { get; set; }

Property Value

uint

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

int

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

int

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

int

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

int

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

bool

Preset

Gets or sets the preset.

public AMFHEVCEncoderPreset Preset { get; set; }

Property Value

AMFHEVCEncoderPreset

QP_I

Gets or sets the constant QP for I frames.

public uint QP_I { get; set; }

Property Value

uint

QP_P

Gets or sets the constant QP for P frames.

public uint QP_P { get; set; }

Property Value

uint

RateControl

Gets or sets the rate control.

public AMFHEVCEncoderRateControl RateControl { get; set; }

Property Value

AMFHEVCEncoderRateControl

RefFrames

Gets or sets the number of reference frames.

public uint RefFrames { get; set; }

Property Value

uint

Usage

Gets or sets the target usage.

public AMFHEVCEncoderUsage Usage { get; set; }

Property Value

AMFHEVCEncoderUsage

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

true if this encoder is available; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.