Hi everyone,
so I just tried using QTGMC in Avisynth+ with a DV-Codec avi, despite this .avi already being deinterlaced. I found the result to be quite good as QTGMC reduced the noise. Does anyone have experience with this? I always thought of QTGMC only being a tool to deinterlace an interlaced video and not a tool to decrease noise. Is there perpahps even a better way to denoise a DV-codec avi? Thanks!
Bermuda1
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 15 of 15
Thread
-
-
QTGMC is often use to reduce noise in progressive video. Especially inter-line twitter from a prior bad deinterlace, oversharpening. Use InputType=(1,2,3), or bad scaling. It also has more traditional noise reduction features for removing grain. An example:
Code:QTGMC(InputType=2, EZDenoise=1.0, DenoiseMC=true) # horizontal edge stabilization and grain reduction
Code:QTGMC(InputType=2).TurnRight().QTGMC(InputType=2).TurnLeft() # horizontal edge stabilization and vertical edge stabilization
Last edited by jagabo; 28th Sep 2024 at 17:00.
-
I am getting the following error in Avisynth+
"libfftw3f-3.dll or fftw3.dll not found. Please put in PATH or use LoadDll() plugin"
I dont see how that makes sense as both dlls are already in the SysWow64 folder and I even copied the libfftw3f-3.dll file into the system32 folder. I needed them for my QTGMC script.
Before getting that error, I had to get the FFT3DFilter - which also worked fine.
Any idea how to fix this issue? Thanks. -
Apply the second option in the error message: "use LoadDll() plugin"
-
I tried it, not working, same error...
Code:LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64+\LoadDll64.dll") LoadDLL("C:\Windows\SysWOW64\libfftw3f-3.dll") LoadDLL("C:\Windows\SysWOW64\fftw3.dll") SetFilterMTMode("QTGMC", 2) AviSource("1997_Weihnachten_Silvester_011.avi") AssumeTFF() QTGMC(preset="Slower", InputType=2, EZDenoise=1.0, DenoiseMC=true, EdiThreads=2) Crop(14,2,-28,-16) Prefetch(2)
Last edited by Bermuda1; 29th Sep 2024 at 05:40.
-
try to remove the needed DLLs in the Windows system directories, download them again, place them elsewhere and use loadDll()
Example:
Code:# plugins directory plugins_dir="C:\Users\giuse\Documents\VideoSoft\MPEG\AviSynth\extFilters\" # FFT3DFilter loadPlugin(plugins_dir + "FFT3dFilter-v2.6\x86\fft3dfilter.dll") # FFTW loadPlugin(plugins_dir + "LoadDll\LoadDll.dll") loadDll(plugins_dir + "fftw-3.3.5-dll32\libfftw3f-3.dll")
-
I even copied the libfftw3f-3.dll file into the system32 folder. I needed them for my QTGMC script.
Upzip the attachment and put the files where the folders say to. I can vouch for the safety of the zip; Windows may block the download.
In a nutshell, the 32bit versions are 2336KB and must be in the C:\Windows\SysWOW64 folder. The 64bit versions are 2708KB and must be in the C:\Windows\System32 folder ("must" unless you're using LoadDLL). -
@lollo @Alwyn
Thanks to both of you. Works now. Will now run the scripts and give it a try. -
Excellent! Both methods are ok. When you specify the load in the script you have immediate visibility of what is loaded in term of plugins and version, in case you need/want to change something, without searching/looking/editing in the folders. On the other hand, placing the plugins and the DLLs in the folders avoid you to repeat in each script the load command, but hiding somehow the operations. Both methods have pros and cons, choose whteber you prefere.
-
BTW, in term of "pure" denoise/degrain of progressive sources there are better options then QTGMC, which is excellent in fixing other issues as jagabo already explained.
-
TemporalDegrain
TemporalDegrain2
MDegrain
MCTemporalDenoise
SMDegrain
KNLMeansCL
NLMeans (spatial denoiser) + MDegrain (temporal denoiser), or in general any combination of prefiltering with a spatial denoiser and then a temporal denoiser (effectiveness strongly depends on the source)
... -
So I tried this. The noise reduction is really great, however, compared to InputType=0 (or just not changing anything), I see two difference which are not great: For one, I only get the original 25fps, which is OK, but 50pfs just looks better on modern TV, and secondly, albeit less noisy now, I start seeing interlacing again (see screenshot comparison attached - look at the glass on the bottom).
Same result using InputType=1. -
Those examples were simply meant as ways QTGMC can be used. Not specifically for your video. InputType 2 and 3 are for progressive frames, no deinterlacing is performed. Single rate deinterlacing is usually for progressive material that was encoded interlaced. If you use it on true interlaced video you lose half the motion smoothness. And yes, there are better filters for general noise reduction than QTGMC. Especially for heavy noise. I wouldn't use EZDenoise values much greater than 1.0 for most material -- you start getting ghosting and smearing artifacts during motion.
-
Ok, thanks, I will try around a little and use the recommendations by @lollo and see what best suits me
Similar Threads
-
Applying Scripts
By Sound Master in forum Newbie / General discussionsReplies: 9Last Post: 4th Apr 2024, 16:46 -
AVI to MPEG2 with AviSynth and QTGMC
By theseeker2 in forum Video ConversionReplies: 6Last Post: 2nd Apr 2024, 20:14 -
Qtgmc-GUI. A simple encoder for your Qtgmc scripts.
By ProWo in forum Video ConversionReplies: 17Last Post: 4th Mar 2023, 02:01 -
Getting subtitles from Youtube and applying them to a video
By snafoo in forum SubtitleReplies: 2Last Post: 23rd Dec 2021, 00:39 -
ffmpeg not applying all commands
By tors10 in forum Video ConversionReplies: 3Last Post: 2nd Mar 2021, 02:26