Perian is a free, open source, QuickTime component that supports many popular media types, including AVI, DivX, and XviD.