What formats of video will play in emulator?

8.1k Views Asked by At

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?

2

There are 2 best solutions below

2
On BEST ANSWER

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.

0
On

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