digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: What's your recommended setting for TempClean? (http://www.digitalfaq.com/archives/avisynth/6142-avisynth-recommended-setting.html)

audioslave 10-16-2003 03:02 PM

Avisynth: What's your recommended setting for TempClean?
 
I thought I should try testing encoding with TempClean instead of TempSoft, but I don't know what your latest recommended settings are.
Could you post them, please?
Grateful for your precius time and your help :wink:

Dialhot 10-16-2003 03:07 PM

In static mode :
TemporalCleaner(ythresh=7,cthresh=15)

In MA adaptative mode :
TemporalCleaner(6+nf,13+nf)

(where nf is the variable already present in optimal MA script).

audioslave 10-16-2003 03:43 PM

Thanks a LOT :!: :D
Will try it at once :wink:

Nooo! I get an error i VDub. What am I doing wrong?!

EDIT: Could it be related to the internal values of "function"? I have NO idea about this programming stuff... :roll:
The error says:
'Script error: Invalid arguments to function "TemporalCleaner"'

audioslave 10-16-2003 04:16 PM

I found this line in the forum. It works without any errors:
Quote:

TemporalCleaner(fmin(round(6+nf), 7), fmin(round(13+nf), 15)) ")
Can I use this or do I have to change anything to get your recommended values?

EDIT: I saw the updated line, it reads:
Quote:

TemporalCleaner(round(6+nf), round(13+nf)) ")
Is this okay? Again, to get your recommended values right?


Sorry for being a pain in the a** :roll:

Dialhot 10-16-2003 05:16 PM

Quote:

Is this okay? Again, to get your recommended values right?
Yeah it's okay. I just forgot that in the MA script provided on this forum, nf is a floating point value.
I use "my" own version of MA script where nf is an integer. So I do not need to "round" it for use it in temporalcleaner.

audioslave 10-16-2003 05:48 PM

Interesting... Do you feel like sharing your script with us? Would be great to get to see how it looks! :D

Dialhot 10-17-2003 04:07 AM

Code:

nf=0
Mpeg2Source("Your_D2V_Source_Here")
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="LanczosResize")
Undot()
STMedianFilter(8,32, 0, 0)
MergeChroma(blur(1.58 ))
MergeLuma(blur(0.1))
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "(nf >= SwitchThreshold) ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,13+nf) ")
GripBorders()
function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }


audioslave 10-17-2003 05:03 AM

Thank you. Will give it a spin as soon as I can :)


All times are GMT -5. The time now is 10:06 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.