consider using xvid.
www.xvid.org
DivX is proprietary software, with an opaque development cycle that follows only a commercial logic. XviD is Free Software (licensed under the GNU GPL), open to third-party contributions and aims for standard's compliance, portability and interoperability, high processing speed and superior quality.