I'm trying to rotate video using ffmpeg. The original video is rotated 270°. When I run the following command:
ffmpeg -y -threads 4 -i IMG_3290.MOV -vcodec libx264 -preset faster -s 568x320 \
-vf "transpose=2" -strict -2 -b 5000k -acodec aac -ac 1 -ar 16000 -ab 32000 \
IMG_3290.MP4
I got no error, but the output video is still rotated and contains the tag rotate: 270
.