Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Problems with divx 5

Posted on 2002-06-02
18
392 Views
Last Modified: 2013-12-07
All of a sudden, nearly every time I try to encode something into Divx 5 using virtualdub, virtualdub crashes (especially if the video file is long).  I've tried disabling all my programs that load with the computer

While it's encoding, out of nowhere, a "virtualdub program failure" window appears.  The window shows a bunch of assembly code and it says "Crash reason:  Integer divide-by-zero".  When I say ok to that virtualdub closes and two more error messages appear (I think they're both the same).  One says "The instruction at '0x012cde1b' referenced memory at '0x015f42b0'.  The memory could not be 'read'.  Click ok to terminate the program"

I have the virtualdub crash report which has a bunch of assembly and stuff, if that would be of any help.  Any help would be greatly appreciated.
0
Comment
Question by:Crash2100
  • 7
  • 5
  • 3
  • +2
18 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7050179
>>>especially if the video file is long

The assumption then is that on a smaller file this problem doesn't always happen, correct? If so it sounds like the program is having a hard time keeping track of the memory addresses it is using the longer it runs. Hence the possible reason for the "Integer divide-by-zero". Zero of course is not a valid number to divide by. The code was expecting something other then zero to be available in the memory space it was referencing. In other words something in the code may not be functioning properly.

How much RAM are you using and what size is the pagefile set at? This may have something to do with it. Running a long file may be using more memory then is actually available. The program may be losing something during the swapping from the pagefile to the RAM.


The Crazy One
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7050232
I have 1GB of ram and the page file is set at 250MB to 300MB.  The files I'm trying to compress are between 2GB and 11GB.

Ironically, I've been doing this for the last month or two without any problems.  Then suddenly, out of nowhere this started.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7050235
Oh hmmm then something has changed. I wonder if you have a RAM module that is slightly faulty or the connection is not real good. Have you noticed any over heating issues? Are you opposed to using the system restore feature to roll the OS back to a point when this wasn't happening? Or perhaps unistalling and reinstalling the program.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 18

Author Comment

by:Crash2100
ID: 7050269
I haven't noticed anything overheating, but I don't pay any attention to the temperatures.  My computer rarly locks up on me once during the day, so I doubt there's any problems with heat.  Although the ram I have is ddr.

VirtualDub is just a simple program, it has no uninstall or setup, I just have the exe and a couple secondary files in a folder on my desktop.

http://www.virtualdub.org/

It makes me kind of nervious using the system restore feature, thinking it could possibly screw more stuff up.  But if it could possibly fix this, then I guess I can give it a try.
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7050288
I suppose you did look at the knowledge base. :>)
Did not see anything real relevant to your problem but....
http://www.virtualdub.org/virtualdub_kb
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 7051197
DivX uses the MPEG4v3 codec. The DivX file format is not supported by Windows Media Player.
This may add insight
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316992#DivX
A program may quit unexpectedly when you use source content that has not been encoded by using certain non-Microsoft codecs (for example, DivX).
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q316688
As of May 2, 2002, you can obtain the newest version of DivX Player (Alpha 3) from the following DivX Web site:

http://www.divx.com/divx/player.php 
For more information about DivX.com, visit the DivX Web site:
http://www.divx.com 
Good luck,
":0) Asta
0
 
LVL 18

Expert Comment

by:centerv
ID: 7052343
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7052684
now I'm getting a different error, it usually comes up about six seconds before the compression is supposed to finish.  The first error message that appears says "Crash reason:  integer divide by zero" then another one will appear after I say ok, it has "Crash reason: access violation"
0
 
LVL 18

Expert Comment

by:centerv
ID: 7052916
Crash
it seems like a codec issue, but if you've been using the same codec all along, then other than a corrupt codec or application, it could be hardware, although I think unlikly here.

I think I would uninstall both the codec and the app, remove all traces of both in the registry, run sfc /scannow, defrag and run a good regcleaner for a couple of days and try again.

If it persist after that, I would start to look at hardware, such as swapping ram modules, but not before trying to split the files and converting that way.
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7053025
centerv, I'm almost positive you're right.  When this started happening I haden't realized that there were multiple listings of divx in the start menu.  It had divx 5 free edition, divx 5.0.1 pro, and divx 5.0.2 pro.  I ran the uninstall for the most recent, and reinstalled divx 5.0.2, but the problem still persisted.

As an experiment, I uninstalled divx 5 and installed divx 4, and it seems to work just fine.

How should I go about cleaning out all traces of divx in the registry?
0
 
LVL 18

Expert Comment

by:centerv
ID: 7053058
Use regedit and search for divx and remove what you think matters.
You must be using xp, and in that case you can download Registry Detective from www.pcmag.com and it will do the search in one scoop.

Use Regclean to mopup the rest.
Good luck
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7084167
Sorry for the long wait, I think I've figured out what's causing this.  I noticed it only seems to crash when I use the "psychovisual enhancements" option.  For some reason when I use this it crashes at the same exact point durring the compression.  Oddly enough, this only happens on some of my files.
0
 
LVL 18

Expert Comment

by:centerv
ID: 7084721
Other than trying it without any other apps on, I would have to say its a bug within the program and xp.
If you're multi booted, try it in another windowsa vrs and see reaction.
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7104241
well I've pretty much given up on using phycovisual enhancements, ironically that really increased the quality of my video when I was able to use it.

But I have one more problem, on my newer divx avi files.  For some reason I can only jump to spots in my movies until about half way through it (there all about 22 min).  When I click a spot on the timeline in windows media player the audio immediately changes, but the video never starts playing again.  It works just fine on about the first half of the file.  And ironically if I let the file just play from beginning to end, I have no problems.  I also have a similar problem when I try to examine the second half of the file using virtualdub, only the entire virtualdub program freezes.

And the original files (which are compressed with mjpeg) play just fine.
0
 
LVL 18

Expert Comment

by:centerv
ID: 7106046
Crash
You're losing me on your last comment. I'm not setup to test what you're doing.
As you know divx is still vey much evolving and Virtual Dub is an old program.
That's enough for plenty of uncharted territory.
Perhaps someone else will jump in here at this point.
0
 
LVL 18

Author Comment

by:Crash2100
ID: 7125757
well, I think I figured out what caused the problem in seeking through my files.  I noticed this only happened when I recorded the video files at 59.97 fps, instead of 29.997 fps.  Now if I could only figure out why the phycovisual enhancements cause virtual dub to crash at the end of compression.
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 7135297
If you find/post your own solution, ask for a refund and PAQ to close this.

This is the Community Support link:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

Thanks (working to clean this Topic Area)
":0)
Asta
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7135665
Points reduced and placed in PAQ

Computer101
E-E Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
New to live audio mixing? Member of a band who wants to improve the quality of your bands sound? Need to brush up on mixing techniques? Sick of subpar mixes? This is the article for you!
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question