digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Basic example of usable script (http://www.digitalfaq.com/archives/avisynth/4219-avisynth-basic-example.html)

scb212 06-27-2003 11:33 PM

Basic example of usable script
 
I have been having som trouble with creating a script that works. So would someone show me an example of a working script for a file named ep2.avi(EX) with kdvd 352x480.

Thanks

Peter1234 06-28-2003 01:39 PM

I don't know what avi(EX) is, but the following is a working avi script for avisynth 2.52 -- the avi should be uncompressed and have 16 bit PCM audio. Put ep2.avi on your desktop and use the following script:


LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")

MaxTreshold = 1.50
scd_trigger = 15 # Scene change trigger value
nf = 0 # Current frame

AVISource("C:\WINDOWS\Desktop\ep2.avi")
ConvertToYV12
undot()
Limiter()
asharp(2, 4)
GripCrop( width=352, height=480, overscan=0 )
Gripsize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.3))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/35), 1)),0 ) : \
TemporalSoften(2,7,7,3,2) ")
ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
GripBorders()
Limiter()

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

scb212 06-30-2003 12:19 AM

How do I use tok with compressed divx(avis)?

kwag 06-30-2003 12:24 AM

Quote:

Originally Posted by scb212
How do I use tok with compressed divx(avis)?

Try this guide: http://www.angelfire.com/film/rendal...mallguide.html

-kwag

scb212 06-30-2003 12:30 AM

Thanx


All times are GMT -5. The time now is 10:53 AM  —  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.