11

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

UPDATE:

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?

15

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.

  • 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
  • 1
    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? – Dr.jacky Dec 14 '15 at 12:59
  • 1
    @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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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