INDExOS / media-for-mobile

Media for Mobile
Other
456 stars 176 forks source link

Video upside down on Nexus 5X #21

Open cachapa opened 8 years ago

cachapa commented 8 years ago

I've been playing around with the demo app on my Nexus 5X and noticed that videos are rendered upside down both when capturing and when displaying previously captured videos with the system camera. Videos imported from outside sources are correctly rendered. I believe this is related to the camera hardware on this specific device being installed upside down, with the correct orientation stated in the metadata.

The problem is that the library does not re-add the orientation metadata when rendering, so exported videos appear inverted everywhere.