Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#221 | Link | |
|
Registered User
Join Date: Dec 2003
Posts: 155
|
Quote:
SetFilterMTMode("DEFAULT_MT_MODE", 2) SetFilterMTMode("DGDecode_mpeg2source", 3) DGDecode_mpeg2source(...) AssumeTFF() ColorMatrix(hints=true, threads=0) QTGMC(Preset="Slow") Prefetch(4) Is it possible to tweak better for performance? |
|
|
|
|
|
|
#222 | Link | |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Most importantly, higher CPU usage doesn't necessarily mean better performance and/or efficiency.
__________________
Groucho's Avisynth Stuff |
|
|
|
|
|
|
#223 | Link |
|
Registered User
Join Date: Sep 2012
Posts: 366
|
For whoever it may concern:
BUG (or at least an inconsistency) Code:
EdiQual = (EdiMode == "NNEDI3" && EdiQual > 2 ) ? 2 : EdiQual # Smaller range for EdiQual in NNEDI3 Code:
(EdiMode == "EEDI3+NNEDI3") ? Input.EEDI3( field=-2, mdis=EdiMaxD, threads=EdiThreads, U=CEed,V=CEed, \
sclip=Input.NNEDI3( field=-2, nsize=NNSize, nns=NNeurons, qual=EdiQual, threads=EdiThreads, U=CEed,V=CEed ) ) : \
Last edited by tebasuna51; 21st April 2017 at 12:45. |
|
|
|
|
|
#224 | Link | |
|
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
|
Quote:
__________________
See My Avisynth Stuff Last edited by tebasuna51; 21st April 2017 at 12:45. |
|
|
|
|
|
|
#225 | Link |
|
Registered User
Join Date: Dec 2011
Posts: 6
|
OK, so having spent several hours messing around through Google and not being able to get it to work, hopefully someone here can help me.
I'm encoding VHS/Super8 rips of old home movies, and looking to properly deinterlace them, so I'd like to get QTGMC working. I'm using megui (dev updates), and not trying to use multithreading. I've used Megui for years, but haven't really messed around with external filters/plugins before. My AviSynth Script Creator template looks like: Code:
SetMemoryMax(1024) <input> <crop> <resize> QTGMC( Preset="Slow" ) <denoise> Code:
SetMemoryMax(1024)
LoadPlugin("C:\Megui\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("C:\encoding test\test2.avi")
#crop
#resize
QTGMC( Preset="Slow" )
#denoise
Code:
'LoadPlugin("C:\Megui\tools\avs\plugins\SSE2Tools.dll")' gives:
AviSynth script error:
LoadPlugin: unable to load "C:\Megui\tools\avs\plugins\SSE2Tools.dll", Module not found.
Install missing library?
Code:
Avisynth script error: Script error: there is no function named "Interleaved2Planar" (QTGMC.avsi, line 350) Code:
The file C:\encoding test\test2.avi\test2.avs cannot be opened. Please make sure it's a valid AviSynth script and that AviSynth is properly installed Error message for your reference: Can't read the video stream From the OP in this thread From http://avisynth.nl/index.php/QTGMC Troubleshooting from http://forum.doom9.org/showthread.ph...48#post1485948 Troubleshooting from http://forum.videohelp.com/threads/3...eird-artifacts Troubleshooting from https://www.vegascreativesoftware.in...-84017/?page=3 etc... Files in my plugin folder: Code:
AddGrainC.dll colors_rgb.avsi dfttest.dll DirectShowSource.dll EEDI2.dll eedi3.dll FFT3DFilter.dll fftw3.dll libfftw3f-3.dll masktools2.dll mvtools2.dll nnedi.dll nnedi2.dll nnedi3.dll QTGMC.avsi RemoveGrainSSE2.dll RepairSSE2.dll SSE2Tools.dll SSE3Tools.dll SSETools.dll TCPDeliver.dll TDeint.dll VerticalCleanerSSE2.dll yadif.dll I am using the built-in avisynth (2.6); I have an external AviSynth with the same plugins in the folder, but the current MeGui doesn't appear to have an option to force usage of the external AviSynth. And yes, MeGUI works fine if I remove the 'QTGMC( Preset="Slow" )' Any help would be much appreciated, as I've pretty much exhausted my troubleshooting abilities and will have to settle for standard YADIF if someone here can't help me. |
|
|
|
|
|
#226 | Link | |
|
Registered User
Join Date: Oct 2014
Posts: 478
|
Quote:
Also you can replace removegrain and repair with rgtools. |
|
|
|
|
|
|
#227 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,410
|
SSE2tools requires MSVCR71.dll from VS 2003 Dot Net I think. (EDIT not sure about the other versions of SSETools)
see here:- http://forum.doom9.org/showthread.ph...ll#post1781169 EDIT: And you only need one of the SSETools (I'de choose SSE2) in your plugs folder.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 28th December 2016 at 17:14. |
|
|
|
|
|
#228 | Link |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
By the way, ricktendo's AIO also installs these DLLs (msv*70.dll, msv*71.dll).
__________________
Groucho's Avisynth Stuff |
|
|
|
|
|
#229 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,410
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
|
|
|
|
|
#230 | Link |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Don't think so. These were included the first time I used it (last year?).
__________________
Groucho's Avisynth Stuff |
|
|
|
|
|
#231 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,410
|
Thank you G2K4, guess I can now get rid of my vs 2002 and vs 2003 suppositories
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
|
|
|
|
#233 | Link | |
|
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
A sticky in the Avisynth usage forum with the current recommended plugins may be a good idea.
__________________
Groucho's Avisynth Stuff |
|
|
|
|
|
|
#234 | Link |
|
Registered User
Join Date: Dec 2011
Posts: 6
|
Solved! Thank everyone for their help, I never would have been able to do it without you!
All msvcr requirements are installed in system. RemoveGrain & Repair replaced with RGTools SSE & SSE3 removed (had added as several troubleshooting threads as linked said that they resolved issues for the posters) Yes, all plugins are in "C:\Megui\tools\avs\plugins" It has no trouble loading RGTools.dll or QTGMC.avsi, in the same folder. The original issue is resolved, however now: Code:
AviSynth script error: mt_makediff: unsupported colorspace. masktools only support planar YUV colorspaces (YV12, YV16, YV24) (QTGMC.avsi, line 776) (QTGMC.avsi, line 386) New config: Code:
LoadPlugin("C:\Megui\tools\avs\plugins\RgTools.dll")
SetMemoryMax(1024)
<input>
<crop>
<resize>
QTGMC( Preset="Slow" )
<denoise>
Using Masktools2.dll from http://avisynth.nl/index.php/MaskTools2 (x86 version) Also tried mt_masktools-25.dll and mt_masktools-26.dll (each time, removing other masktools versions and trying it with only the target in the plugin directory) Edit: <SOLVED> via inserting "ConvertToYV12(interlaced=true)" before calling QTGMC: Code:
LoadPlugin("C:\Temp Programs\Megui\tools\avs\plugins\RgTools.dll")
SetMemoryMax(1024)
<input>
<crop>
<resize>
ConvertToYV12(interlaced=true)
QTGMC( Preset="Slow" )
<denoise>
Last edited by tsftd; 29th December 2016 at 05:44. |
|
|
|
|
|
#235 | Link |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
|
Oh, you wrote "VHS"; so we should have assumed that your source filter returned YUY2 instead of YV12? Well, yes, QTGMC may support YUY2, but with some quirks. And the latest versions just try to substitute the slower "packed pixel" format YUY2 with the faster "planar" format YV16, available in AviSynth 2.6 or AviSynth+.
|
|
|
|
|
|
#236 | Link |
|
Registered User
Join Date: Mar 2003
Location: Germany
Posts: 215
|
dfttest internal dither instead of ditherpost
I have made some tests and it appears to me that the internal dither of dfttest is significantly faster (~10%) than the construct currently used in version 3.34 with lsb and ditherpost.
Are there any side effects or why isn't it beeing used? |
|
|
|
|
|
#237 | Link |
|
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,685
|
don't know which QTGMC you use but in my edit if you didn't set lsbd=true then it will work with internal dither
__________________
See My Avisynth Stuff |
|
|
|
|
|
#238 | Link |
|
Registered User
Join Date: Sep 2012
Posts: 366
|
Ideas:
1: Black and White mode. There are a bunch of "ignore chroma" settings that all need to be set independently. It would be easier if you could just say it once and have the script itself apply all the necessary settings. Plus, there doesn't seem to be any way of disabling Chroma EDI completely. The lowest setting is "Bob" and for black and white, even that is overkill. 2: Search Presets. It should default to the same as the main preset, but search results can be shared across instances. If you don't write in the exact same settings for each instance of QTGMC the search settings are rejected and the script aborts. If you run something like srestore with an incredibly slow preset for final output and an incredibly fast preset for detection, the motion detection results can't be shared across the two instances without writing in a bunch of manual overrides. |
|
|
|
|
|
#239 | Link | |
|
Registered User
Join Date: Mar 2003
Location: Germany
Posts: 215
|
Quote:
Code:
dnwindow = (Denoiser == "dfttest") && (NoiseProcess != 0) && lsbd ? dnWindow.ditherpost(mode=6, U=ChromaNoise?3:2, V=ChromaNoise?3:2, slice=false) : dnWindow What I mean is replacing the following code (starting at line 496): Code:
dnWindow = (NoiseProcess == 0) ? NOP() : \
(Denoiser == "dfttest") ? noiseWindow.dfttest( Y=true, U=ChromaNoise, V=ChromaNoise, sigma=Sigma*4, tbsize=noiseTD, threads=DftThreads, lsb=lsbd ) : \
(Denoiser == "KNLMeansCL") ? KNLMeansCL( lsbd ? noiseWindow.Dither_convert_8_to_16() : noiseWindow, d=NoiseTR, h=Sigma, lsb_inout=lsbd, device_type="GPU") : \
IsYV12(noiseWindow) ? noiseWindow.FFT3DFilter( plane=(ChromaNoise ? 4 : 0), sigma=Sigma, bt=noiseTD ) : \
noiseWindow.ConvertToYUY2().FFT3DFilter( plane=(ChromaNoise ? 4 : 0), sigma=Sigma, bt=noiseTD ).ConvertToYV16()
dnwindow = (Denoiser == "dfttest") && (NoiseProcess != 0) && lsbd ? dnWindow.ditherpost(mode=6, U=ChromaNoise?3:2, V=ChromaNoise?3:2, slice=false) : dnWindow
dnwindow = (Denoiser == "KNLMeansCL") && (NoiseProcess != 0) && lsbd ? dnWindow.ditherpost(mode=6, U=ChromaNoise?3:2, V=ChromaNoise?3:2, slice=false) : dnWindow
Code:
dnWindow = (NoiseProcess == 0) ? NOP() : \
(Denoiser == "dfttest") ? noiseWindow.dfttest( Y=true, U=ChromaNoise, V=ChromaNoise, sigma=Sigma*4, tbsize=noiseTD, threads=DftThreads, dither=lsbd ) : \
(Denoiser == "KNLMeansCL") ? KNLMeansCL( lsbd ? noiseWindow.Dither_convert_8_to_16() : noiseWindow, d=NoiseTR, h=Sigma, lsb_inout=lsbd, device_type="GPU") : \
IsYV12(noiseWindow) ? noiseWindow.FFT3DFilter( plane=(ChromaNoise ? 4 : 0), sigma=Sigma, bt=noiseTD ) : \
noiseWindow.ConvertToYUY2().FFT3DFilter( plane=(ChromaNoise ? 4 : 0), sigma=Sigma, bt=noiseTD ).ConvertToYV16()
dnwindow = (Denoiser == "dfttest") && (NoiseProcess != 0) && lsbd ? dnWindow : dnWindow #noop since dithering already done by dfttest internally
dnwindow = (Denoiser == "KNLMeansCL") && (NoiseProcess != 0) && lsbd ? dnWindow.ditherpost(mode=6, U=ChromaNoise?3:2, V=ChromaNoise?3:2, slice=false) : dnWindow
|
|
|
|
|
|
|
#240 | Link | |
|
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,439
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|