OGeek|极客世界-中国程序员成长平台

标题: iphone - 为 MPMoviePlayerController 选择哪种视频格式? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 16:19
标题: iphone - 为 MPMoviePlayerController 选择哪种视频格式?

那是mp4吗?哪种精确编码会产生最佳性能?在类引用中找不到它。



Best Answer-推荐答案


来自 Apple 文档:

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 - 为 MPMoviePlayerController 选择哪种视频格式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3759485/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://jike.in/) Powered by Discuz! X3.4