ffmpeg 修改视频的分辨率

将输入为640*480的修改为320*249

ffmpeg -i input -vf scale=iw/2:-1 output

iw:输入帧宽,此处为640,640/2=320。

-1告诉scale filter保持纵横比,所以scale filter计算出值240.


https://blog.csdn.net/dotphoenix/article/details/80428228

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

猜你喜欢

转载自blog.csdn.net/weixin_34319111/article/details/87088857