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.
+ Reply to Thread
Results 1 to 11 of 11
-
-
Download and install all the required filters. Then:
import("\path\to\TemporalDegrain.avs")
WhateverSoure("filename.ext")
TemporalDegrain() -
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] )Last edited by sanlyn; 21st Mar 2014 at 21:13.
-
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?
-
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.
-
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() -
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.
-
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.
-
-
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.
Similar Threads
-
What is the best way to treat Telecine before Temporal Smoothing?
By unclescoob in forum RestorationReplies: 97Last Post: 28th Feb 2012, 14:18 -
IVTC question - did they temporal smooth first?
By volswagn in forum Video ConversionReplies: 7Last Post: 3rd May 2010, 11:06 -
Temporal smoothing before/after shrinking frame?
By Gew in forum EditingReplies: 23Last Post: 28th Sep 2009, 19:26 -
How to correct temporal luma variations from capture
By anegroo in forum Newbie / General discussionsReplies: 7Last Post: 27th Nov 2007, 19:58 -
temporal and spatial filtering
By snafubaby in forum Capturing and VCRReplies: 2Last Post: 6th Oct 2007, 10:23