Expanding on what doctorwho said:
ffmpeg -i input.whatever frame-%04d.png
Explode virtually any video format into frames, assuming that you've configured ffmpeg generously at compile time.