Quantcast TMPGEnc Error? Evaluate: Division by Zero at Line 25? - digitalFAQ.com Forums [Archives]
  #1  
09-30-2003, 03:43 PM
Whacko Whacko is offline
Free Member
 
Join Date: Sep 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
im using the following script in ToK:
Code:
LoadPlugin("F:\!!!!!!!!!\Ripping\KVCD\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("F:\!!!!!!!!!\Ripping\KVCD\MovieStacker\Filters\FluxSmooth.dll")
LoadPlugin("F:\!!!!!!!!!\Ripping\KVCD\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("F:\!!!!!!!!!\Ripping\KVCD\MovieStacker\Filters\Sampler.dll")

AviSource("F:\!!!!!!!!!\Ripping\KVCD\VIDEO\yeah2.avi")
LegalClip()
BilinearResize(352, 286, 4, 0, 504, 384)
FluxSmooth(7, 7)
TemporalSmoother(1, 2)
AddBorders(0, 1, 0, 1)
LegalClip()

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ##
AssumeFPS(29.970)
LoadPlugin("F:\!!!!!!!!!\Ripping\KVCD\MovieStacker\Filters\Sampler.dll")
oldfps = framerate
interval = round((FrameCount/30)/59.940)/10
nFrames = round(30)
SelectRangeEvery( (round(framecount/interval)),nFrames)
TMPEGenc starts to encode but it shows "Evaluate: Division by zero at line 25" in red text in the preview. the resulting mpg also contains that text.
line 25 is the SelectRangeEvery() function. Im guessing interval is zero here?

the avi is an XviD encoded avi. anyone have an idea what might be wrong.
please note im kinda new to KVCD stuff :P
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  
09-30-2003, 04:43 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
remove sampler(length=24)
Reply With Quote
  #3  
09-30-2003, 05:00 PM
Whacko Whacko is offline
Free Member
 
Join Date: Sep 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
hmm seems to work... but using ToK i still get the error 2 times before it starts encoding(closes TMPEGenc, and restarts 2 times) is this normal?
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
VirtualDub: Vdubmod error division by zero abby Video Encoding and Conversion 0 04-04-2004 01:53 PM
Avisynth: Get this error: Evaluate Unrecognized exception! Rambytes Avisynth Scripting 12 08-05-2003 07:25 PM
Avisynth: division by zero error in TMPGEnc? irshliquor Avisynth Scripting 7 04-14-2003 01:25 AM
TMPGEnc error: index of scan line is out of range (416) aderunn3r Video Encoding and Conversion 9 06-26-2002 01:16 AM

Thread Tools



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