digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Script for Segmented AVI Files? (http://www.digitalfaq.com/archives/encode/3170-kvcd-script-segmented.html)

Frunobulax 04-03-2003 07:47 PM

KVCD: Script for Segmented AVI Files?
 
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!

rendalunit 04-04-2003 01:22 AM

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

Frunobulax 04-04-2003 01:26 AM

Thanks, rendalunit; I'll give that a try and report back.

Frunobulax 04-04-2003 01:45 AM

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!


All times are GMT -5. The time now is 07:01 PM  —  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.