DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

This is the home of QuickSync (aka Intel Media SDK) stuff.
pat357
Posts: 5
Joined: Wed Jan 04, 2012 8:33 pm
Location: Antwerp, BELGIUM
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by pat357 » Wed Feb 25, 2015 1:02 pm

Ok, I got it. It was so simple that I must have missed it. It uses the same .DGI files as DGDecNV, so I can choose between DGindexIM and DGIndexNV to make the indexes.

After testing on various H264 HD files (1080p / 1080I) I must say I'm impressed by it's speed compared to DGDecNV (on my GTX-680).

Next I moved on to 4K and alike stuff, but I bounced back ! :|
I could neither DGdecNV or DGDecIM get working with 4K media. This really wondered me as both my GTX-680 and the Intel graphic 4600 do both support 4K decoding.
DGMVCDecode works for me on 4k but as the docs stated, but it's not frame-correct and seeking is a NONO.

I've currently 2 questions :

1. Is >1080 and 4K not supported by DGdecNV v2048 with GTX-680 ? I would be really surprised by this !
Is it just not implemented yet or should I look further at my site ?
I have a dozen files like this, but on every file I got "no video frames" in DGIndexNV (no video is displayed).
I still could create a DGI file, but on loading it in Avisynth I got nothing or a big green screen with "CUDA error" displayed.
Regarding HW, Cuvid and DXVA2 should both do 4k decoding on my GTX-680 /VP5 card IIRC. What could be wrong ? Besides Cuvid, I also tried also in CUDA mode and DXVA mode, but no avail. (all H264 material)
What I noticed was that the "SIZE" parameter in the .DGI was 0 x 0 and the FPS was also something like 0 /0.

2. The same for DGdecIM : 4K decoding should be supported by the HW, but I got nothing out of Avisynth ; the indexing using DGindexIM went OK and the created .DGI's looked OK (correct SIZE & valid FPS parameter).
Is it just not implemented yet or should I look further at my site ?
BTW, is it normal that DGindexIM goes to 100% and then stays that way without returning the CMD-prompt ? It never tells me it's finished, and I have todo "CTRL +C" after it says 100% to end it.

I'm looking forward to your answer ! Thanks !

User avatar
admin
Site Admin
Posts: 4266
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by admin » Thu Feb 26, 2015 8:44 am

pat357 wrote: I could neither DGdecNV or DGDecIM get working with 4K media. This really wondered me as both my GTX-680 and the Intel graphic 4600 do both support 4K decoding.
DGMVCDecode works for me on 4k but as the docs stated, but it's not frame-correct and seeking is a NONO.
Can you please link me to a small sample of your 4K videos? With that I can investigate and test things.

4K is not currently supported by DGDecNV. If support for it has been added to CUVID then I could implement it. I will check the latest CUVID version to see what it supports. For DGDecIM, if it works with DGMVCDecode then I should be able to support it in DGDecIM. That's where your sample becomes useful.

DGDecIM should not lock up at 100% CPU usage. Are you sure about that? Did you try just hitting return to see
if the prompt was alive?

pat357
Posts: 5
Joined: Wed Jan 04, 2012 8:33 pm
Location: Antwerp, BELGIUM
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by pat357 » Thu Feb 26, 2015 12:47 pm

admin wrote:
pat357 wrote: I could neither DGdecNV or DGDecIM get working with 4K media. This really wondered me as both my GTX-680 and the Intel graphic 4600 do both support 4K decoding.
DGMVCDecode works for me on 4k but as the docs stated, but it's not frame-correct and seeking is a NONO.
Can you please link me to a small sample of your 4K videos? With that I can investigate and test things.

4K is not currently supported by DGDecNV. If support for it has been added to CUVID then I could implement it. I will check the latest CUVID version to see what it supports. For DGDecIM, if it works with DGMVCDecode then I should be able to support it in DGDecIM. That's where your sample becomes useful.

DGDecIM should not lock up at 100% CPU usage. Are you sure about that? Did you try just hitting return to see
if the prompt was alive?
I'll upload a sample. How much frames do you need ? I suppose I can't cut it using DGspit ? Do you have a preferred (fast) upload side ?
I normally use DGindexNV to cut H264 media, but this won't work for now. ;)
The smallest I have is still a few 100MB , if that's OK with you.

The reason why I believe that Cuvid is ready for 4K is because Nercival's LAV filers play all my 4K media OK on my GTX-680 in Cuvid mode. OK, it's not fast, but mostly beyond real-time..but
still very useful with a heavy .AVS script that produces less then 10fps.

The weird thing is that *all* my H264/AVC 2160p/4K stuff plays file with DGmvcdecode / LAV-video Quicksync mode / FFDShow Quicksync mode and *none* seem to work with DGdecIM.
Can you please try it on your system so I' can stop pulling out my hair when trying to resolve this.

