Quantcast Avisynth: Interlaced Source Optimal Script? - digitalFAQ.com Forums [Archives]
  #1  
09-03-2003, 10:00 AM
Anonymous Anonymous is offline
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 ##
#
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

Regards
Sniffer.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
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 Latexxx is offline
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.
Reply With Quote
  #3  
09-04-2003, 03:53 AM
incognito incognito is offline
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.
Reply With Quote
  #4  
09-04-2003, 06:13 AM
kwag kwag is offline
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
Reply With Quote
  #5  
09-08-2003, 06:03 AM
Anonymous Anonymous is offline
Invalid Email / Banned / Spammer
 
Join Date: Mar 2004
Posts: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for your help latexx.

Really appreciated
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Bad interlaced source? tengo6dedos Avisynth Scripting 24 09-18-2009 09:32 PM
Avisynth: MA script for interlaced sources? Boulder Avisynth Scripting 52 04-03-2004 02:47 PM
Optimal script et source en 4/3 Wolverine7 Conversion et d'Encodage de Vidéo (Français) 2 04-02-2004 12:05 PM
Avisynth: Optimal script for avi DV source? someguy Avisynth Scripting 5 02-17-2004 04:24 AM
Avisynth: Ntsc interlaced source and avs 2.52? J-Wo Avisynth Scripting 2 06-04-2003 11:32 AM

Thread Tools



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