There is a very good article right here on CP:
Extract Frames from Video Files[
^] that you might want to check out.
Searching google for the phrase "extract images from avi" yields approximately 28K hits which should be specific enough.
Hope this helps you.
Cheers!