UIImagePickerControllerQualityTypeHigh alters video quality

Originator:pburleson
Number:rdar://11489478 Date Originated:19-May-2012 12:49 AM
Status:Open Resolved:
Product:iPad SDK Product Version:5.1.1 (9B206)
Classification:Other Bug Reproducible:Always
 
Summary:

UIImagePickerController alters video even when the videoQuality property is set to UIImagePickerControllerQualityTypeHigh when selecting a video from the library. This is counter to the documentation for UIImagePickerControllerQualityType which states: 

UIImagePickerControllerQualityTypeHigh
If recording, specifies that you want to use the highest-quality video recording supported for the active camera on the device.
Recorded files are suitable for on-device playback and for wired transfer to the Desktop using Image Capture; they are likely to be too large for transfer using Wi-Fi.

If displaying a recorded movie in the image picker, specifies that you do not want to reduce the video quality of the movie.

Either the class is wrong or the documentation is wrong. 

Steps to Reproduce:

1. Instantiate a UIImagePickerController and set videoQuality to UIImagePickerControllerQualityTypeHigh 

2. Present the picker

3. Choose a video that's recorded at 1024 x 768

4. Open that video with AVFoundation and check the frame size, it will be 640x480

Expected Results:

The video would remain at 1024 x 768 since the documentation states with the high setting that the video quality will no be reduced. 

Actual Results:

The video quality is reduced down from it's full resolution.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!