How to support MOV(quick time) in android?

Aaron picture Aaron · Nov 28, 2012 · Viewed 35.4k times · Source

I want to play in .mov file in android. But videoview or mediaplayer doesn't support this meida format. How can i add the support to it?

Answer

MH. picture MH. · Nov 28, 2012

In general Android doesn't support any other media formats than the one listed here. That being said, there are quite a few 3rd party players that enable playback of more exotic formats, most of which are probably based around ffmpeg. You might want to take a look at the open source Dolpin Player (actual player also available in the Play store) for Android for some more pointers - not sure if mov playback is supported by default though.

However, since most mov files are actually H.264 encoded these days, why not remultiplex (or re-encode, depending on the source) into an something that Android plays nice with, e.g. an mp4 container? In terms of video support on Android, H.264 is definitely the way, as also pointed out by the 'Video Encoding Recommendations' section in the earlier link.