What video/audio codec settings for playback on Android and iOS

那年仲夏 提交于 2019-12-01 12:14:35

问题


What codec settings will produce valid videos for playback on Android (videoView) and iOS UIWebView)?


回答1:


Android: http://developer.android.com/guide/appendix/media-formats.html

iOS video (UIWebView's don't actually play the videos, they pass it off to another class): http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html#//apple_ref/doc/uid/TP40006953

and iOS audio: http://developer.apple.com/iphone/library/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html#//apple_ref/doc/uid/TP40009767-CH2-SW33



来源:https://stackoverflow.com/questions/3456424/what-video-audio-codec-settings-for-playback-on-android-and-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!