Rotate a Video without Loss of Quality

Very often videos shot by smart phones do not carry a proper orientation indicator as intended due to various reasons. In order to rotate these videos without re-encoding, try the following command.

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4

Posted in Tips & Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *

*