Looking for an example of working script, quality over speed, and advice for settings.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 23 of 23
Thread
-
Last edited by Sandfly; 18th Nov 2022 at 01:07.
-
From http://avisynth.nl/index.php/QTGMC:
Here's a realistic example. This simple script repairs progressive material with very bad deinterlacing artefacts. It needs two calls to QTGMC:
t = QTGMC( Preset="Slower", InputType=2 )
b = QTGMC( Preset="Slower", InputType=3, PrevGlobals="Reuse" ) # Reuse motion vectors from first call for a good speed-up
Repair( t, b, 1 )Last edited by joearmstrong; 18th Nov 2022 at 02:45.
-
I was just curious if this repair function worked.
Plenty of material to test on, more interested in understanding setting?
Sorry, I am not smart with this code stuff.
I seen your post but do not know what it means.
Which bit do I need and what are these options doing?
Is the code above accepting 2 types of input, what is the 1 doing?
Thanks -
InputType=2,3 are designed for badly deinterlaced material with considerable horizontal artefacts. These modes drop half the fields and recreate an interlaced stream from the others, which is then treated in the normal way. Mode 3 differs from mode 2 only in that it complements field parity of the input. Generally mode 1 will retain more detail, but repair less artefacts than modes 2,3. You may consider setting TR2 to a higher value (e.g. 2 or 3) when repairing progressive material.
SourceMatch and Lossless modes are supported for progressive material. It works well for InputType=2,3, where the input is converted to an interlaced stream, and helps in detail retention. Source-match is much less useful for InputType=1
InputType (0,1,2,3) Default = 0 for interlaced input. Settings 1,2 & 3 accept progressive input for deshimmer or repair. Frame rate of progressive source is not doubled. Mode 1 is for general progressive material. Modes 2 & 3 are designed for badly deinterlaced material. Default: 0
ProgSADMask (0.0...) Only applies to InputType=2,3. If ProgSADMask > 0.0 then blend InputType modes 1 and 2/3 based on block motion SAD. Higher values help recover more detail, but repair less artefacts. Reasonable range about 2.0 to 20.0, or 0.0 for no blending. Default: 10.0 (0.0 for "Fast" and faster.)
Examples
QTGMC( Preset="Slower", InputType=1 ) # Process progressive source, it will be temporally smoothed / deshimmered
QTGMC( Preset="Slower", InputType=2, ProgSADMask=12.0 ) # Process progressive source with major artefacts, slightly favoring detail over repairs -
-
-
I've also had a video with interlaced artifacts in the past. The setting I posted worked fine for me. I haven't tried other settings yet.
-
-
I do not get how you can copy that and get anything to happen?
My understanding is it should be like this:
QTGMC( Preset="Slower", InputType=2 )
Why is there t= and b= in a working example.
What is Repair( t, b, 1 )
Why is this under the t =, b = lines?
Just example as used in script?Last edited by Sandfly; 18th Nov 2022 at 11:01.
-
What is Repair( t, b, 1 )
http://avisynth.nl/index.php/RemoveGrain_v0.9/Repair/Repair -
-
Yes, I loaded QTGMC with all plugins in my avisynth script, then I just used the example and it was working fine for my badly deinterlaced video.
My avisynth script is looking like this:
LoadPlugin("C:\Users\Downloads\dgdecnv_243\DGDecod eNV.dll")
LoadPlugin("C:\Users\Downloads\QTGMC\DePan.dll")
LoadPlugin("C:\Users\Downloads\QTGMC\DePanEstimate .dll")
LoadPlugin("C:\Users\Downloads\QTGMC\fft3dfilter.d ll")
LoadPlugin("C:\Users\Downloads\QTGMC\KNLMeansCL.dl l")
LoadPlugin("C:\Users\Downloads\QTGMC\masktools2.dl l")
LoadPlugin("C:\Users\Downloads\QTGMC\mvtools2.dll" )
LoadPlugin("C:\Users\Downloads\QTGMC\nnedi3.dll")
LoadPlugin("C:\Users\Downloads\QTGMC\RgTools.dll")
LoadPlugin("C:\Users\Downloads\QTGMC\TDeint.dll")
LoadPlugin("C:\Users\Downloads\QTGMC\yadifmod2.dll ")
Import("C:\Users\Downloads\QTGMC\QTGMC.avsi")
Import("C:\Users\Downloads\QTGMC\SMDegrain.avsi")
Import("C:\Users\Downloads\QTGMC\Zs_RF_Shared.avsi ")
DGSource("D:\Film\Film.dgi")
ConvertBits(8)
t = QTGMC( Preset="Slower", InputType=2 )
b = QTGMC( Preset="Slower", InputType=3, PrevGlobals="Reuse" )
Repair( t, b, 1 )
Did you load all required plugins in your avisynth script?Last edited by joearmstrong; 18th Nov 2022 at 12:31.
-
All plugins are in the folder and load automatically with QTGMC.
Thanks for the example, it had me stumped.
How am I going below?
File: QTGMC.avs
Import(C:\Program Files (x86)\AviSynth+\plugins+\QTGMC.avsi)
t = QTGMC( Preset="Slower", InputType=2 )
b = QTGMC( Preset="Slower", InputType=3, PrevGlobals="Reuse" )
Repair( t, b, 1 )Last edited by Sandfly; 18th Nov 2022 at 12:51.
-
You didn't load the video in your script.
In my example:
DGSource("D:\Film\Film.dgi")
If video and all plugins are loaded it should work. -
Where's the sample davexnet asked for? Any requests for help should always be accompanied by untouched samples. 10 seconds or so showing the problem will be plenty.
-
There is a problem with people who demand a specfic problem.
Hope you get better soon -
Out of curiousity, why is your clip convert to 8 bit?
Given this is for Progressive Videos, a clip could be converted to Lagarith to load with AVISource.
Import("C:\Program Files (x86)\AviSynth+\plugins+\QTGMC.avsi")
AVISource("C:\vid.avi")
t = QTGMC( Preset="Slower", InputType=2 )
b = QTGMC( Preset="Slower", InputType=3)
Repair( t, b, 1 ) -
-
Yes manono, leave him alone
-
"interlacing artifacts on progressive video"
I can think of a dozen different things which that might mean, and each of those dozen requires a different solution. It is totally and completely impossible to provide any sort of solution without a better understanding of what you are seeing. -
This is what I use.
The idea was to remove interlace left on progressive video with the minimum of de-noise function.
Cleaning being done with other processing!
Import("C:\Program Files (x86)\AviSynth+\plugins+\QTGMC.avsi")
DirectShowSource("C:\video.avi")
#ConvertToYV12
t = QTGMC( Preset="Placebo", InputType=2, SourceMatch=3, Lossless=2, NoiseProcess=2, GrainRestore=0.4, NoiseRestore=0.15, Sigma=1.8, NoiseDeint="Generate", StabilizeNoise=true )
b = QTGMC( Preset="Placebo", InputType=3, SourceMatch=3, Lossless=2, NoiseProcess=2, GrainRestore=0.4, NoiseRestore=0.15, Sigma=1.8, NoiseDeint="Generate", StabilizeNoise=true )
Repair( t, b, 1 )
#PrevGlobals="Reuse"Last edited by Tom4; 9th May 2023 at 22:11.
Similar Threads
-
Repair bad de-interlacing on a progressive video?
By Strift in forum CapturingReplies: 17Last Post: 14th May 2022, 14:46 -
Best way to fix these interlacing artifacts from progressive source?
By sebastiaaan in forum RestorationReplies: 13Last Post: 9th Jul 2021, 21:35 -
Interlaced Artifacts on Progressive Video?
By TheKCVault in forum Newbie / General discussionsReplies: 3Last Post: 28th Apr 2021, 18:52 -
Avisynth fix Chroma artifacts in PAL DVD CGI cartoon
By Wizard81 in forum RestorationReplies: 1Last Post: 11th Oct 2018, 11:47 -
Video artifacts - De-interlacing.
By shans in forum Video ConversionReplies: 20Last Post: 22nd Sep 2018, 09:50