Quantcast KVCD: Script for Segmented AVI Files? - digitalFAQ.com Forums [Archives]
  #1  
04-03-2003, 07:47 PM
Frunobulax Frunobulax is offline
Free Member
 
Join Date: Mar 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
I incorporated a script section I found at http://www.kvcd.net/forum/viewtopic....r=asc&start=45 (watch the old word wrap) in one of vhelp's posts.

My script now looks like this:

x="c:\Documents and Settings\Kevin\Desktop\Radio Flyer VCD\4.3.avi"

txt_dir="c:\Documents and Settings\Kevin\Desktop\\MovieStacker\"

LoadPlugin(txt_dir+"MPEG2Dec.dll")
LoadPlugin(txt_dir+"GripFit_preview.dll")
LoadPlugin(txt_dir+"DustV5.dll")
LoadPlugin(txt_dir+"LegalClip.dll")
LoadPlugin(txt_dir+"BlockBuster.dll")
LoadPlugin(txt_dir+"fluxsmooth.dll")
LoadPlugin(txt_dir+"sampler.dll")
LoadPlugin(txt_dir+"vobsub.dll")
LoadPlugin(txt_dir+"decombLegacy.dll")
LoadPlugin(txt_dir+"temporalcleanerold.dll")
LoadPlugin(txt_dir+"convolution3d.dll")
LoadPlugin(txt_dir+"dctfilter_YUY2.dll")
LoadPlugin(txt_dir+"nomosmooth.dll")

segmentedAVISource(x)
LegalClip()
LanczosResize(320, 238, 0, 2, 640, 476)
AddBorders(16, 1, 16, 1)
mergechroma(blur(0.79))
mergeluma(blur(0.1))
SpaceDust()
FluxSmooth(7,7)
NoMoSmooth(40,1,6,1,3,false)
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,.5,0)
LegalClip()

However, when I try to load it into Tok, I get the error "I can't open this script. Ensure the script is functional..."

Please bear me, as I'm still a newbie, and I probably have a HUR-ting script, but I could yet again use a little help.

Thanks in advance!
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  
04-04-2003, 01:22 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
try a simplified script like this
Code:
txt_dir="c:\Documents and Settings\Kevin\Desktop\\MovieStacker\"

LoadPlugin(txt_dir+"MPEG2Dec.dll")
LoadPlugin(txt_dir+"GripFit_preview.dll")
LoadPlugin(txt_dir+"DustV5.dll")
LoadPlugin(txt_dir+"LegalClip.dll")
LoadPlugin(txt_dir+"BlockBuster.dll")
LoadPlugin(txt_dir+"fluxsmooth.dll")
LoadPlugin(txt_dir+"sampler.dll")
LoadPlugin(txt_dir+"vobsub.dll")
LoadPlugin(txt_dir+"decombLegacy.dll")
LoadPlugin(txt_dir+"temporalcleanerold.dll")
LoadPlugin(txt_dir+"convolution3d.dll")
LoadPlugin(txt_dir+"dctfilter_YUY2.dll")
LoadPlugin(txt_dir+"nomosmooth.dll")

AVISource(c:\Documents and Settings\Kevin\Desktop\Radio Flyer VCD\4_3.avi)
LegalClip()
LanczosResize(320, 238, 0, 2, 640, 476)
AddBorders(16, 1, 16, 1)
mergechroma(blur(0.79))
mergeluma(blur(0.1))
SpaceDust()
FluxSmooth(7,7)
NoMoSmooth(40,1,6,1,3,false)
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,.5,0)
LegalClip()
change the source name to "4_3.avi" to eliminate the possibility of the extra period causing the problem- just a thought
Reply With Quote
  #3  
04-04-2003, 01:26 AM
Frunobulax Frunobulax is offline
Free Member
 
Join Date: Mar 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, rendalunit; I'll give that a try and report back.
Reply With Quote
  #4  
04-04-2003, 01:45 AM
Frunobulax Frunobulax is offline
Free Member
 
Join Date: Mar 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
OK -- it seemed that my resize was incompatible with the scripting function. I was trying resize to 320x240, which is the original captured size. I can specify 352x240, but the resulting picture is stretched a bit horizontally. Now, I know that I'm obviously doing something really dumb here, but I can't seem to catch what it is. Should I capture to a different size or what?

Thanks in advance!

Edit: As a follow-up, I took the resize elements out of my script -- doh!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Retrieving script info from files? will_diddy Avisynth Scripting 3 11-08-2006 04:41 AM
Avisynth: Different files in one script? Hydeus Avisynth Scripting 3 03-18-2004 06:59 PM
KVCD: Two .d2v files into one script? CheronAph Video Encoding and Conversion 8 09-20-2003 05:43 AM
KDVD: Script for DV source files? syk2c11 Video Encoding and Conversion 2 07-06-2003 07:51 PM
Avisynth: Script Settings for VRO files? Bud Avisynth Scripting 1 06-01-2002 09:07 PM

Thread Tools



 
All times are GMT -5. The time now is 07:58 AM  —  vBulletin Jelsoft Enterprises Ltd