You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can i detect the video is in landscape or portrait mode?
Your output is always 1280x720 even though the video is in landscape mode and portrait. it supposed to be 1280x720 for landscape and 720x1280 for portrait mode.
The text was updated successfully, but these errors were encountered:
This is an old issue but commenting in case it helps someone in the future:
The resolution does not always guarantee the orientation. You will want to use MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION to find if a video is in a portrait or landscape orientation.
Hi Dear;
How can i detect the video is in landscape or portrait mode?
Your output is always 1280x720 even though the video is in landscape mode and portrait. it supposed to be 1280x720 for landscape and 720x1280 for portrait mode.
The text was updated successfully, but these errors were encountered: