18

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?

The Student
  • 11,926

1 Answers1

25

ffmpeg

FFmpeg (or avconv if ffmpeg was not available) can do this easily

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
Takkat
  • 142,284
  • Thanks! I did a search for "resolution", but I see now it's called "size" in the ffmpeg manual! =) – The Student 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.. – The Student 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