View Full Version : ... Another Avisynth Access Violation
Lucid Ondine
30th April 2002, 01:56
Hello all. During these dreaded 3 days+ of waiting to post, I've done a lot of research regarding the Avisynth error that I've gotten. Many people have gotten the same error, and I've followed everything that they have to solve it, yet I still get errors when I either encode (divx 5.01 or 4.12, as per doom9.org & everwicked.com) or play the avs file back through WMP. Here is my AVS script:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
mpeg2source("C:\Akira\akira.d2v")
crop(6,0,704,476)
BicubicResize(560,320,0,0.75)
Everything is divisible by 4 and by 2, yet still I get errors. This particular error is stated as: Avisynth: caught an access violation at 0x07b61e63, attempting to read from 0x0834ddd1.
I've also looked into my mobo/processor combo having problems in the past. I'm running an XP 1800 (no oc, plenty cooled) Soyo K7V Dragon Plus! with 1.25 Gigs of PC2100 high end ram, spooling off of an 80.0 gig WD 7200 hard drive under Win 2ksp2 with all the latest drivers & firmware updates. Any help would be greatly appreciated, and thanks in advance!
Lucid
Milkman Dan
30th April 2002, 08:11
Hmm...interesting.
Have you tried re-making your d2v project file, or re-ripping the DVD? Does it do this on all your material? Avisynth (specifically mpeg2dec.dll) borks on garbage data. Some of the DVD2AVI developers have massaged the mpeg2dec.dll, and I believe Tom got rid of the bork-on-garbage error. Or maybe that was in the SAVE-oe exe itself. Dunno.
Anyway, it's something to try.
Lucid Ondine
30th April 2002, 17:10
Thanks for the info. It has been doing this with all of my DVD rips, unfortunately. The DVD drive can play back all media fine, so I doubt it has anything to do with that. Is this new mpeg2dec.dll/DVD2AVI available on this site? It's worth a try, I've been/done everywhere else.
What is the likelihood that it could be my motherboard/processor? Is there anything I could manipulate within my cmos that might fix this problem? Others who own this particular motherboard/processor seem to have this problem as well.
Lucid
trbarry
30th April 2002, 22:07
They are just test versions but I just sloppily double all the buffer sizes to avoid falling off the end of them when garbage data tries (I think) to process motion comp. But it helps some.
Try www.trbarry.com/DVD2AVIT3.zip and www.trbarry.com/MPEG2DEC2.zip and see if it helps.
Also you might try a different resize or a different version of Avisynth. There have been know problems in certain versions of both.
- Tom
Lucid Ondine
30th April 2002, 22:12
Thanks Tom, I'll get right on that-- Dling now, should post back in an hour or so.
Lucid
Lucid Ondine
30th April 2002, 23:38
Well, that kind of worked, instead of going for only 12 minutes through the movie, I stopped on 40 minutes through the movie. Looks like this is part of the solution. I'm going to attempt to use a different version of Avisynth.
The error message this time reads: Avisynth: caught an access violation at 0x72d68e9 attempting to read from 0x07d4c4a0.
Any other suggestions?
Lucid
Lucid Ondine
1st May 2002, 00:09
AviSynth v5 barfed. Can anyone recommend a URL for a previous version?
Thx-
Lucid
Milkman Dan
1st May 2002, 12:54
videotools.net was the best distributor of the Avisynth dll's last I saw.
I have a Morgan Duron 1G on the Soyo D+, and I don't have any problems encoding anything. I had some major instability before, but flashing to the 2ba3 BIOS solved all my problems. And running Win2k. XP just doesn't cut the mustard yet.
Were you originally using GordianKnot for your ripping? Even though I don't use gordianKnot itself anymore, I still install it because it installs EVERYTHING correctly. It include AviSynth beta5 as well, so you might consider cleaning everything out video related, and installing GKnot.
Lucid Ondine
1st May 2002, 21:49
Ok, I've tried AVIsynth versions down to beta 3 and they all give me access violations.
The latest: Avisynth: caught an access violation at 0x06e19e77, attempting to read from 0x06e19e77....
Is there any hope?? :(
-Lucid
Lucid Ondine
1st May 2002, 21:56
@Milkman Dan
I've installed everything from Gknot, got the update, updated lame, etc as I've always done.
In addition to this I've tried:
Enabling/Disabling HD SMART mode
Enabling/Disabling HD Block mode
Reripping the DVD
I think I'll axe one of the filters (bicubric resize) next and see if that solves it. If not, I'll axe the crop.
Milkman Dan
1st May 2002, 23:52
While you're at it, make sure the crop is divisible by 4.
If you can tell somehow at about what frame you get this error... try skip (avisynth "delete") 10..100 frames around that place and see if you still have the problem. If not you may isolate few bad frames rather easy.
Lucid Ondine
10th May 2002, 01:03
I'm still unsure as to why it's bombing out on me-- it could be my DVD drive reading incorrectly. What I've done is ripped from another computer and then coppied from over my network. However not completely successful, it seems to be the case that I get fewer Access Violations and read errors.
In addition, Vdub borks in seemingly random places. I wonder if it isn't a driver problem, or even perhaps a malfunctioning IDE controller.
Does this help?
-Lucid
iamsparticuz
14th May 2002, 02:46
I might have a solution to these errors.
I recently updated my 5.0 codec to 5.01 and in turn updated virtual dub from 1.4.9 to 1.4.10. I also downloaded the latest divxenc. I was ripping Boiler room to 2 discs with only force film and all other field operations were set to none in guardian knot. In the middle of my 2nd pass i got this error...
AVisynth read error:
Avisynth: caught an access violation at 0x00b7
attempting to read from 0x101c1590
@ the bottom of divxenc it said that there was a problem moving the analyse log. Which sorta puzzled me.
I then changed my mpeg2dec.dll to the one in this ZIP (thttp://www.trbarry.com/MPEG2DEC2.zip) and then I also disabled the delete analyse , mv, and log files.
After all that i re-encoded and didn't get the error and the end file turned out fine. Go figure
Lucid Ondine
14th May 2002, 06:13
Yeah, that is the special mpeg2dec file that has a double buffer so it doesn't bork on garbage data. Tried it, it gives some improvements.
Thanks anyways!
Lucid
smoof
14th May 2002, 21:23
I saw a similar problem working with Eagles - Hell Freezes Over. The first 4 chapters are behind the scenes footage and appear to be telecined film. The concert starts at chapter 5 and is pure NTSC. The transition between the two types seems to have a couple of weird frames and causes AVISynth to report an access violation. Actually, the video type changes toward the end of chapter 4 (timestamp 10:33).
I used DVD2AVI 1.82 and tried AVISynth 1.03 thru 1.07. I also tried the new version of mpeg2dec2. I didn't try DVD2AVIT3 though, maybe that would help.
Anyway, I just created two seperate .d2v projects (skipping the bad frames) to get around the problem.
Lucid Ondine
14th May 2002, 22:25
Interesting-- unfortunately the whole movie is of NTSC type and I still get the errors. I'm more and more beginning to think it's my IDE controller.
Lucid
SundanceKid
27th May 2002, 09:06
I had the same problem whith the same movie.The error went
after ripping with smartripper by enabling the direct stream copy
funktion.:)
Lucid Ondine if you don't have original disc you may try install VFAPI codec (VFAPIConv-1.04-EN.zip), convert d2v project into VFAPI .avi file and load this .avi into avisynth with AVIFile(). This helped me twice with same kind of problems when encoding crashes at some point. This will be 30% slower though.
jugm
If you suspect it's a hardware problem... Check the memory too. I was blaming my Promise IDE controller for garbage frames, avisynth violations, corrupted files, etc., but it turned out one of my memory went bad. Do a google search on memtest86 and docmemory.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.