PDA

View Full Version : Weird colors after encoding


StephLG
5th July 2002, 11:50
Hi,

I experienced a strange color problem when I tried to encode an HuffYUV avi file with CCE (I tried v2.5, v2.62 and v2.64 and it's all the same). This very same file is encoded by TMPGenc without any trouble.
Take a look at the captured frames (under WinDVD) to figure out what I'm talking about:
TMPGenc cap: http://mapage.noos.fr/stephane.leguevel/TMPG.jpg
CCE cap: http://mapage.noos.fr/stephane.leguevel/CCE.jpg (about 200Kb, sorry)

As you can see, the colors on the CCE cap are completely messed up and the image is reversed (top became bottom and left became right). I have the feeling that CCE doesn't like my file format but I don't understand why.
Let me detail a little bit the whole process from capture to encoding to see if I did something wrong:
- capture with iuVCR using HuffYUV default settings (predict gradient), NTSC 720x480@29.97fps
- processed the file through avisynth (v1.07d, I think) for IVTC (with Decomb), BicubicResize/Crop. avs file opened in VirtualDub and saved as avi using 'Full Processing' method and still HuffYUV codec set to default.
- the resulting 18Gb NTSC 720x480@23.976fps was fed to CCE and TMPGenc.

I didn't do any YUV ro RGB conversion (at least not on purpose). The result in CCE is the same with CBR or VBR (I used max: 8000, min: 1500, avg: 5500). I didn't apply any filter; actually, I followed Robshot's guide, except for the 'Linear quantization scale' that I unchecked.

Does anybody have a clue on what is happening?

Thanks,
Steph.

Tsui
5th July 2002, 19:38
1. Huffyuv assumes that your video has a horizontal resolution which is a multiple of four

2. you better use the huffyuv-version with the cce-patch 0.2.2
(doom9-download)

Greetings
Tsunami

StephLG
8th July 2002, 09:58
Hi Tsunami,

thank you for your input.
I was not aware of this 0.2.2 Huffyuv patch for CCE; I tried it last night and it worked.

Thanks again,
Stéphane.

Milkman Dan
8th July 2002, 13:15
Just for the record, an alternative to that approch is to frameserve the HuffYUV. Comes through fine.

S'all.