Question

What formats of video file are supported in the Android emulator?

I understand that it probably won't play in real time, but what ones will play at all?

Was it helpful?

Solution

It supports H.263 encoding and decoding, H.264 AVC and MPEG-4 SP both only decoding.

On an emulator the playback quality in terms of speed or lags might be a bit cumbersome.

Checkout the chart of all supported media formats for more information.

OTHER TIPS

The secret is that the emulator will play the MP4 baseline profile, while real devices will also play better MP4 profiles.

In order to get a video file that plays properly in the emulator, try these settings:

ffmpeg -i inputvideo.wmv -vcodec libx264 -vprofile baseline outputvideo.mp4
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top