I suggest you research mkv. Avi is good but a little dated.
I backed up all of my DVD's by re-encoding to x264 to mkv. The files are about 900MB to 1GB per movie. You can check out Handbrake to do the encoding. It can do avi too I believe if that's really what you want.http://handbrake.fr/