Play video on the android recorded from the iPhone

前端 未结 2 1398
滥情空心
滥情空心 2021-02-08 14:24

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

2条回答
  •  渐次进展
    2021-02-08 14:59

    ffmpeg -i infile.mov -vcodec copy outfile.mp4
    

    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.

提交回复
热议问题