To make a thumbnail from a long video I do not want ffmpeg to decode the first hour. Where you place -ss on the command line decides how it seeks.
The ffmpeg docs say that, used as an input option before -i, -ss seeks in the input file to the position you give. A single frame at one minute thirty then looks like this:
ffmpeg -ss 00:01:30 -i input.mp4 -frames:v 1 thumbnail.png
-frames:v 1 stops writing after one video frame. The docs list -vframes as an obsolete alias of it and recommend the first form. The result is one image file at that moment of the video.
The position matters more than the option name. Put -ss after the input, before the output name, and ffmpeg decodes but discards everything until the timestamp is reached. That is correct but slow for a long file. Before -i, it seeks first.
The docs mention that exact seeking is not always possible, so ffmpeg goes to the closest seek point before the position. When you transcode, which is the case for a PNG, it decodes the stretch between that seek point and your position and discards it. So the frame you get is the one you asked for.
Stream copy behaves differently. With -c copy or -noaccurate_seek that extra stretch is kept instead of discarded, so a cut can start a little earlier than you typed. For a thumbnail that does not matter. For a clip you want to copy without re-encoding, check the start of the output.
Also remember that ffmpeg applies options to the next file you name, so an option placed on the wrong side of -i works on the other file, or on nothing.
Further reading: ffmpeg Documentation: main options