HTML5 Audio Codecs/Containers/Formats
- WAV Audio Format
- One of the older and more familiar audio file formats is the Waveform Audio File Format (WAVE), commonly known as WAV for the extension the audio files are given(.wav). Though WAV files can support compression, most WAV files contain audio in an uncompressed Pulse-Code Modulation (PCM) representation, which means the files tend to be quite large.
- Support browsers: Safari, Chrome, Firefox, and Opera.
- Another well known and common audio file format is the MPEG-1 Audio Layer 3, commonly known as MP3 because of the extension given MP3 files (.mp3). It is neither a container or codec, as we know these things. Instead, it’s an all-in-one lossy compressed audio file with metadata strategically inserted.
- Support browsers: IE9, Safari and Chrome.
The AAC Codec
- The Ogg container was developed by the Xiph.Org foundation, which also developed an associated audio codec, called Vorbis. The Vorbis codec is a lossy compression technique that is free for everyone to use and is, according to the folks at Xiph.Org, free of patents (to the best of their determination).
- Support browsers: Firefox, Opera, and Chrome.
- The Advanced Audio Coding (AAC) lossy compression codec was originally considered to be a successor to MP3, though it didn’t get broad acceptance. Though most of us assume that MP4 files are video, they can be audio only.
- Support browsers: Safari, Chrome, and IE.
- WebM is a container based on the profile for the Matroska Multimedia Container. WebM was designed from the beginning to be patent and royalty free. Google was instrumental in forming the organization behind WebM, but has given up any and all patent claims to the container. Codec support in WebM is quite simple: WebM only supports Vorbis for audio, and VP8 for video.
- Support browsers: Chrome, Firefox, and Opera.It is not currently supported by IE, However, people can ensure that WebM files work in their IE9 browser by installing the WebM plug-in for IE9.
This entry was posted in HTML5 Video
. Bookmark the permalink