I want to take a screenshot/thumbnail from a clip whose size is 1024×780, but I don't want the entire height. I just want the screenshot to take 768 × 80% of the height.
This is because I don't want any subtitles to be included in the thumbnails.
I'm currently using the following command to get screenshots:
ffmpeg -i <input> -f image2 -ss <position> -s 768x432 \
-vf fps=fps=1/10 -vframes 20 <output>
The goal is to end up with a thumbnail sized 768×432, but the height 432 is only 80% of the height of the original video file.