Rotate a video
There are two honest ways to rotate video, and phones use the fast one: they record the sensor as-is and write a rotation flag into the file, trusting players to obey it. You can do the same in a second with no quality loss, or physically rotate every pixel for the players that do not read the flag.