Class NVMJPEGEncoderSettings
- Assembly
- VisioForge.Core.dll
Configuration settings for NVIDIA JPEG encoder (nvjpegenc).
public class NVMJPEGEncoderSettings : IMJPEGEncoderSettings, IVideoEncoder, IMediaBlockSettingsInheritance
Implements
Inherited Members
Fields
Name
The name.
public static string NameField Value
Properties
CudaDeviceId
Gets or sets the CUDA device ID of associated GPU.
public uint CudaDeviceId { get; set; }Property Value
Remarks
Default is 0. This is read-only in the GStreamer element.
Quality
Gets or sets the quality of encoding.
public uint Quality { get; set; }Property Value
Remarks
Valid range is 0-100. Default is 85.
Methods
CreateBlock()
Creates a new MJPEG encoder block with these settings.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A configured VisioForge.Core.MediaBlocks.MediaBlock instance for MJPEG encoding.
GetEncoderType()
Gets the type of the encoder.
public MJPEGEncoderType GetEncoderType()Returns
- MJPEGEncoderType
-
MJPEGEncoderType.
IsAvailable()
Checks if the NVIDIA MJPEG 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()