͏ FFmpeg has very powerful scale filter which can accomplish various tasks. Below lists some examples. ͏ More info in the official doc: ͏ https://ffmpeg.org/ffmpeg-filters.html#scale ͏ https://ffmpeg.org/ffmpeg-scaler.html [ "swscale" related: ͏ https://github.com/FFmpeg/FFmpeg/blob/master/libswscale/options.c ͏ https://github.com/search?type=code&q=repo:FFmpeg/FFmpeg+%22Lanczo