@ FFMPEG part 2
裁剪视频crop filter
crop:ow[:oh[:x[:y:[:keep_aspect]]]]
填充
ffmpeg -y -i input -vf pad=“max(iw,ih):max(iw,ih):(iw/2-ih/2):(iw/2-ih/2):white” output
用白色填补成正方形
标签:FFMPEG,max,iw,ih,part,crop
来源: https://blog.csdn.net/jerrylin07/article/details/113880887