MPC-HC internal LAV

3 posters

Go down

MPC-HC internal LAV Empty MPC-HC internal LAV

Post by Lite Wed Jun 15, 2022 7:53 am

As far as I understand, the current versions of K-Lite no longer have LAV filters built into the MPC-HC. How to return them?
The fact is that hardware acceleration in MPC-HC for some reason only works in DXVA Copy Back mode. At the same time, in BSPlayer, hardware acceleration works in DXVA Native, which is faster than Copy Back. I want to be able to use both players. But since the MPC-HC no longer has its own built-in LAV decoders and it uses the system ones, it remains only to select the DXVA CB mode in the system LAVs. Thus BSPlayer will also use DXVA CB, which is not optimal.

I tried to copy the codecs to the LAVFilters64 player subfolder, but for some reason it does not pick them up.

Why was MPC-HC able to use hardware acceleration in DXVA Native before, but now it can't? Why did it need to be changed? Maybe the whole point is that this is an integrated iGPU of a laptop? But then why is BSPlayer able to use hardware acceleration in DXVA Native?

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by pneumatic Wed Jun 15, 2022 11:01 am

To use MPC-HC's internal LAV filters, tick all checkboxes in "transform filters" in MPC-HC settings.

pneumatic

Posts : 3
Join date : 2022-06-15

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Wed Jun 15, 2022 12:42 pm

It still uses internal filters. Nothing has changed.

Re-install the pack.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Wed Jun 15, 2022 5:19 pm

Reinstalled K-Lite and internal LAV now works. Now I understand that built-in is not quite built-in. System ones are used, but with their own settings inside the player.

Checked with DXVA in MPC-HC. Hardware acceleration works in:
• DXVA Native if EVR (Custom Presenter) is selected
• DXVA CopyBack if EVR is selected.

Why EVR is better than EVR (Custom Presenter) - simple EVR draws less resources.
Can you fix DXVA Native in simple EVR? As I already said, there are no problems with this in BSPlayer - DXVA Native works there with a simple EVR without (Custom Presenter).

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Wed Jun 15, 2022 6:58 pm

DXVA2 Native also works with standard EVR.

Standard EVR does not work with the internal subtitle renderer and also does not support rotation. The only way to get subtitles is to use VSFilter. That gives worse quality subtitles than the ISR, and also is not compatible with DXVA2 Native. So yes, in that case copyback is required.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Wed Jun 15, 2022 9:35 pm

I turned off subtitles through the RMB menu, and then changed output to EVR with a restart of the player. Hardware acceleration is not enabled. So it's not the subtitles prevent acceleration from turning on? Or should they be disabled in some other way? How can I check the operation of hardware acceleration in a simple EVR? Or this will not work anyway?

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Thu Jun 16, 2022 1:24 pm

All the subtitle options in the player are for the ISR, so those do not have effect when using EVR.

If it loads VSFilter then you need to disable that with the Codec Tweak Tool.
You can see which filters are used here:
Menu > Play > Filters

I don't understand why resource usage is a problem for you. EVR-CP works fine even on super old hardware.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Thu Jun 16, 2022 2:43 pm

Filters are empty. Used ISR. So I'm asking how to completely disable it, if it is the ISR that prevents hardware acceleration from starting. But if that's not the problem, then what is?

This does not mean that I will leave the simple EVR + VSFilter.

Sometimes you come across weak computers, or for example, there are just not enough resources to pull the desired video. I want to get hardware acceleration to work with a simple EVR in MPC-HC, at least for test purposes. You are the only one who knows how to do this, if possible.

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Thu Jun 16, 2022 3:35 pm

The filter list is only visible during playback.

Disable VSFilter (=DirectVobSub) with the Codec Tweak Tool.

Give details about the hardware that you are having trouble with, and also give details of the video file.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Thu Jun 23, 2022 5:32 am

No problem. There is only non-working DXVA2 Native in MPC-HC + EVR Simple. There is no specific file - all files work the same way.

