根据
MPMoviePlayerController参考:
This class plays any movie or audio
file supported in iOS. This includes
both streamed content and fixed-length
files. For movie files,this typically
means files with the extensions .mov,
.mp4,.mpv,and .3gp and using one of
the following compression standards:
- H.264 Baseline Profile Level 3.0
video,up to 640 x 480 at 30 fps. (The
Baseline profile does not support B
frames.)- MPEG-4 Part 2 video (Simple
Profile)
这是否意味着我可以在iPad上以编程方式播放的最高视频分辨率仅为640×480?或者支持iPad的视频格式是否在其他地方指定?
谢谢!
解决方法
不.虽然它确实说“高达640×480”但事实并非如此.我现在正在一个应用程序中播放1280×720分辨率的视频,它们工作得很好.
由于某种原因,类引用没有给出支持的格式/扩展的详尽列表.正如jeeva所说,如果可以的话,最好使用mp4 / m4v.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。