PDA

View Full Version : "The script's return value is not a valid clip"


boombastic
1st August 2005, 19:50
I get this error using the following script

LoadPlugin("F:\PROGRA~1\ARCALC~1\dgmpgdec\DGDecode.dll")

LoadPlugin("F:\PROGRA~1\ARCalculator\AVS_Plugins\unfilter.dll")
LoadPlugin("F:\PROGRA~1\ARCalculator\AVS_Plugins\Fluxsmooth.dll")
Mpeg2Source("d:\VideoTemp\Esorcista\Esorc.d2v")

Crop(16,8,-16,-8)
TomsMoComp (1,5,1)

clip = last

C0 = clip.LanczosResize(640,480)
C1 = clip.BicubicResize(640,480,0,0.75)
C2 = clip.Unfilter(-5,-5).BicubicResize(640,480,0,0.75)
C3 = clip.BicubicResize(640,480,0.333,0.1775)
C4 = clip.BicubicResize(640,480,0.45,0)
C5 = clip.BicubicResize(640,480,0.5402,0)
C6 = clip.FluxsmoothST(3,3).BicubicResize(640,480,0.38,0)
C7 = clip.FluxsmoothST(6,6).BicubicResize(640,480,0.6,0)
C8 = clip.FluxsmoothST(4,6).BicubicResize(640,480,1,0)
C9 = clip.FluxsmoothST(7,7).BicubicResize(640,480,1.80,0)


and i don't understand why!
Can someone help me?

neuron2
1st August 2005, 20:08
Add this at the end:

return C1

That's just an example, you can return any of the clips you generated in your script.

Soulhunter
1st August 2005, 20:10
Well, it doesnt return a clip at the end... ^^

Simply put "C0+C1+C2+C3+C4+C5+C6+C7+C8+C9" at the end !!!


Bye