Log in

View Full Version : Access violation - - what to try next????


Rayman
18th December 2001, 05:27
I have read some other threads regarding this and I yet to find a solution for my case? After many weeks of reading and trying I decided that I have to ask what I could possibly be doing wrong.

Sorry if this has already been answered.


I have ripped many movies now and have finished one. I have tried 4 pass VBR and one pass VBR. The one that finished worked with one pass VBR with default settings. I have yet to dupplicate this. As far as I can tell my rips are good because I can open them up in DVD2AVI and preview them. I get to about 40% - 70% encoded in CCE before something happens.

Two things happen

1.Program Handle not found, terminating program.

2. Avisynth -- access violation.



System
PIII - 700 Pentium
Board - Super Micro - Super P6SBU based on Intel's 440BX chipset
Ultra2 SCSI & DMA IDE Drives
IDE DVD
512 meg RAM

Bios settings - set to power management off


W2000K - All updates and DirectX 8.1 (Reinstalled)

Windows Settings with power management off.

DVD2SVCD Ver 1.05 build 1 --- avisynth.dll installed C:\Winnt\system32

CCE 2.5 with checksum patch applied.

I tried smart ripper this time. This is my log.

Log --- This has the -- Program Handle not found, terminating program. & the -- Avisynth -- access violation. (When I used crash recovery)

--------------------------------------------------------
- 12/16/2001 7:57:51 PM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.5 build 1
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 12/16/2001 7:57:54 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- J:\Movies\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -IA=1 -CS=2 -EXIT -OF=[J:\Movies\DVD2AVI_Project_file] -IF=[J:\Movie_Rips\Just Cause\vts_01_1.vob,J:\Movie_Rips\Just Cause\vts_01_2.vob,J:\Movie_Rips\Just Cause\vts_01_3.vob,J:\Movie_Rips\Just Cause\vts_01_4.vob,J:\Movie_Rips\Just Cause\vts_01_5.vob]
Analyzing DVD2AVI Project file
Force Film activated!
Framerate: 23976
DVD2AVI processing done.

--------------------------------------------------------
- 12/16/2001 8:00:45 PM
- Free on drive J: 24486.48 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: J:\Movies\Extracted_audio_stream_1.ac3
Audio extraction finished.

--------------------------------------------------------
- 12/16/2001 8:07:56 PM
- Free on drive J: 24346.05 mb
- AUDIO conversion
--------------------------------------------------------

Downmixing AC3 Stream. Filename: J:\Movies\Extracted_audio_stream_1.ac3
Autodetecting Azid dB Gain offset
Executing Azid. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\Azid\Azid.exe" -c normal -g30db -N -L -3db "J:\Movies\Extracted_audio_stream_1.ac3" "J:\Movies\DownmixedAudioSt1-48KHz.wav" >"J:\Movies\Azid.log"
Autodetection of dB offset finished
Gain offset: 1.30dB
Executing Azid. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\Azid\Azid.exe" -c normal -g1.30db -L -3db "J:\Movies\Extracted_audio_stream_1.ac3" "J:\Movies\DownmixedAudioSt1-48KHz.wav"
Downmixing of J:\Movies\Extracted_audio_stream_1.ac3 finished.

Audio delay: -84 ms
Adjusting audio delay.
Wav Conversion Finished

Encoding wav file to mp2.
Executing tooLame. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\tooLame\tooLame.exe" -m s -b 128 -e "J:\Movies\FinalAudioSt1.wav" "J:\Movies\Encoded_audio_stream_1.mp2"
Audio conversion finished.

--------------------------------------------------------
- 12/16/2001 8:44:11 PM
- Free on drive J: 21986.76 mb
- Converting Pictures
--------------------------------------------------------
Converting: E:\Video\DVD2SVCD_5\DVD2SVCD\DefaultTitlepicture.bmp
Converting: E:\Video\DVD2SVCD_5\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 12/16/2001 8:44:19 PM
- Free on drive J: 21984.78 mb
- Video Encoding
--------------------------------------------------------
OK
Closing program
DVD2SVCD no. frames: 147189
CCE no. frames: 147096
StreamSectors: 1667177176
AudioSectors: 99490440
VideoPAPO: 24284304
ScanOffsetBytes: 176515
SeqAligningBytes: 11218522
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 1532007387.20
Seconds: 6135.14
CDSize: 800.00
Cut point 796.00
Variable Settings:
Frames: 147096
Anti Noise Filter: 2
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 60
Min. bitrate: 300
Max. bitrate: 1800

Executing Cinema Craft Encoder.
OK
Program Handle not found, terminating program.
Video Encoding finished.

--------------------------------------------------------
- 12/16/2001 11:14:45 PM
- Free on drive J: 21644.56 mb
- Video Pulldown
--------------------------------------------------------
Executing Pulldown. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\pulldown\pulldown.exe" "J:\Movies\CCE_Encoded_Video_NTSC.mpv" "J:\Movies\Pulldown_Encoded_Video_NTSC.mpv"
Video pulldown finished.

