Log in

View Full Version : Is there a way to rescue video encoded with the broken HuffYUV 2.2.0 video codec?


SenorKaffee
10th December 2005, 18:05
Looks like I have a new problem after switching PCs. My old PC worked with HuffYUV 2.2.0 like a charm, so I still have many video coded that way.

Since some of them are encoded using the HuffYUV RGB setting and not the YUY2 setting, no program can open them without crashing. Going back to 2.1.1 doesnīt help. The videos are incompatible - and therfore garbled when I use it. Upgrading to a newer version like 2.2.5 doesnīt help either, the crashes are still there.

Searching in the forums is see that the problem is not unknown... but I donīt see a solution other than starting from scratch. And thatīs some hours of work going to waste.

So is there a way to rescue video encoded with the broken HuffYUV 2.2.0 video codec? Please say yes. :(

celtic_druid
10th December 2005, 18:26
What happens if you use ffdshow to decode?

SenorKaffee
10th December 2005, 19:04
Okay, when GSpot shows this FFDSHOW should handle HuffYuv decoding, right?

(S) --> AVI Splitter --> ffdshow MPEG-4 Video Decoder --> (R)

VLC plays the movies, ungarbled and without crashing, but VirtualDub and After Effects that use VfW are unimpressed.

celtic_druid
10th December 2005, 19:22
Well VLC would use libavcodec same as ffdshow. Just make sure that you don't have huffyuv installed and that ffdshow is enabled for VfW decoding.

SenorKaffee
10th December 2005, 19:24
Okay. I got it myself. ^^

I use GraphEdit with Input File -> AVI Splitter -> ffdshow MPEG4 Video Decoder -> Huffyuv v2.2.0 -> AVI Mux -> Output File

Donīt ask me why Huffyuv shows up as v2.2.0, the DLL version is 2.1.1.
VirtualDub takes the resulting file and AFX should do so, too.

But it would still be nice if someone could fix that codec. ^^

SenorKaffee
10th December 2005, 19:32
I didnīt get your answer before I posted mine.

So I tried to uninstall Huffyuv completely. FFDSHOW decodes now, but now I am no longer to encode Huffyuv files, am I?

Is it possible to get FFDSHOW to encode them?

hellfred
10th December 2005, 19:58
I didnīt get your answer before I posted mine.

So I tried to uninstall Huffyuv completely. FFDSHOW decodes now, but now I am no longer to encode Huffyuv files, am I?

Is it possible to get FFDSHOW to encode them?
yes. You can configure ffdshows vfw wrapper to encode to wide range of codecs, MPEG4-ASP, ffv1, snow, Theora, MJPEG, HuffYUV etc.
(Pulldown menue in the upper left corner with label "Encoder")
VFW coded configuration that is available via e.g. ffdshows shortcuts in start menue.

Hellfred