OK i have been encoding stuff for awhile now, and did about 5 or 6 dvds and never had a problem. I am using avisynth as a frame server and the CCE encoder, the latest version. Anyhow when i try to encode now I get this error:
AVISynth: caught an access violation at 0x0e249365
attempting to read from 0x0d575000
And does it whenever i try to encode now. The avisynth file i am using is:
avisource("G:\Temp\commercial.avi")#PALsource
LanczosResize(720,356)
AddBorders(0,62,0,62)
AssumeFPS(23.976)
ConvertToYUY2()
I have also tried it without the Palsource and assumefps for other videos and still get the same error. I have actully tried it on three different videos over the past couple weeks and restarts, disabling anti virus, closing down non essential services etc all do not seem to solve the problem, as well as reinstalls of both AVIsynth and CCE.
I seem to have the bad luck of getting problems either no one has heard of or no one can fix, so any input on this would be greatly appreciated
+ Reply to Thread
Results 1 to 7 of 7
-
-
Does the script work with TMPGEnc or Virtual Dub? Have you reinstalled CCE yet?
Hello. -
I have tried re installing CCE and avisynth, and when i try to play the avi synth file in windows media player it plays fine.
However when i try to use CCE, the m2v file has that error a few seconds into encoding. I have disabled every background process, and cannot find what the problem is. I just reinstalled everything onto my computer and i dont feel like formatting just to fix the problem.
And then the retarded program encodes hours of that same message over and over again wasting my time. I now copy the m2v file to another folder to check it and every time with any type of file it errors.
Has anyone ever had this problem??? I cant be the only one -
could ffdshow cause this, or a codec problem??? Why would this not show up when you play the avs file in windows media player??? What is this error from? Does it have to do with reading the file, like the file is locked? Does it have to do with a particular line in the avisynth script??
I was reading an article on programming not too long ago, and it mentioned that PROGRAMMERS SHOULD NOT BE STUPID AND MAKE CRYPTIC ERROR MESSAGES. It was written by programmers and they said that for the amount of time that it takes to write a decent error message giving the description of the problem, its negligible. So if your listening avisynth d00d, smarten up! -
OK I think i got it cased. Why does it seem like i am talking to myself here. Guess what the problem was, well it was converttoYUY2(), which surprise! my last post requesting info about it was not answerd.
So if any other newbs ever have this problem and do a search, well mabye this might help them.
I ran into the Avisynth access violation while trying to convert from PAL to NTSC framerate. This violation appears to come up for a million errors, of which many are script errors as i found out, and also you can have codec errors, or even a corrupt avi file.
So there are two ways to do this conversion in the script. You can convertfps() or you can assumefps(). Now assumefps just speeds up or slows down the material and does not do a true framerate conversion. But i noticed in my commercial there is a digital clock, and there is some nasty flashing on the red letters, so i chose to do the convertFPS because it attempts to do a "smooth" conversion and very closely looks like the original.
Now the avisynth problem comes in here, if you use converttoYUY2() with assumeFPS(), well you got big trouble, and after a few seconds of encoding you will get the avisynth error. If you remove that line, it seems to solve the problem, well in my case anyways.
convertFPS on the other hand needs to have a YUY2 source, and apparantly divx and xvid encode in yv12, so you need to do a conversion using converttoyuy2().
What a pain, first i am getting an error using assumefps, i solve it, then after reading some more realize that convertfps would be better, start getting the error again, and oh! you need converttoyuy2()
below is the avisynth script i am now using successfully...........
avisource("G:\Temp\Commercial.avi")#PALsource
ConvertToYUY2()
LanczosResize(720,356)
AddBorders(0,62,0,62)
ConvertFPS(23.976)
appolgies for being an annoying newb, but most of this info was NOT found on this site, and i didnt think there were any other good resources for info........... -
"There is nothing in the world more helpless and irresponsible and depraved than a man in the depths of an ether binge, and I knew we'd get into that rotten stuff pretty soon." -- Raoul Duke
-
I'm having the exact same problem using the exact same script, the YUY2 and everything, except I'm using an NTSC source, not PAL, and am only doing AVISource, Lanczose resize, and convert to YUY2. So I'm using the YUY2 but not in conjunction with anything and I'm getting the same problem...
I've been looking around for help for 2 days and this is as close as I've gotten.
Similar Threads
-
DVD to AVC High Quality PSP Videos using Avi synth
By ppeterr in forum DVD RippingReplies: 12Last Post: 18th Jul 2010, 08:03 -
encoded .avi to dvd errors?
By mrjust in forum Newbie / General discussionsReplies: 2Last Post: 4th Apr 2009, 21:37 -
VOB to H264 MKV (AVI Synth and audio delay help)
By PsyCLown in forum Video ConversionReplies: 1Last Post: 20th Feb 2009, 01:52