Quantcast Avisynth: get this Error: Evaluate Unrecognized Exception! - digitalFAQ.com Forums [Archives]
  #1  
08-05-2003, 03:20 PM
Rambytes Rambytes is offline
Free Member
 
Join Date: Jul 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
I get this error when I load my AVS in Tmpgenc.

Check the snapshot:


And this is my script:
Quote:
#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#

## DLL Section ##
#
LoadPlugin("D:\Filters\MPEG2Dec3.dll")
LoadPlugin("D:\Filters\GripFit_YV12.dll")
LoadPlugin("D:\Filters\STMedianFilter.dll")
LoadPlugin("D:\Filters\asharp.dll")
LoadPlugin("D:\Filters\unfilter.dll")
LoadPlugin("D:\Filters\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("D:\n-maries\nmaries.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(702, 480)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
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!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
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  
08-05-2003, 03:31 PM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
I take it that line 25 is the following line:

Mpeg2Source("D:\n-maries\nmaries.d2v")

See Q2.7: http://www.avisynth.org/index.php?pa...meserving#q2.7
Reply With Quote
  #3  
08-05-2003, 03:31 PM
dazedconfused dazedconfused is offline
Free Member
 
Join Date: Nov 2002
Posts: 316
Thanks: 0
Thanked 0 Times in 0 Posts
Perhaps try getting rid of the "-" character in your pathname? Often times, strange characters/symbols in your pathnames will lead to problems.

so maybe try changing the name of your directory and the pathname to it from:

Quote:
Mpeg2Source("D:\n-maries\nmaries.d2v")
to:

Quote:
Mpeg2Source("D:\nmaries\nmaries.d2v")
Good luck,
-d&c

EDIT: I see Wilbert just beat me to answering you . And his recommendation is probably the right one. Still, you might not want to use strange characters in your pathnames in the future just to be safe.
Reply With Quote
  #4  
08-05-2003, 04:04 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You problem is that you use 2/nf in temporalsoften and, with a very bad luck, you have a value of nf egal to 0 at this moment !

divide by 0 does'nt make good maths
Reply With Quote
  #5  
08-05-2003, 04:16 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
This question is asked so often that I'm surprised it's not in the FAQ

hey kwag maybe you should add:

Q30: I get an unrecognized exception error trying to load an avs file with TMPGenc, using dvd2avi v1.77.3 ?

A: .d2v created with dvd2avi v1.77.3 is NOT compatible with mpeg2dec.dll! Use v1.76 instead. If you still want to use v1.77.3, make sure that you have AviSynth v2.5 installed and mpeg2dec3.dll v1.07 (or a more recent version).
Reply With Quote
  #6  
08-05-2003, 04:29 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rendalunit
This question is asked so often that I'm surprised it's not in the FAQ
Done

-kwag
Reply With Quote
  #7  
08-05-2003, 04:30 PM
Rambytes Rambytes is offline
Free Member
 
Join Date: Jul 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
DVD2AVI 1.76 solve the problem

I hope I will get a better quality with this script instead of the "basic KVCD template"
Reply With Quote
  #8  
08-05-2003, 04:48 PM
Wilbert Wilbert is offline
Invalid Email / Banned / Spammer
 
Join Date: Jun 2003
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
@rendalunit, kwag

Which faq are you referring to? The one at avisynth.org contains it.
Reply With Quote
  #9  
08-05-2003, 04:56 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello:

Perhaps a link to KVCD FAQ should be placed in the download thread.

Totonho03
Reply With Quote
  #10  
08-05-2003, 05:50 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Wilbert
Which faq are you referring to? The one at avisynth.org contains it.
I was referring to the kvcd faq

http://www.kvcd.net/forum/viewtopic.php?t=68
Reply With Quote
  #11  
08-05-2003, 06:20 PM
Rambytes Rambytes is offline
Free Member
 
Join Date: Jul 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
But I still have a question:

Does this guide is good? http://members.lycos.co.uk/dcdvideo/...cqmatic_ad.htm

Because, i'm encoding my movie, i'm at 45% and the file is 423Mb... And it's only the video, the audio will be multiplex after...

So i'm expecting a 940Mb file after, and this is without the sound.

I've use CQMatic and MovieStacker(this one to find my average bitrate)

TMPGEnc is encoding rightnow at CQ80,63 for a KSVCD 480x480, and the movie is 75 minutes.

Anyone?
Reply With Quote
  #12  
08-05-2003, 07:14 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Rambytes
yes that's a great guide Make sure that you're using the latest version of CQMatic (there's a new version everyday ) Sounds like the file's going to be too big
Reply With Quote
  #13  
08-05-2003, 07:25 PM
Rambytes Rambytes is offline
Free Member
 
Join Date: Jul 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
I'm using the release2 of CQMatic...

What can I do to get a smaller size but get maximum quality?

If I drop from CQ80 to CQ75, does this will get a smaller file and FIT into one CD?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Avisynth error, Evaluate Unrecognised exception! kev23m Avisynth Scripting 8 05-18-2004 11:19 AM
Avisynth: AVI causes Unrecognized exception error? miksmith Avisynth Scripting 16 07-12-2003 07:50 AM
tmpgenc - unrecognized exception error? veggiegirl Video Encoding and Conversion 2 05-14-2003 03:45 PM
KVCD: Error in my script - Unrecognized exception? irshliquor Video Encoding and Conversion 65 05-13-2003 01:16 AM
Avisynth: Help with Unrecognized Exception problem Nobody Avisynth Scripting 2 04-13-2003 10:18 PM

Thread Tools



 
All times are GMT -5. The time now is 07:33 AM  —  vBulletin Jelsoft Enterprises Ltd