Frame capture from avi

Hi,

I would like to know of a way to capture still frames from an avi video( or some other mpeg format aswell). I would like to do this every couple of seconds.

waiting for the reply, thanks.