Bill Bonar
Bill Bonar

Reputation: 1027

How to handle video orientation from mobile devices

I have a server component that processes video uploads for a web/iOS/Android application.

However I am running into a problem handling the video orientation. Is there a good way to solve this? I have a tool MediaInfo that rips the meta data out of the device but this is what i am encountering

iOS

Android

has anyone seen a clean solution for this?

Upvotes: 4

Views: 407

Answers (1)

Bill Bonar
Bill Bonar

Reputation: 1027

There is no clean solution for android devices that do not report the orientation.

For all the other orientations, I had overly complicated it in my mind. The flip between front and back means the angles are correct if rotated clockwise

Upvotes: 0

Related Questions