Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't play .mov file in VideoView

I am developing an application in which I have to play video from Internet. I'm using videoview to play Video.

When buffering is completed, my emulator shows me an error which says that it can't play video.

I don't know what is the error.

like image 531
Nirav Bhandari Avatar asked Mar 30 '11 05:03

Nirav Bhandari


People also ask

Why do my MOV files not play?

Reason 1: There could be a missing video component because of which you can't play it on QuickTime. In case the MOV file has a missing EOF or broken header, the file won't play. Reason 2: Another common issue is a frozen frame. This occurs when the file gets interrupted during the downloading process.

Why is .MOV not compatible with QuickTime?

Regardless of the fact that the file is encrypted or corrupted, MOV is just a container format that can hold a variety of different audio and video codecs, such as MPEG-4, H. 264, HEVC, AAC, etc. Once a specific codec is not recognized or supported by QuickTime player, the MOV video will fail to play.

What codec do I need to play MOV files?

MOV file format can be encoded by the mainstream video codecs includes MPEG-2, MPEG4-ASP(XVID), H. 264, HEVC/h. 265, Apple ProRes and so on. If your computer or device does not have the required codec, the MOV video cannot be accessed through decoding and encoded, which means it cannot be played as we know it.


2 Answers

Please check the Android Supported Media Formats.

like image 100
Matthew Willis Avatar answered Sep 30 '22 17:09

Matthew Willis


I've managed to play MOV files and a lot of other formats using the Vitamio library - http://www.vitamio.org/en/, which is essentially a wrapper for several video decoders.

like image 23
Vaiden Avatar answered Oct 06 '22 13:10

Vaiden