Table of Contents

Class NVMJPEGEncoderSettings

Namespace
VisioForge.Core.Types.X.VideoEncoders
Assembly
VisioForge.Core.dll

Configuration settings for NVIDIA JPEG encoder (nvjpegenc).

public class NVMJPEGEncoderSettings : IMJPEGEncoderSettings, IVideoEncoder, IMediaBlockSettings

Inheritance

Implements

Inherited Members

Fields

Name

The name.

public static string Name

Field Value

string

Properties

CudaDeviceId

Gets or sets the CUDA device ID of associated GPU.

public uint CudaDeviceId { get; set; }

Property Value

uint

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

uint

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

true if available; otherwise, false.

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

string

A String that represents this instance.