Hardware:
Windows 10 1809 x64
Intel Pentium N3710
Intel HD Graphics 405 (latest driver v15.40 2/5/2021 aka 20.19.15.5171)


All tests using one sample in FullScreen.
A heavy sample was taken to better see the difference in loading.
Sample Info:

MPC-HC 1.9.21.40 x64 (K-Lite 17.0.5)
MPC-HC (Full Screen - 1366x768) GPU Load by GPU-Z

EVR Simple + DXVA2N (avcodec) - Not Accelerated (GPU Load 48 %)
EVR Simple + DXVA2N - GPU Load 36 % (solution - disable vsfilter.dll) added after founded solution
EVR Simple + DXVA2CB direct - GPU Load 39 %
EVR Simple + D3D11 CB direct - GPU Load 83 %

EVR Custom + DXVA2N - GPU Load 55 %
EVR Custom + DXVA2CB direct - GPU Load 67 %
EVR Custom + D3D11 CB direct - GPU Load 99 %

MPC-HC 1.21.60 x64 + MPCVideoRenderer 0.6.0.1912 (K-Lite 17.0.7)
MPCVideoRenderer (default settings) + DXVA2N - GPU Load 58 %

BSPlayer 2.77.1092 x32
BSPlayer (Full Screen - 1366x768) GPU Load by GPU-Z

EVR Simple + DXVA2N - GPU Load 35 %
EVR Simple + DXVA2CB direct - GPU Load 41 %

Why EVR Simple + DXVA2N in MPC-HC not Accelerated?


Last edited by Lite on Sat Jun 25, 2022 5:23 am; edited 5 times in total

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Thu Jun 23, 2022 2:25 pm

That shows that there is barely any difference between Native and Copyback.

I have already mentioned before that VSFilter can be the reason for DXVA Native not working. I can't think of any other reason, so if it doesn't work you are out of luck.

GPU loads can be misleading because not all GPU processing is "counted". For example, it may ignore DXVA2 processing (resizing and colorspace conversion, unrelated to decoding!), which is used by EVR simple. The GPU also can run at different clock speeds depending on the load.

You could try MPC Video Renderer. That might give you load similar to EVR simple.

Otherwise, this is simply how things works. There is nothing I can do for you.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Thu Jun 23, 2022 9:37 pm

I tried blocking external filters DirectVobSub and DirectVobSub (auto-loading version) (aka vsfilter.dll) in the MPC-HC settings, but DirectVobSub (auto-loading version) still loads. And only when I turned it off completely through CodecTweakTool did it stop loading by the player. After that, hardware acceleration in EVR Simple + DXVA2N started working!

Why doesn't MPC-HC block its loading even if "block" is selected?

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Thu Jun 23, 2022 10:12 pm

Because VSFilter is set as preferred through the output settings page. A "none" choice should be added there in future to solve that.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Sat Jun 25, 2022 5:02 am

Thanks for helping clsid2!
And thanks for adding "none" choice for subtitle rendeder in MPC-HC!

But there is one problem. Although choosing "none" MPC-HC stops using vsflter, the selection on the output page still shows "VSFilter / DirectVobSub". MPC-HC 1.9.21.60.

Updated Load Table in upper post.

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Sat Jun 25, 2022 1:35 pm

You mean it still shows up in the dropdown menu? That is normal.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Lite Sat Jun 25, 2022 2:46 pm

What I mean is that after selecting "None" and clicking "Apply", the selection remains "None". But if you close the MPC-HC "Settings" dialog and reopen it, the selection will be shown as "VSFilter / DirectVobSub", but in fact "None" will be used. If you select "VSFilter / DirectVobSub" again and apply, then "VSFilter / DirectVobSub" will be used.
That is, the display of the "None" selection is correctly shown only until the "Settings" dialog is closed.

Lite

Posts : 39
Join date : 2011-07-03

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Admin Sat Jun 25, 2022 7:10 pm

Will be fixed.

Admin
Admin

Posts : 7390
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

MPC-HC internal LAV Empty Re: MPC-HC internal LAV

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum