digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Interlaced Source Optimal Script? (http://www.digitalfaq.com/archives/avisynth/5367-avisynth-interlaced-source.html)

Anonymous 09-03-2003 10:00 AM

Avisynth: Interlaced Source Optimal Script?
 
ok, my question is the follow

Here it's the Optimal Kwag Script:

[/quote]## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####

## 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 :D

Regards
Sniffer.


Latexxx 09-03-2003 02:52 PM

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.

incognito 09-04-2003 03:53 AM

I thought he was waiting for kwag. :lol:

kwag 09-04-2003 06:13 AM

It's good Sniffer didn't wait for me :lol:
The forum is getting pretty large, and I can't track everything anymore.
It takes time to see all (most!) posts

-kwag

Anonymous 09-08-2003 06:03 AM

Thanks
 
Thanks for your help latexx.

Really appreciated :wink:


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