View Full Version : New to QTGMC, Nothing but headache.
dellsam34
30th July 2019, 21:00
I have a Sony VAIO laptop with Windows 7 64 bit Intel Core2 Duo T9800 @ 2.93Ghz each, 5GB RAM. Not the greatest but it should be okay.
I installed Avisynth+ and loaded QTGMC and the required plugins, However I had some errors about certain plugins missing so I went ahead and loaded every plugin possible for QTGMC in the Plugins64+ folder.
I had VCOMP120.dll and libmmd.dll missing from my machine and I was able to fix that by installing Intel C++ Redistributables.
Now I'm getting error messages about lines 636 and 879 in the QTGMC:
Line 636: QTGMC_Interpolate( ediInput, InputType, EdiMode, NNSize, NNeurons, EdiQual, EdiMaxD, EdiThreads, bobbed, ChromaEdi )
Line 879: default( Fallback, Input.QTGMC_Bob( 0,0.5 ) )
The commend I'm using is:
AviSource("C:\Users\............file.avi")
QTGMC()
I posted in a lot of video forums and no one was able to help me.
stax76
30th July 2019, 21:07
Maybe try staxrip, it has qtgmc working for both avisynth+ x64 and vapoursynth x64.
Groucho2004
30th July 2019, 21:32
First I suggest you use this tool to check your Avisynth installation and associated plugins:
https://forum.doom9.org/showthread.php?t=176079
Run the program, click "Save Info..." and post the created file.
Edit - Don't attach the file to a post, use pastebin.com or similar.
dellsam34
31st July 2019, 04:04
In the errors area it came up with the following:
[Plugin errors/warnings]
_____________________________________________________________________________________________________
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/eedi3.dll'. Platform returned code 193:
%1 is not a valid Win32 application.
Dependencies that could not be loaded:
VCOMP120.DLL
Note: Visual Studio 2013 Runtime doesn't seem to be installed
_____________________________________________________________________________________________________
Groucho2004
31st July 2019, 07:46
In the errors area it came up with the following:
[Plugin errors/warnings]
_____________________________________________________________________________________________________
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/eedi3.dll'. Platform returned code 193:
%1 is not a valid Win32 application.
Dependencies that could not be loaded:
VCOMP120.DLL
Note: Visual Studio 2013 Runtime doesn't seem to be installed
_____________________________________________________________________________________________________
Install the All-In-One vcredist:
https://github.com/abbodi1406/vcredist/releases
Why did you not post the log file?
dellsam34
31st July 2019, 08:00
I looked at the log file and I though I just highlight the errors, Anyway here it is:
[OS/Hardware info]
Operating system: Windows 7 (x64) Service Pack 1.0 (Build 7601)
CPU: Intel(R) Core(TM)2 Duo CPU T9800 @ 2.93GHz / Penryn (Core 2 Duo) 6M
MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1
2 physical cores / 2 logical cores
[Avisynth info]
VersionString: AviSynth+ 0.1 (r2772, MT, x86_64)
VersionNumber: 2.60
File / Product version: 0.1.0.0 / 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\system32\avisynth.dll
Avisynth.dll time stamp: 2018-12-20, 20:55:16 (UTC)
PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+
[CPP 2.5 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\AddGrainC.dll [1.7.1.0]
C:\Program Files (x86)\AviSynth+\plugins64+\dfttest.dll [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64+\TDeinterlace.dll [1.1.0.0]
[CPP 2.6 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\DePan.dll [2.13.1.4]
C:\Program Files (x86)\AviSynth+\plugins64+\DePanEstimate.dll [2.10.0.3]
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\eedi3.dll [0.9.2.1]
C:\Program Files (x86)\AviSynth+\plugins64+\fft3dfilter.dll [2.6.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\KNLMeansCL.dll [2018-01-29]
C:\Program Files (x86)\AviSynth+\plugins64+\masktools2.dll [2.2.18.0]
C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll [2.7.41.0]
C:\Program Files (x86)\AviSynth+\plugins64+\nnedi3.dll [0.9.4.53]
C:\Program Files (x86)\AviSynth+\plugins64+\PlanarTools.dll [2016-07-04]
C:\Program Files (x86)\AviSynth+\plugins64+\RgTools.dll [0.97.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\svpflow1_64.dll [4.2.0.133]
C:\Program Files (x86)\AviSynth+\plugins64+\svpflow2_64.dll [4.2.0.142]
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\yadifmod2.dll [2016-07-04]
C:\Program Files (x86)\AviSynth+\plugins64+\yadifmod2_avx2.dll [2016-07-04]
[Scripts (AVSI)]
C:\Program Files (x86)\AviSynth+\plugins64+\AnimeIVTCmod_v2.20.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64+\InterFrame2.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\SMDegrain.avsi [2019-07-25]
[Uncategorized DLLs (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\libfftw3f-3.dll [2014-03-15]
[Uncategorized files]
C:\Program Files (x86)\AviSynth+\plugins64+\addgrain.avs [2011-10-27]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64+\smdegrain.avs [2019-07-23]
[Plugin errors/warnings]
_____________________________________________________________________________________________________
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/eedi3.dll'. Platform returned code 193:
%1 is not a valid Win32 application.
Dependencies that could not be loaded:
VCOMP120.DLL
Note: Visual Studio 2013 Runtime doesn't seem to be installed
_____________________________________________________________________________________________________
Groucho2004
31st July 2019, 08:10
I looked at the log file and I though I just highlight the errors, Anyway here it is:
[OS/Hardware info]
Operating system: Windows 7 (x64) Service Pack 1.0 (Build 7601)
CPU: Intel(R) Core(TM)2 Duo CPU T9800 @ 2.93GHz / Penryn (Core 2 Duo) 6M
MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1
2 physical cores / 2 logical cores
[Avisynth info]
VersionString: AviSynth+ 0.1 (r2772, MT, x86_64)
VersionNumber: 2.60
File / Product version: 0.1.0.0 / 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\system32\avisynth.dll
Avisynth.dll time stamp: 2018-12-20, 20:55:16 (UTC)
PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64
PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+
[CPP 2.5 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\AddGrainC.dll [1.7.1.0]
C:\Program Files (x86)\AviSynth+\plugins64+\dfttest.dll [1.9.4.0]
C:\Program Files (x86)\AviSynth+\plugins64+\TDeinterlace.dll [1.1.0.0]
[CPP 2.6 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\DePan.dll [2.13.1.4]
C:\Program Files (x86)\AviSynth+\plugins64+\DePanEstimate.dll [2.10.0.3]
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\eedi3.dll [0.9.2.1]
C:\Program Files (x86)\AviSynth+\plugins64+\fft3dfilter.dll [2.6.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\KNLMeansCL.dll [2018-01-29]
C:\Program Files (x86)\AviSynth+\plugins64+\masktools2.dll [2.2.18.0]
C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll [2.7.41.0]
C:\Program Files (x86)\AviSynth+\plugins64+\nnedi3.dll [0.9.4.53]
C:\Program Files (x86)\AviSynth+\plugins64+\PlanarTools.dll [2016-07-04]
C:\Program Files (x86)\AviSynth+\plugins64+\RgTools.dll [0.97.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\svpflow1_64.dll [4.2.0.133]
C:\Program Files (x86)\AviSynth+\plugins64+\svpflow2_64.dll [4.2.0.142]
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll [2018-12-20]
C:\Program Files (x86)\AviSynth+\plugins64+\yadifmod2.dll [2016-07-04]
C:\Program Files (x86)\AviSynth+\plugins64+\yadifmod2_avx2.dll [2016-07-04]
[Scripts (AVSI)]
C:\Program Files (x86)\AviSynth+\plugins64+\AnimeIVTCmod_v2.20.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64+\InterFrame2.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi [2019-07-25]
C:\Program Files (x86)\AviSynth+\plugins64+\SMDegrain.avsi [2019-07-25]
[Uncategorized DLLs (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\libfftw3f-3.dll [2014-03-15]
[Uncategorized files]
C:\Program Files (x86)\AviSynth+\plugins64+\addgrain.avs [2011-10-27]
C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt [2016-07-05]
C:\Program Files (x86)\AviSynth+\plugins64+\smdegrain.avs [2019-07-23]
[Plugin errors/warnings]
_____________________________________________________________________________________________________
Cannot load file 'C:/Program Files (x86)/AviSynth+/plugins64+/eedi3.dll'. Platform returned code 193:
%1 is not a valid Win32 application.
Dependencies that could not be loaded:
VCOMP120.DLL
Note: Visual Studio 2013 Runtime doesn't seem to be installed
_____________________________________________________________________________________________________
OK, everything seems to be in order. Install the AIO vcredist and try again.
Should you still have problems, run the script with AVSMeter (https://forum.doom9.org/showthread.php?t=174797) and report any errors.
dellsam34
31st July 2019, 08:23
I installed the package and run the checker and no errors reported however the QTGMC error stands.
https://forum.doom9.org/attachment.php?attachmentid=16912&stc=1&d=1564557798
Line 620: finalNoise = (StabilizeNoise) ? mt_lutxy( deintNoise, mcNoise, "x range_half - abs y range_half - abs > x y ? 0.6 * x y + 0.2 * +", U=CNmt1,V=CNmt1 ) : deintNoise
Line 862: CEed = (ChromaEdi == "")
dellsam34
31st July 2019, 08:34
Can anyone post the latest QTGMC file and Avisynth for 64bit so I can start all over again? Could be a problem with my video sample?
Groucho2004
31st July 2019, 08:42
I installed the package and run the checker and no errors reported however the QTGMC error stands.
https://forum.doom9.org/attachment.php?attachmentid=16912&stc=1&d=1564557798
Line 620: finalNoise = (StabilizeNoise) ? mt_lutxy( deintNoise, mcNoise, "x range_half - abs y range_half - abs > x y ? 0.6 * x y + 0.2 * +", U=CNmt1,V=CNmt1 ) : deintNoise
Line 862: CEed = (ChromaEdi == "")
I don't see any error message, just the lines that produced the error. Which program do you use to load the script? Have you tried AVSMeter?
dellsam34
31st July 2019, 08:53
I don't see any error message, just the lines that produced the error. Which program do you use to load the script? Have you tried AVSMeter?
I'm just using avs file with text commend in it.
I removed the 64bit version and installed the 32 bit version but for whatever reason it always defaults to the 64bit location and returns error to load the video, so I guess I have to make the 64 bit version working.
Edit:
When I use QTGMC V3.358 I get an error about lines 879 and 636 but when I use QTGMC V3.357 I get an error about lines 862 and 620, Anyone from the developers team please?
Groucho2004
31st July 2019, 08:56
I'm just using avs file with text commend in it.I have no idea what that means. Can't you just follow the advice given?
dellsam34
31st July 2019, 09:38
The more applications I install the deeper the rabbit hole goes, I'm following the procedure outlined in Avisynth website, Type in a script save it with the extension .avs and open it with vdub, it can't be any easier than that.
Groucho2004
31st July 2019, 09:42
Type in a script save it with the extension .avs and open it with vdub, it can't be any easier than that.Correct. I still don't know what the error message is. So far you have only posted the lines in the QTGMC script that caused the error.
I'm following the procedure outlined in Avisynth websiteWhich web site?
ChaosKing
31st July 2019, 10:02
I'm following the procedure outlined in Avisynth website
FYI http://avs-plus.net/ is outdated, this one is recommended https://github.com/pinterf/AviSynthPlus/releases
Download and install AviSynthPlus-MT-r2772-with-vc_redist.exe
dellsam34
31st July 2019, 10:04
Correct. I still don't know what the error message is. So far you have only posted the lines in the QTGMC script that caused the error.
After I hit ok on the error message vdub doesn't load a video just a grey window.
Which web site?
http://avisynth.nl/index.php/Main_Page
dellsam34
31st July 2019, 10:07
FYI http://avs-plus.net/ is outdated, this one is recommended https://github.com/pinterf/AviSynthPlus/releases
Download and install AviSynthPlus-MT-r2772-with-vc_redist.exe
Yes that's what I have.
Edit: I only downloaded the avisynth alone, do I have to download the vc-redist package ?
Groucho2004
31st July 2019, 10:14
After I hit ok on the error message vdub doesn't load a video just a grey window.Just run the script with AVSMeter.
Groucho2004
31st July 2019, 10:16
Yes that's what I have.
Edit: I only downloaded the avisynth alone, do I have to download the vc-redist package ?You have the correct Avisynth version and no, you don't need any redistributables once you installed the AIO (which you did).
dellsam34
31st July 2019, 10:18
I installed the MT-r2772 with VC_redist still the same error message about lines 879 and 636. What commends are used for basic de-interlacing? maybe the commend I'm using is wrong.
ChaosKing
31st July 2019, 10:24
I installed the MT-r2772 with VC_redist still the same error message about lines 879 and 636. What commends are used for basic de-interlacing? maybe the commend I'm using is wrong.
Does an avs file with just version() opens correctly in vdub?
And please RUN AVSMETER so we can help you ...
dellsam34
31st July 2019, 10:29
Just run the script with AVSMeter.
To be honest with you I don't know how to use AVSMeter, I just want to get the damn thing running error free, besides it is not like I'm the first one to use avs files on vdub, It should be a reason why I'm getting those errors and I'm pretty sure it has something to do with QTGMC or the commend I'm using.
dellsam34
31st July 2019, 10:31
Does an avs file with just version() opens correctly in vdub?
Yep, with no problems.
Groucho2004
31st July 2019, 10:34
After I hit ok on the error message vdub doesn't load a video just a grey window.Any chance you can post a screen shot of the error message before you hit OK?
dellsam34
31st July 2019, 10:37
Any chance you can post a screen shot of the error message before you hit OK?
I posted a screen shot in post #8
Groucho2004
31st July 2019, 10:42
I posted a screen shot in post #8That's not a screen shot. Also, why can't you use AVSMeter?
dellsam34
31st July 2019, 10:49
That's not a screen shot. Also, why can't you use AVSMeter?
I already told you I don't know how to use AVSMeter, As far as the screen shot I don't think the vdub background would be of any help but here it is anyway:
Groucho2004
31st July 2019, 10:55
I already told you I don't know how to use AVSMeterhttps://www.youtube.com/watch?v=RxXP0oNJh4Q
dellsam34
31st July 2019, 11:07
In the video he uses windows 10 I use windows 7, I still don't know how to make it work, When I click on the .exe file a window pops up and goes away quickly.
dellsam34
31st July 2019, 11:15
Ok I figured out how to run commend line, what should I type in it?
Groucho2004
31st July 2019, 11:17
Ok I figured out how to run commend line, what should I type in it?"AVSMeter yourscript.avs"
dellsam34
31st July 2019, 11:22
what script I'm looking at? Anyway I got "avsmeter is not recognized as an internal or an external commend"
Never mind, I forgot to type in avsmeter64
dellsam34
31st July 2019, 11:30
I moved my avs file to the same folder as avsmeter64 and typed in avsmeter64 videosource.avs it returned:
C:\Program Files (x86)\AviSynth+\plugins64+> avsmeter64 videosource.avs
AVSMeter 2.9.5 (x64) - Copyright (c) 2012-2019, Groucho2004
Cannot create "C:\Program Files (x86)\AviSynth+\plugins64+\AVSMeter.ini"
C:\Program Files (x86)\AviSynth+\plugins64+>
ChaosKing
31st July 2019, 11:42
I moved my avs file to the same folder as avsmeter64 and typed in avsmeter64 videosource.avs it returned:
C:\Program Files (x86)\AviSynth+\plugins64+> avsmeter64 videosource.avs
AVSMeter 2.9.5 (x64) - Copyright (c) 2012-2019, Groucho2004
Cannot create "C:\Program Files (x86)\AviSynth+\plugins64+\AVSMeter.ini"
C:\Program Files (x86)\AviSynth+\plugins64+>
You need to run it with admin rights, C:\Program Files (x86) is not writable by user. Or just move avsmeter and the avs to a different folder, like C:\test\ and try again
dellsam34
31st July 2019, 11:50
It returned the same message as vdub in post #27:
C:\Users\Mourad\Desktop>avsmeter64 videosource.avs
AVSMeter 2.9.5 (x64) - Copyright (c) 2012-2019, Groucho2004
AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)
System exception - Illegal Instruction
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 879)
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 636)
(C:\Users\Mourad\Desktop\videosource.avs, line 2)
lvqcl
31st July 2019, 12:01
It returned the same message as vdub in post #27:
BTW your attachment in post #27 is not approved yet, so nobody is able to see it (except moderators ofc).
pinterf
31st July 2019, 12:57
It returned the same message as vdub in post #27:
C:\Users\Mourad\Desktop>avsmeter64 videosource.avs
AVSMeter 2.9.5 (x64) - Copyright (c) 2012-2019, Groucho2004
AviSynth+ 0.1 (r2772, MT, x86_64) (0.1.0.0)
System exception - Illegal Instruction
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 879)
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 636)
(C:\Users\Mourad\Desktop\videosource.avs, line 2)
Could you paste some lines around line 879 from QTGMC.avsi?
Illegal Instruction means that a plugin does not support your processor. Either there are multiple versions of that DLL and you chose the wrong one (e.g. the DLL was compiled for using a modern AVX2 instruction set but your processor is an older one which supports only SSE 4.1), or that specific DLL has a bug.
Groucho2004
31st July 2019, 14:14
System exception - Illegal Instruction
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 879)
(C:/Program Files (x86)/AviSynth+/plugins64+/QTGMC.avsi, line 636)
(C:\Users\Mourad\Desktop\videosource.avs, line 2)[/CODE]
CPU: Intel(R) Core(TM)2 Duo CPU T9800 @ 2.93GHz / Penryn (Core 2 Duo) 6M
MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1
2 physical cores / 2 logical cores
[CPP 2.6 Plugins (64 Bit)]
C:\Program Files (x86)\AviSynth+\plugins64+\yadifmod2_avx2.dll [2016-07-04]
The culprit could be be either yadifmod2_avx2.dll or nnedi3.dll (or both).
So, remove both yadifmod2_avx2.dll and nnedi3.dll. Then, download jpsdr's nnedi3 (https://github.com/jpsdr/NNEDI3/releases) and use the DLL from the "x64\Release_W7" directory.
ChaosKing
31st July 2019, 14:34
I'd say yadifmod2_avx2.dll is the culprit. Remove it and try again.
Is it somehow possible to check if a dll supports (or expects) a certain instruction like avx2? Like a minimum requirement?
Groucho2004
31st July 2019, 14:40
Is it somehow possible to check if a dll supports (or expects) a certain instruction like avx2?Possible? Maybe. You'd have to run a disassembler on the image and check for the specific instructions. Also, that disassembler has to support those instructions. However, knowing if the instruction set is a requirement or an option may be very difficult to figure out.
ChaosKing
31st July 2019, 14:54
This is interessting https://gist.github.com/SleepProgger/d4f5e0a0ea2b9456e6c7ecf256629396
This scripts runs objdump and then looks for known "keywords" in here https://raw.githubusercontent.com/Shirk/vim-gas/master/syntax/gas.vim
EDIT "your" Despot32.dll
python cpu_features.py DeSpot32.dll
Running objdump
Found 151 ops
arm:
thumb:
push
add
adc
or
pop
sub
cmp
and
mul
mov
neg
pentium:
mmx:
pcmpeqd
paddd
punpcklbw
pand
psrld
psubd
pmaddwd
pslldq
psrlq
punpcklwd
por
psllq
psrad
psrldq
pxor
pslld
paddb
psubb
packuswb
packssdw
x64:
sse:
movd
mmx:
movq
sse2:
movq
katmai:
sse:
movaps
movups
mmx:
pminub
movntq
pmaxub
pinterf
31st July 2019, 14:58
Avisynth or any plugin which implements differently optimized code path for different CPU architectures can contain any instruction set, still they won't crash. AVX2 code will not be chosen for an SSE4-only machine.
Groucho2004
31st July 2019, 15:05
Avisynth or any plugin which implements differently optimized code path for different CPU architectures can contain any instruction set, still they won't crash. AVX2 code will not be chosen for an SSE4-only machine.It will crash if you hard-code the instruction set. For example, using the "-QxCORE-AVX2" Intel compiler switch will/may generate AVX2 instructions. However, using the "QaXNNNN" version will also generate a IA32 code path.
pinterf
31st July 2019, 15:14
Yep, there should be a minimum set which probably does not crash on 99.9% of computers used for video processing (which is now I think the level of SSE4.1 or so)
dellsam34
31st July 2019, 19:47
Lines 879 and 636 as shown in post 1 are:
Line 636: QTGMC_Interpolate( ediInput, InputType, EdiMode, NNSize, NNeurons, EdiQual, EdiMaxD, EdiThreads, bobbed, ChromaEdi )
Line 879: default( Fallback, Input.QTGMC_Bob( 0,0.5 ) )
So which filters and pluggins I'm suppose to download to my machine?
Groucho2004
31st July 2019, 20:09
Lines 879 and 636 as shown in post 1 are:
Line 636: QTGMC_Interpolate( ediInput, InputType, EdiMode, NNSize, NNeurons, EdiQual, EdiMaxD, EdiThreads, bobbed, ChromaEdi )
Line 879: default( Fallback, Input.QTGMC_Bob( 0,0.5 ) )
So which filters and pluggins I'm suppose to download to my machine?All you have to do is to follow my advice in post #38:
The culprit could be be either yadifmod2_avx2.dll or nnedi3.dll (or both).
So, remove both yadifmod2_avx2.dll and nnedi3.dll. Then, download jpsdr's nnedi3 (https://github.com/jpsdr/NNEDI3/releases) and use the DLL from the "x64\Release_W7" directory.
dellsam34
31st July 2019, 20:29
Ok, I removed avisynth from my computer and deleted all pluggings and I'm starting fresh, So let me know if anything goes wrong:
I first downloaded Avisynth+ r2772-MT, Then downloaded QTGMC v3.358s and put it in plugins64+ folder, After that I only downloaded the QTGMC core filters masktools2-v2.2.18, mvtools-2.7.41-with-depans, NNEDI3_v0_9_4_53, RgTools-0.97 and smdegrain.txt.
1- Masktools2-v2.2.18 has two options, with_dual_filter_signatures and normal x64, I chose normal x64 filter.
2- mvtools-2.7.41-with-depans has 3 filters in the x64 folder.
3- NNEDI3_v0_9_4_53 has a lot of folders in it so I picked up Release_Intel_W7_Core2_SSE4.2 folder - this seem to have solved the two lines error.
4- RgTools-0.97 has one x64 filter
5- Converted smdegrain.txt to smdegrain.avs in the default UTF-8 encoding (there are other options like ANSI)
I copied all the filters and put them in the C:\Program Files (x86)\AviSynth+\plugins64+ folder.
With this new install I'm getting an error message about line 437:
Line 437: planarClip = yuy2 ? clip.nonyuy2clipin(true) : clip
Groucho2004
31st July 2019, 20:46
Ok, I removed avisynth from my computer and deleted all pluggings and I'm starting fresh, So let me know if anything goes wrong:
I first downloaded Avisynth+ r2772-MT, Then downloaded QTGMC v3.358s and put it in plugins64+ folder, After that I only downloaded the QTGMC core filters masktools2-v2.2.18, mvtools-2.7.41-with-depans, NNEDI3_v0_9_4_53, RgTools-0.97 and smdegrain.txt.
1- Masktools2-v2.2.18 has two options, with_dual_filter_signatures and normal x64, I chose normal x64 filter.
2- mvtools-2.7.41-with-depans has 3 filters in the x64 folder.
3- NNEDI3_v0_9_4_53 has a lot of folders in it so I picked up Release_Intel_W7_Core2_SSE4.2 folder - this seem to have solved the two lines error.
4- RgTools-0.97 has one x64 filter
5- Converted smdegrain.txt to smdegrain.avs in the default UTF-8 encoding (there are other options like ANSI)
I copied all the filters and put them in the C:\Program Files (x86)\AviSynth+\plugins64+ folder.
With this new install I'm getting an error message about line 437:
Sigh.
1. You really have trouble following instructions. I specifically wrote to pick the nnedi3.dll from the "Release_W7" directory. Your CPU does not support SSE4.2.
2. Scripts have to be saved in Ansi encoding, not UTF-8.
3. Again, for the umphteenth time, "Line 437: planarClip = yuy2 ? clip.nonyuy2clipin(true) : clip" is not an error message.
dellsam34
31st July 2019, 20:50
All you have to do is to follow my advice in post #38:
Yes I tried both release W7 and Release_Intel_W7_Core2_SSE4.2 and both gave the same error message about line 437. But I'm on release_W7 now and I changed the txt file to ANSI coding but still getting "not error" on Line 437.
manolito
31st July 2019, 22:40
What a horrible nightmare... :devil:
Since every different script version requires matching plugin versions, why did nobody so far come up with the idea to upload AIO packages for different target systems? Like one 64-bit version for AVS+ 64, one 32-bit version for AVS 2.60 and AVS+ 32, and (maybe) a basic version for Win XP and a non-SSE2 CPU?
For the latter use case I do have an AIO package available (even Katie B. liked it), here is the link:
https://files.videohelp.com/u/172211/QTGMC%20for%20Win%20XP%20No-SSE2.zip
It is 32-bit only, so don't bother installing AVS+ 64. Just make sure that your VC++ redistributables are installed and remove all duplicate plugins from your "AviSynth\Plugins" folder (that's mainly mvtools, masktools and RGTools and needi). After doing this my package "just works".
Cheers
manolito
Groucho2004
31st July 2019, 23:15
but still getting "not error" on Line 437.That bit convinced me that I'm wasting my time. Use a gui like staxrip or similar.
Groucho2004
31st July 2019, 23:23
What a horrible nightmare... :devil:
Since every different script version requires matching plugin versions, why did nobody so far come up with the idea to upload AIO packages for different target systems? Like one 64-bit version for AVS+ 64, one 32-bit version for AVS 2.60 and AVS+ 32, and (maybe) a basic version for Win XP and a non-SSE2 CPU?
For the latter use case I do have an AIO package available (even Katie B. liked it), here is the link:
https://files.videohelp.com/u/172211/QTGMC%20for%20Win%20XP%20No-SSE2.zip
It is 32-bit only, so don't bother installing AVS+ 64. Just make sure that your VC++ redistributables are installed and remove all duplicate plugins from your "AviSynth\Plugins" folder (that's mainly mvtools, masktools and RGTools and needi). After doing this my package "just works".
50% nonsense and 50% bad advice and FUD. Congrats.
It's only a nightmare if you don't have a clue about Avisynth and are unable to read/understand simple instructions.
Also, nobody cares about your non-SSE2 stories. Only you and a sheep farmer in a remote village in Kazakhstan have non-SSE2 CPUs.
ChaosKing
31st July 2019, 23:48
Sigh.
2. Scripts have to be saved in Ansi encoding, not UTF-8.
Do they? I have several avs files in utf8 (and even unix line breaks) -> no problems.
real.finder
31st July 2019, 23:49
Do they? I have several avs files in utf8 (and unix line breaks) -> no problems.
That seems work in avs+
Groucho2004
1st August 2019, 00:18
That seems work in avs+Everything up to character code 127 is ASCII encoded in UTF-8. Try characters above that range.
Anyway, maybe pinterf implemented reading of UTF-8 encoded scipts and I missed it.
manolito
1st August 2019, 00:40
Also, nobody cares about your non-SSE2 stories. Only you and a sheep farmer in a remote village in Kazakhstan have non-SSE2 CPUs.
I love you, too... :mad::mad:
dellsam34
1st August 2019, 04:25
Groucho I followed every instruction you gave me, I'm not claiming I know Avisynth because if I did this thread would have never existed, I reported every error or message or whatever you want to call it to the best of my knowledge, If helping me became a pain to you sorry for the inconvenience, I'm not entitled to anyone's help but if someone wants to help I really do appreciate it.
dellsam34
1st August 2019, 04:27
What a horrible nightmare...
Indeed to just learn how to de-interlace a couple of videos.
pinterf
1st August 2019, 07:37
Everything up to character code 127 is ASCII encoded in UTF-8. Try characters above that range.
Anyway, maybe pinterf implemented reading of UTF-8 encoded scipts and I missed it.
AVISource, AVIFileSource, WAVSource, OpenDMLSource, Import and Subtitle can have an "utf8" boolean parameter.
In this case - though the script itself has to be in ansi encoding and cannot have utf8 BOM at the beginning of the file - the filename parameter or subtitle text is treated as a utf8 sequence. Thus one can open scripts or videos having unicode file name and path or display unicode text, such as seen in the example of Subtitle (http://avisynth.nl/index.php/Subtitle)
Groucho2004
1st August 2019, 07:51
AVISource, AVIFileSource, WAVSource, OpenDMLSource, Import and Subtitle can have an "utf8" boolean parameter.
In this case - though the script itself has to be in ansi encoding and cannot have utf8 BOM at the beginning of the file - the filename parameter or subtitle text is treated as a utf8 sequence. Thus one can open scripts or videos having unicode file name and path or display unicode text, such as seen in the example of Subtitle (http://avisynth.nl/index.php/Subtitle)Ah, I see. I do remember recently trying to load a script that had a UTF-8 BOM and it failed:
"UTF-8 source files are not supported, re-save script with ANSI encoding!"
dellsam34
1st August 2019, 08:51
I loaded the AnimeIVTC_v2.20.avsi plugin and that took care of the YUV2 Vdub error message, Now it's pointing to another line:
Line 494: srchClip = tv_range && !srchcheck ? srchClip.Dither_Luma_Rebuild(S0=Str,c=Amp,slice=false,lsb=lsb,uv=CMmt) : srchClip
real.finder
1st August 2019, 15:50
I loaded the AnimeIVTC_v2.20.avsi plugin and that took care of the YUV2 Vdub error message, Now it's pointing to another line:
Line 494: srchClip = tv_range && !srchcheck ? srchClip.Dither_Luma_Rebuild(S0=Str,c=Amp,slice=false,lsb=lsb,uv=CMmt) : srchClip
didn't you note this wiki http://avisynth.nl/index.php/QTGMC#Core_Plugins_and_scripts ?
edit: and btw, the 3.358 is not the last one, and the wiki not up-to-date but if you use 3.358 it will help you
dellsam34
1st August 2019, 21:04
didn't you note this wiki http://avisynth.nl/index.php/QTGMC#Core_Plugins_and_scripts ?
edit: and btw, the 3.358 is not the last one, and the wiki not up-to-date but if you use 3.358 it will help you
Yes I did, the first page I have read and downloaded the core plugins from, But I guess that's not accurate when they say I should be fine with just the core plugins when in fact I had to download more than that. I would be more than happy to pay for the product if they sell it and stand behind it rather than throw a half baked stuff out there for free that it requires an IT degree to get it working.
Yes I'm aware of 2 or three later versions but they have their own problems and I have no interest to dive into that.
videoh
1st August 2019, 21:28
I would be more than happy to pay Give me $250 and remote access to your machine and I will get it working for you. :)
Stereodude
1st August 2019, 21:40
I'll do it for $249.99...
Actually, no I wont.
Do you know how to use Google? A search for dither_luma_rebuild should point you in the right direction.
real.finder
1st August 2019, 21:50
I'll do it for $249.99...
Actually, no I wont.
Do you know how to use Google? A search for dither_luma_rebuild should point you in the right direction.
that how I was when I used avs first time, I didn't ask anyone but google :rolleyes:
and seems dellsam34 didn't read the wiki clearly since dither_luma_rebuild is part of SMDegrain :)
ChaosKing
1st August 2019, 22:17
You could use AVSRepoGUI https://github.com/theChaosCoder/VSRepoGUI/releases/download/v0.5/AVSRepoGUI.zip
It will download qtgmc (newest version) and most of its dependencies. Copy then all downlaoded files (see plugins+scripts folder) to your avs plugins folder.
Currently it's free but only for a limited time!!! After that only $245.95 xD
videoh
1st August 2019, 23:27
OP has a similar thread going at videohelp. I hope he is not mixing and matching advice.
https://forum.videohelp.com/threads/393820-Problems-With-QTGMC-Need-Help
real.finder
2nd August 2019, 00:10
5- Converted smdegrain.txt to smdegrain.avs
You should made it .avsi
And there are already .avsi here https://forum.doom9.org/showthread.php?p=1790702#post1790702
dellsam34
2nd August 2019, 05:28
I'll do it for $249.99...
Actually, no I wont.
Do you know how to use Google? A search for dither_luma_rebuild should point you in the right direction.
Give me $250 and remote access to your machine and I will get it working for you. :)
No thanks, my computer is just fine, If you have a kick ass de-interlacing software that you have developed yourself for sale PM me the link.
dellsam34
2nd August 2019, 05:31
You should made it .avsi
And there are already .avsi here https://forum.doom9.org/showthread.php?p=1790702#post1790702
I hope that's the trick because I did save it in .avs, I'll find out when I get home, Although I'm not holding my breath for it.
dellsam34
2nd August 2019, 08:28
Real.finder you finally found the last piece of the puzzle, Error message for line 494 is caused by a wrong extension, Finally no more error messages.
Vdub is rendering the video at 5 frames a second is this normal or my CPU is slow?
ChaosKing
2nd August 2019, 08:41
Real.finder you finally found the last piece of the puzzle, Error message for line 494 is caused by a wrong extension, Finally no more error messages.
Vdub is rendering the video at 5 frames a second is this normal or my CPU is slow?
congrats for finally making it work.
It depends on which resolution your video has, what functions+parameters you use and by some other factors... but yes your cpu is also slow.
dellsam34
2nd August 2019, 08:42
I was not impressed by my first de-interlacing job, a lot of motion blur, although I'm just using the basic QTGMC() commend, How do I really experiment with this since I can't monitor video in real time, What commends should I be looking for?
Here is the sample I was experimenting with, It's a S-VHS capture:
http://www.mediafire.com/file/j7caxovs7f7alea/500-USB_CAP.zip/file
.
ChaosKing
2nd August 2019, 11:18
this looks good to me
ffms2("500-USB S-Video Capture.avi")
QTGMC( Preset="Slow" )
SelectEven()
prefetch(2)
You should not compare your s-vhs capture (dvd res) with a full hd source. It will always look worse.
You could add prefetch(2) at the end of your script, it should give you a couple fps more.
dellsam34
3rd August 2019, 00:31
this looks good to me
ffms2("500-USB S-Video Capture.avi")
QTGMC( Preset="Slow" )
SelectEven()
prefetch(2)
You should not compare your s-vhs capture (dvd res) with a full hd source. It will always look worse.
You could add prefetch(2) at the end of your script, it should give you a couple fps more.
I don't do game captures from component so no HD for me, Most of my videos are VHS, Video8, Hi8, Betamax and Betacam SP captures, in either PAL or NTSC. I will be using QTGMC for the important ones (I have two videos for now) the rest I will just use Vdub/yadif output and call it a day.
I will try prefetch(2) and maybe rise up the number until I crash the system and go back to a working number.
kuchikirukia
5th August 2019, 13:22
Chaos, why would you ruin an interlaced encode with selecteven()? Do you turn your 24fps encodes into 12, too?
tebasuna51
6th August 2019, 00:34
Chaos, why would you ruin an interlaced encode with selecteven()? Do you turn your 24fps encodes into 12, too?
The QTGMC output is double framerate than input because make a complet frame from each field of interlaced frame.
If the input is 24 fps the QTGMC output is 48 fps, for that selecteven() when we want the same fps input.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.