什么视频格式将在所有的Andr​​oid设备上播放?有的、将在、视频格式、设备

2023-09-04 03:38:55 作者:又酷爱撩妹

机器人可以发挥多种视频格式,但我需要选择一种格式将努力在所有设备上。

Android can play a variety of video formats, but I need to choose one format that will work on all devices.

是否所有的Andr​​oid 2.3设备都支持完全相同的格式?也就是说,如果该格式将在模拟器中播放,是否意味着它也将在所有硬件玩吗?或做不同的设备支持不同格式根据什么去codeR筹码,他们有吗?

Do all Android 2.3 devices support exactly the same formats? i.e. if the format will play in the emulator, does that mean it will also play on all hardware? Or do different devices support different formats depending on what decoder chips they have?

如果它们都是相同的话,显然,最好的格式为H.264以高比特率和分辨率。如果不是,那么什么是最好的codeC /比特率/决议,将在90%的设备上播放?难道谷歌提供查询设备的视频功能,并选择合适的格式某种方式?

If they are all the same then obviously the best format is H.264 at a high bitrate and resolution. If not, then what is the best codec/bitrate/resolution that will play on 90% of devices? Do Google provide some way of querying the device's video capabilities and choosing an appropriate format?

推荐答案

模拟器是codeCS一个贫穷的测试,而不是功能性的少数地区。是的设备制造商可能会增加额外的codeCS到Android自己的版本。然而,你可能要检查出 Android的兼容性并读取兼容性定义文件的更多细节,什么是必需的制造商获得市场的Andr​​oid设备上。不幸的是,快看通过它取决于如何旧版本的Andr​​oid,你愿意支持你可能有问题,有没有规定有关最低码率所以任何事情。

The emulator is a poor test of codecs and isn't functional in a few areas. And yes device manufacturers may add additional codecs to their build of Android. However you may want to check out the Android Compatibility and read the Compatibility Definition Document for more details as to what is required by the manufacturer get Android Market on the device. Unfortunately a quick look through it doesn't state anything about minimum bitrate so depending on how old a version of Android you are willing to support you may have issues there.

 
精彩推荐