Skip to content

VideoCompression_Quality

property

Delphi
property VideoCompression_Quality: Double read GetVideoCompression_Quality write SetVideoCompression_Quality;
C++Builder
__property double VideoCompression_Quality = {read=GetVideoCompression_Quality, write=SetVideoCompression_Quality};
C#
public double VideoCompression_Quality { get; set; }
VB.NET
Public Property VideoCompression_Quality As Double
C++/Qt
double GetVideoCompression_Quality ();
void SetVideoCompression_Quality (double Value);

Specifies the compression quality for the current video compressor.

The value ranges from 0.0 to 1.0, where 1.0 indicates the best quality and 0.0 the worst quality. If the value is negative (-1), the filter uses the default quality.

Media Foundation encoders of the VideoCompressors list (e.g. "H264 (Auto)", "H264 GPU (Nvidia)", also the "H264 (Auto)" encoder of an MKV recording without video compression) and MP4 recording without video compression (H.264 encoded by the built-in MP4 writer): the default value 1.0 is not applied (settings of the encoder, or of ShowDialog (dlg_VideoCompressor)), except when it is assigned by SetVideoCompressionSettings (constant quality 100); other values select a constant quality encoding (quality = value x 100; JPEG quality for the MJPEG entries), taking precedence over the settings of ShowDialog, unless VideoCompression_DataRate is set (the data rate takes precedence).

Use the OnVideoCompressionSettings event to get the default value for the current codec (see the Software compression by using codecs chapter for more details).