Log in

View Full Version : avisynth throws an exception


swinokur
13th May 2004, 23:19
Hi,

I'm trying to do some encoding with CCE, using avisynth as input. Every once in a while I get avisynth throwing an exception:

"Avisynth exception 0x100430a0, attempting to read from 0x22bd2000"

The source is a 1080i HD mpeg file using mpeg2dec3 and/or mpeg2dec3dg - with the appropriate version of dvd2avi to create the .d2v file.

I am also using decomb511.

here's the avisynth file: # Modify the path so that it finds your decomb dll file #
LoadPlugin("c:\program files\avisynth 2.5\plugins\decomb511.dll")

# Modify the path so that it finds your MPEG2DEC dll file #
LoadPlugin("C:\program files\avisynth 2.5\plugins\MPEG2DEC3dg.dll")

# Modify the path so that it finds the d2v file you created using dvd2avi #
MPEG2Source("e:\test.d2v")

# This is the IVTC line. Consult your decomb readme file for tweaking #
Telecide(order=1,post=2,blend=true,chroma=false,y0=0,y1=0).Decimate(cycle=5,mode=0,threshold=0)
crop(4,4,-4,-8)
BicubicResize(720,480)
ConvertToYUY2()

Does this exception code mean anything to anyone?

Are there diagnostics that can be done to see where this is coming from?

And finally, is there a way to monitor the output of avisynth as it goes into CCE so that I could observe this error occurring *before* waiting for the entire 2.5hr encode to complete? :)

thanks - let me know if there's other detail needed for a proper answer.

Wilbert
14th May 2004, 00:03
Does it happen at random? Does it also happen with dvd's?

swinokur
14th May 2004, 00:26
I don't really do any work with DVDs, so I can't answer that question.

It seems to only happen with 1080i streams, and then only randomly.

That's why I was hoping that there was some sort of "output a trace to a logfile" feature in avisynth, so when an exception gets thrown there's more data.

I wish I had more information to give, I know its difficult trying to help in one of these cases.

Is there a "magic decoder ring" for avisynth exception errors?

Guest
14th May 2004, 01:03
If you can provide a clip that lets me duplicate the problem I can provide the magic ring.

Does it happen when played to VDub only?

What about if you delete the filters after Mpeg2source?

Try some stuff!

DarkNite
14th May 2004, 08:15
And finally, is there a way to monitor the output of avisynth as it goes into CCE so that I could observe this error occurring *before* waiting for the entire 2.5hr encode to complete?

avsmon (MonitorFilter)

link (http://www.avisynth.org/warpenterprises/files/avsmon25a_25_dll_20030125.zip)

Although, finding/fixing the source of the error would be much more useful in the long run.

swinokur
14th May 2004, 10:05
@DarkNite: Thanks for the link! Now I can have a preview while CCE runs! Super!

@neuron2: The file is a 4G 1080i mpeg stream. I could send you a DVD-R, I suppose...? The problem is that the error doesn't reliably appear. I had errors the first 3 times I tried to encode.

Here might be a hint? The 4th time I tried to encode, I ran CCE in CBR mode, which completed successfully, and also created the .vaf file. I then ran the multipass-vbr mode using the previously created .vaf.

I haven't tried anything with vdub yet.

Guest
14th May 2004, 13:25
Originally posted by swinokur
I haven't tried anything with vdub yet. I'll await your answers to my questions. :rolleyes:

If it doesn't happen when the script is simply played, not encoded with CCE, then that suggests it is a CCE issue. That is why I am asking.

Wilbert
14th May 2004, 13:39
It sounds more like a hardware problem. Have a look at YV12 FAQ, Q16. Run Prime95 for a while and see what happens.

Sigma9
14th May 2004, 13:50
To me it sounds more like a CCE (not HW) issue.

I encountered a similar problem with CCE when it would run into a VAF file still lying around from a previous session. Here comes the strange thing: even though the VAF was from an identical input, it sometimes (i.e. unpredictably) would crash. Morover, this was dependent on the version of CCE I was using.

Of course I cannot completely exclude a HW issue being present on my PC also - however, running CCE in a "clean" directory never gave these problems.

I run it under XP on an Athlon 1700 (some people say this also does matter) with 512Mb RAM.

/Sigma9

swinokur
16th May 2004, 08:40
I have to do some more playing, but I'm all of a sudden suspicious of decomb 511. I changed back to decomb 510, and the encode went through fine.

But, since this is a sporadic error, I'm gonna play some more (and with vdub :) ) and then report back.

Guest
16th May 2004, 10:02
Originally posted by swinokur
I'm all of a sudden suspicious of decomb 511. Yeah, well, I'm suspicious of you.