VLC HEVC h.265 hardware/hybrid decode support

Feature requests for VLC.
wateras
Blank Cone
Blank Cone
Posts: 12
Joined: 26 May 2010 13:17

VLC HEVC h.265 hardware/hybrid decode support

Postby wateras » 26 Feb 2017 08:45

I've noticed that mpc-hc now has support for h.265/hevc decode, even hybrid nvidia decode works.

Would be a nice feature to add to vlc because vlc still has faster than 1x playback with normalized sound, but with hevc cpu only decode this is a huge load on the cpu to playback at say..2x
While with gpu acceleration 970 gtx hybrid mpc uses single digit cpu %.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC HEVC h.265 hardware/hybrid decode support

Postby Rémi Denis-Courmont » 26 Feb 2017 09:41

Not sure what you mean by hybrid decoding. VLC supports HEVC decoding in hardware for some time already.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

wateras
Blank Cone
Blank Cone
Posts: 12
Joined: 26 May 2010 13:17

Re: VLC HEVC h.265 hardware/hybrid decode support

Postby wateras » 02 Mar 2017 17:39

Nvidia gpus starting with Maxwell had hybrid aka partial hevc support, they used part of the compute function of the gpu to help decode, it wasnt until second generation maxwell that full hevc was implemented.
It's a partial solution which does work, 1080p hevc drops to single digits in cpu use in mpc
4k is too much for it to handle though, but that's not a common issue people deal with.


https://forums.geforce.com/default/topi ... -a-h-265-/
Feature Set E
Similar to feature set D but added support for decoding H.264 with a resolution of up to 4096 × 4096 and MPEG-1/MPEG-2 with a resolution of up to 4080 × 4080 pixels. GPUs with VDPAU feature set E support an enhanced error concealment mode which provides more robust error handling when decoding corrupted video streams. Cards with this feature set use a combination of the PureVideo hardware and software running on the shader array to decode HEVC (H.265) as partial/hybrid hardware video decoding.
GeForce GTX 745, GTX 750, GTX 750 Ti, GTX 850M, GTX 860M,GeForce 830M, 840M,GeForce GTX 970, GTX 980, GTX 970M, GTX 980M,GeForce GTX TITAN X, GeForce GTX 980 Ti

Feature Set F
Introduced dedicated HEVC Main (8-bit) & Main 10 (10-bit) and VP9 hardware decoding video decoding up to 4096 × 2304 pixels resolution.
GeForce GTX 750 SE, GTX 950, GTX 960

Feature Set G
Introduced dedicated hardware video decoding of HEVC Main 12 (12-bit) up to 4096 × 2304 pixels resolution.

Feature Set H are capable of hardware-accelerated decoding of 8192x8192 (8k resolution) H.265/HEVC video streams
GeForce GTX 1070, GTX 1080, GeForce GTX 1060, NVIDIA TITAN XP, GeForce GTX 1050, GTX 1050 Ti

What it looks like active in lav video decoder
Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC HEVC h.265 hardware/hybrid decode support

Postby Rémi Denis-Courmont » 05 Mar 2017 22:30

And why would VLC care? That's an implementation detail of the NVIDIA drivers. So long as DXVA2 is supported, it should just work.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

wateras
Blank Cone
Blank Cone
Posts: 12
Joined: 26 May 2010 13:17

Re: VLC HEVC h.265 hardware/hybrid decode support

Postby wateras » 06 Mar 2017 02:16

I wouldn't know, but it doesn't work. I can force dxva or use automatic in "input codecs" preferences with no effect. Cpu usage spikes, it becomes obvious no acceleration is being used.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC HEVC h.265 hardware/hybrid decode support

Postby Lotesdelere » 05 Aug 2017 14:46

Try this with VLC 3.0.0 nightly build.

Set it to use DXVA3 aka D3D11:
Tools -> Preferences -> Video
Output = D3D11

Tools -> Preferences -> Input/Codecs
Hardware accelerated decoding = D3D11 Video Acceleration

Then save, exit and restart VLC.

Works pretty fine for me with a 8000*4000 HEVC video.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 5 guests