我正在开发一个可以用MPMovIEPlayerController播放全屏视频的应用程序,但它无法播放iPad视网膜分辨率的视频.
从文档:
Supported Formats 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) If you use this class to play audio files,it
displays a white screen with a QuickTime logo while the audio plays.
For audio files,this class supports AAC-LC audio at up to 48 kHz,and
MP3 (MPEG-1 Audio Layer 3) up to 48 kHz,stereo audio.
这不是真的!我可以在iPhone上播放H.264视频(960×640),在ipad上播放1024×768视频……
所以:
如何使用iPad视网膜分辨率播放视频?可能吗?
没有MPMovIEPlayerController,还有其他方法可以在iOS应用上播放视频吗?
顺便说一下,我在处理本地视频时建议的一件好事就是只嵌入“半视网膜”分辨率视频.通过半视网膜,我的意思是1536×1152.这提供了比非视网膜分辨率更多的信息,因此视频在视网膜iPad上更清晰一些.它足够好,小到足以在比iPhone 3GS更早的iOS设备上播放.因此,您只需为所有设备添加一个视频.
总结以上是内存溢出为你收集整理的ios – 在新iPad视网膜上播放高分辨率视频(2048×1536)全部内容,希望文章能够帮你解决ios – 在新iPad视网膜上播放高分辨率视频(2048×1536)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)