简体   繁体   中英

Simulator hangs when compressing video in UIImagePicker

I've managed, after some hassle, to get videos onto the iphone simulator. Now when I go into the media album using the UIImagePicker I can see the video, and play it. When I then press the "Choose" button the simulator holds on the "Compressing Video..." dialog.

I'm using iOS 4.3, I've been unsuccessful when it comes to loading videos onto the 4.2 simulator. I've tried using a .mov file that was taken on a ipod touch, a .m4v file that I created in iTunes from that .mov file and also a random .m4v file from a completely different source (that I created using Quicktime 7).

Is this a known hassle with the simulator? Am I doing something wrong?

我唯一的建议就是将它构建到设备上,看看会发生什么。

It's a late answer but you can fix it by following this procedure:

go to the simulator hardware menu and select TV out: 640x480

after that try to run your app from xcode

and then again go to the simulator hardware menu and select TV out: Disabled.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM