Select videos using UIImagePickerController in 2G/3G

后端 未结 3 1743
终归单人心
终归单人心 2020-12-10 19:02

I am facing a problem where-in I cannot select videos from the photo album in iPhone 2G/3G device. The default photos application does show videos and is capable of playing

相关标签:
3条回答
  • 2020-12-10 19:29

    As the videos are always compressed after being picked (the raw video recorder files are very big), and the 2G/3G models not being able to hardware encode/decode h.264, they left it out of the UIImagePickerController API. That is unfortunate as we all would love to pick videos on those devices as well.

    0 讨论(0)
  • 2020-12-10 19:35

    The default photos application does show videos and is capable of playing them

    But how have you tested this? 2G/3G can't record video. So you can't place video files to an image picker. Or am I wrong?

    Documentation explicitly tells: "Because a media source may not be present or may be unavailable, devices may not always support all source types." So iPhone OS assumes that there can't be any movies and does not allow to select them. I think so.

    0 讨论(0)
  • 2020-12-10 19:45

    ON 3GS its working perfectly fine, and the thing is 3Gs has rolled after SDK 3.1 so 3.0 don't have any handling of the video related things..!

    0 讨论(0)
提交回复
热议问题