VideoHelp Forum
+ Reply to Thread
Results 1 to 23 of 23
Thread
  1. Looking for an example of working script, quality over speed, and advice for settings.
    Last edited by Sandfly; 18th Nov 2022 at 01:07.
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    It depends on the severity. Can you post a sample?
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Originally Posted by joearmstrong View Post
    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 )
    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
    Quote Quote  
  5. 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
    Quote Quote  
  6. Should it be:
    Repair( t, 1 )
    Quote Quote  
  7. Originally Posted by davexnet View Post
    It depends on the severity. Can you post a sample?
    No sample video, are there many severity options within QTGMC for progressive.
    I am still trying to take in the page info. Not really getting it.
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    [QUOTE=Sandfly;2672811]
    Originally Posted by davexnet View Post
    It depends on the severity. Can you post a sample?
    "are there many severity options within QTGMC for progressive."


    InputType 2 and 3 are for progressive source
    Quote Quote  
  9. 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.
    Quote Quote  
  10. [QUOTE=davexnet;2672813]
    Originally Posted by Sandfly View Post
    Originally Posted by davexnet View Post
    It depends on the severity. Can you post a sample?
    "are there many severity options within QTGMC for progressive."


    InputType 2 and 3 are for progressive source
    Mode 3 differs from mode 2 only in that it complements field parity of the input.
    I had one of these and the wheels fell off.

    Could you help me understand this a little better for making choice between?
    Quote Quote  
  11. Originally Posted by joearmstrong View Post
    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 )
    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.
    Quote Quote  
  12. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    What is Repair( t, b, 1 )
    Do some more effort in your side!

    http://avisynth.nl/index.php/RemoveGrain_v0.9/Repair/Repair
    Quote Quote  
  13. Originally Posted by lollo View Post
    What is Repair( t, b, 1 )
    Do some more effort in your side!

    http://avisynth.nl/index.php/RemoveGrain_v0.9/Repair/Repair
    I have no idea what you are trying to say.
    Chineses?
    Quote Quote  
  14. Originally Posted by Sandfly View Post
    Originally Posted by joearmstrong View Post
    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 )
    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?
    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.
    Quote Quote  
  15. Originally Posted by joearmstrong View Post
    Did you load all required plugins in your avisynth script?
    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.
    Quote Quote  
  16. 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.
    Quote Quote  
  17. 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.
    Quote Quote  
  18. There is a problem with people who demand a specfic problem.
    Hope you get better soon
    Quote Quote  
  19. Originally Posted by joearmstrong View Post
    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.
    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 )
    Quote Quote  
  20. Originally Posted by Sandfly View Post
    There is a problem with people who demand a specfic problem.
    Hope you get better soon
    So, you refuse to provide that which will help others to help you? Okay, then good luck with your problem.
    Quote Quote  
  21. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Yes manono, leave him alone
    Quote Quote  
  22. "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.
    Quote Quote  
  23. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!