Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

youPhone

macrumors member
Original poster
Sep 8, 2008
41
0
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?
 
Has anyone worked with videos from the iPhone 3GS? Can you give me some of your experience?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.