convert -evaluate-sequence Min $( for i in $( seq 34 7 99 ) ; do echo $i.png ; done ) every7th-frame.jpg # Using frames 34 through 99 from a video, take every 7th frame and overlay it into a composite image. The 'convert' command is part of the ImageMagick package.