0

I am using UIImagePickerController to record videos and I always want the output video to be 1280 x 720 (small enough for other purposes), but in iphone 4s/iphone 5, the output video will be 1920 x 1280. I cannot find a proper configuration that helps me to make the video exactly 1280 x 720.

   UIImagePickerControllerQualityTypeHigh            = 0,
   UIImagePickerControllerQualityTypeMedium          = 1,  // default value
   UIImagePickerControllerQualityTypeLow             = 2,
   UIImagePickerControllerQualityType640x480         = 3,

High will be 1920 x 1280 in iPhone 4s/iPhone 5

vodkhang
  • 18,639
  • 11
  • 76
  • 110
  • 1
    For iOS above 5.0 you can use any of followings: UIImagePickerControllerQualityTypeIFrame1280x720 = 4 UIImagePickerControllerQualityTypeIFrame960x540 = 5 But video size on disk is in MBs. Trying to find out a solution for that also. – iOS Monster Nov 15 '12 at 06:00
  • Were you able to find the way to get video exactly of size 1280x720 ? Can you please share your experience/insight help ? – Janak Nirmal May 22 '14 at 08:16

1 Answers1

-1

Maybe this thread could help! You should use google before asking questions like this. :D

Link to thread on stackoverf.

Community
  • 1
  • 1
Noah
  • 67
  • 8
  • that link doesn't work for my purpose, I want to configure the UIImagePickerController not to put the video into another process – vodkhang Oct 04 '12 at 01:38