I am writing video based social app for iOS and android(WinPhone is under waiting). I recorded video in mov format using AVFoundation framework on the iPhone and uploaded it to the server. It can be downloaded and played on the iPhone client. But on the android device, downloaded video can not be played since it's format is not supported on the android. What is the best solution of the video record and play for supporting multiple mobile devices platforms?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- CALayer - backgroundColor flipped?
- Listening to outgoing sms not working android
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
flash
plugin, and apple usesHLS
iOSDevice
. NoFlash
, noSilverlight
, noRTP
orRTSP
.MPEG-4
will play on all mobile phones (at least those capable)MPEG-4
container format, including blackberry.MPEG 4/H.264
, the same goes for iPhone and AFAIK the Windows Phone.MPEG-4
format can be played back on iDevices and Android phones.MPEG-4
encoding/decoding process is partitioned between the standard processor, which is controlling the system and executes control-intensive algorithms, and its XPP coprocessor, which executes the computational-intensive data-flow algorithms and sends the results back to the host processor.From this information, I suggest you convert to the
MPEG-4
format.Mac app-store free video converters:
This will repackage the mov file to mp4 without transcoding. It is very fast. The resulting file is compatible with both android and iphone. Of course the best solution would be to record mp4 on the iphone in the first place. Yes you can do that.