Welcome to CD Freaks,
soumya1323
First of all, some definitions are needed here:
- DivX and Xvid are both codecs based on the MPEG4 standard.
- DivX is now a commercial version
- Xvid is free
- AVI (.avi) is a file format which can contain many things - even MPEG2 - but usually contains the MPEG4-based DivX or XviD.
- DivX people decided to make a new file format which has the extension .divx, and their officially-compatible players will look for this. However I suggest you try such a player with .avi files containing XviD encodings and I bet they'll work.
I'm afraid no-one can give you a short tutorial on this, but I hope the above will get you started. Meanwhile I'll transfer this query to the CD Freaks' Video Edit forum.