06-24-2005, 01:41 PM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-24-2005, 01:49 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Post the whole script please.
As:
Code:
## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.
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) ")
#
#
#
GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
|
06-24-2005, 01:52 PM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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) ")
|
06-24-2005, 05:32 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
06-24-2005, 08:17 PM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
06-25-2005, 03:25 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
06-25-2005, 04:09 AM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
06-25-2005, 04:15 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
That's weird. But at least you found a workaround
Note: last beta release is 2.5.6. You can try to retrieve it.
|
06-25-2005, 01:03 PM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
06-25-2005, 01:10 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by The Untouchable
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?
|
He means last available beta version.
Avisynth developement don't stop.
|
06-25-2005, 01:21 PM
|
Free Member
|
|
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
All times are GMT -5. The time now is 02:21 AM — vBulletin © Jelsoft Enterprises Ltd
|