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

This is the home of QuickSync (aka Intel Media SDK) stuff.
User avatar
hydra3333
Distinguished Aussie Member
Distinguished Aussie Member
Posts: 150
Joined: Wed Oct 06, 2010 3:34 am
Contact:

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

Post by hydra3333 » Thu Jun 05, 2014 8:53 am

Hello.

Very interested in this for 2 processors; an i3820/8800GT and an i4670/N650.

a) Do you have any info on relative merits of DGDecIM vs the DGDecNV tool ?

b) from the notes.txt file,
"6. HW decoding is broken for VC1 with Intel graphics drivers earlier than 3496 beta. Either install a driver equal or greater than 3496 beta, or use SW decoding."
I'm having a little trouble locating an intel link to intel QuickSync drivers, could you point the way ?

Thanks
Last edited by hydra3333 on Sat Jun 07, 2014 6:36 am, edited 1 time in total.

User avatar
hydra3333
Distinguished Aussie Member
Distinguished Aussie Member
Posts: 150
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by hydra3333 » Thu Jun 05, 2014 9:27 am

Oh. A comparison.
http://neuron2.net/board/viewtopic.php? ... t=10#p2967
Now, where did I see a comment about VP6 ?

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

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by admin » Thu Jun 05, 2014 10:49 am

a) For features, obviously DGDecNV is way better. For performance, they are comparable for raw decoding if you use VP6. For deinterlacing, DGDecNV is way faster.

b) That refers to the video driver version. Check the Intel site for latest video drivers.

If you have an nVidia VP5/VP6 card, I would always prefer DGDecNV. DGDecIM was made only for people without a good nVidia card.

Sorry, I can't tell you what you saw. :lol:

User avatar
hydra3333
Distinguished Aussie Member
Distinguished Aussie Member
Posts: 150
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by hydra3333 » Fri Jun 06, 2014 7:53 pm

neuron2 wrote:Sorry, I can't tell you what you saw. :lol:
:)

My old 8800GT is a noisy but nice power hog and is a VP2.
http://en.wikipedia.org/wiki/Nvidia_Pur ... HD.29_GPUs
I wonder if it's worth replacing with a 750 for about au$190 ?

This comparison is interesting, but I wonder what the difference will be in terms of using DGDecNV ?
http://www.hwcompare.com/17275/geforce- ... e-gtx-750/
http://www.hwcompare.com/17460/geforce- ... tx-750-ti/
http://www.hwcompare.com/17279/geforce- ... tx-750-ti/
ie I'm not sure of what speed difference to expect for mainly mpeg2 going from the 8800 to the 750 ...

edit:
https://forums.geforce.com/default/topi ... 8/#4199838
purevideo (vpX) is only for decoding video, it has nothing to do with encoding. for gpu based encoding the cuda cores are being used, and the 770 has much more cores, so it will be faster.
however the 750 has a new, much faster h.264 encoder, accessed through the nvenc api. if there's software that uses nvenc, the 750 may be faster. but i am not aware of any such software.
Any pointers on where to find "software that uses nvenc" ?

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

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by admin » Fri Jun 06, 2014 8:18 pm

750 Ti will literally obliterate an 8800 on all counts. I would upgrade in a heartbeat.

Sorry, I can't advise you about nvenc stuff. Videohelp would be a better place to ask.

When I get my 750 Ti in not too long, I may get more involved in GPU encoding.

User avatar
hydra3333
Distinguished Aussie Member
Distinguished Aussie Member
Posts: 150
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by hydra3333 » Fri Jun 06, 2014 11:44 pm

neuron2 wrote:750 Ti will literally obliterate an 8800 on all counts. I would upgrade in a heartbeat.
OK, going out to buy after I check I have 2 slots free :)
neuron2 wrote:Sorry, I can't advise you about nvenc stuff. Videohelp would be a better place to ask.
When I get my 750 Ti in not too long, I may get more involved in GPU encoding.
That got my heartbeat racing.

