Seeks to 7 seconds and writes exactly one frame, for use as a

The command

ffmpeg -ss 7 -i input.mp4 \
  -frames:v 1 \
  -vf scale=600:600 \
  -q:v 2 \
  output.jpg

What each part does

-ss 7                  seek to 0:07 before decoding (fast)
-frames:v 1            write one frame and stop
-vf scale=600:600      resize to 600×600 (stretches non-square sources)
-q:v 2                 JPEG quality (2–31, lower = better)

When to use it

Use this when you need one still from a video: a <video> poster, a thumbnail, or a quick reference frame. It pairs naturally with the 600×600 encode in ../conversion/web-mp4-square-600.sh, so the poster matches the player size. The header explains each flag.

Don't use it for an animated preview; palette-gif.sh covers that. It also isn't the right tool for non-square footage as written, because scale=600:600 stretches anything that isn't already square.

Common edits:

  • Change -ss 7 to the moment you want, for example a frame after a title card.
  • Change 600:600 to a size that matches your source's aspect ratio, or crop to square first with one of the ../resize-crop/ scripts.
  • Raise -q:v toward 31 for smaller, lower-quality files.

If faces or shapes look squashed, the source isn't square; fix the scale size. If the JPEG looks blocky, check that -q:v is still 2. If you're adapting an older copy that used -t 1 -f image2, switch to -frames:v 1 as described in the header.

Notes

Source
ffmpeg-utilities/ogg-mp4-jpg-600.sh (also vector copy.sh, vector copy 2.sh)
Changed
"-t 1 -f image2" wrote a second's worth of frames (about 30) over the same filename; -frames:v 1 writes exactly one. -s 600x600 → -vf scale=600:600; added -q:v 2.