Detect Video Orientation
Classify video dimensions as landscape, portrait or square.
Practical Example
1080 × 1920 is portrait, while 1920 × 1080 is landscape.
Factors That Affect the Result
Encoded dimensions and rotation metadata can differ, so displayed orientation may depend on how a player interprets metadata.
Frequently Asked Questions
What is square video?
Width and height are equal.
Can metadata rotate video?
Yes.
Does orientation change resolution?
No. It describes frame direction.
Related Tools
Understanding Video Orientation
Orientation is determined by frame width and height: wider frames are landscape, taller frames are portrait and equal dimensions are square. Checking orientation before publishing helps avoid unwanted cropping, black bars or poor use of screen space on social, mobile and presentation platforms.
Technical Details and Limitations
Video orientation can be inferred from frame width and height, but rotation metadata can change how a player displays the video. A portrait recording may therefore have landscape-coded dimensions plus a rotation flag, depending on the source device and container.
