[RESOLVED] dgvindexnv x64 + megui

Support forum for DGDecNV
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

[RESOLVED] dgvindexnv x64 + megui

Post by odette »

Hi, I ve noticed there is a x64 version of dgindexnv so I tried to use it with megui.
I know this is not a megui support forum but I thought you will defenitly be more skillfull than me to make it work so here I go ;)

Using the 32 bits version of megui with avisyth + and dgvindenv works fine.
Once I configure megui to use dgvindexnv x64, it gives me the following error:

There is no function named "directshowsource''

-[Information] Versions
--[Information] [31/03/2017 1:26:40] MeGUI: 2709
--[Information] [31/03/2017 1:26:40] Operating System: Windows 10 Professional x64 (10.0.0.14393)
--[Information] [31/03/2017 1:26:40] .NET Framework: 4.0 (4.0.0.0)
--[Information] [31/03/2017 1:26:40] .NET Framework: 4.6.x (4.6.01586)
--[Information] [31/03/2017 1:26:40] AviSynth+: 2.6.0.5 (02-01-2014) (active)
--[Information] [31/03/2017 1:26:40] AviSynth portable: 2.6.0.6 (21-09-2015) (inactive)
--[Information] [31/03/2017 1:26:40] AvisynthWrapper: (02-01-2009)
--[Information] [31/03/2017 1:26:40] Haali Media Splitter: 1.13.138.14 (14-04-2013)
--[Information] [31/03/2017 1:26:40] Haali DSS2: (14-04-2013)
--[Information] [31/03/2017 1:26:40] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
--[Information] [31/03/2017 1:26:40] MediaInfo: 0.7.93.0 (01-03-2017)
--[Information] [31/03/2017 1:26:40] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
--[Information] [31/03/2017 1:26:40] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
--[Information] [31/03/2017 1:26:40] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
--[Information] [31/03/2017 1:26:40] 7z: 9.20 (18-11-2010)

Could you tell me what I am doing wrong?
Thank you in advance.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

Your Avisynth script generated by MEGUI is trying to use DirectShowSource() instead of DGSource(). Why would that be? There must be some configuration thing in MEGUI to select the source filter.

I do know that if you want 64-bit, then all the components should be 64-bit, including MEGUI and Avisynth. I reckon that if you run the 64-bit MEGUI it will try to use the 64-bit DG stuff.
DAE avatar
Guest

Re: dgvindexnv x64 + megui

Post by Guest »

In MeGUI go to Tools
Select AVS Script Creator
Select Filters
Select DGx Source
Let us know if this works

If using 64 bit version of MeGUI i believe all components have to be 64 bit, so it should pick or check for 64 bit versions of filters
but I don't use MeGUI so I can't be sure

You can also try version 2703 if this doesn't help
DAE avatar
Guest

Re: dgvindexnv x64 + megui

Post by Guest »

odette
Are you using an x86 or x64 build of Megui?
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

Hi, I didn´t think you guys would answer so quickly ;)
I am using x86 megui version since there are no x264 official release.
Will try right now what you said.
I will keep you informed.
Thanks for your help.
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

When I go to:
Select AVS Script Creator
Select Filters
Select DGx Source
The menus are gray and wont let me tick anything :(

I have attached a screenshot of it.
Attachments
megui.jpg
DAE avatar
Guest

Re: dgvindexnv x64 + megui

Post by Guest »

That looks right
Now put the cursor over the DGx tab
It should highlight
When it does click on it
The DGx tab is where the word DGx is
Question
You do have a license for DGIndexNV
DAE avatar
Guest

Re: dgvindexnv x64 + megui

Post by Guest »

odette wrote:Hi, I didn´t think you guys would answer so quickly ;)
I am using x86 megui version since there are no x264 official release.
Will try right now what you said.
I will keep you informed.
Thanks for your help.
Must of been a little sleepy yesterday, I missed that
Your x64 chain must be complete
Megui x64
Go to the megui x64 thread by Zathor, he is one of the Megui developers, and download it if you want
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

I have read megui x64 is discontinued and not up to date at all.
Is that right?
And no, it´s still gray and won´t let me chose any options.
I dont see the thread of zathor.
He has 30 posts but none of them about megui x64.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

Discontinued doesn't mean it doesn't work. If you want 64 bit flow then you must use this. I use it without problems. This is from 2016 so it's not so old.
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

Hello again. sorry for insinting but I can´t go any further and I really would appreciate you guys helping me ;)
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

Everything works fine for me.

Download the indicated 64-bit MEGUI. Accept all updates. Put your license file in with DGIndexNV.exe. Make sure you have Avisynth 64-bit.

Here's where you may have gone wrong. The script creator filters tab will remain grayed until you load your file in the I/O tab. So load the source file, select File Indexer and let the job complete. Then you can access the filters tab.

You'll be happy to see that you get updated to a 2017 64-bit version of MEGUI.

If you want to use the new IVTC, denoising and sharpening filters in DGSource, you'll have to update the DG tools from my latest distribution, and make your script by hand without the script creator (which doesn't support the new filters). In general I advise always writing your own scripts to have total control. Just make your script and load the AVS file directly in the main MEGUI screen.
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

Thank you so much for your help ;)
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

odette wrote:Thank you so much for your help ;)
Let us know how it goes.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

I even managed to get 64-bit x265 encoding to work. You have to replace one file that I can give you if you need x265.
DAE avatar
Zathor
Posts: 94
Joined: Sun Nov 28, 2010 5:06 am

Re: dgvindexnv x64 + megui

Post by Zathor »

