Skip to content
Ondrej Medek edited this page Sep 25, 2017 · 2 revisions

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:

  1. Compile EVR from the C++ source in this project.
  2. 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.

Clone this wiki locally