裁剪命令:
ffmpeg -pixel_format nv12 -video_size 1920*1080 -i 1920x1080_nv12_60.yuv -vf crop=720:1024:0:0 -pix_fmt nv12 720x1024_nv12_60.yuv
缩放命令:
ffmpeg -pix_fmt nv12 -s:v 1080x1080 -r 25 -i 1080x1080_nv12_60.yuv -vf scale=256:256 -c:v rawvideo -pix_fmt nv12 256x256_nv12_60.yuv