Nexus 5X: Result video is rotated upside down.
I ran this sample app on my Nexus 5X device. Preview session is working fine but recorded video is always rotated upside down and the only player I've found which is possible to play video is VLC. E.g. built-in Media Viewer says: "Can't play video.".
Please take a look at that.
I've solved this issue here: https://github.com/googlesamples/android-Camera2Video/pull/19
This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!