MeGUI x64 had been discontinued some years ago but it has been continued again ~half a year ago.
admin wrote:If you want to use the new IVTC, denoising and sharpening filters in DGSource, you'll have to update the DG tools from my latest distribution, and make your script by hand without the script creator (which doesn't support the new filters). In general I advise always writing your own scripts to have total control. Just make your script and load the AVS file directly in the main MEGUI screen.
To be honest I have not checked in the last ~2 years which kind of new functionalities are available :-(
admin wrote:I even managed to get 64-bit x265 encoding to work. You have to replace one file that I can give you if you need x265.
It should work also if you enable x265 in the MeGUI settings. It is still disabled by default. Maybe time to enable it by default.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

Hello Zathor,

What a great honor to have you pay us a visit!

DGDecNV has some great new fast CUDA filters integrated.

Rgegarding the x265 support, clicking the button wasn't enough. You seem to be invoking a 32-bit version of avs4x26x.exe. I had to replace it with a 64-bit version.

Rock on, Zathor!
DAE avatar
Zathor
Posts: 94
Joined: Sun Nov 28, 2010 5:06 am

Re: dgvindexnv x64 + megui

Post by Zathor »

Thank you very much for your kind words :oops:
I have to return them to you, too. You are doing a great job :)

Regarding the avs4x26x - yes, that is a very good catch. I had uploaded the wrong version... it is now fixed (and x265 is always enabled).

And I have to check out the new filters. I work currently mainly with DGDecIM as my server has no Nvidia graphics card installed. But my coding laptop (I know no support from you :-)) has a nvidia graphics card included.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

For you, my friend, I will try to support it.

Happy Spring!
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

This is so cool.
I have started this thread looking for some help and it looks like this is going to restart something that souldn´t have been stopped ever.
Thank you so much for helping us out (me) :) and making internet so great.
Love you guys :)
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

Updating Megui, I have an issue with eac3to
Error: Old version of eac3to could not be accessed correctly. Check if it is in use. Acceso denegado a la ruta de acceso 'opusdec.avx.exe'.
Error: Could not install module 'eac3to'.
Error: Failed to install package eac3to: Backup file cannot be created.
Error: Packages which have not been successfully updated: 1

Any idea of what is going wrong ?
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

I have just done some tests...
Here are the results:

Megui 2711 x86 + dgvindexnv 2053 32 bits
Profile used :
x264 core 148 r2762 90a61ec
Encoding settings: cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8637 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

FPS/Time for first pass: 137,80 FPS ===> 42 secs
FPS/Time for second pass: 29,03 FPS ===> 3 min 19 secs

Megui 2711 x64 + dgvindexnv 2053 64 bits
Profile used :
x264 core 148 r2762 90a61ec
Encoding settings: cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8637 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

FPS/Time for first pass: 156,18 FPS ===> 36 secs
FPS/Time for second pass: 34,98 FPS ===> 2 min 48 secs


This was done from the following:

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 4 min 0 s
Bit rate mode : Variable
Maximum bit rate : 36.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 24.000 FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

A m2ts of 4 minutes length

AS you can see, there is a HUGE difference since this is only a 4 minutes sample.
I will do a test with the same specs with a whole movie but seeing this, I think we already a clear idea of what is going to happen.
Thanks again to Zathor, Donald and Gonca for your work, patience and precious help ;)
DAE avatar
odette
Posts: 18
Joined: Thu Sep 22, 2016 4:38 am

Re: dgvindexnv x64 + megui

Post by odette »

Using the x86 megui the whole process takes:
Total: 1 hour 41 minutes 55 seconds

Using the x64 megui the whole process takes:
Total: 1 hour 54 minutes 59 seconds

Time Difference: 13 min 4 secs


Here are the results of a 2 passes movie with a lenght of 1 hour and 55 mins.

Megui 2711 X64 + DGVindexnv x64:

First Pass: 17 min 41 secs @ 156,35 fps
Second Pass: 1h 24 min 14 sec @ 32,85 fps

Resulting mkv specs:

General
Complete name : F1_T2_Video - .mkv
Format : Matroska
Format version : Version 2
File size : 6.97 GiB
Duration : 1 h 55 min
Overall bit rate : 8 638 kb/s
Writing application : x264 r2762 90a61ec
Writing library : Haali Matroska Writer b0
IsTruncated : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 55 min
Bit rate : 8 637 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.233
Stream size : 6.83 GiB (98%)
Writing library : x264 core 148 r2762 90a61ec
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8637 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Megui 2711 X86 + DGVindexnv x86:

First Pass:
19 min 58 @ 138,60 fps
Second Pass: 1h 35 30 1sec @ 29,11 fps

Resulting mkv specs:

General
Complete name : F1_T2_Video - .mkv
Format : Matroska
Format version : Version 2
File size : 6.97 GiB
Duration : 1 h 55 min
Overall bit rate : 8 638 kb/s
Writing application : x264 r2762 90a61ec
Writing library : Haali Matroska Writer b0
IsTruncated : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 h 55 min
Bit rate : 8 637 kb/s
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.233
Stream size : 6.83 GiB (98%)
Writing library : x264 core 148 r2762 90a61ec
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=16 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=8637 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: dgvindexnv x64 + megui

Post by admin »

The first part of your post appears to reverse the x86/x64 results. It's good to see some improvement with x64, but be aware the difference is not expected to be large.

Regarding the eac3to thing. Try to delete the eac3to and opus folders in tools. Then open the update screen and make sure both are enabled. Then update.
DAE avatar
Guest

Re: dgvindexnv x64 + megui

Post by Guest »

Hope you don't mind me putting my 2cents in, but the gains from a full x64 chain is +/- 10% for CPU bound tools.
You can, however, lose a potential bunch of filters/tools which are strictly x86.
If you use DGtools x64 your gains would be larger because the filters are being run by the GPU freeing up the CPU for other tasks
Post Reply