I'm using UIImagePickerController to allow my user to select a video .
When the user selects the "Choose" button on the second screen, the view displays a progress bar and a "Compressing Video..." message.
Is there some way I can avoid this compression operation?
Try to set the videoQuality property of UIImagePickerController
The video quality setting specified by this property is used during video recording. It is also used whenever picking a recorded movie. Specifically, if the video quality setting is lower than the video quality of an existing movie, displaying that movie in the picker results in transcoding the movie to the lower quality. UIImagePickerController Reference
Available quality values are:
UIImagePickerControllerQualityTypeHighUIImagePickerControllerQualityTypeMediumUIImagePickerControllerQualityTypeLowUIImagePickerControllerQualityType640x480UIImagePickerControllerQualityTypeIFrame1280x720UIImagePickerControllerQualityTypeIFrame960x540
Please see UIImagePickerController Reference for detail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With