Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Error Code -2


Posted by: highdude Dec 10 2002, 06:03 PM
hi ppl,
I have a avi file. im using VD and trying to compress it to divx pro 5.02 under the configuration .
Everything seems to be fine till im trying to save as avi.
Than i have an Error. :
"cannot start video compression."
"the source image format is not acceptable."
"error code -2"

preview is fine. Whats going on ???
please help me ohmy.gif

Posted by: valja Dec 10 2002, 10:13 PM
Did you read format restrictions for DivX 5? Check your picture size - width must be multiple of 4, height must be multiple of 2.

Posted by: dizzy23nc Jan 17 2003, 01:59 AM
I have the error code-2 problem. I had compressed a movie twice to fix some quality problems but now after 2 trys I can no longer save to avi.

I went into the divx properties to change the width and height to the correct multiples but it still won't work. Can someone please help me?

thanks in advance

Posted by: ChristianHJW Jan 17 2003, 05:53 AM
QUOTE (dizzy23nc @ Jan 17 2003, 03:59 AM)
I went into the divx properties to change the width and height to the correct multiples but it still won't work.

You cant change that in the DivX encoder setup, but only in the resizimg filter of Virtualdub ...

Posted by: endorphin Apr 22 2003, 06:43 AM
I get this error when attempting to encode using VDub in the following scenario.

Input:
720x480, square pixels, HuffYUV "convert to YUV/predict median"

Output:
attempting to run 2nd pass of DivX 5.04 beta ("schizo") encoder.
1st pass ran correctly AFAIK, no problems.
attempt to begin 2nd pass (in Nth-pass mode) immediately brings this error.


Any suggestions?

=== edit ===

Forgive me, I figured it out. What happened: I was used to having my DivX 5.03 set up with the proper paths to H:\divx.log and H:\mvinfo.bin files. Notice that my hard drive is H: in this case, not the default C:.

So when I installed the DivX 5.04 beta update, it reset the default locations to C:\divx.log and C:\mvinfo.bin. Then my 1st pass ran correctly or appeared to. It should have complained that it was unable to save the log and mvinfo files... but it could not, because I had the "do not give warnings and errors" box checked! Therefore I remained unaware of the cause when my 2nd Pass failed.

If Phaeron sees this, may I suggest that the error popup for (error -2) be updated to include a note that advises the user to check whether pathways to logfiles (if any) are set correctly in the codec's configuration dialog. ?

Thanks again.

My pixel dimensions do conform to the requirements for DivX.
Does DivX have a problem encoding from YUV or something?
I believe I have encoded from YUV to DivX before, using 5.0.3.
Could this be a 5.04 beta problem?


Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)