Just like ExifInterface.TAG_ORIENTATION
's working for JPEG, how can I retrieve orientation info for video ?
For example I record a video in portrait mode, the orientation of video should be 90 or 270.
And when I record a video in landscape mode, the value should be 0 or 180.
When playing video, MediaPlayer
in SDK always works correctly, but I don't find any way to retrieve this info.
Finally, if I cannot get orientation of video using android SDK, can I get this info using FFMPEG ?
Thanks very much for your help~