Quantcast Avisynth: Basic Example of Usable Script - digitalFAQ.com Forums [Archives]
  #1  
06-27-2003, 11:33 PM
scb212 scb212 is offline
Free Member
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scb212
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
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  
06-28-2003, 01:39 PM
Peter1234 Peter1234 is offline
Free Member
 
Join Date: Feb 2003
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
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 }
Reply With Quote
  #3  
06-30-2003, 12:19 AM
scb212 scb212 is offline
Free Member
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scb212
How do I use tok with compressed divx(avis)?
Reply With Quote
  #4  
06-30-2003, 12:24 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
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
Reply With Quote
  #5  
06-30-2003, 12:30 AM
scb212 scb212 is offline
Free Member
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to scb212
Thanx
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
BASIC programming in Kubuntu digitall.doc Avisynth Scripting 3 06-20-2007 07:21 PM
19.980 fps! reencode this to a more usable framerate? glent2k3 Video Encoding and Conversion 3 05-24-2004 10:42 AM
Avisynth: basic script for SKVCD? FlavioMetal Avisynth Scripting 4 12-11-2003 06:13 AM
What are the basic codecs necessary to play KVCDs? Grantman Video Encoding and Conversion 1 06-19-2003 06:07 PM
KVCD: Basic Template Questions Icarus3000 Video Encoding and Conversion 1 02-26-2003 04:46 AM

Thread Tools



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