Tried encoding 1-pass XviD with colorful moving objects in the foreground against a PITCH BLACK Background used 3000 kbits (increasing bit rate has zero impact) changing i-frame quantizer has zero impact (even tried 1-2) using latest koepi unstable build XviD-02022003-1 tried h263 and mpeg 1 pass CBR, or 100% quality, or quantizer=3 lumi-masking OFF; on is just as bad CBR smoother from 0-100, no impact compared this to DivX3, and DivX is far superior than XviD !!! the XviD encode has a lot of noise in the background which looks really horrible. looks like color from the foreground is leaking everywhere. Extremely blocky color leakage !!! The divx encode looks very clean. It has only about 10% of the XviD noise. If the background is lighter gray, the situation REVERSES and the XviD is far superior than the Divx. It seems like XviD has a very serious limitation against SOLID DARK colors ??? anyone know how to fix this?
Use a filter to adjust the levels so that you have more black. Does 2-pass help?
--------------------- "WTF I just read the last line of that HAHA YOUR GF GOT FUCK*D IN THE AS* BY ANOTHER GUY!!!" BIMMER SOLD) WS-6 Now !! With full boltons ... Also 1996 Chevy Silverado 5.7 liter Vortec / 4X4 MyCar
Maybe you could post a clip to show what you are talking about? I don't think xvid has any trouble with black, as I just created a test video myself to see if I could cause some trouble in the codec (pure black background with colored text zooming all over the place) and for all quantizers below 8, it looked very nice. Probably you just need to filter your source some, maybe adjust the levels like Y7 said. Spatial and temporal cleaners might help as well.
--------------------- James 2005 Imola Red M3 - VF Stage I Supercharged Street/Track Car E46 M3 VF Engineering Stage I Supercharger DIY
Listen to Koepi. That issue was discussed extensively in the past and a working solution was finally proposed/achieved in the "Lumi Masking" thread in this very XviD forum. regards, iago Use LumaFilter(-2) / LumaFilter(-3) / LumaFilter(-3,0.8) etc. depending on the source, together with UnFilter.
--------------------- P I T T S B U R G H, P A [img][/img]
LumaFilter cleans the noisy blocks !!! It tends to brush out and use one standard color to remove the blocks and noise. LumaFilter works nicely to remove the noise in a dark background. I will try a setting of (-1) instead of the default of (-2) because I don't want some of the fine details to have its color transformed to black. LumaFilter also tends to add more of those tiny white DOTs. I didn't try the UnFilter, because it was not part of the avisynth v.250 package. Thanks to everyone for being so helpful