User avatar
hydra3333
Distinguished Aussie Member
Distinguished Aussie Member
Posts: 150
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by hydra3333 » Sat Jun 07, 2014 6:19 am

With this

Code: Select all

REM input is .mpg (mpeg2 1440x1080i TFF) output is mpeg4 576i 
"avs2yuv.exe" "Man About The House.avs" -o -   | "x264-x64.exe" - --stdin y4m --thread-input --frames "128818" --profile high --level 4.1 --reset slow --interlaced --tff --no-cabac --crf 18 --sar 64:45 --colormatrix bt470bg -o "Man About The House-temp.MP4"

Code: Select all

SetMTmode(mode=3,threads=8) # start with mode=5 forAVIsource http://forum.???.org/showthread.php?p=1067216#post1067216 
setmemorymax(1024)  
DGSource("Man About The House.dgi",deinterlace=2,resize_w=720,resize_h=576) #deinterlace=2 means double rate deinterlacing  
SetMTmode(mode=2) # 
AssumeTFF() 
Assumefps(25) 
trim(1,-999999) # fix a double-framerate bug in NV per http://forum.???.org/showthread.php?p=1391556#post1391556 
#LAST.HEIGHT==1080 ? AddBorders(int left, int top, int right, int bottom) : LAST 
LAST.HEIGHT==1080 ? AddBorders(0,0,0,8) : LAST 
AssumeTFF() #choose the SAME field order like before deinterlacing 
SeparateFields().SelectEvery(4,0,3).Weave() #reinterlace. 
AssumeTFF() #choose the SAME field order like before deinterlacing 
AssumeFPS(25) 
LAST.HEIGHT==1088 ? cropbottom(8) : LAST 
ColorMatrix(interlaced=true,mode="Rec.709->Rec.601") 
SetPlanarLegacyAlignment(True) 
I get about 9-10fps on the 8800GT. I wonder if I was able to feed the .avs directly into the 32bit version of x264 then it'd be quicker ?

edit: no, approximately the same speed :)

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

Re: DGDecIM QuickSync-Enabled AVC/MPEG2/VC1 Decoder and Frame Server

Post by admin » Sat Jun 07, 2014 6:33 am

Sorry, I don't know anything about avs2yuv and this forum is for support of my tools only. I suggest that you ask about that at Videohelp forum.

Regarding transcode rates, any improvement due to speeding up the decoding will depend on a lot of factors, but especially the load of the encoding part. Don't expect miracles but some improvement is likely.

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 » Tue Feb 24, 2015 2:54 pm

For some bizar reason, I can get DGIndexIM to work on my Hasswel 4770 (with 4600 graphics) to work.
I''ve been using DGdecNV since the begining, first on my GTX 570 and now on my GTX 680.

It seems that DGIndexIM is confused by the presents of the GTX 570 card, and generates a strange looking .INI file

Up clickng the DGIndexIM.exe, I get an error like this :
DGIndex_error.png
Error starting DGindexIM
DGIndex_error.png (16.48 KiB) Viewed 1278 times
Also a .INI is created like this :

Code: Select all

Version=DGIndexIM beta 20
Window_Position=100,100
Info_Window_Position=100,100
Process_Priority=2
Playback_Speed=3
AVS_Template_Folder=
AVS_Template_File=template.avs
AVS_Enable_Template=1
AVS_Overwrite=0
Full_Path_In_Files=0
MRUList[0]=
MRUList[1]=
MRUList[2]=
MRUList[3]=
Enable_Info_Log=0
Loop_Playback=0
AVC_Extension=264
MPG_Extension=m2v
VC1_Extension=vc1
Deinterlace=0
UsePF=0
AlwaysCrop=1
UseD3D=0
Snapped=0
ResponseOnAudioMismatch=1
Enable_Audio_Demux=1
CUDA_Device=255
Decode_Modes=0,1,0
Full_Info=1
Bare_Demux=0
[/size]

