Video ToolsLesson 286Free preview
Rotate a Video
This lesson is part of Web Developer Tools · All levels
Summary
The rotate feature rotates the entire video frame by 90, 180, or 270 degrees. This is useful for mobile video that looks sloppy because it's recorded with different orientations. Playback can be done by changing rotational metadata or by resizing video pixels. After 90 degrees, the width and height of the video are switched so that the result can be a portrait.
Key points
- A 90-degree rotation changes the orientation of the landscape and portrait
- 180 degrees rotation of the image up and down and then left and right
- Rotation through metadata is fast, but not all players respect it
- The rendering produces a file that appears correctly on almost all devices.
- Check if any text or faces become upside down after rotation
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.