Use command: ffmpeg example:
Use command: ffmpeg
example:
ffmpeg -framerate 10 -pattern_type glob -i '*.JPG' output4.mp4
where '*.JPG' means it will take all files iwth extension JPG from current directory
"-framerate 10" mean 10 images will be shown per second