Log in

View Full Version : vdubmod -> error code -2


killingspree
13th February 2003, 16:20
i've just tried to do another compressability check using jonnys manual method. but when i try to start the encode, i get the fellowing error:

Cannot start video compression:
The source image format is not acceptable
error code -2


the video comes from an avisynth 2.5 file and is in YV12 format. i'm using mpeg2dec3 and just do crop and resize, no other filters.

here's my script:


LoadPlugin("C:\PROGRAmme\avisynth 2.5\plugins\mpeg2dec3.dll")
loadplugin("C:\Programme\avisynth 2.5\plugins\bicublinresize.dll")
mpeg2source("reservoirdogs.d2v")
crop(10,72,702,432)
BicubicResize(608,256,0.333,0.333)
SelectRangeEvery(280,14)


the crop and resize values are taken from gknot
now the script runs just fine in bsplayer and mplayer.

oh yea... i'm using divx 5.03 and vdubmod 1.4.13

i've tried using another resolution, but it gives me the exact same error...

regards
steVe

PS: i hope this is the right forum. i could also post this in the avisynth or the divx5 forum, but since vdubmod is giving me the error, i decided to post it here!

jonny
14th February 2003, 11:42
Seems strange

try with something really simple like this:

LoadPlugin("C:\PROGRAmme\avisynth 2.5\plugins\mpeg2dec3.dll")
mpeg2source("c:\pathhere\reservoirdogs.d2v")

If this work, add resizer, then cropping, then selectrange...

killingspree
14th February 2003, 18:45
ok... i haven't tried it with your method, but i got another interesting aspect!

i just tried encoding it with xvid and it worked perfectly fine... so i suppose it's not an avisynth or virtualdubmod issue, but rather a divx 5.03 bug / misconfiguration

regards
steVe

jonny
14th February 2003, 22:11
Are you sure you have unchecked crop and resize from the divx codec?
You could try to use the "Restore codec's default" function, before setting 1-pass quality based.
This is the only logical explanation i can find... of course, if it's not a 5.0.3 bug.

Cheers
jonny

killingspree
14th February 2003, 23:48
i've definitely unchecked both crop and resize in divx5, actually i've never used them...
going to try to restore the defaults though, see if it works, but as i found out that i get far better encoding speeds with xvid (almost +10fps) i'm considering switching to Xvid completely anyway...

thanks for your help
steVe

doug_s
20th February 2003, 20:43
I have the same problem and I reported it at sourceforge.

It's kind of interesting that I can get yv12 to work with avs2avi.exe and not virtualdubmod.

Has anybody had this problem and found a solution yet ?

seewen
21st February 2003, 03:14
the "Error -2" often happend when DivX 5.0.3 doesn't find the DivX.log/Mvinfo.bin ( or when it cannot write them )

verify that the "nth-pass" uses the good paths for divx.log/mvinfo.bin ( and/or verify that these 2 files exists when doing Nth pass )

You should begin to uncheck "Do not prompt with error and warnings" in DivX 5.0.3 configuration. So the codec will probably tell you what's wrong ( like killingspree, I'm quite sure that it's not a VirtualDubMod error. Try with VirtualDub & same codec setting and you'll see ).

killingspree
21st February 2003, 22:12
what i was doing was 1pass quality based (compressability check) and i don't think this method even uses the .log and .mv files...

regards
steVe

seewen
22nd February 2003, 01:28
Of course it does, if you check it.( it writes the .log, and if you want it writes the *.bin too.. )

You really should begin to uncheck "Do not prompt with error and warnings" in DivX 5.0.3 configuration.

killingspree
22nd February 2003, 12:48
ok... i will (:

steVe