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=0 output.mp4
Your email address will not be published. Required fields are marked *