Quantcast AVI to KVCD Script Placement? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
12-02-2005, 09:37 PM
kvcdman kvcdman is offline
Free Member
 
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Hey everyone, I've just started to learn avisynth scripting as i've seen the results and they are :P :P :P (Freaking great). So anyway i checked out http://www.kvcd.net/forum/viewtopic....990ab1e4cf0317 (Dialhot's Optimal Avisynth Scripts section). I saw

Quote:
AviSource("PATH\NAME.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(WIDTH, HEIGHT, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()
I am wondering whether I should place the above code in the one below from the optimal scripts section. (It says use for DVD or clean material). I'am wondering because I saw the below script in a guide to convert Avi to kvcd. Or is the above script a fully seperate one from below? Thanx for all your help

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")
#
####
## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "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!

#
#
## Functions ###

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

#
####
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  
12-02-2005, 10:21 PM
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
Hi kvcdman,

They are two very different scripts. One for AVI material, and the other one for DVD material.
Also, one uses motion adaptive filtering, and the other one doesn't.

-kwag
Reply With Quote
  #3  
12-02-2005, 10:50 PM
kvcdman kvcdman is offline
Free Member
 
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Oh I see what you mean. One is specifically used for avi's while the other for dvd's. Alright man thanx for clearing it up.
Reply With Quote
  #4  
12-02-2005, 10:59 PM
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
Just remember that the MA script, the second one, is really a general purpose motion adaptive filtering template, and can be well optimized by removing/tweaking/adding changes
So use it as a starting point, and customize it to your needs.

-kwag
Reply With Quote
  #5  
12-03-2005, 02:25 PM
kvcdman kvcdman is offline
Free Member
 
Join Date: Aug 2004
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Alright man thanx
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Script AVS: Recodificando MPEG-1 - o que otimizar no script? danpos Conversão e Codificação de Vídeo (Português) 7 08-29-2004 03:28 AM
Optimal script or simple resize script? bigggt Avisynth Scripting 2 06-22-2004 08:17 PM
KVCD: Optimal script or ma script? vdk_au Video Encoding and Conversion 3 01-29-2004 07:29 AM
new KVCD script candidate for optimal script! Dialhot Video Encoding and Conversion 12 10-11-2003 02:09 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM




 
All times are GMT -5. The time now is 01:27 AM  —  vBulletin © Jelsoft Enterprises Ltd