Quantcast Avisynth: Floating Point Error with MA Script? - digitalFAQ.com Forums [Archives]
  #1  
01-25-2004, 09:43 AM
Deeja Deeja is offline
Free Member
 
Join Date: Jan 2004
Location: Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
When I load my script into ToK I get a "floating point error" message box, what's up here?

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

## Main section and static filters ###
#
Mpeg2Source("d:\**********************.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(480, 576, overscan=2, source_anamorphic=false)
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
}

#
####

I haven't altered the script at all.........what's going on, help anyone?
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  
01-25-2004, 10:05 PM
Deeja Deeja is offline
Free Member
 
Join Date: Jan 2004
Location: Australia
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Silly me, turns out I'd forgotten to install a DivX codec, so the YV12 bit was getting a bit confused.
Reply With Quote
  #3  
01-26-2004, 04:27 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
use the search ferature of the forum. I talk about the floating point problem three time at least last week.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: Illegal Floating Decimal Point Error rendalunit Video Encoding and Conversion 67 12-22-2003 11:35 AM
Tmpgenc illegal floating point error? matslin Video Encoding and Conversion 0 11-07-2003 08:42 PM
TMPGEnc: VCALC error, not a valid floating point value GetUp Video Encoding and Conversion 5 07-30-2003 08:44 PM
KVCD: Illegal Floating Point Error TMPGEnc 2.53 reman Video Encoding and Conversion 1 07-10-2002 01:46 PM
KVCD: Floating point calculation error Abdul Razak Video Encoding and Conversion 6 06-24-2002 07:06 PM

Thread Tools



 
All times are GMT -5. The time now is 08:23 AM  —  vBulletin © Jelsoft Enterprises Ltd