Use Ffmpeg To Rotate The Video Based On Its Metadata? Why Does Android Put The Wrong Metadata?
I have a website where the user uploads a video. For my website i have also an Android application. The website creates a thumbnail of each uploaded video (from browser or Android)
Solution 1:
On android, holding your phone in portrait is considered to be 90 degrees. This the convention that android is using:
landscape: 0 portrait: 90 reverse landscape: 180 reverse portrait: 270
I know this doesn't make sense for phones but it does for tablets and there is realy no difference between tablets and phones on android.
So the metadata in the file are correct. The actual problem is that your browser ignores them. See me question here
Post a Comment for "Use Ffmpeg To Rotate The Video Based On Its Metadata? Why Does Android Put The Wrong Metadata?"