Avisynth: Interlaced Source Optimal Script? - digitalFAQ.com Forums [Archives]
 digitalFAQ.com Forums [Archives] Avisynth: Interlaced Source Optimal Script?

#1
09-03-2003, 10:00 AM
 Anonymous Invalid Email / Banned / Spammer Join Date: Mar 2004 Posts: 0 Thanks: 0 Thanked 0 Times in 0 Posts
ok, my question is the follow

Here it's the Optimal Kwag Script:

[/quote]## DLL Section ##
#
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####
Quote:
 1 - But My DVD have an interlaced source, so i will use the internal Filter BobDeinterlacer, So i want to Know where i put the reference to Bob and the Default values or optimal values for it. 2 - I know by default that avisynth use Lanczos but can i change In Grip Filter the resizer to "Lanczosresizer" without problems in this script?? Thanks For all your help, i'm asking the help of Kwag because the script is from him and he have made a lot of test to come to this. Nothing Personal Regards Sniffer.
Someday, 12:01 PM
 Site Staff / Ad Manager Join Date: Dec 2002 Posts: 42 Thanks: ∞ Thanked 42 Times in 42 Posts
#2
09-03-2003, 02:52 PM
 Latexxx Free Member Join Date: Jun 2002 Location: Tampere, Finland Posts: 65 Thanks: 0 Thanked 0 Times in 0 Posts
1. If your interlaced material is telecined you need to ivtc it. The best way to do that is to use avisynth plugin called decomb ( http://neuron2.net/decomb/decombnew.html ). Put the ivtc code right after the mpeg2source line.
2. You can change it, but I doubt that it won't change the quality of your encoding.
#3
09-04-2003, 03:53 AM
 incognito Free Member Join Date: Jul 2003 Posts: 83 Thanks: 0 Thanked 0 Times in 0 Posts
I thought he was waiting for kwag.
__________________
I own a Philips DVD 701. NTSC.
#4
09-04-2003, 06:13 AM
 kwag Free Member Join Date: Apr 2002 Location: Puerto Rico, USA Posts: 13,537 Thanks: 0 Thanked 0 Times in 0 Posts
It's good Sniffer didn't wait for me
The forum is getting pretty large, and I can't track everything anymore.
It takes time to see all (most!) posts

-kwag
#5
09-08-2003, 06:03 AM
 Anonymous Invalid Email / Banned / Spammer Join Date: Mar 2004 Posts: 0 Thanks: 0 Thanked 0 Times in 0 Posts

Really appreciated

 Similar Threads Thread Thread Starter Forum Replies Last Post tengo6dedos Avisynth Scripting 24 09-18-2009 09:32 PM Boulder Avisynth Scripting 52 04-03-2004 02:47 PM Wolverine7 Conversion et d'Encodage de Vidéo (Français) 2 04-02-2004 12:05 PM someguy Avisynth Scripting 5 02-17-2004 04:24 AM J-Wo Avisynth Scripting 2 06-04-2003 11:32 AM