Page 1 of 3

[RESOLVED] 4K HDR: failed to create video decoder on 43x.xx

Posted: Sun Jul 28, 2019 5:11 am
by Guest 2
I am starting to deal with 4K material.

A friend of mine borrowed me his BD of Red sparrow, which is in 4k HDR format.

I have tried to feed the m2ts and mpls to DGIndexNV and it prompts with:

GPU decoder: Failed to create video decoder [801]. Exiting...

I have a 1060 card and, in theory, it should decode HEVC natively.

A small extract from mediainfo output:

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 2 h 20 min
Bit rate : 49.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.249
Stream size : 48.4 GiB (86%)
Writing library : ATEME Titan File 3.8.14 (4.8.14.0)
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2

Any idea?

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 6:05 am
by Guest
I have done a few 4K movies and never had that issue.
Try this
use MakeMKV to rip entire folder to HDD from original disc
Note any errors.
If no errors are present try DGIndexNV again, you might want to use the mpls file

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 6:18 am
by Guest 2
gonca wrote:
Sun Jul 28, 2019 6:05 am
If no errors are present try DGIndexNV again, you might want to use the mpls file
Mpls gives same error.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 6:33 am
by Guest
Did you try to redo it with MakeMKV yet?

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 8:07 am
by Guest 2
gonca wrote:
Sun Jul 28, 2019 6:33 am
Did you try to redo it with MakeMKV yet?
Yes, I wasn't importing m2ts or mpls directly from BD from the beginning.

I tried to rip to mkv too. Same error.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 9:01 am
by admin
801 means "operation not supported on the current device". I don't know anything about the 1060 or whether it should support HW decoding of HEVC UHD HDR. I'll see what I can find about that. Meanwhile, does it fail on all such disks or just this one? Does it open other HEVC streams?

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 9:08 am
by admin

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 10:33 am
by Guest
Didn't even occur to me, Win 8 minimum for hevc
Win 10 to be sure
Upgrade time

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 10:49 am
by Guest
I thought manolito was the only one on old software and hardware platforms :P

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Sun Jul 28, 2019 11:07 am
by admin
Guest 2 hasn't confirmed Win 7 yet. ;)

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 4:53 am
by admin
Guest 2 is keeping us in suspense. :lol:

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 7:16 am
by Guest 2
admin wrote:
Sun Jul 28, 2019 9:01 am
I don't know anything about the 1060 or whether it should support HW decoding of HEVC UHD HDR.
According to https://developer.nvidia.com/video-enco ... ort-matrix matrix, 1060 supports 4k.

I have tested hw decoding with LAV Filters and no problems at all, both with 4k HDR and 1080p HEVC.
admin wrote:
Sun Jul 28, 2019 9:01 am
I'll see what I can find about that. Meanwhile, does it fail on all such disks or just this one? Does it open other HEVC streams?
No problems with 1080p. For 4K, I will ask my friend another BD to have a try.
admin wrote:
Sun Jul 28, 2019 9:08 am
I hope you don't have Win 7
Win10_x64 latest build
admin wrote:
Mon Jul 29, 2019 4:53 am
Guest 2 is keeping us in suspense. :lol:
Girlfriends need time. :lol:

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 7:41 am
by Guest 2
Alita: Battle Angel same problem.

Works on LAV Filter not on DGIndexNV.

Video #1
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
Codec ID : 36
Duration : 1 h 55 min
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 737 cd/m2
Maximum Frame-Average Light Level : 130 cd/m2

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 9:57 am
by admin
Can you upload the first M2TS of one of them to my FTP? Thanks.

Are you running standard or DCH drivers?

Please tell your card manufacturer, model no, amount of memory, etc.

Please give nVidia driver version.

Are you powering the card properly and your power supply is adequate?

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 11:34 am
by Guest 2
admin wrote:
Mon Jul 29, 2019 9:57 am
Can you upload the first M2TS of one of them to my FTP? Thanks.
I did the 1st GB for both. M2TS is 60 GB each. If you need, anyway, I will.
admin wrote:
Mon Jul 29, 2019 9:57 am
Are you running standard or DCH drivers?
Standard
admin wrote:
Mon Jul 29, 2019 9:57 am
Please tell your card manufacturer, model no, amount of memory, etc.
https://www.evga.com/products/product.a ... P4-6160-KR

https://www.techpowerup.com/gpu-specs/e ... -2-0.b3792

Image
admin wrote:
Mon Jul 29, 2019 9:57 am
Please give nVidia driver version.
435.27
admin wrote:
Mon Jul 29, 2019 9:57 am
Are you powering the card properly and your power supply is adequate?
Yes. Corsair AX800i is more than enough.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 12:35 pm
by admin
Thank you. Investigating...

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 3:31 pm
by Guest
If it helps I can get one of those movies and see if I have any issues

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 5:13 pm
by admin
What is your video card?

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 5:17 pm
by Guest
gtx 1080 ti
but drivers, etc could be compared
And in terms of H265 4:2:0 they have the same capabilities.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 5:31 pm
by admin
Get the file from my FTP and test that.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 5:57 pm
by Guest
Did both movies and no issues
Here are the dgi files
Alita.dgi
(51.66 KiB) Downloaded 438 times
RedSparrow.dgi
(76.22 KiB) Downloaded 444 times
Driver 430.64
dgdecnv slipstream 178 (haven't had a chance to update to latest yet)
EVGA card

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Mon Jul 29, 2019 8:43 pm
by admin
Thank you for your results.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Tue Jul 30, 2019 5:21 am
by Guest 2
I "downgraded" from Microsoft Insider provided Nvidia drivers (435.27) to latest hotfix from Nvidia (431.68) and DGIndexNV works with 4k HDR

At this point I don't know if it's a problem of future Nvidia driver architecture or what.

The strange thing is that cuvid works ok with both drivers in LAV Filters HW decoding.

@admin feel free to investigate more or not. Perhaps problem will come back when 435.* will become widely available.

P.S: As far as I understood, DGIndexNV saves HDR information into DGI file. How am I supposed to manage it to encode with x265 and get encoded 4K with same HDR metadata? Any AviSynth template or x265 command line are welcome.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Tue Jul 30, 2019 8:34 am
by admin
I'll put the issue on hold and revisit it if and when issues arise with official drivers. I'm wondering if it is finally time to move to a later CUDA toolkit (contains the CUVID headers). Perhaps that explains the discrepancy between LAV and DG here. The problem is that if we upgrade we'll lose support for a boatload of earlier not-so-old cards.

The other forum is more suitable for your encoding questions.

Re: Red sparrow 4K HDR: failed to create video decoder

Posted: Tue Jul 30, 2019 9:57 am
by Guest 2
admin wrote:
Tue Jul 30, 2019 8:34 am
I'll put the issue on hold and revisit it if and when issues arise with official drivers.
Thanks for your patience and tireless support.