DVD2SVCD: Need help with scriptclip line
Hey every1, when I use dialhots DVD2SVCD Adaptive script
it gives this error in the movie preview, why & how can I fix this? thanks.. Using this ... 9=ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") I get this error evaluate: Unrecognized exception! (ScriptClip], line 1) would the function still be working if I applied it like this instead ^ScriptClip(" nf=YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") This would be my script if I make the changes that I just asked about 0=nf=0 1=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana) 2=GripSize(resizer="BiCubicResize") 3=Undot() 4=Asharp(1, 4) 5=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, ^T_FilterThreshHold, ^T_EdgeThreshHold ) 6=MergeChroma(blur(^blur_chroma)) 7=MergeLuma(blur(^blur_luma)) 8=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 9=GripBorders() 10=function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 } 11=function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } ^ScriptClip(" nf=YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") ^overscan=1 ^source_ana=true ^dest_ana=false ^S_FilterThreshHold=3 ^S_EdgeThreshHold=3 ^T_FilterThreshHold=1 ^T_EdgeThreshHold=1 ^blur_chroma=1.58 ^blur_luma=0.1 |
Post the whole script please.
As: Code:
## DLL Section ## |
this is the original dialhot script that gives an error...
0=nf=0 1=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana) 2=GripSize(resizer="BiCubicResize") 3=Undot() 4=Asharp(1, 4) 5=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, ^T_FilterThreshHold, ^T_EdgeThreshHold ) 6=MergeChroma(blur(^blur_chroma)) 7=MergeLuma(blur(^blur_luma)) 8=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 9=ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf), round(3/nf) , 1, 1) ") 10=GripBorders() 11=function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 } 12=function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } ^overscan=1 ^source_ana=true ^dest_ana=false ^S_FilterThreshHold=3 ^S_EdgeThreshHold=3 ^T_FilterThreshHold=1 ^T_EdgeThreshHold=1 ^blur_chroma=1.58 ^blur_luma=0.1 hmmm ... would the function still be working if I applied it like this instead & moved it to after #12? ^ScriptClip(" nf=YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") |
No it can't work like this.
And the script I gave monthes ago is correct (check that you correctly pasted it, the scripclip line must be on a single line for instance) Else I guess your source has a problem. Note: I moved the thread in the correct forum |
Source is dvd, I've tryed 3 diff dvds, it does that for all
also It is all on 1 line ... Anything else that can cause this, all the other frameserver synth scripts work, so does this 1 BUT it has big error letters on the video |
Do a search on the forum. These "evaluate errors" have already been discussed and resolved (I guess). I just don't remember now what caused this.
|
Thats really wierd bro, I installed an older version of avisynth
(AVS 2.5.5 RC3(26-08-04) instead of "Avisynth 2.5.5." & the errors gone hmmmm |
That's weird. But at least you found a workaround :)
Note: last beta release is 2.5.6. You can try to retrieve it. |
tried using 2.5.6 b3 but everytime I try to prieview or run dvd2svcd, the program shuts down hmmm wonder if 2.5.6 b1 does that too.
u said last build ... did they stop making avisynth or something? |
Quote:
Avisynth developement don't stop. |
:oops:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.