--------------------------------------------------------
- 12/16/2001 11:16:44 PM
- Free on drive J: 21325.06 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Running bbMPEG.
Closing program
--------------------------------------------------------
- 12/16/2001 11:17:23 PM
- Free on drive J: 21325.02 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Running bbMPEG.
Closing program
--------------------------------------------------------
- 12/16/2001 11:18:01 PM
- Free on drive J: 21324.99 mb
- Multiplexing and cutting
--------------------------------------------------------
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 796 mb
Running bbMPEG.
Closing program
Multiplexing and cutting finished.

--------------------------------------------------------
- 12/16/2001 11:20:57 PM
- Free on drive J: 20899.37 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\VCDImager\VCDXBuild.exe" --cue-file="J:\Movies\CD_Image_File_CD1.cue" --bin-file="J:\Movies\CD_Image_File_CD1.bin" "J:\Movies\VCDXBuild_Script_1.xml"
CD-Image creation finished.

--------------------------------------------------------
- 12/16/2001 11:22:24 PM
- Free on drive J: 20467.40 mb
- SVCD Creation finished!
--------------------------------------------------------
--------------------------------------------------------
- 12/17/2001 7:25:16 PM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.5 build 1
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 12/17/2001 7:25:23 PM
- Free on drive J: 20466.29 mb
- Crash Recovery
- Restarting from: Video encoding
--------------------------------------------------------
- 12/17/2001 7:25:26 PM
- Free on drive J: 20466.29 mb
- Video Encoding
--------------------------------------------------------
OK
Closing program
DVD2SVCD no. frames: 147189
CCE no. frames: 147096
StreamSectors: 1667177176
AudioSectors: 99490440
VideoPAPO: 24284304
ScanOffsetBytes: 176515
SeqAligningBytes: 11218522
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 1532007387.20
Seconds: 6135.14
CDSize: 800.00
Cut point 796.00
Variable Settings:
Frames: 147096
Anti Noise Filter: 2
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 60
Min. bitrate: 300
Max. bitrate: 1800

Executing Cinema Craft Encoder.
OK
Closing program
Video Encoding finished.

--------------------------------------------------------
- 12/17/2001 9:00:16 PM
- Free on drive J: 20535.06 mb
- Video Pulldown
--------------------------------------------------------
Executing Pulldown. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\pulldown\pulldown.exe" "J:\Movies\CCE_Encoded_Video_NTSC.mpv" "J:\Movies\Pulldown_Encoded_Video_NTSC.mpv"
Video pulldown finished.

--------------------------------------------------------
- 12/17/2001 9:01:52 PM
- Free on drive J: 21044.79 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Running bbMPEG.
Closing program
--------------------------------------------------------
- 12/17/2001 9:02:33 PM
- Free on drive J: 21044.79 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Running bbMPEG.
Closing program
--------------------------------------------------------
- 12/17/2001 9:03:10 PM
- Free on drive J: 21044.79 mb
- Multiplexing and cutting
--------------------------------------------------------
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 796 mb
Running bbMPEG.
Closing program
Multiplexing and cutting finished.

--------------------------------------------------------
- 12/17/2001 9:14:59 PM
- Free on drive J: 20703.11 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"E:\Video\DVD2SVCD_5\DVD2SVCD\VCDImager\VCDXBuild.exe" --cue-file="J:\Movies\CD_Image_File_CD1.cue" --bin-file="J:\Movies\CD_Image_File_CD1.bin" "J:\Movies\VCDXBuild_Script_1.xml"
--------------------------------------------------------
- 12/17/2001 9:54:15 PM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.0.5 build 1
--------------------------------------------------------
Initializing
Initializing finished.



Possible solutions or place to look? I am running out of ideas.


Thank you for reading this post and any possible soultions you might have to share. This is best software that I have yet seen.

Rayman

mevbo
18th December 2001, 12:48
Go to your cce tab and direct dvd2svcd as to where you have installed cce.

Rayman
18th December 2001, 15:09
Thank you for your response.

CCE 2.5 is loading correctly. It does run through 40%- 70% of the movie before it errors out. The part that it does encode is very good. I can load the encoded file in DVD2AVI and preview it. For some reason it hangs up. I am using one pass VBR.

I think in another thread it was stated to try Q factor of 1 and this also resulted in the same problems.

Any other ideas?

Thanks

Rayman

CJM
18th December 2001, 18:23
I'm not sure your problem is identical to mine; my CCE encoding stopped at various points of the process and the output file displayed a "Avisynth: caused an access violation at xxxxx.....". If I tried to play the .AVS file in Virtual Dub the same error was displayed.

The solution was to replace one of my RAM modules. After that, everything worked just fine. The problem showed up in DVD2SVCD only, I had no other problems whatsoever.

dvd2svcd
18th December 2001, 18:47
Yup, again, that shows that CCE is the ultimative ram tester.

Kent Juurikivi
18th December 2001, 18:58
Hi!

I have this stupid Avisynth problem and I want to get rid of it...
DVD2SVCD seems to run perfectly and it finishing it's work etc...
but I have noticed that CCE will speed up after some encoding time...
I'm not getting any error message etc.. but now I'm sure that when this happen...the work is rubbish afterward = Avisynth: Caught Accsess violation...

