I have been doing some testing for playing back videos that were filmed on mobile devices (iOS devices, Android, etc.). Anyway, the way these videos are filmed, they are all filmed in landscape and have a metadata tag called rotate which specifies how the video should be rotated. The tag is not getting looked at and the video player is playing the videos in the incorrect orientation.
This metadata is specified for a particular stream's data in FFMpeg.
formatCtx->streams[x]->metadata
I have attached an image so you can see the problem.
This video was filmed on an android device and should be vertical.
I have been doing some testing for playing back videos that were filmed on mobile devices (iOS devices, Android, etc.). Anyway, the way these videos are filmed, they are all filmed in landscape and have a metadata tag called rotate which specifies how the video should be rotated. The tag is not getting looked at and the video player is playing the videos in the incorrect orientation.
This metadata is specified for a particular stream's data in FFMpeg. formatCtx->streams[x]->metadata
I have attached an image so you can see the problem.
This video was filmed on an android device and should be vertical.
Here is a screenshot from the sample app:![photo-4](https://f.cloud.github.com/assets/313342/1980221/1198ff4e-83bd-11e3-90e2-78b5220f2192.jpg)
Here is a screenshot from quicktime.![screenshot 2014-01-22 15 26 50](https://f.cloud.github.com/assets/313342/1980205/c42b8ef2-83bc-11e3-8bfa-d9f92e504553.png)