It's at least suspicious that it contains "CUDA_Device=255" .... it looks more like an INI file for my DGdecNV !!!
I tried to copy my "license.txt" from my DGdecNV in to the DGIndexIM directory, but no avail.
Notice that the " machine ID" is indentical to the one displayed by DGdecNV v2048, so I thougth maybe ...but no.

I really would like to see DGIndexIM working on this machine !
Note that for different other apps like FFDshow decoders, LAV-video decoders, QSVenc encoder,... Quicksync is working and a hardware API level 1.11 is reported.
Also it looks likeDGmvcsource v1.00b23 seems to be using the HW decoder based on the much higher decoding FPS that are reported. It displays an error like

Code: Select all

AVSMeter 1.9.4.0 (x86) by Groucho2004
AviSynth 2.60, build:Feb 20 2015 [03:16:45] (2.6.0.5) (MT)
Analysing script |
Return on error:[b] error code 1,  sample_decode.cpp       66[/b]

Active MT Mode: 0

Number of frames:                20000
Length (hh:mm:ss.ms):     00:06:40.000
Frame width:                      3840
Frame height:                     2160
Framerate:                      50.000 (100/2)
Colorspace:                       YV12

Frames processed:               20000 (0 - 19999)
FPS (min | max | average):      8.935 | 1437 | 862.8
CPU usage (average):            12%
Thread count:                   2
Memory usage (phys | virt):     174 | 300 MB
Time (elapsed):                 00:00:23.181
[/size]

I guess the reported 862 FPS for a 2160x3840 are not possible using software....

Just for completeness , report from intel sysinfo :

Code: Select all

Intel Media SDK System Analyzer (32 bit)

The following versions of Media SDK API are supported by platform/driver:

	Version	Target	Supported	Dec	Enc
	1.0	HW	Yes		X	X	[Adapter 1]
	1.0	SW	Yes		X	X
	1.1	HW	Yes		X	X	[Adapter 1]
	1.1	SW	Yes		X	X
	1.3	HW	Yes		X	X	[Adapter 1]
	1.3	SW	Yes		X	X
	1.4	HW	Yes		X	X	[Adapter 1]
	1.4	SW	Yes		X	X
	1.5	HW	Yes		X	X	[Adapter 1]
	1.5	SW	Yes		X	X
	1.6	HW	Yes		X	X	[Adapter 1]
	1.6	SW	Yes		X	X
	1.7	HW	Yes		X	X	[Adapter 1]
	1.7	SW	Yes		X	X
	1.8	HW	Yes		X	X	[Adapter 1]
	1.8	SW	Yes		X	X

Graphics Devices:
	Name                                         Version             State
	NVIDIA GeForce GTX 570                       9.18.13.4475        Active
	Intel(R) HD Graphics 4600                    10.18.10.3960       Active

System info:
	CPU:	Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
	OS:	Microsoft Windows 7 Professional 
	Arch:	64-bits

Installed Media SDK packages (be patient...processing takes some time):

Installed Media SDK DirectShow filters:

Installed Intel Media Foundation Transforms:
  Intel® Hardware VC-1 Decoder MFT : {059A5BAE-5D7A-4C5E-8F7A-BFD57D1D6AAA}
  Intel® Hardware H.264 Decoder MFT : {45E5CE07-5AC7-4509-94E9-62DB27CF8F96}
  Intel® Hardware MPEG-2 Decoder MFT : {CD5BA7FF-9071-40E9-A462-8DC5152B1776}
  Intel® Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}
  Intel® Hardware Preprocessing MFT : {EE69B504-1CBF-4EA6-8137-BB10F806B014}
[/size]

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 » Tue Feb 24, 2015 4:20 pm

You can't just click DGIndexIM.exe. You have to run it from a command shell and give it proper options.

Post Reply