Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to support MOV(quick time) in android?

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?

like image 713
Aaron Avatar asked Nov 28 '12 07:11

Aaron


People also ask

Can you play QuickTime on Android?

There are no QuickTime for iOS or QuickTime for Android. If you can't play flash video or can't open your QuickTime Email on your iPhone, iPad, or Android, you can either get a video player app that supports QuickTime video, or convert QuickTime video to a format that is compatible with your device.

Can Samsung phones play MOV files?

MOV files are not supported on major video players on Android. In order to play MOV files on Android, the user needs to install a third-party video player. However, you can also convert the . mov files to another video format which we also recommend.


2 Answers

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.

like image 185
MH. Avatar answered Oct 15 '22 03:10

MH.


I know this is an old question, but times changin' Now we can use the ExoPlayer as a custom Video Player (like VideoView), it supports more formats than the VideoView on android.

It's really simple to use, just to play videos, but has the powerfull of customization if you needed.

https://google.github.io/ExoPlayer/

Give it a try and please respond if this helped you.

like image 40
Sulfkain Avatar answered Oct 15 '22 03:10

Sulfkain