MediaPortal 2 Version: 2.1.3
Description
With more videos coming out in 4k and using HEVC 10 bit I started looking into why MP2 couldn't play them smoothly on my clients while the same client could play the file in windows 10 media player or MPCHC. Anyways it comes down to the LAV codec not using QuickSync to decode the HEVC files and a i3-7100U in the NUC not having the power for software decoding. Using MPCHC and LAV 70.2 for testing, QuicksSync greys out HEVC but DXVA2 (native) shows HEVC and works great. Below is the task manager graph of the iGPU. Left half is DXVA2 which uses Video Decode, has low CPU usage and plays smoothly. The right half is using QuickSync which uses 100% CPU, no Video Decode and can be measured in frames per minute while counting by hand. The test file is 60.5 Mbps HEVC 10 bit.
The issue comes in with using MP2 on the DXVA2 (native) setting. MP2 either displays a blank screen or can't find the file when DXVA2 is turned on. Screenshot below is the change to the hardware decoder in LAV. Nothing else was changed. Logs are attached, whats the trick to getting DXVA2 working in MP2?
Steps to Reproduce:
1) Enable DXVA2 (native) in LAV
2) Play HEVC 10 bit 4k video in MP2
3) Watch it fail
Description
With more videos coming out in 4k and using HEVC 10 bit I started looking into why MP2 couldn't play them smoothly on my clients while the same client could play the file in windows 10 media player or MPCHC. Anyways it comes down to the LAV codec not using QuickSync to decode the HEVC files and a i3-7100U in the NUC not having the power for software decoding. Using MPCHC and LAV 70.2 for testing, QuicksSync greys out HEVC but DXVA2 (native) shows HEVC and works great. Below is the task manager graph of the iGPU. Left half is DXVA2 which uses Video Decode, has low CPU usage and plays smoothly. The right half is using QuickSync which uses 100% CPU, no Video Decode and can be measured in frames per minute while counting by hand. The test file is 60.5 Mbps HEVC 10 bit.

The issue comes in with using MP2 on the DXVA2 (native) setting. MP2 either displays a blank screen or can't find the file when DXVA2 is turned on. Screenshot below is the change to the hardware decoder in LAV. Nothing else was changed. Logs are attached, whats the trick to getting DXVA2 working in MP2?


Steps to Reproduce:
1) Enable DXVA2 (native) in LAV
2) Play HEVC 10 bit 4k video in MP2
3) Watch it fail