Class VP9EncoderSettings
- Assembly
- VisioForge.Core.dll
VP9 encoder settings.
public class VP9EncoderSettings : VPXEncoderSettings, IVPXEncoderSettings, IVideoEncoder, IMediaBlockSettings, IEncoderTextInfoInheritance
Implements
Inherited Members
Constructors
VP9EncoderSettings()
Initializes a new instance of the VisioForge.Core.Types.X.VideoEncoders.VP9EncoderSettings class.
public VP9EncoderSettings()Remarks
libvpx's VP9 default is cpu-used=0 (best quality), which encodes far slower than real time
(~5 fps at 720p) and cannot keep up with a live/real-time source: the encoder backpressures the
source and the muxed video stream ends up truncated relative to audio. cpu-used=4 keeps VP9
comfortably faster than real time at 720p30 with good quality. The shared VisioForge.Core.Types.X.VideoEncoders.VPXEncoderSettings
base default is intentionally left unchanged so VP8 behaviour is not affected.
Fields
Name
The name.
public static readonly string NameField Value
Properties
AQMode
Gets or sets the Adaptive Quantization mode.
public VPXAdaptiveQuantizationMode AQMode { get; set; }Property Value
FrameParallelDecoding
Gets or sets a value indicating whether encoded bitstream should allow parallel processing of video frames in the decoder.
public bool FrameParallelDecoding { get; set; }Property Value
RowMultithread
Gets or sets a value indicating whether each row should be encoded using multiple threads.
public bool RowMultithread { get; set; }Property Value
TileColumns
Gets or sets the number of tile columns, log2.
public int TileColumns { get; set; }Property Value
TileRows
Gets or sets the number of tile rows, log2.
public int TileRows { get; set; }Property Value
Methods
CreateBlock()
Creates the block.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
MediaBlock.
GetCaps()
Gets the caps.
public string GetCaps()Returns
- string
-
System.String.
GetEncoderType()
Gets the type of the encoder.
public VPXEncoderType GetEncoderType()Returns
- VPXEncoderType
-
VPXEncoderType.
GetParameters()
Gets the parameters.
public override string GetParameters()Returns
- string
-
System.String.
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()