In a nutshell, I want to upload a video to my server and then rotate it. Using UIImagePickerController and UIImagePickerControllerDelegate I can grab the local NSURL of the selected image and then I can upload it to my server. All videos appear to be 480x360 regardless if they were taken holding the phone portrait or landscape (this is according the ffmpeg). If you view the video with quicktime, then it will display the video with the appropriate rotation. So there must be some metadata in the video that tells whether it should be 480x360 or rotated to 360x480. Can anyone help me to determine if the video needs to be rotated or not?