The problem with XVid is that it still tends to be used to write to non MPEG complaint containers, like AVI. While it is based off MPEG 4, it's not the newer part of MPEG 4 that added H.264 either.