Enum MP4Mode
- Namespace
- VisioForge.Core.Types.Output
- Assembly
- VisioForge.Core.dll
Specifies the encoding mode for MP4 output, determining whether to use CPU/QuickSync or NVIDIA GPU acceleration.
public enum MP4ModeFields
CPU_QSV = 0-
Use CPU-based encoding or Intel Quick Sync Video hardware acceleration.
This mode automatically selects between software (CPU) encoding and Intel Quick Sync Video (QSV) hardware acceleration based on availability. Intel Quick Sync is available on Intel processors with integrated graphics (Sandy Bridge and newer).
Characteristics:
- Falls back to CPU if Quick Sync is unavailable
- Good quality with lower CPU usage (when QSV available)
- Wide compatibility across Intel and non-Intel systems
- Lower power consumption than CPU-only encoding
This is the default and recommended mode for general use, providing the best balance of compatibility and performance.
NVENC = 1-
Use NVIDIA NVENC hardware-accelerated encoding.
This mode uses NVIDIA's dedicated encoding hardware (NVENC) available on GeForce, Quadro, and Tesla GPUs (Kepler generation and newer). NVENC provides very fast encoding with minimal impact on GPU compute/graphics performance.
Characteristics:
- Very fast encoding speeds (often faster than real-time even for 4K)
- Minimal CPU usage
- Good quality, especially with newer GPU generations (Turing/Ampere+)
- Requires NVIDIA GPU with NVENC support
- May have limitations on concurrent encoding sessions (consumer GPUs)
Choose this mode when:
- NVIDIA GPU with NVENC is available
- Maximum encoding speed is required
- CPU resources need to be preserved for other tasks
- Encoding high-resolution content (1080p, 4K)
Remarks
This enumeration controls which hardware acceleration technology is used for H.264/H.265 encoding in MP4 output. The choice affects encoding performance, quality, and system resource usage.