digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: A newbie needs help with script (http://www.digitalfaq.com/archives/avisynth/7952-avisynth-newbie-script.html)

eqlb02 01-29-2004 01:40 AM

a newbie needs help with script
 
hi i recently just started using avisynth and i was wondering
if this script is good or needs some tweaking
Code:

####
## Main section and static filters ###
#
nf=3
AviSource("what ever the movie is ",false)
ConvertToyv12()
BlindPP(CPU=4)
#
undot()
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
Limiter()
asharp(1, 4)
###
SwitchThreshold = (Width<=352) ? 5 : (Width<=480) ? 4 : 3
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*4, 100)), -(fmin(round(nf)*4, 100)) ) : \
TemporalCleaner(round(6+nf), round(13+nf)) ") 
deen("c2d",2,8,10)
VagueDenoiser(threshold=0.8,method=1,nsteps=6,chroma= true)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
DCTFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
FluxSmooth()

#
#
#
Limiter()
#
#
## Functions ###
function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}
#
####

thanks for any help you could give :wink:

eqlb02 01-29-2004 01:54 AM

opps i meant is there any way to make this script better for video
or is it good as it is. any thing that should change.
With this script it makes a good quilaty video but would be nice
to now if i'm going about it the right way or is something wrong with it

Dialhot 01-29-2004 04:27 AM

You script is far TOO heavy.

STMedianFilter -> spatio-temporal filter
unfilter / TemporalCleaner -> spatial / temporal
deen("c2d" -> spatial
VagueDenoiser -> spatio-temporal
FluxSmooth() -> spatio-temporal

:!: :!: :!:

:arrow: The value of a script isn't based on the number of filters it includes

The most amazing in this is that you are doing an avi and for that you mixed both avi->kvcd optimal script AND MA script (that MUST'NT be used on avis !)

My advice : use the optimal scripts provided on the forum avi->kvcd
Or use the latest optimal script AS IT ! No need to add any lines like you did (deen, vaguedenoiser, fluxsmooth...)

What were you needs and/or your idea when you decide to add these lines ?

eqlb02 01-29-2004 10:37 AM

When i used ether the ma or the avi script. i had a lot of noise
and alot blending of colors. And i think it was kwag(i hope thats right name)
script gave me a few issue's with certian avi's. it wouldn't start the
movie in ether player or tmpeg. So me be a newbie thought i could
do that.i did read a little bit of infromation on how to use avisynth and it's plugins
but some of that infromation threw me for a loop :-p .

i realy dont know what you meant by my script is heavy.

eqlb02 01-29-2004 10:40 AM

lol i dint see that forum and subject and i didnt see your optimal
script there. i'm a reall dioot. so for that i will give that script
a try. *blushes* *changes hair from blond to red*

Dialhot 01-29-2004 11:24 AM

Quote:

Originally Posted by eqlb02
i realy dont know what you meant by my script is heavy.

Heavy means that you are filtering too much.
Filters do not only remove noise, they also remove tiny details in the picture. And the more you remove, the more your piocture looks blurry and soft. The result isn't very pleasant for the eye.

eqlb02 01-29-2004 11:39 AM

thanks for the help there. I really needed it.


All times are GMT -5. The time now is 08:18 AM  —  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.