I posted this as comments under this related thread. However, they seem to have gone unnoticed =(
I\'ve used
ffmpeg -i myfile.avi -f image2 image-%05
I tried this on ubuntu 18.04 terminal.
ffmpeg -i input_video.avi output_frame_path_images%5d.png
where,
-i = Input