MPMoviePlayerController, slow/crashes on iPod Touch
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.
精彩评论