Class AOMAV1EncoderSettings
AOM AV1 encoder settings.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEncoders
Assembly: VisioForge.Core.dll
Syntax
public class AOMAV1EncoderSettings : IAV1EncoderSettings, IVideoEncoder, IMediaBlockSettings
Fields
Name
The name.
Declaration
public static string Name
Field Value
Type | Description |
---|---|
string |
Properties
BufferInitialSize
Gets or sets the buffer initial size.
Declaration
public TimeSpan BufferInitialSize { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
BufferOptimalSize
Gets or sets the buffer optimal size.
Declaration
public TimeSpan BufferOptimalSize { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
BufferSize
Gets or sets the buffer size.
Declaration
public TimeSpan BufferSize { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
CPUUsed
Gets or sets the CPU used. A Value greater than 0 will increase encoder speed at the expense of quality.
Declaration
public int CPUUsed { get; set; }
Property Value
Type | Description |
---|---|
int |
DropFrame
Gets or sets the temporal resampling configuration, drop frames as a strategy to meet its target data rate. Set to 0 (default) to disable this feature.
Declaration
public uint DropFrame { get; set; }
Property Value
Type | Description |
---|---|
uint |
MaxQuantizer
Gets or sets the maximum (worst quality) quantizer.
Declaration
public uint MaxQuantizer { get; set; }
Property Value
Type | Description |
---|---|
uint |
MinQuantizer
Gets or sets the minimum (best quality) quantizer.
Declaration
public uint MinQuantizer { get; set; }
Property Value
Type | Description |
---|---|
uint |
OvershootPCT
Gets or sets the rate control adaptation overshoot control.
Declaration
public uint OvershootPCT { get; set; }
Property Value
Type | Description |
---|---|
uint |
RateControl
Gets or sets the rate control algorithm to use, indicates the end usage of this stream.
Declaration
public AOMAV1EncoderEndUsageMode RateControl { get; set; }
Property Value
Type | Description |
---|---|
AOMAV1EncoderEndUsageMode |
ResizeDenominator
Gets or sets the frame resize denominator, assuming 8 as the numerator.
Declaration
public uint ResizeDenominator { get; set; }
Property Value
Type | Description |
---|---|
uint |
ResizeKeyFrameDenominator
Gets or sets the frame resize keyframe denominator, assuming 8 as the numerator.
Declaration
public uint ResizeKeyFrameDenominator { get; set; }
Property Value
Type | Description |
---|---|
uint |
ResizeMode
Gets or sets the frame resize mode.
Declaration
public AOMAV1EncoderResizeMode ResizeMode { get; set; }
Property Value
Type | Description |
---|---|
AOMAV1EncoderResizeMode |
SuperResDenominator
Gets or sets the frame super-resolution denominator, used only by SUPERRES_FIXED mode.
Declaration
public uint SuperResDenominator { get; set; }
Property Value
Type | Description |
---|---|
uint |
SuperResKeyFrameDenominator
Gets or sets the keyframe super-resolution denominator.
Declaration
public uint SuperResKeyFrameDenominator { get; set; }
Property Value
Type | Description |
---|---|
uint |
SuperResKeyFrameQThreshold
Gets or sets the keyframe super-resolution qindex threshold, used only by SUPERRES_QTHRESH mode.
Declaration
public uint SuperResKeyFrameQThreshold { get; set; }
Property Value
Type | Description |
---|---|
uint |
SuperResMode
Gets or sets the super resolution mode.
Declaration
public AOMAV1SuperResolutionMode SuperResMode { get; set; }
Property Value
Type | Description |
---|---|
AOMAV1SuperResolutionMode |
SuperResQThreshold
Gets or sets the frame super-resolution q-index threshold, used only by SUPERRES_QTHRESH mode.
Declaration
public uint SuperResQThreshold { get; set; }
Property Value
Type | Description |
---|---|
uint |
TargetBitrate
Gets or sets the target bitrate in Kbps.
Declaration
public uint TargetBitrate { get; set; }
Property Value
Type | Description |
---|---|
uint | The target bitrate. |
Threads
Gets or sets the max number of threads to use encoding, set to 0 determine the approximate number of threads that the system schedule..
Declaration
public uint Threads { get; set; }
Property Value
Type | Description |
---|---|
uint |
TileColumns
Gets or sets the partition into separate vertical tile columns from image frame which can enable parallel encoding.
Declaration
public uint TileColumns { get; set; }
Property Value
Type | Description |
---|---|
uint |
TileRows
Gets or sets the partition into separate horizontal tile rows from image frame which can enable parallel encoding.
Declaration
public uint TileRows { get; set; }
Property Value
Type | Description |
---|---|
uint |
UndershootPCT
Gets or sets the rate control adaptation undershoot control.
Declaration
public uint UndershootPCT { get; set; }
Property Value
Type | Description |
---|---|
uint |
UseRowMT
Gets or sets a value indicating whether row based multi-threading enabled.
Declaration
public bool UseRowMT { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |
GetEncoderType()
Gets the type of the encoder.
Declaration
public AV1EncoderType GetEncoderType()
Returns
Type | Description |
---|---|
AV1EncoderType | AV1EncoderType. |
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. |