PDA

View Full Version : ATI AIW won't capture in 24 bit with HuffYUV, debug says 16 bit


Jeff D
13th March 2003, 07:24
I was thinking my captures were looking a bit 16 bit. I checked my capture settings and I have HuffYUV 2.1.1 and I'm using the 3.1 ATI drivers.

The valid setting for HuffYUV is 24 bit.

I enabled the debug info in the HuffYUV configure dialog. Here's the resutls:
CompressQuery: input = 0, 24 bit, output = (null)
CompressQuery: input = 0, 24 bit, output = (null)
.....
CompressQuery: input = 0, 24 bit, output = (null)
CompressBegin: input = YUY2, 16 bits, output = HFYU, 16 bits, method 2

This doesn't look right to me. Anyone else ever seen this? I've never seen a way to configure the ATI capture settings.

Jeff D
13th March 2003, 22:16
Just got off the phone with ATI. Turns out they "know" of the problem.
Said they've had a few other calls on this.

They don't have any helpful advice beyond that. I'll be sending them information, but I don't expect a quick turnaround.

This seems to be a driver problem to me, the ATI software does the same thing. Decides 16 bit is the max and work with it.

Anyone else seen this or know of a way to get around it?

BaronVlad
14th March 2003, 02:37
Did you try other (non ATI) Drivers ? Maybe this will help.

Have a look at this: tv-cards.com (http://www.tv-cards.com/drivers.php)and rage3d (http://www.rage3d.com/) or google a bit...

Jeff D
14th March 2003, 05:29
I've been all over rage3d, and that confused me more.

The talk was about the YUV format being 16bit, which makes sense. But I'm still confused by the debug information.

On playback the codec spits out the following:

DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = CLJR, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = UYVY, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = CLJR, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = UYVY, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 24 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = CLJR, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = UYVY, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 24 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressBegin: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = CLJR, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = UYVY, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 24 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = CLJR, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = UYVY, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 24 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 3, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 16 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 8 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = YUY2, 16 bits
DecompressBegin: input = HFYU, 16 bits, method 2, output = 0, 32 bits
DecompressQuery: input = HFYU, 16 bits, method 2, output = 0, 32 bits

So, what I don't understand is that it looks like it's trying to be able to output something better than 16 bit, but it can't.

I really don't know how to decode this information.

ShinSan
21st January 2007, 07:50
Ah! So that's what was causing the

DecompressQuery
DecompressQuery
DecompressQuery
DecompressQuery

messages to be spit out on the x64 version of Windows. Huffyuv x64 has that set to on by default. The 32-bit one didn't. This got quite messy because Windows Explorer now scans .avi files in order to extract information like the resolution, and it did this on about 1 out of 5 .avi files.

squid_80
21st January 2007, 15:01
Whoops. That was the default setting in the code, I didn't change it when I made the x64 build. Nobody ever mentioned it till now, which is surprising because doesn't it kill explorer if you close the debug window? Anyway for anyone wondering how to turn it off: start virtualdub (64-bit, if that's the build of huffyuv causing trouble), go to video->compression, select huffyuv and hit configure. Turn off the "enable conole-window logging" option, hit ok to clear the dialogs and exit virtualdub. Should be fine after restarting explorer.