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.
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.
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.
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.
Please check the Android Supported Media Formats.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With