View Full Version : Xvid = Uncompressed RGB?
animeultima
12th September 2005, 00:55
I guess this goes here. It has to do with Xvid.
Anyways, this may seem like a stupid question, but I am encoding some anime (Gunslinger Girl), and I used the temporalsmoother in Vdubmod. when I did that, on the output side, I didn't see any noise. So I had saved one in uncompressed avi and one in xvid. I know that uncompressed is definitely much more quality and such, but the noise was like completely gone, but in the xvid compression, it was still there. I know that uncompressed is way better, but it should still look just as good with xvid shouldn't it? I have no idea, so that is why I am asking. This stuff is starting to confuse me. :confused: If it won't work, then what should I do?
ChronoCross
12th September 2005, 01:21
xvid is lossy and some noise may be created during the encoding process. If you compare a full length uncompressed encode with a xvid encode of the same sie there is a good chance that the xvid encode will still look a little worse than the uncompressed one.
animeultima
12th September 2005, 01:32
so how in the heck do I remove noise if xvid creates it, and doesn't help get rid of it? Even when i brighten and such, it doesn't make any difference. I am showing you in original color.
Edit: After looking at the xvid compression, I noticed that it adds like pink noise that comes in noisy specs and dots. The bright white color on the side of this forum makes it hard to notice.
Uncompressed looks good on all.
http://amvultra.usmanbiz.com/images/perfect1.png
http://amvultra.usmanbiz.com/images/perfect2.png
http://amvultra.usmanbiz.com/images/perfect3.png
Xvid compressed.
This one, you might not be able to tell too much, but it looks really bad when playing.
http://amvultra.usmanbiz.com/images/fromhell1.png
http://amvultra.usmanbiz.com/images/fromhell2.png
http://amvultra.usmanbiz.com/images/fromhell3.png
communist
12th September 2005, 09:03
I used the temporalsmoother in Vdubmod. when I did that, on the output side, I didn't see any noise.
The displayed output is just what is the result of any filtering applied in VDub(Mod) and what the program will send to the codec (or none if you save as uncompressed), not the final encode. XviD is a lossy codec and hence it will never look the same as the input.
Also did you select fast recompress when you saved the XviD encode? If yes that would explain why the noise was still there. Fast recompress disables any filtering applied in VDub(Mod).
ChronoCross
12th September 2005, 20:23
would you mind posting both your final filesizes and xvid settings? Also a clip of the actual bad video as I can't see anything in your pics. thank you.
IgorC
12th September 2005, 22:08
At least provide a soource image. People havenīt any idea how source looks like, what settings, xvid version etc. It will help a lot if you will read FAQ of this forum how to do a question.
Maybe some suspections:
1. Decoder . I prefer to use ffdshow . Post Proc without deringing
2. Chroma optimizer.
3. YV12 -> RGB -> YV12 = Virtual dub Full processing.
4. ?
Blue_MiSfit
13th September 2005, 08:31
consider switching to using avisynth for your filtering. When you use virtual dub filters, generally there are several mathematically lossy colorspace conversions that take place - usually back and forth between YV12, YUY2, and RGB32 IIRC. With avisynth, you can use filters that work in dvd/xvid's native colorspace - YV12. You are using temporalsmoother - I bet you would not only get rid of your coloration issues, but also get better compression by using a decent temporal denoiser in avisynth. I would reccommend something like deen (used gently as it is by default a little aggressive for my tastes). It has proven success in anime in particular.
Plus, it's just really freaking cool to create a little script that processes your video. It lets you pretend you can program :D
good luck!
-misfit
Mug Funky
13th September 2005, 10:02
gunslinger girl is hella clean anyway... and IIRC it's IVTC'able as well (rare, but getting more common thankfully)
you could do it in avisynth with nothing more than some (very) light deblocking and a chroma filter (sometimes MPEG encoders can "dance" a little in the chroma).
the chroma noise could be killed transparently with:
temporalsoften(2,0,2)
there's probably better ways to do it though.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.