Linux Video

Converting Video to Images

To convert a video (e.g. P1100864.MP4) to a series of image (in this case output_001.jpg, output_002.jpg, etc) you need the following command:
$ ffmpeg -i P1100864.MP4 -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr -qscale:v 2 output_%03d.jpg
Source: Stackoverflow