ffmpeg -i BigBuckBunny_320x180.mp4 -ss 00:00:09.000 -t 60 -q:v 1 -r 1 -f image2 image_%05d.jpeg
-ss start time
-t duration from start time
ou use trim
ffmpeg -i BigBuckBunny_320x180.mp4 -vf trim=09:69 -r 1 -f image2 image_%05d.jpeg
Como obter a duração do exemplo de vídeo.
ffprobe -v quiet -show_streams -select_streams v:0 -show_entries stream=duration BigBuckBunny_320x180.mp4 | grep duration | awk -F= '{print $2}'