extracts images from a video file.