Reputation: 55
I am developing an app for all platforms(iPhone,Android and windows).It involves file transfer between these via server.My doubt is in which format I should use for the image,video and the audio,which is better in all aspects like size,performance.And It should be playable on all the 3 phones.? Can any one give a suggestion ?
Upvotes: 0
Views: 198
Reputation: 5589
For audio or images there are a number of options, but for video the picture is a lot fuzzier. For video there are really only two main contenders at this point:
Implementations of both of them are available on all the mobile platforms you listed (iOS, Android, and Windows Phone 7). Depending on what your application does exactly (streaming video, real time video conferencing, etc.) there are pluses and minus to each of them. Performance of the two is generally close enough that the quality of your implementation and settings you use are more important than the standard. A quick summary of some of the considerations in choosing between them are:
Here is the various vendor's pages on A/V format compatibility:
My advice is that if you are streaming videos use H.264 but if you are encoding/decoding video in real time use VP8. Apple does a great job with FaceTime using H.264 but the interfaces are not public.
Upvotes: 1