digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   avi to kvcd script Placement? (http://www.digitalfaq.com/archives/encode/13985-avi-kvcd-script.html)

kvcdman 12-02-2005 08:37 PM

avi to kvcd script Placement?
 
Hey everyone, I've just started to learn avisynth scripting as i've seen the results and they are :P :P :P 8O 8O 8O :lol: :lol: (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
}

#
####

kwag 12-02-2005 09:21 PM

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

kvcdman 12-02-2005 09:50 PM

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

kwag 12-02-2005 09:59 PM

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

kvcdman 12-03-2005 01:25 PM

Alright man thanx :lol:


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

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.