1 (edited by KRoman47 09-04-2020 07:09:30)

Topic: MPC-BE DXVA decoding [SOLVED]

Hello, I have serious question: Is there any way of using MPC BE with DXVA decoding and GPU accelerated SVP?

I've followed the wiki and set ffdshow raw video filter to use SVP in MPC BE but when I look into info it says it uses software decoding. Even though I have GPU acceleration in SVP on. (no GPU decoding usage in task manager)
In classic MPC HC it uses DXVA to decode (checked in task manager - video decode usage) and SVP with GPU acceleration.
The CPU usage on my system is about 10 % lower in MPC HC than in MPC BE (30 % vs 40 % in the same scene).

https://i.ibb.co/rdqPy8Q/MPCinfo.png https://i.ibb.co/7RMM2Yn/MPCset.png

SOLUTION (based on Chainik's suggestion)

Open View -> Options main menu item.
Open Video section, set Video renderer to Enhanced Video Renderer (custom presenter).
Open External Filters section.
Click Add Filter... then select ffdshow raw video filter in the list and press OK.
Select ffdshow raw video filter and set Prefer mode then click OK.
Click Add Filter... then select LAV Video Decoder in the list and press OK.
Select LAV Video Decoder and set Prefer mode then click OK.
Click Add Filter... then select LAV Splitter Source in the list and press OK.
Select LAV Video Decoder and set Prefer mode then click OK.
(now you have enabled and set as preferred both ffdshow raw video filter and LAV Video Decode)

Now we can have both DXVA decoding and GPU accelerated SVP frame interpolation in MPC-BE.

Post's attachments

MPCBEset.PNG 293.67 kb, 130 downloads since 2020-01-29 

MPCset.png 291.67 kb, 121 downloads since 2020-01-29 

Re: MPC-BE DXVA decoding [SOLVED]

This is actually interesting cause I never noticed it before hmm seems like "MPC Video Decoder" doesn't support "copy-back" mode.
But nothing can stop us from using LAV Video Decoder instead - adding it to the "external filters" list with the "preferred" flag set is enough.

3 (edited by KRoman47 09-04-2020 07:10:03)

Re: MPC-BE DXVA decoding [SOLVED]

Chainik wrote:

This is actually interesting cause I never noticed it before hmm seems like "MPC Video Decoder" doesn't support "copy-back" mode.
But nothing can stop us from using LAV Video Decoder instead - adding it to the "external filters" list with the "preferred" flag set is enough.

You have solved it, thanks!

Proper way based on your suggestion is this:

Open View -> Options main menu item.
Open Video section, set Video renderer to Enhanced Video Renderer (custom presenter).
Open External Filters section.
Click Add Filter... then select ffdshow raw video filter in the list and press OK.
Select ffdshow raw video filter and set Prefer mode then click OK.
Click Add Filter... then select LAV Video Decoder in the list and press OK.
Select LAV Video Decoder and set Prefer mode then click OK.
Click Add Filter... then select LAV Splitter Source in the list and press OK.
Select LAV Video Decoder and set Prefer mode then click OK.
(now you have enabled and set as preferred both ffdshow raw video filter and LAV Video Decode)

Re: MPC-BE DXVA decoding [SOLVED]

I've updated the solution since there was issue with 10bit videos (maybe only HEVC) - it was causing massive stutter. It needs to add one more filter - LAV Splitter Source.