Log in

View Full Version : ProCoder 2 and Huffyuv problem


mp3dom
13th February 2006, 23:25
Hi to all!
I'm trying to make some mpeg2 encoding with ProCoder but I have some strange problems.
I have an Huffyuv Avi in YUY2 colorspace (ver. 2.1.1). If I load directly this file in ProCoder I get a color variation (for example a light cyan become full white) but If I load the same Huffyuv through AviSynth (AVISource("file.avi") without any colorspace conversion) then the color remain the same BUT there's a small difference between the Huffy and the AVS loaded in VDub. For example If I load the Huffy in VDub and the AVS (which load the Huffy) in VDub and I compare the same frames at 400% zoom I can notice small differences in the images. Could be that the Huffy is decoded by Huffy itself and AVS is decoded by the Microsoft YUY? I've tried to change the registry to use by default the HFYU decoder but the difference always remain. Also ProCoder has a built-in YUY decoder or it use the MS YUY decoder? (just to know if it has a sense to change the default YUY decoder). Also, I've changed in the registry the default decoder but there's a way to know (in VDub or other apps) if huffyuv is really decoding the YUY2 video or if the MS YUY decoder is still decoding the video?
Thanks.

varunb
15th February 2006, 12:27
Try loading that avs file in Procoder 2 or try to encode that avi to divx avi in vdubmod. It might help. If it doesnt then let us know by ur reply.

Good Luck!
Varun.

mp3dom
16th February 2006, 14:13
I've loaded the HFYU into an AVS script in ProCoder and I've verified that both (with HFYU decoder and with MS YUY decoder) produces the same results in MPEG so I think that ProCoder probably has an internal YUY decoder to handle the data. Thanks

Boulder
16th February 2006, 17:52
You could try using ColorMatrix(mode="rec.601->rec.709") in your script. You'll need the ColorMatrix plugin.