Table of Contents

Enum NVENCPreset

Namespace
VisioForge.Core.Types.FFMPEGEXE
Assembly
VisioForge.Core.dll

FFMPEG EXE NVENC encoder preset. Default is Medium.

public enum NVENCPreset

Fields

Default = 0

Default.

Uses the encoder's default preset, typically equivalent to Medium. Provides a balanced configuration suitable for most use cases.

Slow = 1

HQ 2 passes.

Highest quality preset using two-pass encoding for optimal bit allocation. First pass analyzes the entire video, second pass performs the actual encoding with optimized bit distribution.

Characteristics: - Maximum compression efficiency - Best visual quality at given bitrate - Slowest encoding speed (2x video duration minimum) - Requires entire video to be available (not suitable for streaming) - Ideal for high-quality VOD content and archival

Medium = 2

HQ 1 pass.

High quality single-pass encoding with enhanced motion estimation and psychovisual optimizations. Balances quality and encoding speed.

Characteristics: - Good compression efficiency - Near-optimal quality for single-pass - Moderate encoding speed - Suitable for high-quality streaming and VOD - Recommended default for quality-focused applications

Fast = 3

HP 1 pass.

High performance single-pass encoding optimized for speed while maintaining acceptable quality. Reduces motion estimation complexity.

Characteristics: - Fast encoding (near real-time on modern GPUs) - Good quality for live streaming - Lower compression efficiency than HQ modes - Suitable for real-time applications - Recommended for live streaming with quality requirements

HP = 4

HP.

High Performance preset optimized for maximum encoding speed. Simplified motion estimation and minimal psychovisual optimizations.

Use cases: - Real-time encoding with multiple streams - Low-latency streaming applications - Scenarios where GPU resources are limited - Trade quality for speed

HQ = 5

HQ.

High Quality preset with enhanced algorithms for better compression. Includes advanced features like adaptive quantization and enhanced motion vectors.

Benefits: - Better quality than Medium at same bitrate - More efficient compression - Suitable for premium VOD content - Good for content with complex motion

BD = 6

BD.

Blu-ray Disc preset optimized for optical media encoding. Configured to meet Blu-ray specification requirements including specific GOP structures and bitrate constraints.

Specifications: - Compliant with Blu-ray video standards - Optimized for high bitrate encoding (20-40 Mbps) - Specific GOP structure for chapter points - Compatible with Blu-ray authoring tools

LowLatency = 7

Low latency.

Optimized for minimal encoding latency, suitable for interactive applications. Disables B-frames and uses simplified motion estimation.

Characteristics: - Sub-frame latency possible - No B-frames (P-frames only) - Reduced lookahead - Ideal for video conferencing, game streaming - Lower compression efficiency

LowLatencyHQ = 8

Low latency HQ.

Combines low latency requirements with improved quality settings. Balances responsiveness with visual quality for premium live applications.

Applications: - Professional live streaming - High-quality video conferencing - Interactive broadcasting - Cloud gaming with quality requirements

LowLatencyHP = 9

Low latency HP.

Maximum speed low latency mode for ultra-responsive applications. Minimal processing delay at the cost of compression efficiency.

Optimal for: - Real-time gaming/cloud gaming - Live auction/trading platforms - Any application where latency is critical - Multiple simultaneous low-latency streams

Lossless = 10

Lossless.

Mathematically lossless compression mode. Every pixel is perfectly preserved while still achieving some compression through predictive coding.

Use cases: - Professional video editing intermediates - Medical/scientific imaging - Archival masters - Screen recording for tutorials - Compression ratios typically 2:1 to 4:1

LosslessHP = 11

Lossless HP.

High-performance lossless mode with faster encoding than standard lossless. Maintains perfect quality while optimizing for encoding speed.

Benefits: - Faster than standard lossless mode - Same perfect quality preservation - Better for real-time lossless capture - Suitable for live production workflows

Remarks

NVENC presets control the trade-off between encoding speed and compression efficiency. Each preset configures multiple internal encoder parameters including motion estimation, rate control, and psychovisual optimizations.

Preset selection guidelines: - Real-time streaming: Fast, HP, or LowLatency variants - VOD/file encoding: Medium, Slow, or HQ variants - Archival/maximum quality: Slow or Lossless variants - Live broadcasting: LowLatency variants for minimal delay

Hardware requirements vary by preset - higher quality presets may require more recent GPU generations for optimal performance.