Usage - Sascha-L/WPF-MediaKit GitHub Wiki
Usage
Performance, HW Acceleration
WPF-MediaKit comes with two video renderers (VideoRendererType
): VideoMixingRenderer9
(VMR9) and EnhancedVideoRenderer
(EVR). In order to use graphics card HW acceleration, you have to:
- Compile EVR from the C++ source in this project.
- Manually set LAV codec to use DXVA. E.g. by
CodecTweakTool.exe
: DirectShow Filters -> LAV Video decoder -> Hardware Acceleration set to DXVA2.
However, without DXVA, the VMR9 takes less CPU than EVR. (Patches to EVR code are welcome.). See also the issues #24 and #31.