Why are are videos selected with UIImagePickerController high and medium video quality settings resulting in exactly the same video attributes, at least on devices like the iPhone4 and iPad3?
Details:
We are using UIImagePickerController to let our app users pick images or videos from the photo library and then transfer them up to their servers. We let the users select the video quality of high, medium or low which we map directly to the UIImagePickerControllerQualityTypeHigh, UIImagePickerControllerQualityTypeMedium and UIImagePickerControllerQualityTypeLow videoQuality constants.
When a 10 second or so video, shot outside of our app with the camera, is picked and sent on the 3GS (iOS 5.0) we see a distinct difference with each quality setting, for example:
- low: 226KB at 144x192, codec: AAC H.264
- medium: 1.1MB at 360x480, codec: AAC H.264
- high: 5MB at 480x640, codec: AAC H.264
When we try the same on the iPhone4 or iPad3 (we happen to have those devices handy; not sure it happens on only those devices) we are seeing that the low setting generates an equivalent low-res result, but the high and medium setting give us the same results, something like this:
- low: 194KB at 144x192, codec: AAC H.264
- medium: 2.87MB at 720x1280, codec: AAC H.264
- high: 2.87MB at 720x1280, codec: AAC H.264
(Note that the medium and high results are identical.)
The original from the device is 12.8 MB at 720x1280, codec: AAC H.264 at a higher bit rate.
Can any explain what's going on here? I'd like to be able to explain it to our customers, even better point at something in Apple's doc that covers this.
Thanks in advance for any help...