Enum FFMPEGHWDecoder
- Namespace
- VisioForge.Core.Types.MediaPlayer
- Assembly
- VisioForge.Core.dll
The video decoder of the FFMPEG source engine.
public enum FFMPEGHWDecoderFields
Auto = 0-
The behaviour of earlier versions: DXVA2 native only when the source is connected straight to EVR or madVR, which the SDK's graphs do only for VisioForge.Core.Types.MediaPlayer.FFMPEGHWDecoder.DXVA2Native, so software decoding.
Software = 1-
Software decoding on the CPU.
NvidiaCUDA = 2-
NVIDIA NVDEC through CUDA. Needs an NVIDIA GPU and driver.
IntelQuickSync = 3-
Intel Quick Sync Video. Needs an Intel GPU and driver.
DXVA2CopyBack = 4-
DXVA2 on any GPU; decoded frames are copied back to system memory, so every renderer and video effect works.
DXVA2Native = 5-
DXVA2 on any GPU; decoded frames stay in GPU memory. Needs EVR or madVR connected directly to the source, so video effects and the sample grabber are not available.
Direct3D11 = 6-
Direct3D 11 video decoding on any GPU; decoded frames are copied back to system memory.
Remarks
Any value but VisioForge.Core.Types.MediaPlayer.FFMPEGHWDecoder.Auto is strict: when the GPU, its driver or the video renderer cannot do it, playback fails and OnError names the decoder and the reason. It never falls back to software decoding.