VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Can someone please explain how to properly get temporaldegrain to function? It's not a dll that I can just add to the plugins folder; but a script of some sort, from what I understand. Plus, according to the guide, I need a series of other filters to get it to work. I've gathered these filters, but can't get this to start.

    Thanks.
    Quote Quote  
  2. Download and install all the required filters. Then:

    import("\path\to\TemporalDegrain.avs")
    WhateverSoure("filename.ext")
    TemporalDegrain()
    Quote Quote  
  3. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    temporalDegrain is a function, not a dll. There are two ways to load scripted functions in Avisynth:

    1) Change the name of the "avs" text file from "TemporalDegrain.avs" to "TemporalDegrain.avsi", and copy the avsi file to your plugins folder. An avsi script in your plugins folder will load automatically when you start an .avs script.

    2) Copy the entire text of the function (you don't need the remarks section at the top of the script) into an .avs file. Be sure to include the "function" line and the starting and ending braces "{" and "}" in the text.

    Either way, your avs script should call the function at the appropriate point in your regular script:

    TemporalDegrain( [ enter any changed parameters here] )
    Be sure to read the HTML documentation for MvTools and FFT3D. These require specific dll's mentioned in the documentation for those plugins.
    Last edited by sanlyn; 21st Mar 2014 at 21:13.
    Quote Quote  
  4. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Ok, thanks. I'd also like to mention, while I'm on the subject, that I use AvsPmod for my scripts and it's very unreliable. If I load a dll into the avisynth plugins, and try to run the script with AvsPmod, there are many occasions where I get the "can't recognize (name of filter)" message. What gives with AVsPmod? Is there another program more reliable?
    Quote Quote  
  5. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I don't use it that often, but AvsPmod usually gives me that error when I type the wrong name for a command or function or don't have all the elements of long scripts loaded. A complex function like TemporalDegrain uses many auxilliary plugins and functions (!), which can drive you to serious drink if all the elements aren't loaded. Best to note exactly which filter name or function AvsPmod has trouble with

    When AVsPmod gives me too many errors I just run a script normally in Avisynth/VirtualDub to see where I went wrong.
    Last edited by sanlyn; 21st Mar 2014 at 21:13.
    Quote Quote  
  6. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Sanlyn, have you personally used temporaldegrain? If so, is it worth the trouble for grainy animated source?

    Do all the required filters have to be in my script in order for temporal degrain to work, or do they just have to exist in my plugins folder?

    ex:

    import("\path\to\TemporalDegrain.avs")
    WhateverSoure("filename.ext")
    TemporalDegrain()
    Quote Quote  
  7. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    You don't need a path statement to invoke TemporalDegrain. I'd just copy the entire function text into an avs script, or make the text file an .avsi in your plugin folder. The required filters need their plugins (or avsi scripts, if it's a script function instead of a dll) in the plugin folder.

    I used TemporalDegrain a while back, but not recently. I've been using MCTemporalDenoise lately, but it's just as complicated to load as TemporalDegrain. I've used MvTools, FFT3D, etc., separately many times. With any of these multi-function scripts, focus on the specific function or parameter name that Avisynth has a problem with.

    If all requirements are properly loaded, all you need is:

    AviSource(or whatever source)
    ConvertToYV12 (or YUY2, or whatever, if required)
    TemporalDegrain()

    What error messages are you getting?
    Last edited by sanlyn; 21st Mar 2014 at 21:13.
    Quote Quote  
  8. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    I just relocated my TemporalDegrain script and fired it up. Works fine. Can't help much if all you post is "can't recognize (name of filter)". "Name of filter" isn't enough info to work with.
    Last edited by sanlyn; 21st Mar 2014 at 21:14.
    Quote Quote  
  9. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by sanlyn View Post
    There are two ways to load scripted functions in Avisynth:

    1) Change the name of the "avs" text file from "TemporalDegrain.avs" to "TemporalDegrain.avsi", and copy the avsi file to your plugins folder. An avsi script in your plugins folder will load automatically when you start an .avs script.

    2) Copy the entire text of the function (you don't need the remarks section at the top of the script) into an .avs file. Be sure to include the "function" line and the starting and ending braces "{" and "}" in the text.
    There is a third way (as shown in jagabo's answer) - use Import() to manually link in the contents of the avs file (rather than copying them textually).
    Quote Quote  
  10. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Understood, Gavino. The mediawiki documentation on Import() always seemed a bit confounding, so I didn't mention it. But it works!
    Last edited by sanlyn; 21st Mar 2014 at 21:14.
    Quote Quote  
  11. Banned
    Join Date
    Dec 2010
    Location
    New York
    Search Comp PM
    Loaded TemporalDegrain this weekend too. Thanks again fellas. I am now the proud owner of 3 of the best cleaning filters ever:

    1. MCTemporalDenoise
    2. NeatVideo
    3. Temporal Degrain
    Quote Quote  



Similar Threads

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