ffmpeg export video to 1 image
You have to use the update option.

-vf fps=1 -s 320x240 -update 1 d:\preview\out.jpg


This will rewrite onto the same file.

To avoid a possible read op in the middle of the updating, you can add -atomic_writing 1