You can try this:
ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png
I got this from source
Note: The scale filter can also automatically calculate a dimension while preserving the aspect ratio: scale=320:-1
, or scale=-1:240
You can try this:
ffmpeg -i input.jpg -vf scale=320:240 output_320x240.png
I got this from source
Note: The scale filter can also automatically calculate a dimension while preserving the aspect ratio: scale=320:-1
, or scale=-1:240