digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Get this error: Evaluate Unrecognized exception! (http://www.digitalfaq.com/archives/avisynth/4893-avisynth-error-evaluate.html)

Rambytes 08-05-2003 03:20 PM

Get this error: Evaluate Unrecognized exception!
 
I get this error when I load my AVS in Tmpgenc.

Check the snapshot:
http://www.digitalfaq.com/archives/error.gif

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
}

#
####

Wilbert 08-05-2003 03:31 PM

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

dazedconfused 08-05-2003 03:31 PM

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 :wink: . 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.

Dialhot 08-05-2003 04:04 PM

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 ;-)

rendalunit 08-05-2003 04:16 PM

This question is asked so often that I'm surprised it's not in the FAQ 8O

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).

kwag 08-05-2003 04:29 PM

Quote:

Originally Posted by rendalunit
This question is asked so often that I'm surprised it's not in the FAQ 8O

Done ;)

-kwag

Rambytes 08-05-2003 04:30 PM

DVD2AVI 1.76 solve the problem

I hope I will get a better quality with this script instead of the "basic KVCD template"

Wilbert 08-05-2003 04:48 PM

@rendalunit, kwag

Which faq are you referring to? The one at avisynth.org contains it.

totonho03 08-05-2003 04:56 PM

Hello:

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

Totonho03

rendalunit 08-05-2003 05:50 PM

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

Rambytes 08-05-2003 06:20 PM

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?

rendalunit 08-05-2003 07:14 PM

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 :wink: ) Sounds like the file's going to be too big :roll:

Rambytes 08-05-2003 07:25 PM

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?


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.