Recorded video from system device camera. Then picking recorded video from gallery using UIImagePickerController. Actual recorded video frame size is (720(w), 1280(h)). that means full screen video with portrait mode. Once I upload video using image picker, getting video size as (1280(w), 720(h)). I am finding video size using below code
AVURLAsset *asset = [AVURLAsset URLAssetWithURL:videoURL options:nil];
AVAssetTrack *videoTrack = [[asset tracksWithMediaType:AVMediaTypeVideo] lastObject];
CGSize nSize = [videoTrack naturalSize];
How to check original video from gallery with out size changes?