ffmpeg -i videofile.mpg -r 1 image-%04d.png
-i is the input file with path
-r is the frames to capture and reverse how you want it to work.
1 means that the command will save a frame every second. Replace 1 by 0.5 will save frame every 2 seconds, replace 1 by 2 will save 5 seconds, etc.
.png is the file extension of images that you extract from a video. You can change .png to .jpeg, .tiff, .bmp and other image file extension.
eg
ffmpeg -i pb1.mp4 -r .01 probuilder-%04d.png
https://moviemaker.minitool.com/movie...
https://www.gyan.dev/ffmpeg/builds/
Capture 36