User User name Password  
   
Friday 4.7.2025 / 02:38
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > virtualdub/divx5: "cannot start video compression: the source image format is not acceptable. (error code -2)"
Show topics
 
Forums
Forums
Virtualdub/DivX5: "Cannot start video compression: The source image format is not acceptable. (error code -2)"
  Jump to:
 
Posted Message
geevee
Newbie
_
23. August 2002 @ 05:23 _ Link to this message    Send private message to this user   
got this error message while trying to compress first pass with DivX5.0 (job file came from Gordian Knot).

I read in another thread that resolution has to be a multiple of 16 but my avs source is 384x288 (=16* (24x18))

What's wrong?

Thanks, GeeVee
Advertisement
_
__
I hate titles

35 product reviews
_
23. August 2002 @ 05:51 _ Link to this message    Send private message to this user   
You didn't perform any resize/crop in Dub?

Petteri Pyyny (pyyny@twitter)
Webmaster
https://AfterDawn.com/
geevee
Newbie
_
25. August 2002 @ 12:29 _ Link to this message    Send private message to this user   
As far as I know, I didn't. After DivX5 didn't work, I tried DivX3 and got the said resolution. Even if the avs has a vob in background that has to be resized, this resizing is done prior to DivX coding.
I hate titles

35 product reviews
_
25. August 2002 @ 12:48 _ Link to this message    Send private message to this user   
True, but I'm asking this since if you performed cropping/resize at any point, there's the possibility that in the end, DivX codec gets f**ked up resolution video into it (not multiplies of 16), which is the really only cause for the problem you mentioned.

One thing tho' -- can you preview the video correctly with VirtualDub before you try to encode it (I mean, you've added all the filters & stuff you are going to, prior encoding)?

Petteri Pyyny (pyyny@twitter)
Webmaster
https://AfterDawn.com/
Advertisement
_
__
 
_
geevee
Newbie
_
28. August 2002 @ 04:22 _ Link to this message    Send private message to this user   
Yes, i can preview and I managed to solve my problem.

But it is strange. I loaded the malfunctioning config file and on
DivX Pro 5.0 Codec configuration page, General Parameters tab I pressed
the button "Restore codec's default". This didn't change the
"Quick Config CLI" on DivX Codec tab:

-b1 780 -key 300 -dr 12,2,2000,10,20 -sc 50 -pq 5

Though both checkboxes for "Enable Crop" and "Enable Resize" were disabled,
the values changed from
0
480 0 0 640
0

to

0
0 0 640 480
0

but now the compression works! I saved both configs as .vcf file,
the only difference is the line

8<--cut--/begin
VirtualDub.video.SetCompData(372,"GAEAAODmCwDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEQ6XFRJVEFOX0FFXGR2ZDJhdmktcHJvalx0aXRhbi1hZV8yLmxvZwBjOlx0ZXN0LmRpdngARDpcVElUQU5fQUVcZHZkMmF2aS1wcm9qXHRpdGFuLWFlXzIubXYA");
8<--cut--/end

which fails and

8<--cut--/begin
VirtualDub.video.SetCompData(319,"GAEAAODmCwDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAACgAAAAAAAAAAAAAAAAAAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAACamZmZmZnJP5qZmZmZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAgAIAAOABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////AQAAAGM6XGRpdngubG9nAGM6XHRlc3QuZGl2eABjOlxtdmluZm8uYmluAGk=");
8<--cut--/end

which works
for completeness, if you want to test:

8<--cut--/begin
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x78766964,0,10000,0);
VirtualDub.video.SetCompData(372,"GAEAAODmCwDQBwAACgAAABQAAAAsAQAADAAAAAIAAAAFAAAAAAAAAJABAAAAAAAAAAAAAB4AAABkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAyAAAAAAAAAAAAAAAAAACgmZnJPwAAAKCZmck/QAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIACAADgAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAAD/////BAAAAEQ6XFRJVEFOX0FFXGR2ZDJhdmktcHJvalx0aXRhbi1hZV8yLmxvZwBjOlx0ZXN0LmRpdngARDpcVElUQU5fQUVcZHZkMmF2aS1wcm9qXHRpdGFuLWFlXzIubXYA");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
8<--cut--/end

My problem is solved, but the cause for the error is still unclear and interesting. Thanks for your Time.
afterdawn.com > forums > archived forums > divx / xvid > virtualdub/divx5: "cannot start video compression: the source image format is not acceptable. (error code -2)"
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork