If you feel like this example could be improved, you may edit this example here.
The following will generate folder/image000.jpg, …, folder/image999.jpg jpg files for every frame of the the input video video.mp4
This is a useful method to extract a frame for a thumbnail or for frame-by-frame editing and video manipulation.