I want to scale a video from 1920x1080 to 640x480 and rotate by 90 degree in clockwise order.
Which options must be used with ffmpeg?
I want to scale a video from 1920x1080 to 640x480 and rotate by 90 degree in clockwise order.
Which options must be used with ffmpeg?
You must use scale
and transpose
options within same -vf
parameters like that:
ffmpeg -i input.mp4 -vf "scale=640:480,transpose=1" output.mp4
For rotation operations, transpose keyword must be used. Available parameters: