Forum response - Media Formats Supported (Firefox OS)
This article is no longer maintained, so its content might be out of date.
These are the file formats that are recognizable by Firefox OS (reference):
- pictures=*.jpe; *.jpg; *.jpeg; *.gif; *.png; *.bmp;
- music=*.mp3; *.oga; *.ogg; *.m4a; *.m4b; *.m4p; *.m4r; *.3gp; *.mp4; *.m3u; *.pls; *.opus; *.amr; *.wav; *.lcka;
- videos=*.mp4; *.mpeg; *.mpg; *.ogv; *.ogx; *.webm; *.3gp; *.3g2; *.ogg; *.m4v;
Regarding the codecs and containers that are playable in Firefox OS, Firefox currently supports the following media formats where the decoding support is built into the browser (reference):
- Opus audio in an Ogg container on all platforms.
- Vorbis audio in an Ogg or WebM container on all platforms.
- Theora video in an Ogg container on all platforms.
- VP8 video in a WebM container on all platforms.
- WAV audio on all platforms.
Support for the following formats in Firefox uses operating system decoder support:
- H.264 video in an MP4 container.
- AAC audio in an MP4 container.
- MP3 audio in MP3 files.
We hope you find this information useful. Please let us know if you have any other questions.