FFmpeg Rotate Video into Portrait Orientation Preview & Render Commands ffplay input -vf 'rotate=angle=PI/2:out_w=ih:out_h=iw' ffmepg input -vf 'rotate=angle=PI/2:out_w=ih:out_h=iw'