Log in

View Full Version : VDub, VDubMod, GSpot crash when opening a file


dubious buccaneer
26th July 2004, 16:57
I have this video file which used to load just fine last year, and it still plays fine (ffdshow says: DX50 libavcodec MPEG-4), however, VbudMod, VDub and GSpot all crash trying to load it. VDub says:

An out-of-bounds memory access (access violation) occurred in module 'GJPG'...
...while decompressing video frame 0 with "Grand Tech Camera codec" [biCompression=30355844] (VideoSource.cpp:1772).

And the Windows explorer property page says the file is encoded using "GT codec". This sounds like a reference to

4CC code: GJPG
Codec name: GT891x Codec
Mfg'er: Grand Tech

But it's quite impossible for an anime fansub to be using this codec. What's going on?

(PS tried searching the forum, didn't find anything)

stegre
28th July 2004, 14:51
"...Why do I mention this? Well, I finally got a chance to debug against that blasted "Grand Tech Camera Codec" that's been crashing all over the place, trying to decompress formats that belong to other codecs. It turns out that the validation done by its ICDecompressQuery() function is to check... the width and height. Believe it or not, it doesn't check the FOURCC. Even worse, if you call ICDecompressQuery() or ICLocate() with "any format" as the target format, the codec essentially checks... nothing. Does it accept DivX? Yes. Does it accept Indeo? Yes. Does it accept 43-bit RGB? Yes. That means it claims to be able to decompress ALL formats! As such, it is only fitting that I award GTCODEC.DLL the Lame Codec of the Week award for absolutely breaking the Windows video codec system."

- Avery Lee, 10/13/2003
http://www.virtualdub.org/oldnews

dubious buccaneer
28th July 2004, 23:16
Yes, I suspected as much. Problem solved upon reinstalling DivX;-) 3.11 (which was what the file was actually encoded in). Thank you. Is this problem frequent enough to merit going into the FAQ?