Main10 - 10-bit HEVC
#1
When will we have HEVC Main10 support? MPC-BE already support HEVC 10-bit playback.
Reply
#2
Kodi 16 (Jarvis) Beta does already support both software and hardware video decoding HEVC Main10 (10-bit) encoded encoded videos.

Wheather or not Kodi can actually output 10-bit color depth to your television does however depend on which exact playback hardware you are using.

That is, there any several hardware player chipsets/devices out there that will decode 10-bit but can only output 8-bit color depth.
Reply
#3
Thank you RockerC for the follow-up on this!

But I haven't been able to have HEVC Main10 (10-bit) compatibility through Kodi 16 Beta 1.

Try for yourself if you have the hardware capable (GTX 950 and up) http://www.demo-uhd3d.com/fiche.php?cat=uhd&id=132


It does play HEVC Main (8-bit) files without a hitch.

Until then, I play Main10 (HDR and SDR) with the latest version of MPC-BE using the Advanced Shark Codec.
Reply
#4
(2015-11-17, 04:02)subcell Wrote: When will we have HEVC Main10 support? MPC-BE already support HEVC 10-bit playback.

Use MPC-BE for now. No one of kodi team has any 10 bit hardware and no one is working on it. Will change in ~ 6 months.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Update: After talking with our DXVA maintainer - he will have a look later as he has seen the lavfilters implementation for it. He will provide a public testbuild when ready.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
I don't know if it's ready (I guess it isn't), but I compiled afedchin's dxva_hevc_10b branch, tried the Astra sample linked above and hardware decoding isn't working. I can play it without problems with my GTX 960 and mpc-hc with the latest LAV filters.

Image
Reply
#7
Yes. Same on my side with the gtx950.

The CPU usage clearly indicates the non-usage of the GPU.

(2015-11-22, 00:25)Uukrul Wrote: I don't know if it's ready (I guess it isn't), but I compiled afedchin's dxva_hevc_10b branch, tried the Astra sample linked above and hardware decoding isn't working. I can play it without problems with my GTX 960 and mpc-hc with the latest LAV filters.

Image
Reply
#8
Hi.

I tested the KodiSetup-20151120-08ecca5-dxva_hevc_10b.exe test build on Windows 10, with a GTX 960.
And it works just fine here. All HEVC Main10 4K clips play with very low CPU usage, also the Astra clip mentioned in a previous post.
It's running with "ff-hevc-dxva2" and not with "ff-hevc" mentioned in the same post.
Reply
#9
(2015-11-23, 10:35)JohnWayne1977 Wrote: Hi.

I tested the KodiSetup-20151120-08ecca5-dxva_hevc_10b.exe test build on Windows 10, with a GTX 960.
And it works just fine here. All HEVC Main10 4K clips play with very low CPU usage, also the Astra clip mentioned in a previous post.
It's running with "ff-hevc-dxva2" and not with "ff-hevc" mentioned in the same post.
same here. CPU usage was on my end a bit higher than with DXVAchecker and LAVfilters - but it worked Smile
Reply
#10
I tried KodiSetup-20151120-08ecca5-dxva_hevc_10b.exe just to be sure I compiled it right, but it's still running with ff-hevc instead of ff-hevc-dxva2. Maybe because I'm using W7? (I also tried DXVA Checker and it played flawlessly)

Here is the debug log with a clean profile.

From the log:

Quote:11:44:45 T:7088 DEBUG: DXVA - supports 'HEVC / H.265 variable-length decoder, main10'
.
.
11:44:45 T:7088 DEBUG: DXVA - Selected input/output format: 104
11:44:45 T:7088 DEBUG: DXVA - source requires 1 references
11:44:45 T:7088 DEBUG: DXVA - config 0: bitstream type 1
11:44:45 T:7088 DEBUG: DXVA - allocating 24 surfaces with format 104
11:44:45 T:7088 ERROR: DXVA::CDXVAContext::CreateSurfaces - failed creating decoder texture array
Reply
#11
I tried the same GPU on a Windows 7 system. And now Kodi doesn't use ff-hevc-dxva2, MPC-HD still worked perfectly.
Seems to be a OS issue. I haven't tried Win8/8.1, maybe tomorrow.
Reply
#12
@afedchin: Could that be the reason?
Reply
#13
Thumbs Up 
Success! Very Happy! Wishing that the code will be included in the next Jarvis 16 beta 3!

Thank you guys!

Here are my specs :

Intel® Core™ i3-2125 (3M Cache, 3.30 GHz)
GTX 950 (HDMI 2.0 / YCbCr444) - Windows 10
Panasonic AX800 (4k)

Image
Reply
#14
So I've been checking all my stuff (UHD movies and commercial demos)... 95% of it is all OK with the HEVC Main10 update.

But.. hey I did found a few files that I couldn't get to play with the HEVC-DXVA Main10 update

Here are the links :

1. http://www.demo-uhd3d.com/fiche.php?cat=uhd&id=56
2. http://www.demo-uhd3d.com/fiche.php?cat=uhd&id=126

Note that those two play fine in MPC-BE.
Reply
#15
(2015-11-23, 17:31)Uukrul Wrote: @afedchin: Could that be the reason?

I think it's an issue of drivers. Kodi uses d3d11 Video API and it has a different implementation in drivers and d3d11 implementation may not support required format of textures. In same time MPC-HC uses Direct3D9 API and it may supports P010 texture format. I can confirm this only in debug with Visual Studio when directx debug layer is active but I have not any hardware to decode HEVC 10-bit.
Reply

Logout Mark Read Team Forum Stats Members Help
Main10 - 10-bit HEVC1