View Full Version : Error when using avisynth-script with QTGMC in ffmpeg (worked before)
mbcd
3rd January 2020, 03:00
Some very strange error here.
Having an script, running fine in AvsPMod and also in VDub2, no problems at all.
Converted some files with it before with ffmpeg, did fine, but now I get an error (only with ffmpeg):
Error in MDegrain1 : mvbw's bit depth is incorrect
(c:/AvisynthRepository/AVSRepoGUI/PLUGINS32/QTGMC.avsi, line 675)
Info:
ffmpeg version git-2020-01-01-7b58702 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 38.100 / 56. 38.100
libavcodec 58. 65.100 / 58. 65.100
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.102 / 58. 9.102
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[avisynth @ 063f4300] Error in MDegrain1 : mvbw's bit depth is incorrect
(c:/AvisynthRepository/AVSRepoGUI/PLUGINS32/QTGMC.avsi, line 675)
And this in 2 separate projects, the other one did run all night long in batch, but now I get these messages converting with ffmpeg too. First file works, second file crashes. Restarting computer works, after restart it still converts the next first file, but crashes again at second file.
Does not make sense to me ... avisynth seems to work fine, files are not damaged and ffmpeg-executable did not change in both projects and in first project the sourcefile is still the same (script-testing). Without QTGMC it runs fine ...
So, why does it work in AvsPMod and VDub2, but no more with ffmpeg ? The message seems to come from avisynth, so ... ?????
:confused:
StainlessS
3rd January 2020, 03:35
Maybe post output clip colorspace, use Info, or Return Info or return ClipName.Info at end of script to show it, just post the colorspace name and bit depth as text, not the image
mbcd
3rd January 2020, 05:02
Found some interesting:
In one project it depends on preset used in QTGMC, but that is also strange ... because it worked with this preset for hours.
-----
Project 1 (overnight batch with sliced parts of same sourcefile (same format) (576i-> 720p)
- dont work with preset "slower" anymore, but still works with preset "slow".
Batch stopped at night, and since this point I have to reboot the computer for every new file I want to convert (with "slower"). It worked for almost hundreds of files with preset "slower". So here are no changes anywhere.
Interesting: Most files that not have been batched have a length of about 7 seconds (this are photos, so they supposed to be that short) or are short ones (only a few seconds). Some hours ago it converted files with some minutes of runlength. Seems that "slower" has a problem with shot clip-runlengths, but some hours ago this was not a problem with other short clips and preset "slower".
Now changed to "slow" and all clips left to process seem to work flawless.
Setting of QTGMC that worked for hours:
QTGMC(Preset="Slower", Sharpness=0.1, InputType=0, FPSDivisor=1, ShowSettings=False, NoiseProcess=1, NoiseRestore=0.5, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=4.0)
-----
Project 2 (test-project with still exact the same sourcefile) (1080i > 1080p)
- works with both "slow" and "slower", but not with "medium" or faster presets-> in ffmpeg
But I cant check here more atm, because project 1 is running in the background right now, have to wait until its finished.
Info for project 2, what QTGMC is directly feeded with:
YV12 8bits
1920x1080
FieldBase not separated
TFF
So I think it is some kind of memory problem (using 32 bits), but for project 1 which did not got any changes in script, filters or formats this does not make sense it suddenly stopped working and ran out of memory, also most clips left to process are shorter than 30 seconds and stills, so there is no movement, and also: first file works, but then no additional until you restart the computer. Or does QTGMC does not get enough analyze-info to run propper with "slower", so it uses a value that is out of range because the clip is to short to analyze ?
--------------------
Info to Project 2:
Tested with ffmpeg and x264, both show the same message, they behave exactly the same.
VDub2 and AvsPMod load script and both show it in preview and VDub2 also plays it (but VDub2 ran out of memory on converting)
The only presets that work (for x264 and ffmpeg) are "slow" and "slower", all faster presets in QTGMC (even "medium") throw this message.
So there seems to be some problems with the presets in QTGMC, or its analysis behind ...
StainlessS
3rd January 2020, 16:32
OK, post your QTGMC version, Real.Finder might need to take a look at it to see what is causing the problem (could be script or plugin or avs+ causing OMEM).
Good idea to post entire script, maybe a source filter problem.
If possible, convert to AVI, and see if same problem.
REM We DO NOT LIKE SPACES IN FILE NAMES (REM == REMark ie comment)
setlocal
REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"
REM Where to get input file, No terminating Backslash, "." = current directory (ie same as dir .bat file)
set INDIR="."
REM Where to place output file, No terminating Backslash. "." would be same as .bat file, ".\\OUT" = OUT folder in same directory as bat file.
set OUTDIR="D:"
REM Below, can add extensionas as eg *.WMV (SPACE separated)
FOR %%A IN (*.mp4 *.vob *.mpg *.TS *.MOV) DO (
REM ****** Un-REM ONLY one of below lines *******.
REM %FFMPEG% -i "%INDIR%\%%A" -vcodec copy -acodec copy "%OUTDIR%\%%~nxA.MKV"
REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec copy "%OUTDIR%\%%~nxA.MKV"
%FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI"
REM *********************************************.
)
REM ... Above UN-REM'ed lines :
REM (1) Remux, copy both video and audio (output MKV).
REM (2) UtVideo lossless video, copy audio (output MKV).
REM (3) UtVideo lossless video, PCM audio (output AVI).
Pause
Convert batch file, trying to reduce problem.
If VDub produces prob, then further fault find using VD only (no x264 encoder).
mbcd
28th February 2020, 21:34
Thank you very much for all that advices and your effort.
This is a hard one ... not reproduceable.
I could finish project 1 without having that problem again for the last few hundred files of that project.
But Ive had that message again on different other situations.
It looks like it has to do with the loading of a sourcefile.
I think there is function trying to grab the source-video while it is not yet ready.
I had this often after loading new sources.
In my actual batch on my old and slower harddrive it can happen that I get this error for the next e.g. 10 files in a row. It is a complete new script with different plugins an different orders of them, it is not compareable. I think this error comes directly from inside QTGMC, not from any of my scripts. Still with only a source and QTGMC running, this happens, so it doesnt matter if there are other plugins or not.
I am using QTGMC 3.363, by Vit, 2012, 2018 mod by A.SONY on AVS+ (x86)
This is my actual script:
LWLibavVideoSource(source="episode.mkv")
QTGMC(inputtype=0, preset="slow", Sharpness=1.15, Edithreads=4, FPSDivisor=1)
DeRainbow(thresh=2)
TemporalSoften(10, 2, 2, scenechange=5, mode=1)
Spline64ResizeMT(target_width=812, target_height=608)
WarpSharp(depth=40, threshold=30)
Sharpen(0.25, 0.25, MMX=True)
TurnRight().Santiag().TurnLeft()
Crop(22,16,-22,-16)
So after encoding a file it appears for the next 10 sourcefiles and the 11th starts normal.
A second run of the script after it encodes the 10 files that have been errored before.
I dont think I can do more.
real.finder
29th February 2020, 13:24
maybe it's bug in avs+ (in C API) or mvtools or even LWLibavVideoSource? QTGMC is just a scrpit use mvtools, masktools and others
can you test with ColorBars(width=1920, height=1080).converttoyv12() instead of LWLibavVideoSource?
mbcd
4th March 2020, 17:25
can you test with ColorBars(width=1920, height=1080).converttoyv12() instead of LWLibavVideoSource?
Dont worry, I wont do this, but I could kiss you now :p
This is the first time it is reproduceable.
I am using AvsPmod.
Loading the script is possible, I can see the colorbars.
BUT:
If I do a reload (F5) the error comes again, no bars, :
"MDegrain1: mvbw`s bit depth is incorrect ... QTGMS.avsi, line 675 ...
This happens now everytime, constantly reproduceable.
In the meantime I did a series with over 250 episodes. They worked fine with QTGMC in "slow".
Today I changed the series to a different one (but same sourcetype of PAL-DVD) and with exactly the same script I even cant load the first episode. Switching QTGMC to "fast" is the only way to get it work. But changing the sourcefilter to DirectShowSource will do the trick also (with QTGMC in "slow" or "slower") but it behaves as same as with Colorbars, on a refresh (F5) it still brings up the error. But if you change the actual frame that you want to show, you can have luck and it works again, sometimes, its not running stable.
AVSinfo:
AVSMeter 2.9.7 (x86), 2012-2019, Groucho2004
VersionString: AviSynth+ 3.4 (r2923, 3.4, i386)
VersionNumber: 2.60
File / Product version: 3.4.0.0 / 3.4.0.0
Interface Version: 6
Multi-threading support: Yes
Avisynth.dll location: C:\Windows\SysWOW64\avisynth.dll
Avisynth.dll time stamp: 2019-10-20, 09:25:02 (UTC)
PluginDir2_5 (HKLM, x86): C:\AvisynthRepository\AVSPLUS_x86\plugins
PluginDir+ (HKLM, x86): c:\AvisynthRepository\AVSRepoGUI\PLUGINS32
[C 2.5 Plugins (32 Bit)] [Version, Time stamp]
C:\AvisynthRepository\AVSPLUS_x86\plugins\yadif.dll [1.7.0.0, 2009-10-08]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\AvsInPaint.dll [1.2.0.0, 2019-12-26]
[CPP 2.5 Plugins (32 Bit)] [Version, Time stamp]
C:\AvisynthRepository\AVSPLUS_x86\plugins\AddGrainC.dll [0.1.2.0, 2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\avss.dll [x.x.x.x, 2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\aWarpSharp.dll [x.x.x.x, 2003-02-03]
C:\AvisynthRepository\AVSPLUS_x86\plugins\aWarpSharp2.dll [x.x.x.x, 2009-06-30]
C:\AvisynthRepository\AVSPLUS_x86\plugins\bifrost.dll [x.x.x.x, 2004-04-12]
C:\AvisynthRepository\AVSPLUS_x86\plugins\BlendBob.dll [x.x.x.x, 2004-07-31]
C:\AvisynthRepository\AVSPLUS_x86\plugins\blockbuster.dll [x.x.x.x, 2006-10-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\checkmate.dll [x.x.x.x, 2009-05-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ChromaShift.dll [x.x.x.x, 2003-11-04]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ColorMatrix.dll [2.5.0.0, 2009-01-25]
C:\AvisynthRepository\AVSPLUS_x86\plugins\De.dll [0.0.0.2, 2003-11-22]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Decomb.dll [x.x.x.x, 2013-02-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DeDup.dll [x.x.x.x, 2004-11-07]
C:\AvisynthRepository\AVSPLUS_x86\plugins\deen.dll [x.x.x.x, 2006-10-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\degrainmedian.dll [0.8.2.0, 2006-10-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\dfttest.dll [1.5.0.0, 2009-04-11]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DGDecode.dll [1.5.8.0, 2010-03-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FDecimate.dll [x.x.x.x, 2008-07-03]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ffms2.dll [x.x.x.x, 2010-10-03]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FieldHint.dll [x.x.x.x, 2011-05-24]
C:\AvisynthRepository\AVSPLUS_x86\plugins\frfun7.dll [x.x.x.x, 2006-05-07]
C:\AvisynthRepository\AVSPLUS_x86\plugins\gradfun2db.dll [x.x.x.x, 2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\GRunT.dll [x.x.x.x, 2008-09-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\hqdn3d.dll [x.x.x.x, 2005-01-25]
C:\AvisynthRepository\AVSPLUS_x86\plugins\LeakKernelDeint.dll [1.5.4.0, 2008-11-29]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MaskTools.dll [1.5.1.0, 2005-08-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Median.dll [x.x.x.x, 2016-01-16]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MipSmooth.dll [x.x.x.x, 2005-12-23]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MSharpen.dll [x.x.x.x, 2003-04-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Msmooth.dll [x.x.x.x, 2005-09-18]
C:\AvisynthRepository\AVSPLUS_x86\plugins\mt_masktools.dll [2.0.28.0, 2006-03-19]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MultiDecimate.dll [x.x.x.x, 2016-06-02]
C:\AvisynthRepository\AVSPLUS_x86\plugins\mvtools2.dll [2.5.10.0, 2009-11-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\NicAudio.dll [x.x.x.x, 2012-08-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\nnedi.dll [1.3.0.0, 2007-09-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\nnedi2.dll [1.4.0.0, 2009-07-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\PFR.dll [x.x.x.x, 2004-02-04]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ReMatch.dll [x.x.x.x, 2005-03-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\removeblend.dll [x.x.x.x, 2006-04-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\RemoveDirtS.dll [x.x.x.x, 2004-04-18]
C:\AvisynthRepository\AVSPLUS_x86\plugins\RemoveGrainS.dll [x.x.x.x, 2005-07-31]
C:\AvisynthRepository\AVSPLUS_x86\plugins\RepairS.dll [x.x.x.x, 2005-07-31]
C:\AvisynthRepository\AVSPLUS_x86\plugins\SangNom.dll [x.x.x.x, 2004-01-18]
C:\AvisynthRepository\AVSPLUS_x86\plugins\SmoothUV.dll [1.4.0.0, 2003-09-02]
C:\AvisynthRepository\AVSPLUS_x86\plugins\SoundOut.dll [1.1.1.0, 2007-10-15]
C:\AvisynthRepository\AVSPLUS_x86\plugins\svpflow1.dll [4.0.0.128, 2016-02-22]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TBilateral.dll [0.9.11.0, 2006-05-16]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TComb.dll [2.0.0.0, 2006-05-17]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TDeint.dll [1.1.0.0, 2016-06-14]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TemporalCleaner.dll [0.0.0.2, 2006-10-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TIsophote.dll [0.9.1.0, 2004-07-24]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TMM.dll [1.0.0.0, 2007-04-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TomsMoComp.dll [0.0.1.8, 2006-04-22]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Toon-v1.0.dll [x.x.x.x, 2007-11-24]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TTempSmooth.dll [0.9.4.0, 2005-11-17]
C:\AvisynthRepository\AVSPLUS_x86\plugins\UnDot.dll [0.0.1.1, 2003-01-18]
C:\AvisynthRepository\AVSPLUS_x86\plugins\UnFilter.dll [0.0.1.5, 2006-10-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\warpsharp.dll [x.x.x.x, 2003-11-03]
C:\AvisynthRepository\AVSPLUS_x86\plugins\WeaveMan.dll [x.x.x.x, 2013-12-08]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\amDCT.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\fft3dfilter.dll [2.1.1.0, 2011-04-18]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\LSMASHSource.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\Median.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\SmoothSkip.dll [2.0.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TDeint.dll [1.1.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\WarpSharp.dll [1.0.0.0, 2019-12-26]
[CPP 2.6 Plugins (32 Bit)] [Version, Time stamp]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ConvertStacked.dll [x.x.x.x, 2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DGDecodeNV.dll [2053.0.0.198, 2019-12-24]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DirectShowSource.dll [x.x.x.x, 2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ExactDeDup_x86.dll [0.6.0.0, 2019-02-15]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ExBlend_x86.dll [1.4.0.0, 2018-12-18]
C:\AvisynthRepository\AVSPLUS_x86\plugins\GetDups.dll [0.9.6.0, 2016-05-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ImageSeq.dll [x.x.x.x, 2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\modPlus.dll [x.x.x.x, 2018-09-17]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Shibatch.dll [x.x.x.x, 2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\svpflow2.dll [4.0.0.136, 2017-02-14]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TimeStretch.dll [x.x.x.x, 2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TIVTC.dll [1.0.10.0, 2018-01-19]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TMM2.dll [x.x.x.x, 2016-07-05]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TMM2_avx2.dll [x.x.x.x, 2016-07-05]
C:\AvisynthRepository\AVSPLUS_x86\plugins\VDubFilter.dll [x.x.x.x, 2019-10-20]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\Average.dll [0.94.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\AvsFilterNet.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\aWarpSharp.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\aWarpsharpMT.dll [2.1.2.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\CombMask.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\DCTFilter.dll [0.5.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\Deblock.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\Deflicker.dll [0.6.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\DelogoHD.dll [1.0.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\DePan.dll [2.13.1.4, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\DePanEstimate.dll [2.10.0.3, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\dfttest.dll [1.9.4.3, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\EEDI2.dll [0.9.2.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\eedi3.dll [0.9.2.3, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\FFT3dGPU.dll [0.8.4.0, 2020-01-02]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\FluxSmooth.dll [1.4.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\FrameRateConverter.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\HDRTools.dll [0.6.0.0, 2020-01-02]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\KNLMeansCL.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\LoadDLL32.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\masktools2.dll [2.2.18.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\MiniDeen.dll [1.0.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\msharpen.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\mvtools2.dll [2.7.41.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\neo-f3kdb.dll [1.0.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\nnedi3.dll [0.9.4.53, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\plugins_JPSDR.dll [3.2.0.0, 2020-01-02]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\PointSize_x86.dll [0.2.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\RemoveDirt.dll [0.9.2.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\RgTools.dll [0.98.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\SangNom2.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\Shader.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TCannyMod.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TCPDeliver.dll [0.2.0.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TEMmod.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TIVTC.dll [1.0.14.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\TMM2.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\variableblur.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\vinverse.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\VSFilter.dll [3.2.0.802, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\yadifmod2.dll [x.x.x.x, 2019-12-26]
[Scripts (AVSI)] [Time stamp]
C:\AvisynthRepository\AVSPLUS_x86\plugins\AA.avsi [2010-10-05]
C:\AvisynthRepository\AVSPLUS_x86\plugins\AnimeIVTC_2.00_2016.avsi [2016-10-14]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Antialiasing.avsi [2009-01-11]
C:\AvisynthRepository\AVSPLUS_x86\plugins\BlindDeHalo3_mt2.avsi [2006-03-22]
C:\AvisynthRepository\AVSPLUS_x86\plugins\cDeblend.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\CDeint.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\CleanSceneChange.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\colors_rgb.avsi [2019-10-20]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Deblend.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DeHalo_alpha.avsi [2006-05-12]
C:\AvisynthRepository\AVSPLUS_x86\plugins\DeRainbow.avsi [2020-01-13]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FastLineDarkenMod.avsi [2010-02-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FFMS2.avsi [2009-09-19]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FineSharp.avsi [2020-01-13]
C:\AvisynthRepository\AVSPLUS_x86\plugins\fixBlendIVTC.avsi [2016-08-02]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FixBlendVTC.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\FixChromaBleeding.avsi [2020-01-09]
C:\AvisynthRepository\AVSPLUS_x86\plugins\fx_unblendTC.avsi [2020-01-05]
C:\AvisynthRepository\AVSPLUS_x86\plugins\GradFun2DBmod.v1.3.avsi [2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\GradFun2DBmod.v1.5.avsi [2020-01-13]
C:\AvisynthRepository\AVSPLUS_x86\plugins\helperscripts.avsi [2010-02-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\InpaintDelogo.avsi [2019-09-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\InterFrame2.avsi [2015-05-21]
C:\AvisynthRepository\AVSPLUS_x86\plugins\IVTCBlend.avsi [2020-01-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\LSFmod.v1.9.avsi [2010-02-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\LUTDeCrawl-20081003.avsi [2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\LUTDeRainbow-20081003.avsi [2009-11-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MCBobUv6.avsi [2010-05-16]
C:\AvisynthRepository\AVSPLUS_x86\plugins\MCDegrainSharp.avsi [2017-10-01]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Rainbow_smooth.avsi [2019-12-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ResizeKAR.avsi [2020-01-02]
C:\AvisynthRepository\AVSPLUS_x86\plugins\RestoreSuper8Frames.avsi [2020-01-06]
C:\AvisynthRepository\AVSPLUS_x86\plugins\santiag.avsi [2020-01-05]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Shader.avsi [2019-12-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\SimpleSlugUpscale.avsi [2020-01-17]
C:\AvisynthRepository\AVSPLUS_x86\plugins\Srestore.avsi [2010-02-27]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TempGaussMC_beta2u.avsi [2010-05-16]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TemporalDegrain-v2.2.1.avsi [2019-02-24]
C:\AvisynthRepository\AVSPLUS_x86\plugins\TemporalDegrain.avsi [2009-12-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\ZoomBox.avsi [2020-01-03]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\DeHalo_alpha_MT2.avsi [2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\FrameRateConverter.avsi [2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\LSFmod.avsi [2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\QTGMC.avsi [2020-01-03]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\SMDegrain.avsi [2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\srestore.avsi [2019-12-26]
[Uncategorized DLLs (32 Bit)] [Version, Time stamp]
C:\AvisynthRepository\AVSPLUS_x86\plugins\libsndfile-1.dll [x.x.x.x, 2006-08-31]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\AutoOverlay_netautoload.dll [0.2.5.0, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\AutoOverlayNative.dll [x.x.x.x, 2019-12-26]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\libfftw3-3.dll [x.x.x.x, 2020-01-02]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\libfftw3f-3.dll [x.x.x.x, 2020-01-02]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\XySubFilter.dll [3.2.0.802, 2019-12-26]
real.finder
4th March 2020, 18:39
so the reproduceable script now is
ColorBars(width=1920, height=1080).converttoyv12()
QTGMC(inputtype=0, preset="slow", Sharpness=1.15, Edithreads=4, FPSDivisor=1)
DeRainbow(thresh=2)
TemporalSoften(10, 2, 2, scenechange=5, mode=1)
Spline64ResizeMT(target_width=812, target_height=608)
WarpSharp(depth=40, threshold=30) #WarpSharp(depth=40) in x64 since there are no threshold in it's version
Sharpen(0.25, 0.25, MMX=True)
TurnRight().Santiag().TurnLeft()
Crop(22,16,-22,-16)
right? then you need pinterf help since it maybe bug in avs+ or mvtools :)
anyway I did tried it with x64 of avs+ and it work fine!
mbcd
4th March 2020, 18:49
Does not need that much, this is still enough to reproduce it:
ColorBars(width=1920, height=1080).converttoyv12()
QTGMC(inputtype=0, preset="slow", Sharpness=1.15, Edithreads=4, FPSDivisor=1)
As said, it seems not to fail on some other plugins not "assigned" directly with QTGMC.
But this 2-line-script also only works with preset "slow" or "slower", with "fast" it doesnt even work for the first opening and shows directly this error, so generell: no colorbars seen with preset "fast".
I am using the 32-bit version, AVS+ in 64 is not even installed.
Line 676 is MDegrain (degrain2 = (TR1 > 1) ? edi.MDegrain1( ediSuper, bVec2,fVec2, thSAD=ThSAD1, thSCD1=ThSCD1,thSCD2=ThSCD2, lsb=lsb, out16=n16) : NOP() # 0.33 0.00 0.33 0.00 0.33):
# Use motion vectors to blur interpolated image (edi) with motion-compensated previous and next frames. As above, this is done to remove shimmer from
# alternate frames so the same binomial kernels are used. However, by using motion-compensated smoothing this time we avoid motion blur. The use of
# MDegrain1 (motion compensated) rather than TemporalSmooth makes the weightings *look* different, but they evaluate to the same values
# Create linear weightings of neighbors first -2 -1 0 1 2
degrain1 = (TR1 > 0) ? edi.MDegrain1( ediSuper, bVec1,fVec1, thSAD=ThSAD1, thSCD1=ThSCD1,thSCD2=ThSCD2, lsb=lsb, out16=n16) : NOP() # 0.00 0.33 0.33 0.33 0.00
degrain2 = (TR1 > 1) ? edi.MDegrain1( ediSuper, bVec2,fVec2, thSAD=ThSAD1, thSCD1=ThSCD1,thSCD2=ThSCD2, lsb=lsb, out16=n16) : NOP() # 0.33 0.00 0.33 0.00 0.33
degrain1 = (TR1 > 0) ? lsb ? degrain1.ditherpost(mode=6, slice=false) : n16 ? degrain1.ConvertTo8bit(dither=1) : degrain1 : degrain1
degrain2 = (TR1 > 1) ? lsb ? degrain2.ditherpost(mode=6, slice=false) : n16 ? degrain2.ConvertTo8bit(dither=1) : degrain2 : degrain2
# Combine linear weightings to give binomial weightings - TR1=0: (1), TR1=1: (1:2:1), TR1=2: (1:4:6:4:1)
binomial1 = (TR1 == 0) ? edi : \
(TR1 == 1) ? degrain1.Merge( edi, 0.25 ) : \
degrain1.Merge( degrain2, 0.2 ).Merge( edi, 0.0625 )
real.finder
4th March 2020, 19:01
Does not need that much, this is still enough to reproduce it:
ColorBars(width=1920, height=1080).converttoyv12()
QTGMC(inputtype=0, preset="slow", Sharpness=1.15, Edithreads=4, FPSDivisor=1)
As said, it seems not to fail on some other plugins not "assigned" directly with QTGMC. But this 2-line-script only work with preset "slow" oder "slower", with fast it doesnt even work for the "first" opening and show directly this error, so generell no colorbars seen with preset "fast".
I am using the 32-bit version, AVS+ in 64 is not even installed.
Line 676 is MDegrain (degrain2 = (TR1 > 1) ? edi.MDegrain1( ediSuper, bVec2,fVec2, thSAD=ThSAD1, thSCD1=ThSCD1,thSCD2=ThSCD2, lsb=lsb, out16=n16) : NOP() # 0.33 0.00 0.33 0.00 0.33):
tested again and it's work fine in avs+ 32 inside MP_Pipeline with avspmod 64
mbcd
4th March 2020, 19:15
Thank you very much for testing :thanks: :thanks:
I`ve contacted pinterf, maybe he can give some hints whats going wrong here.
Groucho2004
4th March 2020, 19:29
I`ve contacted pinterf, maybe he can give some hints whats going wrong here.No need to contact him, your problem is caused by overcrowded plugin directories.
Just a couple of examples that very likely cause your issue(s):
Very old version:
C:\AvisynthRepository\AVSPLUS_x86\plugins\ffms2.dll [x.x.x.x, 2010-10-03]
Multiple incompatible versions (most likely the old plugs are loaded first which also explains why QTGMC complains):
C:\AvisynthRepository\AVSPLUS_x86\plugins\MaskTools.dll [1.5.1.0, 2005-08-08]
C:\AvisynthRepository\AVSPLUS_x86\plugins\mt_masktools.dll [2.0.28.0, 2006-03-19]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\masktools2.dll [2.2.18.0, 2019-12-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\mvtools2.dll [2.5.10.0, 2009-11-08]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\mvtools2.dll [2.7.41.0, 2019-12-26]
C:\AvisynthRepository\AVSPLUS_x86\plugins\RemoveGrainS.dll [x.x.x.x, 2005-07-31]
c:\AvisynthRepository\AVSRepoGUI\PLUGINS32\RgTools.dll [0.98.0.0, 2019-12-26]
Remember, these are just examples I spotted after a brief look in that horrible mess. Clean up your plugin directories and add plugs (the most recent versions) as needed.
pinterf
4th March 2020, 19:54
Thanks Groucho2004, yes, a proper cleanup is needed there.
mbcd
4th March 2020, 21:43
Yeah, a mess you are right ... so this plugin-autoload is not going that well for avs, ok, I think the pluginsystem is not doing that well in case of version-handling (if there is any at all ...).
It would be nice if there is some indicator if a plugin method with same name is existing twice. You cant look inside those (maybe renamed) dlls, I think it would be a help to get some indicator if there are duplicated methods somewhere.
I guess there have been methods with same name but in different versions available in my case.
I do not know how this system works, or if a plugin has to register its methods or they are registered by loading a plugin. There should be a warning if something already exists.
Still cleaned up as AVSMETER showed some "conflicts" in earlier days, seems this is also not a 100% solution or indicator.
I changed to autoload, before I always loaded everything by hand ... never had that problems at that times. But interesting to see that those problems never end in same results. Changing a series immediately makes a script unloadable while it worked for weeks without problems.
I cleaned up everything now, its running (for the moment). I think that this error should never come back now, runs stable since last few tests.
Now organizing back to old schooldays ...
Thank you and sorry to Groucho2004 and pinterf. :goodpost:
Groucho2004
4th March 2020, 21:59
I think it would be a help to get some indicator if there are duplicated methods somewhere.That would be a nice feature and should not be too difficult to implement in the plugin enumeration. However, it will be difficult to determine if an already existing external function is from a newer plugin or not.
Thank you and sorryNo need to apologise.
real.finder
4th March 2020, 22:01
maybe this is the avs+ problem you mean https://github.com/pinterf/AviSynthPlus/issues/11#issuecomment-463595150
old vanilla AviSynth not load unused plugin unlike avs+ but vanilla AviSynth has annoying 50 plugins active limit, avs+ did good thing by remove that limit but it also remove "let's the plugin do any AddFunction calls it wants then unloads the .dll and flags those functions for reload on use." https://forum.doom9.org/showthread.php?p=1641891#post1641891
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.