media.selectVideo produces highly compressed video

Is there a parameter that I can pass into the media.selectVideo function that will increase the video quality of the video I select from the photo library?  Once I select a video from the photo library I copy it to the system.DocumentsDirectory and the result file is highly compressed, even though the original video was full-resolution.

media.captureVideo has a “preferredQuality” parameter but this does not seem to work with media.selectVideo.

Thank you,

Larry King

I’m not sure if this helps at all but from the iOS side of things I found this documentation from Apple.  It appears that the enumerated type that Apple defines for acquiring captured video is also used by the image picker.

So, is this a parameter that got missed for the selectVideo function in Corona but included in the captureVideo function?

Please see documentation below…


UIImagePickerControllerQualityType

Video quality settings for movies recorded with the built-in camera, or transcoded by displaying in the image picker.

enum {
UIImagePickerControllerQualityTypeHigh = 0,
UIImagePickerControllerQualityTypeMedium = 1, // default value
UIImagePickerControllerQualityTypeLow = 2,
UIImagePickerControllerQualityType640x480 = 3,
UIImagePickerControllerQualityTypeIFrame1280x720 = 4,
UIImagePickerControllerQualityTypeIFrame960x540 = 5
};
typedef NSUInteger UIImagePickerControllerQualityType;

I’m not sure if this helps at all but from the iOS side of things I found this documentation from Apple.  It appears that the enumerated type that Apple defines for acquiring captured video is also used by the image picker.

So, is this a parameter that got missed for the selectVideo function in Corona but included in the captureVideo function?

Please see documentation below…


UIImagePickerControllerQualityType

Video quality settings for movies recorded with the built-in camera, or transcoded by displaying in the image picker.

enum {
UIImagePickerControllerQualityTypeHigh = 0,
UIImagePickerControllerQualityTypeMedium = 1, // default value
UIImagePickerControllerQualityTypeLow = 2,
UIImagePickerControllerQualityType640x480 = 3,
UIImagePickerControllerQualityTypeIFrame1280x720 = 4,
UIImagePickerControllerQualityTypeIFrame960x540 = 5
};
typedef NSUInteger UIImagePickerControllerQualityType;