Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Testing / Bug Reports > Couldn't Locate Decompressor For Format 'xvid'


Posted by: cht Nov 15 2010, 03:44 AM
Hi guys

I'm trying to edit an .avi file, but when I try to import the video, I'm getting this error:

"VirtualDub Error

Couldn't locate decompressor for format 'xvid' (unknown)

VirtualDub requires a Video for Windows (VFW) compatible codec to decompress video. DirectShow codecs, such as those used by Windows Media Player, are not suitable."


What I've done:
- I've installed the Xvid and K-Lite package codecs.
- Can't find any resolutions from Google search. I tried doing what was said on this website - http://www.moviecodec.com/video-codecs/help-couldnt-locate-decompressor-for-format-xvid-virtualdub-requires-a-vfw-codec-26374/ . I downloaded the codec from http://www.free-codecs.com/Nic_XviD_Codec_download.htm , but that didn't solve the problem.

Most avi files work, but there a few files which get this error. I've tried on two PC's, one running Windows 7 32bit and Windows XP 32bit.

Any suggestions?


Thanks in advance

Posted by: mayhem Nov 15 2010, 05:07 AM
Eventually this is something that needs to be fixed, probably in the encoders
themselves, unless some kind of special routine can be written in VirtualDub
for it.

But at any rate, depending on the software used to create the file there
may have been a uppercase/lowercase issue or other fourcc issue.

Try clicking the "ask for extended options after this dialog" checkbox
in the Open dialog then select your file and click open,
in the pop-up window that appears check off both

"Force video format FourCC code to"
"Force video handler FourCC code to"

and enter XVID in capital letters into those
boxes before clicking OK.

If that doesn't work, and it usually does, but if not
maybe the codec wasn't installed properly or is in
conflict with another codec trying to shanghai the
xvid fourcc.





Posted by: mayhem Nov 15 2010, 05:17 AM
And actually, if the above doesn't work another option
is trying to open the file via the DirectShow input filter,
hunt down the input filter add-on in this forum, here:

http://forums.virtualdub.org/index.php?act=ST&f=7&t=15093&st=0

Install it into virtualdub, if memory serves you just unzip
it into plugins32 sub-folder, that is to say make sure
the .vdplugin file in the archive ends up in plugins32.

The restart VirtualDub, go to Open File, select your
file but do NOT click Open yet, instead use the drop-down
"File Types" box to select "Directshow Input driver",
then click Open and it'll try to run the file thru
directshow filter rather than xvid codec.

This often works for other types of screwy files
too.

One of the above methods, either the extended options,
with XVID capitalized in force fourcc, or this option with
directshow filtering should work, if not then the file
is probably seriously damaged in some way.


Posted by: Placio74 Nov 15 2010, 06:46 AM
Or... install http://jawormat.republika.pl/xvid.html (that supports lowercase FourCC).

Posted by: cht Nov 16 2010, 12:46 AM
QUOTE (Placio74 @ Nov 15 2010, 06:46 AM)
Or... install http://jawormat.republika.pl/xvid.html (that supports lowercase FourCC).

Sweet that solved the problem.

Thanks !!!

Posted by: vduser78 Dec 23 2011, 05:24 AM
QUOTE (mayhem @ Nov 15 2010, 05:07 AM)
Eventually this is something that needs to be fixed, probably in the encoders
themselves, unless some kind of special routine can be written in VirtualDub
for it.

But at any rate, depending on the software used to create the file there
may have been a uppercase/lowercase issue or other fourcc issue.

Try clicking the "ask for extended options after this dialog" checkbox
in the Open dialog then select your file and click open,
in the pop-up window that appears check off both

"Force video format FourCC code to"
"Force video handler FourCC code to"

and enter XVID in capital letters into those
boxes before clicking OK. 

If that doesn't work, and it usually does, but if not
maybe the codec wasn't installed properly or is in
conflict with another codec trying to shanghai the
xvid fourcc.

QUOTE
Try clicking the "ask for extended options after this dialog" checkbox
in the Open dialog then select your file and click open,
in the pop-up window that appears check off both

"Force video format FourCC code to"
"Force video handler FourCC code to"

and enter XVID in capital letters into those
boxes before clicking OK.


IT WORKED, thanks!

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