[FFmpeg-user] Shrinking videos to constant height

Lou lou at lrcd.com
Mon Sep 8 23:43:43 CEST 2014


On Mon, Sep 8, 2014, at 12:04 PM, Harold Goranson wrote:
> I wish to recode them as modern mp4 to 300p high and as wide as required
> to maintain correct aspect ratio, rounded to the nearest 2p. No sound,
> but all other qualities the same.

You can use the scale filter: 
  -vf scale=300:-2

https://ffmpeg.org/ffmpeg-filters.html#scale


More information about the ffmpeg-user mailing list