Log in

View Full Version : weird bob problem


gantengx
19th June 2005, 06:55
Hi guys, i don't know what's wrong with my code...

AVISource("A Walk To Remember Trailer_d2v_vfapi.avi")
SeparateFields
Bob()

when i try to compress to divx with virtualdub i got
Video compression error: The source image format is not acceptable (error code -2)

that's so weird, coz previous one it works fine with me, last time i was using dvd2avi, but now i changed to dgindex, since i want to use mpeg2source, but after that i cannot convert to divx if i use bob (even for vfapi or mpeg2source)

what's wrong with that? how do i fix it... :(

thanks

Guest
19th June 2005, 07:07
I told you in the other thread that it makes no sense to precede Bob() with SeparateFields().

gantengx
19th June 2005, 07:16
yeah, but last time i used to do that it works fine..anyway i removed the separatefields already but it still didnt work, i got that weird error (only if i convert to divx) but if i convert to uncompressed rgb it works fine

anyway, last night, i convert my movie to divx using the exactly same code and it works fine, but now it doesnt work, so weird....i'm just thinking is it possible because of dgindex? but i dont think so...

Guest
19th June 2005, 07:31
After you load the AVS in VirtualDub, pull up File Information and check the frame size. Make sure it is a legal value for DivX. It must be a multiple of, what is it, 4? I can't remember. I believe it tells you on the config dialog.

Do you understand what Bob() does and why it is silly to put SeparateFields() before it???

gantengx
19th June 2005, 07:45
hehehe yeah i understand...i feel stupid huahuahuaha

well anyway, i check my frame size it's 620x256 (after i crop it) and it's legal for divx, divx ask for multiple of 4 for width and multiple 2 for height...

so weird..

btw, even if don't crop it still didnt work (640x360)

Guest
19th June 2005, 07:54
It's because your selected DivX profile does not support double rate video.

Use the Unconstrained profile. See here:

http://forums.divx.com/eve/ubb.x/a/tpc/f/776104432/m/698101732/r/467106942

gantengx
19th June 2005, 08:02
aha....finally i can made it...no wonder last night i did convert the framerate but i forgot, i just remember now.....so silly.... thanks a lot anyway....

neuron2, you're the man! heuheuhe

cheers