It's really amazing if this problem is produced by memory chip...???
Hard to believe...
Can we fix this any other way than buy new HW???

BR
Kent

:(

JulCat
18th December 2001, 19:09
Rayman:

You have 512 of Ram so just leave 256 an trie again.

Kent Juurikivi
18th December 2001, 19:27
I'm only having 256MB...
Thank's anyway...

Kent Juurikivi
18th December 2001, 19:28
Sorry, I replied to wrong message...

dvd2svcd
18th December 2001, 19:42
Well, I haven't heard about any software that could bypass a hardware error (well except on some server systems perhaps). Nonetheless, CJM and I have been doing a lot of testing today, and as a last resort we tried to switch his memory modules, then apparently everything works perfectly. So my suggestion to you is, see if you can't borrow some memory modules from a friend, just to see if it isn't what also cause your problem. And that goes for all that has this problem.

Kent Juurikivi
18th December 2001, 20:04
Ok!

I will try this one..

I'll let you know if it helped...

BR
Kent

PS. Sorry, for my stupid doubleposting I did'nt notice that you allready responsed...

Rayman
18th December 2001, 20:21
Thanks for the responses!!!! :-)

I do have 512 meg so I will pull half of it out tonight and see if that fixes the problem. I was thinking that could be the cause of it. I will post my findings after I test it.

Thanks
Rayman

mrbass
18th December 2001, 20:42
please test it out with http://www.memtest86.com/ and report back if you have bad memory modules or not. I'll put this in the newbie faq.

Rayman
19th December 2001, 04:43
Well I ran the test that mrbass suggested. I only had over 5000 errors. :-) I pulled 256 meg out and reran the test resulting in 28 errors. Looks like I will be buying some new ram tommorow.

Kent I suggest that you run the test. The test was very easy to run, just allow some time At least ram is cheap.

Thank you so much mrbass for your help!!

DVD2SVCD you are truly amazing.

Thanks

Rayman

Kent Juurikivi
19th December 2001, 13:06
Hi!

So far i have tried three different mem chip from 3 different
memory vendor and the result is again the same = Avisynth...

Any other ideas....???

BR
Kent:mad:

mrbass
19th December 2001, 13:07
rayman...that's too bad. But if you got time and didn't return that bad memory module test out doc memory...link in the newbie faq. Do both of them work just as well? I haven't a clue. I just read great things about memtest86 and nothing about doc memory.

Kent Juurikivi--- you have divx..gordian knot, etc. installed. A few people that have other versions of avisynth installed it conflicts perhaps...registry? Not sure myself.

Rayman
19th December 2001, 16:55
Tonight I am going to pick up some new memory. The memory that I had in the machine was the cheap generic stuff. I am going to run the test tonight on the new memory that I pick up to ensure that the new memory is good.

Then I will run the other test and see what I get for results.

Rayman

Rayman
20th December 2001, 16:00
I picked up the memory and ran memtest86 agaist the new memory. Memtest86 reported many errors again. So I downloaded the doc memory test and ran that agaist the memory all night and came up with 0 errors. I put the now 768 meg of ram in the machine and am running DVD2SVCD again to see if the errors come at a later point in the movie.

Swap file is supposed to be at 768 meg right?

Any other test recommended?


Rayman

marks430
20th December 2001, 16:39
I had problems running DVD2SVCD and Doc Memory did not reveal any memory problems. I swapped memory around and found out that a bad stick of memory was the problem.

Don't trust the results you get in Doc Memory. The memory may work fine for other things, but it can still fail you during CCE encoding.

Good Luck.

Rayman
20th December 2001, 16:52
Three sticks of bad memory? Think it may be a problem with the mother board or the bios?


Rayman

marks430
21st December 2001, 02:37
You may be on to something there. If the BIOS settings for the memory are not right, it could look like faulty memory. Double check all your settings, and if in doubt, use more conservative settings, at least until you get things going your way, then start tweaking things back up.

Good Luck :)

Rayman
21st December 2001, 03:54
I am thinking that I did find the solution to my problem. It will take a few days to verify. Where I bought the memory they told me that I could use 133 mhz memory mods. for my system. Well I finally look up my motherboard specs myself and found out that the board only supports 100 mhz mods.

I have one that is 100 mhz and that comes up with 28 errors while the other chips report over 5000 errors. Now my system ran fine with 133's but when I need to run memory intensive aplications it bombs.

I am ordering a 256 meg 100 mhz ECC chip and I should have that this weekend. I don't care that I have to pay extra to get a ECC chip, I just want to mak sure that I get something that works for me.

I know I made a mistake listening to the guy behind the counter and not looking into it myself, but that's how we learn. :-)

Thanks for all the replys. I will post my findings again when I install the new memory. Hopefully my theroy holds water and helps someone else if this is the case.

Rayman

mrbass
21st December 2001, 04:22
ok based on that I'll take that POS doc memory out of the faq. How about that news on the front page of doom9 today. Divx 4.12 "crashes related to VIA based boards."
go with crucial.com for memory...CAS 2.5 runs easily at 2.0.