Is it possible to resize an image using FFMPEG?
I have this so far:
ffmpeg. -i 1.jpg -vf scale=360:240 > 2.jpg
I get the error message that 'At least one output file must be specified'
Is it possible?
Is it possible to resize an image using FFMPEG?
I have this so far:
ffmpeg. -i 1.jpg -vf scale=360:240 > 2.jpg
I get the error message that 'At least one output file must be specified'
Is it possible?
If you want to retain aspect ration you can do -
or if you want to resize based on input width and height. Eg. lets say half of input width and height you can do -
where
You can try this:
I got this from source
Note: The scale filter can also automatically calculate a dimension while preserving the aspect ratio:
scale=320:-1
, orscale=-1:240