PDA

View Full Version : Massive color shift in huffyuv capture?


sundrenched
3rd January 2010, 02:02
OK, this has completely frustrated the heck out of me. Here's the picture of my problem, and then I'll explain how this happened.

http://i97.photobucket.com/albums/l222/adventure_maniac/Random/Screenshot.jpg

About a year ago I captured some travel footage from my hi8 camera through a hauppage card using Virtualdub 1.8.8, using the huffyuv codec, YUV2, 640x480. Output was into an avi file. Now, here's the strange thing. When I viewed the output file in anything other than virtualdub, like windows media player, or mplayer on linux, it looked like the above image. But when I viewed it on virtualdub, it looked like a correct real life video image, with all the colors in the right place.

Fast forward to today. My harddrive dies, so I reinstall on a new harddrive windows, linux, etc, Virtualdub, the latest and 1.8.8, all the codecs including the same huffyuv codec, and not a single one of my video files looks like a correctly captured video file. They all look like the above picture.

I've spent the last two days trying to figure out what's going on, and why, and so far, the codecs are consistent, eg. huffyuv 2.2., I also tested with 2.1.1, I've experimented with filters to no avail, and I'm now at a lost. The only clue I've got is when I play the file in mplayer on the command line in linux, it says

Could not find matching colorspace - retrying with -vf scale

So, I explored the colorspace matching thing, and that had no solutions.

What's happened to my Virtualdub setup that I can no longer see my video files in their normal correct colors? All the settings are the same. Before, I had to post process and cut in Virtualdub, because only Virtualdub could decode and view the files correctly, before editing in Premier. Now, nothing can see the files correctly. Please advise. This is driving me nuts.

squid_80
3rd January 2010, 07:47
Incompatible huffyuv codecs/options. If you're sure about which version of huffyuv you used to compress it install only that build, disable huffyuv in ffdshow and also disable internal codec support in virtualdub.

Blue_MiSfit
3rd January 2010, 08:47
Did you by any chance encode this with the HuffYVU encoder in ffdshow? This has some features that aren't supported in mainline HuffYVU, like YV12 support, and adaptive huffman tables IIRC.

Try decoding with ffdshow's VFW (disable or uninstall HuffYUV, and turn on libavcodec decoding for HuffYVU in ffdshow's VFW configuration app.

~MiSfit

sundrenched
3rd January 2010, 20:11
Hi folks,

Ugh. Thanks for the clues. I discovered that I originally used not just huffyuv, but the huffyuv 2.1.1 CEE SP patch 2.5 version when I captured, which I downloaded from doom9, gordian knot, et al. Man, what a mess. Thanks for the advice, I can see my videos clearly now that I've installed those original codecs. Now I gotta transform these videos into something portable for master storage and NLE, and it won't be huffyuv, that's for sure!