From Dev.to
How to Rotate a Video With FFmpeg (Transpose the Pixels, Don't Trust a Metadata Flag, Prove It With pytest)
TL;DR: to rotate a video with FFmpeg, transpose the pixels. A rotate=90 metadata flag plus -c copy does not change the coded width or height, and many players ignore the flag. The working 90-degree cl...
