For creating a video thumbnail with
ffmpeg I'm using this command:
ffmpeg -itsoffset -4 -i video.mp4 -vframes 1 thumb.jpg
This gives me a thumbnail with the same size of the video (which has an unknown size, e.g. 960x540). But what I need is a square (cropped) thumbnail with a given size (e.g. 200x200). The result must not be resized, but cropped from the center, and the aspect ratio should not change.
How can this be accomplished?