Anyone knows a command to use ffmpeg in order to generate 10 images from one video file?
This command for example would generate a jpg image for every frame, but idealy I would like 10 images taken from the video, from 1%, 10%, 20% etc to use them as a preview that covers all video.
ffmpeg -i sample.mp4 images/sample_%d.jpg
That would make sample_1.jpg, sample2_jpg ... sample_300.jpg, too many images.
If there isn't such command then it would also help me a SSH command that does this: Loop over images directory, get the total images (e.g 300) and then remove all but 10 of them, in this case it would be image 1.jpg, 30.jpg, 60.jpg .. 300.jpg.
Any ideas (commands)? Thank you.
