Computer Tips - How can I use ffmpeg to change the resolution of a video?

Date: 2012nov11 Updated: 2017apr26 Product: ffmpeg Keywords: dimensions Q. How can I use ffmpeg to change the resolution of a video? A. Use the -s option like this:
ffmpeg -i myvideo.avi -s 640x480 myvideo2.avi
Or you can use a word for -s
ffmpeg -i myvideo.avi -s vga myvideo2.avi