Quantcast Avisynth: Division by Zero Error in TMPGEnc? - digitalFAQ.com Forums [Archives]
  #1  
04-14-2003, 12:36 AM
irshliquor irshliquor is offline
Free Member
 
Join Date: Apr 2003
Location: California
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to irshliquor
The last 3 minutes of my most recent encode I got this error:

Avisynth: division by zero at 0x0b19692a

01:12:00 out of 01:15:00 encoded correctly, then instead of the proper video that I was encoding all I got was that in red letters across the top of the screen. What can I do to fix this? I don't want to try to re-encode before I fix the problem. I don't want to waste another 5 hours.

Thanks,

irshliquor
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  
04-14-2003, 12:54 AM
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
What are you encoding? An AVI or a .d2v? Please post your script

-kwag
Reply With Quote
  #3  
04-14-2003, 01:03 AM
irshliquor irshliquor is offline
Free Member
 
Join Date: Apr 2003
Location: California
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to irshliquor
yes, my source is an AVI
script:


LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Mpeg2Dec.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\GripFit_preview.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Unfilter.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\LegalClip.dll")
LoadPlugin("D:\VCD Shit\Movie Stacker\Filters\Sampler.dll")

##make sure your source videos are in the same dir as this script##
AviSource("movie.avi",false)
ConverttoYUY2
LegalClip()
GripCrop(704, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
unfilter(50,50)
temporalsmoother(1,2)
mergechroma(blur(1.5)
mergeluma(blur(0.2))
GripBorders()
LegalClip()

#Sampler(length=24)
Reply With Quote
  #4  
04-14-2003, 01:08 AM
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
Your script is correct, so you have a problem (corrupted frames?) in your source. Try another AVI or process a .d2v via a similar script, and you shouldn't see the error.

-kwag
Reply With Quote
  #5  
04-14-2003, 01:15 AM
irshliquor irshliquor is offline
Free Member
 
Join Date: Apr 2003
Location: California
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to irshliquor
i'm pretty new to this so is there a guide or anything related to processing a .d2v? Maybe something that would tell me what that would actually accomplish for me?

I'm not sure if it's a corrupted frame, i'm able to watch the finished product right up to where it cuts out, and i watched the source up to the same point and beyond without any flicker or anything...i had another avi that had corrupted frames and it would crash media player when it came to that frame. Like I said I'm new so any advice is good advice.

irshliquor
Reply With Quote
  #6  
04-14-2003, 01:18 AM
syk2c11 syk2c11 is offline
Free Member
 
Join Date: Jun 2002
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there,
I don't know if this works for you people, I encounterd the same problem when encoding a frameserve file (frameserve from Virtual Dub), I was using mergechroma(blur(1.5)) + SpaceDust + Legal Clip, I fixed the problem after deleting "mergechroma(blur(1.5))", it worked for me. My source was VOBs ripped from a clean DVD.
Reply With Quote
  #7  
04-14-2003, 01:21 AM
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
Hi irshliquor,

Check this thread: http://www.kvcd.net/forum/viewtopic....hlight=corrupt

The .d2v file is a project file created with DVD2AVI, for processing DVD files. This doesn't apply to this specific case. The problem seems to be in your AVI file. Check the link above and see if the programs referenced there help.

-kwag
Reply With Quote
  #8  
04-14-2003, 01:25 AM
irshliquor irshliquor is offline
Free Member
 
Join Date: Apr 2003
Location: California
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to irshliquor
upon further review, it looks as if there is indeed a corrupt frame in the avi. damn. back to the drawing board
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualDub: Vdubmod error division by zero abby Video Encoding and Conversion 0 04-04-2004 01:53 PM
TMPGEnc: Not supported error in avisynth script bigggt Video Encoding and Conversion 6 01-02-2004 10:54 PM
tmpgenc error? Evaluate: Division by zero at line 25? Whacko Video Encoding and Conversion 2 09-30-2003 05:00 PM
TMPGEnc: unsupported error from Avisynth bigggt Video Encoding and Conversion 1 04-13-2003 11:36 PM
Avisynth: TMPGEnc has caused an error in XVID.dll bigggt Avisynth Scripting 2 04-01-2003 07:31 PM

Thread Tools



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