Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I change a video resolution (say, from 640x480 to 320x240)?


At ubuntuforums there's a thread talking about avidemux, I did a search in the wiki for "resolution" but I found nothing about how to change it. Does anyone use it?

share|improve this question
up vote 14 down vote accepted

ffmpeg Install ffmpeg

Ffmpeg* (or avconv if ffmpeg was not available) can do this easily too

ffmpeg -i input.mpeg -s 320x240 output.mpeg

There are felt one million additional options to change the output format. These can also be combined

ffmpeg -i input.mp4 -s 320x240 output.mpeg

*In Ubuntu 14.04 LTS ffmpeg is not available from the repositories.

share|improve this answer
Thanks! I did a search for "resolution", but I see now it's called "size" in the ffmpeg manual! =) – Tom Brito Oct 10 '11 at 18:44
It's indeed a pain to read the lengthy ffmpeg documentation, mainly because you can do so much with this brilliant tool (you almost forget it has no GUI) ;) – Takkat Oct 10 '11 at 18:47
It has winFF, but it don't work so well.. – Tom Brito Oct 11 '11 at 13:07
@Takkat I have to use "-c copy", but in other side I want to resize screen. How can I achieve this? – Mr.Hyde Dec 14 '15 at 12:59
@Mr.Hyde: changing the geometry needs the video to be re-encoded. We can not copy the video content (but we can copy the audio tracs). – Takkat Dec 14 '15 at 13:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.