开发者

MPMoviePlayerController, slow/crashes on iPod Touch

开发者 https://www.devze.com 2023-01-04 21:49 出处:网络
I am building an application with iPhone SDK 3.1.3. All I am trying to do is play a 2 Minute(11MB Filesize video) and loop it.

I am building an application with iPhone SDK 3.1.3.

All I am trying to do is play a 2 Minute(11MB Filesize video) and loop it.

I have code that works find on the simulator, iPhone 3G & iPhone 3GS, but n开发者_运维问答ot on an iPod TOuch 8GB.

When I run the code on the iPod Touch, it gets to the line: movPlayer = [[MPMoviePlayerController alloc] initWithContentURL: videoURL];

It will then sit there for a while before the OS kills the process.

Any ideas?

Zac


I experienced a similar issue. Something about the actual video encoding was causing a problem that only happened on the iPod touch; the video would play fine on a iPhone 3G, iPhone 3GS and the simulator.

Perhaps, try re-encoding the video.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号