2808 explained code solutions for 75 technologies


ffmpegHow to change video resolution and keep aspect ratio


In order to keep aspect ratio, set only one target dimension (width or height) and leave the other one as -1: