Page 1 of 1

[RESOLVED] Need help with hardware decoding

Posted: Sat Jun 15, 2019 3:39 pm
by JackReacher
Hi there

I hope you are well. I see you've recommended DGHDRtoSDR to another user. I'd like to use this tool. I have a reference nvidia GTX980 TI but it does not support HEVC when I tried to use DGindexNV as a source filter for avisynth. What source filter would you recommend as a good alternative? Am I unable to use DGHDRtoSDR if my card does not support hardware HEVC encoding/decoding?

Actually could you please help me with an avisynth script that'll allow me load an HDR HEVC file at full depth and then using DGHDRtoSDR to output 8bit frames to vdub2?

Thanks, I'd really appreciate it.

Re: Need help with hardware decoding

Posted: Sat Jun 15, 2019 4:07 pm
by admin
Maybe GTX 980 is limited to 8 bit. DGHDRtoSDR should work as it uses only CUDA.

Hey gonca? What other source filters could the OP use?

Re: Need help with hardware decoding

Posted: Sat Jun 15, 2019 4:55 pm
by Guest
The op says the codec is hevc, but doesn't mention the container, ie is it mkv m2ts or a playlist.
As far as 10 bit frame server plug ins in avisynth, apart from the DG products there are not many that can do 10 bit.
They use the hack for stacking
I assume that you are using avs+

Edit
Try latest ffms2

Re: Need help with hardware decoding

Posted: Sun Jun 16, 2019 1:07 am
by JackReacher
Yes I am using avisynth+ 64 bit. So which source filter would be the next best thing in terms of efficiency and how exactly would I set it up so that I get an 8bit toneamapped output for SDR displays? It is in an mkv container. Could you please share an avs script that would help, thanks!

Re: Need help with hardware decoding

Posted: Sun Jun 16, 2019 5:09 am
by Guest
gonca wrote:
Sat Jun 15, 2019 4:55 pm
Try latest ffms2
Other than this you have to use the hack for stacking or interleaving high bit depth
loadplugin("your_source_filter")
loadplugin("dghdrtosdr.dll")
your_source_filter(file.xxx)
DGHDRtoSDR()
prefetch(pick_a_number)
By the way, this sample was derived from the one in the text file

Re: Need help with hardware decoding

Posted: Sun Jun 16, 2019 10:39 am
by admin
Sounds like the OP is looking for the ffms2 invocation details. Maybe one of the other forums would be more appropriate for such questions. I don't use ffms2 so cannot help.

Re: Need help with hardware decoding

Posted: Sun Jun 16, 2019 10:45 am
by Guest
I don't use it either, DGDecNV works just beautifully for me

Re: Need help with hardware decoding

Posted: Sat Jun 22, 2019 5:35 pm
by JackReacher
It's okay, I think I'll just start working on 265 content when I get an upgrade. Thanks though, I appreciate it!