
所有视频均为mp4,采用H.264,720w / 480h,25fps编码.我也使用过H.263(3gp),但没有运气.
我想支持尽可能多的AndroID设备.至少从2.1开始
有没有人有同样的问题?您在应用中使用了哪些视频?感谢帮助!
解决方法 您可以使用某些第三方媒体库扩展您的应用程序支持的格式,这里是一个很好的一个 Vitamio:Media formats
Many audio and vIDeo codecs are packed into Vitamio besIDe the default media format built in AndroID platform,some of them are Listed below.divx/xvID
wmv
flv
ts
rmvb
mkv
mov
m4v
avi
mp4
3gp
不应该太难以集成并将其用于您的项目,虽然我不知道它在2.1之类的旧AndroID设备上运行的性能:
Vitamio provIDes the similiar interfaces with AndroID default MediaPlayer framework. If you’re using androID.media.MediaPlayer in your project,just grab the vitamio.jar from above,then add it to your project’s libs,and replace the import of androID.media.MediaPlayer with io.vov.vitamio.MediaPlayer.
希望这有帮助.
总结以上是内存溢出为你收集整理的Android:我应该使用什么视频格式/编码来支持大多数Android设备全部内容,希望文章能够帮你解决Android:我应该使用什么视频格式/编码来支持大多数Android设备所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)