iphone - MPMoviePlayerController 选择哪种视频格式?

标签 iphone ios mpmovieplayercontroller

那是mp4吗?哪种编码可以带来最佳性能?在类引用中找不到它。

最佳答案

来自苹果文档:

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/

相关文章:

ios - 尽管在 Controller 中设置 tabbar.hidden = NO,TabBar 仍然隐藏

ios - NSURLConnection 太慢

ios - 因 [AFHTTPRequestOperation 错误] 而崩溃; (AF网络)

ios - 当键盘出现时向上移动 UITextField

iphone - 当应用程序恢复到前台时,重复的 NSTimer 会触发多少次?

iphone - 推送 View 而不是从基于单一 View 的应用程序推送 UIViewController

ios - MPMoviePlayerViewController 移除 "Audio and Subtitles"控制

iphone - 继续在后台播放 MPMoviePlayerController 中的电影

iphone - 在 ios 中使用 AVAudioPlayer 和 MPMusicPlayerController 在歌曲播放列表中添加淡入淡出效果

ios - 如何同时播放2个视频?