Hi Zangetsu....
Your argument about Xvid being superior than x264 ( H.264 ) understood...
However l would like to elaborate few things...
First you haven't mentioned the encoding settings used for x264 and Xvid you used for your encoding... Quality can vary drastically due to settings...
ex - Suppose you use the following settings for Xvid
Motion Search - Ultra High
Mode - 2 Pass
** Bitrate 4000 **
VHQ Mode - Wide Search
Use VHQ for B-Frames
Use GMC
No of B-Frames - 6
I general you are using what I think are high settings for Xvid
---------------------------------------------------------------
Now lets consider you are using x264 ( the supposedly encoder of thee two ) and you use the following settings.....
Motion Search - Diamond
Mode - 2 Pass
** Bitrate 2000 **
MB Algo - 1
Strict B-frames
Reference frames - 2
No of B-Frames - 2
This settings I consider as low quality settings....
----------------------------------------------------
So now even though x264 is a superior encoder compared to Xvid the fact that we used Ultra High settings for Xvid and base settings for x264 makes the quality of encodes by x264 look inferior... Its all about the settings we use that make the difference...
x264 ( H.264 ) in general will always give better quality than Xvid Codec...
because it has better algorithms.
However also note that at Superhigh bitrates quality doesn't matter much...
Ex- Blu ray discs support 3 Codecs as standards for publishing a Movie
These are...
H.264
VC-1
MPEG-2 ( Surprise as it is inferior to Xvid ( MPEG-4 ) )
At high bitrates ( 30-40 Mbps )details are preserved no matter what codec is used....
Considering your argument that background details are ignored by x264... if we think about it in a video.. ex an action video of car chase.. people who watch the video will in 99 out of 100 cases will be more interested in watching the car rather than the scenery in the background.. however I must add all MPEG Codecs including Xvid and x264 work similarly.. giving more bitrate to high motion than static scenes...
Hope this info helps
===============================================================
Also note "x264 blackens" I think this has nothing to do with the encoder but with the fact how video is displayed on your monitor...
Let me elaborate..
With the explosion of HD a lot of emphasis is given on HD playback...
Almost all HD videos use H.264 rather than Xvid...
You must have noticed new Renderers being released ( EVR CP, MadVR ) etc... newer colorspaces ( NV12 etc )
Let us just see what happens...
If you update ffdshow to latest version you will notice that instead of outputting video in YUV or YV12 latest ffdshow uses NV12.. in case of H.264 video...
In case of Xvid the colorspace will be YV12
Newer colorspaces are very GPU emphasized ( good thing ) trying to use GPU's etc... this is good though there is a problem...
Because of badly designed drivers and the fact that rendering through GPU is new tech it can throw wonky artifacts in video....
Case in point as in above problem when decoder use NV12 blacks can become blacker and colors get more saturated.. This happens due to software glitches...
Now NV12 is used in H.264 while Xvid decoding still uses YV12 so no apparent blacking is noticed in Xvid leading you believe Xvid is better...
I must add I have this problem on my laptop as well... If I use EVR CP with ffdshow I get very weird video colors.. skin becomes pinkish in color.. blood looks dark pink than dark red ( Zombie movies
) and blacks become over emphasized.. It doesn't happen in case of Xvid but only in case of H.264 and it doesn't happen on my Desktop... why shitty drivers by the laptop manufacturer.... so solution USE VMR9 with ffdshow.... and I want to use EVR CP because it is slightly better renderer ( quality wise ), you can't use GPU accelereation with VMR9... This problem I have seen with Dell laptops a lot
Endnote we require better quality software...
================================================================
Apologies if this post is long, I wanted to do it justice... If you want further explanation please post I will reply... Happy Christmas and New Year