I use this in my Avisynth script :

Code: Select all

LoadPlugin("My_path_to_DGdecodeIM\DGdecodeIM.dll")
DGsource("file.dgi" , engine=1, debug=true)
I tried engine=0 and 2, but no avail for 2160p/4K H264/AVC encoded media.

I think you misunderstood me about the problem with DGindexIM : the CPU is not 100%, i
t's the progress counter that's displayed when indexing.
When the progress counter reaches 100%, it stays there forever without returning the CMD prompt. It only happens with first manually creating the index like

Code: Select all

"DGindexIM -i  file.264 -o file.dgi"
The command prompt is never returned, even when the progress counter has 100% and the .dgi file is created.
DGindexNV has a "-e" parameter switch for this , I guess.



I remembered where I got a few samples, these are still there on :
http://xhmikosr.1f0.de/samples/
Just take the 2160p samples from the different clip directories.
I demuxed the using MKVextract (using a GUI) from MKVtoolnix v7.6.0.

Let me know if DGindexIM/DGdecodeIM works on your system.

User avatar
admin
Site Admin
Posts: 4266
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by admin » Fri Feb 27, 2015 5:48 am

The program ends, it just doesn't give a fresh prompt. Try hitting return and you will see.

Downloading samples...

Aleron Ives
Distinguished Member
Distinguished Member
Posts: 113
Joined: Fri May 31, 2013 8:36 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by Aleron Ives » Fri Feb 27, 2015 3:26 pm

To my knowledge, VP9 cards should support HEVC UHD fully, but nVidia hasn't released any such cards yet. The GTX 960 is their newest offering and is still limited to the HEVC Main/Main 10 profiles. The new UHD Blu-ray standard isn't even in use yet, so all things UHD are pretty much still up in the air. There are no standard sources for UHD content yet, and there are no standard setups that are guaranteed to handle it, either. It's all going to be a mess for many months yet, as far as I can tell. My guess is it'll be at least a year until Don has what he needs to make DGDecNV "just work" with HEVC and UHD.

pat357
Posts: 5
Joined: Wed Jan 04, 2012 8:33 pm
Location: Antwerp, BELGIUM
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by pat357 » Sat Feb 28, 2015 1:33 pm

Aleron Ives wrote:To my knowledge, VP9 cards should support HEVC UHD fully, but nVidia hasn't released any such cards yet. The GTX 960 is their newest offering and is still limited to the HEVC Main/Main 10 profiles. The new UHD Blu-ray standard isn't even in use yet, so all things UHD are pretty much still up in the air. There are no standard sources for UHD content yet, and there are no standard setups that are guaranteed to handle it, either. It's all going to be a mess for many months yet, as far as I can tell. My guess is it'll be at least a year until Don has what he needs to make DGDecNV "just work" with HEVC and UHD.
Not sure about this...
I could be wrong but IIRC Nercival's LAV-filters do already decode H265/HEVC media using the HW decoder available in NVidia cards like the GTX-960.

User avatar
admin
Site Admin
Posts: 4266
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by admin » Sun Mar 01, 2015 11:03 am

DGDecIM beta 21 now supports 2160p stuff. See the News post for details.

olex99
Posts: 4
Joined: Sat Jan 30, 2016 5:17 am

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by olex99 » Sat Jan 30, 2016 7:47 pm

What is the latest with DGDecIM in terms of stability of decoding compared to DGDecNV?

I currently use DGDecNV with a GTX 970 but I'm thinking of falling back to the IGPU which is a Intel HD 4400 and selling the 970 as I don't use it for games anymore. I only use DGDecNV to decode the videos, I don't do any deinterlacing or cropping/resizing through it and my videos are either MPEG2 or AVC at a max of 1080 I/P. I understand that DGDecIM doesn't have the same features as DGDecNV but for pure decoding are they roughly the same? I also don't particularly care about performance as I use QTGMC to deinterlace so that is my major bottleneck anyway.

User avatar
admin
Site Admin
Posts: 4266
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by admin » Sat Jan 30, 2016 8:09 pm

For pure decoding they are roughly comparable. But as you have both why don't you do some testing?

If it were me, I would keep the 970. DGDecIM is unlikely to be further evolved while DGDecNV remains under active development/maintenance. For example, DGDecNV supports HEVC while DGDecIM does not and likely will not ever do so.

User avatar
tormento
Distinguished Member
Distinguished Member
Posts: 202
Joined: Mon Sep 20, 2010 2:18 pm

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder vs DGDecNV

Post by tormento » Sat Feb 06, 2016 7:54 pm

admin wrote:DGDecIM is unlikely to be further evolved while DGDecNV remains under active development/maintenance. For example, DGDecNV supports HEVC while DGDecIM does not and likely will not ever do so.
That's a pity. It's the only way for me to get DGDec and OpenCL coexhist in the same script in Win10 x64.

Post Reply