简体   繁体   中英

iOS MPMoviePlayer issue on iPod touch 2G

I have an universal application which plays several imbedded movies. All works fine on my iPad with iOS 4.2 and on my iPhone 4 with iOS 4.2.1. However on my iPod touch 2G with iOS 4.2.1, the movies don't play. There is no crash or other interruption of the app, the movies just don't play. While in debug mode I got the following error message from the console:

H264Decoder ERROR:  This level: 31, is not supported.

I'm confused, why the movies play on one device but don't play on another with the same iOS version. The movies are mp4 movies with the H.264 codec.

One possibility is that your video is H.264's Main Profile. This is supported by the iPod Touch 4th gen, but not the iPod touch gen 2 and gen 3 - these support only Low Complexity Baseline and Baseline profiles.

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