Quantcast DVD2SVCD: Need Help with Scriptclip Line - digitalFAQ.com Forums [Archives]
  #1  
06-24-2005, 01:41 PM
The Untouchable The Untouchable is offline
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-24-2005, 01:49 PM
Prodater64 Prodater64 is offline
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 
} 
  
# 
####
Reply With Quote
  #3  
06-24-2005, 01:52 PM
The Untouchable The Untouchable is offline
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) ")
Reply With Quote
  #4  
06-24-2005, 05:32 PM
Dialhot Dialhot is offline
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
Reply With Quote
  #5  
06-24-2005, 08:17 PM
The Untouchable The Untouchable is offline
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
Reply With Quote
  #6  
06-25-2005, 03:25 AM
Dialhot Dialhot is offline
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.
Reply With Quote
  #7  
06-25-2005, 04:09 AM
The Untouchable The Untouchable is offline
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
Reply With Quote
  #8  
06-25-2005, 04:15 AM
Dialhot Dialhot is offline
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.
Reply With Quote
  #9  
06-25-2005, 01:03 PM
The Untouchable The Untouchable is offline
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?
Reply With Quote
  #10  
06-25-2005, 01:10 PM
Prodater64 Prodater64 is offline
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.
Reply With Quote
  #11  
06-25-2005, 01:21 PM
The Untouchable The Untouchable is offline
Free Member
 
Join Date: Jan 2004
Location: Little India, British Columbia
Posts: 224
Thanks: 0
Thanked 0 Times in 0 Posts
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: ScriptClip Error Minister OI Avisynth Scripting 15 01-23-2005 12:16 PM
Scripts, erro line 71 dj_henrique Conversão e Codificação de Vídeo (Português) 4 11-10-2004 03:57 PM
Command-line DVD authoring? bilu Authoring VCD, DVD, Blu-ray 2 03-17-2004 09:38 AM
Avisynth: add LoadPluginEx.dll line to DVD2SVCD.ini file telemike Avisynth Scripting 16 05-28-2003 01:57 PM
Line Flickers On HDTV? lvWSTATICWvl Players, DVRs, Media Centers 1 08-19-2002 04:48 PM

Thread Tools



 
All times are GMT -5. The time now is 05:24 PM  —  vBulletin © Jelsoft Enterprises Ltd