Log in

View Full Version : Script wrong somehow?


Holomatrix
1st August 2002, 18:00
Could someone please let me know what is wrong with this script, it keeps crashing CCE,

LoadPlugin("C:\downlo~1\filters\simple~1\simple.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\downlo~1\filters\SmoothHi.dll")
mpeg2source("D:\MovieRip\DVD2AV~1.D2V")
SimpleResize(480,480)
TemporalSmoother(Source,1).MergeChroma(Source)
SmoothHiQ(Temporal,7,25,15,192,3).MergeLuma(Temporal)

as you see I've shortened the file names. Do I need to limit to the 8 characture thing? But I also renamed the DLL's accordingly like the HiQ and SimpleResize ones.
Thanks

EDIT: Just incase I put evrything back the way it was but still crashed;
LoadPlugin("C:\downlo~1\filters\simple~1\simple~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\downlo~1\filters\Smooth~1.dll")
mpeg2source("D:\MovieRip\DVD2AV~1.D2V")
SimpleResize(480,480)
TemporalSmoother(Source,1).MergeChroma(Source)
SmoothHiQ(Temporal,7,25,15,192,3).MergeLuma(Temporal)

Acaila
1st August 2002, 18:31
In this line TemporalSmoother(Source,1).MergeChroma(Source) you are applying TemporalSmoother on a clip called "Source". However that clip isn't defined anywhere in your script.
The same goes for SmoothHiQ(Temporal,7,25,15,192,3).MergeLuma(Temporal) . Here you refer to a clip called "Temporal" but that clip doesn't exist.
You also need a "Return" when you work with defined clips so the encoder knows how to reconstruct the final video.

LoadPlugin("C:\downlo~1\filters\simple~1\simple.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\downlo~1\filters\SmoothHi.dll")
Source=mpeg2source("D:\MovieRip\DVD2AV~1.D2V").SimpleResize(480,480)
Temporal=TemporalSmoother(Source,1).MergeChroma(Source)
Spatial=SmoothHiQ(Temporal,7,25,15,192,3).MergeLuma(Temporal)
Return Spatial

Ps. It's usually better to smooth before resizing, although it will be slower.

Holomatrix
1st August 2002, 18:48
Ok this worked, but holy slowness batman,

LoadPlugin("C:\downlo~1\filters\simple~1\simple~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("C:\downlo~1\filters\Smooth~1.dll")
mpeg2source("D:\MovieRip\DVD2AV~1.D2V")
SimpleResize(480,480)
TemporalSmoother(2,1)
SmoothHiQ(7,25,15,192,3)

I guess I will forget this script, went from .375 to .065 on a PIII 500. I'm just trying to find out the best script to use when encodeing DVD using very low bitrate and end up with good quality.
P.S. so would DVD2AV~1.D2V be my clip if I was going to add that?
Thanks