page.title=Android Supported Media Formats @jd:body

The Core Media Formats table below describes the media format support built into the Android platform. Note that any given mobile device may provide support for additional formats or file types not listed in the table.

As an application developer, you are free to make use of any media codec that is available on any Android-powered device, including those provided by the Android platform and those that are device-specific.

Core Media Formats

Type Format Encoder Decoder Details File Type(s) Supported
Audio AAC LC/LTP X X Mono/Stereo content in any combination of standard bit rates up to 160 kbps and sampling rates from 8 to 48kHz 3GPP (.3gp) and MPEG-4 (.mp4, .m4a). No support for raw AAC (.aac)
HE-AACv1 (AAC+)   X
HE-AACv2 (enhanced AAC+)   X
AMR-NB X X 4.75 to 12.2 kbps sampled @ 8kHz 3GPP (.3gp)
AMR-WB X X 9 rates from 6.60 kbit/s to 23.85 kbit/s sampled @ 16kHz 3GPP (.3gp)
MP3   X Mono/Stereo 8-320Kbps constant (CBR) or variable bit-rate (VBR) MP3 (.mp3)
MIDI   X MIDI Type 0 and 1. DLS Version 1 and 2. XMF and Mobile XMF. Support for ringtone formats RTTTL/RTX, OTA, and iMelody Type 0 and 1 (.mid, .xmf, .mxmf). Also RTTTL/RTX (.rtttl, .rtx), OTA (.ota), and iMelody (.imy)
Ogg Vorbis   X   Ogg (.ogg)
PCM/WAVE   X 8- and 16-bit linear PCM (rates up to limit of hardware) WAVE (.wav)
Image JPEG X X Base+progressive JPEG (.jpg)
GIF   X   GIF (.gif)
PNG X X   PNG (.png)
BMP   X   BMP (.bmp)
Video H.263 X X   3GPP (.3gp) and MPEG-4 (.mp4)
H.264 AVC X   3GPP (.3gp) and MPEG-4 (.mp4)
MPEG-4 SP   X   3GPP (.3gp)