Class RAV1EEncoderSettings
- Assembly
- VisioForge.Core.dll
RAV1E AV1 encoder settings.
public class RAV1EEncoderSettings : IAV1EncoderSettings, IVideoEncoder, IMediaBlockSettingsInheritance
Implements
Inherited Members
Fields
Name
The name.
public static readonly string NameField Value
Properties
Bitrate
Gets or sets the bitrate.
public int Bitrate { get; set; }Property Value
LowLatency
Gets or sets a value indicating whether low latency is enabled.
public bool LowLatency { get; set; }Property Value
MaxKeyFrameInterval
Gets or sets the maximum key frame interval.
public ulong MaxKeyFrameInterval { get; set; }Property Value
MinKeyFrameInterval
Gets or sets the minimum key frame interval.
public ulong MinKeyFrameInterval { get; set; }Property Value
MinQuantizer
Gets or sets the minimum quantizer. Range is [0..255].
public uint MinQuantizer { get; set; }Property Value
Quantizer
Gets or sets the quantizer.
public uint Quantizer { get; set; }Property Value
SpeedPreset
Gets or sets the speed preset (10 fastest, 0 slowest).
public int SpeedPreset { get; set; }Property Value
Remarks
rav1e is a quality-oriented AV1 encoder and is very slow at low speed presets: at 720p, preset 6 encodes around 1 fps and preset 10 around 4 fps on a typical desktop. The default is the fastest preset (10) so live/real-time and short-window captures produce a usable, fully finalized file instead of stalling; lower the preset for higher quality in offline encoding where throughput does not matter.
Tiles
Gets or sets the number of tiles the frame is split into.
public uint Tiles { get; set; }Property Value
Remarks
Tiles are what makes rav1e use more than one core: the element's own default of 0 encodes the whole frame as a single tile, so it runs at the same speed on 4 cores and on 32. Measured on 720p30, 240 frames = 8.000 s of content: 84 s at 0, 46 s at 8, 29 s at 16, 24 s at 24 - for 1.0% more bitrate at 16 over the untiled file. The default is 16 because it is most of that speedup at almost none of the cost, and it stays reasonable on small frames where a higher count only fragments the picture. Set 0 to encode as one tile.
Tune
Gets or sets the tune mode.
public RAV1EEncoderTune Tune { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetEncoderType()
Gets the type of the encoder.
public AV1EncoderType GetEncoderType()Returns
- AV1EncoderType
-
AV1EncoderType.
IsAvailable()
Checks if the RAV1E encoder is available on the system.
public static bool IsAvailable()Returns
- bool
-
trueif available; otherwise,false.
ToString()
Returns a String that represents this instance.
public override string ToString()