What Is It?

Licensing

Audio Quality

Features

Development

Meta-FAQ


What Is It?

What is Ogg Vorbis?

Ogg Vorbis is a new audio compression format. It is roughly comparable to other formats used to store and play digital music, such as MP3, VQF, AAC, and other digital audio formats. It is different from these other formats because it is completely free, open, and unpatented.

What do all the names mean?

Ogg
Ogg is the name of Xiph.org's container format for audio, video, and metadata.
Vorbis
Vorbis is the name of a specific audio compression scheme that's designed to be contained in Ogg. Note that other formats are capable of being embedded in Ogg such as FLAC and Speex.

Where do the names come from? What does the logo mean?

Xiph.org has a page explaining the sources and meanings of the names and logos.

What is the MIME content type for an Ogg Vorbis stream?

application/ogg.

The official mimetype was approved in February 2003. The experimental application/x-ogg may still be out there, though.

Does Vorbis completely replace MP3, or is it just a complementary codec?

Ogg Vorbis has been designed to completely replace all proprietary, patented audio formats. That means that you can encode all your music or audio content in Vorbis and never look back.

I'm an artist. Why should I be interested?

There are a couple of reasons:

I'm a music fan. Why should I be interested?

Because Vorbis provides a high-quality format for you to listen to your music.

I'm a developer. Why should I be interested?

Epic Games (the makers of Unreal Tournament, et. al.) have used Vorbis in their games ever since releasing Unreal Tournament 2003 to compress game music without having per-game license fees sap profits from every game sold. Vorbis saves developers money by avoiding patent-license fees.

Epic isn't alone; other Vorbis users include:

Interested? see our developer site.

I run a music label. Why should I be interested?

Back to Top


Licensing

What licensing applies to the Ogg Vorbis format?

The Ogg Vorbis specification is in the public domain. It is completely free for commercial or noncommercial use. That means that commercial developers may independently write Ogg Vorbis software which is compatible with the specification for no charge and without restrictions of any kind. However, the software packages we have developed are available under various free/open-source software licenses with varying allowances and restrictions.

What licensing applies to the included Ogg Vorbis software?

Most (but not all) of our utility software is released under the terms of the GNU GPL. The libraries and SDKs are released under our BSD-like license.

Note that developers are still free to use the specification to write implementations of Ogg Vorbis licensed under other terms.

We make commercial, closed source software. Can I use Ogg Vorbis at all? What licensing do I need to pay?

Again, there are no licensing fees for any use of the Ogg Vorbis specification. As a commercial developer, you are free to create and sell (or give away) open or closed source implementations of Vorbis encoders, decoders, or other tools. However, if you use our software rather than writing an independent implementation, you must respect the terms of the license. Our libraries are available under our BSD-like license and can be used whole or in part by closed source applications.

Are there licensing fees for distributing, selling, or streaming media in the Ogg Vorbis format?

No.

If there aren't any licensing fees, how are you going to make money off the format? Will you charge fees later, after Vorbis becomes popular?

The benefits of a patent-free, license-free format outweigh the concerns of making money directly from the format. The Vorbis format will always be free and in the public domain. Xiph.org is investigating a variety of models for funding development, some of which may include licensing non-free Vorbis-related programs and libraries to commercial projects. Nevertheless, the reference encoder and decoder will always be open source and third parties will always be free to modify or reimplement them.

Back to Top


Audio Quality

I've heard that Vorbis is a “lossy” codec. What does this mean?

There are two broad classes of compression algorithms:

lossy
Lossy compression algorithms discard data in order to compress it better than would normally be possible. Examples include JPEG, Vorbis, and MP3 compression.
lossless
Lossless compression algorithms produce compressed data that can be decoded to output that is identical to the original. Zip is a common general-purpose lossless compression format; FLAC is a lossless compression format that is specifically designed for audio.

Does Ogg Vorbis sound better than MP3?

Yes, definitely. Naturally, we invite you to judge this for yourself.

Why is Ogg Vorbis better than the other "New MP3" codecs that are available?

Vorbis sounds better. Vorbis is open, so you're free to use it on your favorite platform. Vorbis doesn't have intellectual property restrictions to get in the way. And Vorbis doesn't just try to sound better, it tries to do things fundamentally better in all the ways that it can.

Can I convert my MP3 collection to the Ogg Vorbis format?

You can convert any audio format to Ogg Vorbis. However, converting from one lossy format, like MP3, to another lossy format, like Vorbis, is generally a bad idea. Both MP3 and Vorbis encoders achieve high compression ratios by throwing away parts of the audio waveform that you probably won't hear. However, the MP3 and Vorbis codecs are very different, so they each will throw away different parts of the audio, although there certainly is some overlap. Converting a MP3 to Vorbis involves decoding the MP3 file back to an uncompressed format, like WAV, and recompressing it using the Ogg Vorbis encoder. The decoded MP3 will be missing the parts of the original audio that the MP3 encoder chose to discard. The Ogg Vorbis encoder will then discard other audio components when it compresses the data. At best, the result will be an Ogg file that sounds the same as your original MP3, but it is most likely that the resulting file will sound worse than your original MP3. In no case will you get a file that sounds better than the original MP3.

Since many music players can play both MP3 and Ogg files, there is no reason that you should have to switch all of your files to one format or the other. If you like Ogg Vorbis, then we would encourage you to use it when you encode from original, lossless audio sources (like CDs). When encoding from originals, you will find that you can make Ogg files that are smaller or of better quality (or both) than your MP3s.

I've heard some test samples that had audible artifacts. Why did this happen?

While the Vorbis file format is standardized, the Vorbis encoder has undergone several beta and prerelease testing cycles. If the files you heard were encoded using an earlier version encoder, they might contain serious audio quality bugs that have already been fixed. Try re-encoding from the source audio using the latest encoder. If you still think you've got a bug that produces unreasonable artifacts, please e-mail the vorbis-dev list with the details.

What does the “Quality” setting mean?

Vorbis' audio quality is not best measured in kilobits per second, but on a scale from -1 to 10 called "quality". This change in terminology was brought about by a tuning of the variable-bitrate algorithm that produces better sound quality for a given average bitrate, but which does not adhere as strictly to that average as a target.

This new scale of measurement is not tied to a quantifiable characteristic of the stream, like bitrate, so it's a fairly subjective metric, but provides a more stable basis of comparison to other codecs and is relatively future-proof. As Segher Boessenkool explained, “if you upgrade to a new vorbis encoder, and you keep the same quality setting, you will get smaller files which sound the same. If you keep the same nominal bitrate, you get about the same size files, which sound somewhat better.” The former behavior is the aim of the quality metric, so encoding to a target bitrate is now officially deprecated for all uses except streaming over bandwidth-critical connections.

For now, quality 0 is roughly equivalent to 64kbps average, 5 is roughly 160kbps, and 10 gives about 400kbps. Most people seeking very-near-CD-quality audio encode at a quality of 5 or, for lossless stereo coupling, 6. The default setting is quality 3, which at approximately 110kbps gives a smaller filesize and significantly better fidelity than .mp3 compression at 128kbps.

As always, if you need CD-quality sound, neither Vorbis nor MP3 (nor any other lossy audio codec) can provide exact reproduction; instead, consider using a lossless audio compression scheme like FLAC.

How does Vorbis fare for speech compression?

It works well, but is generally not the optimal solution. Vorbis is designed for the compression of music and general purpose audio. Special purpose codecs can achieve much greater compression of speech than Vorbis. Vorbis also tends to have a latency that is too high for telephony, a common use of speech codecs. Read the Speech Coding and Compression FAQ for more details. Those looking for an open-source, patent-free speech codec should take a look at Speex.

Back to Top


Features

Does Ogg Vorbis have the capability to show song titles and artist information when the file is played or streamed?

Yes, Vorbis includes a flexible, complete comment field for song and artist info, as well as other track data. The official encoder, oggenc, allows you to enter comment info at encode time. Other tools tools also let you enter and edit track data.

Where's video?

If you're interested in our progress on a video codec, check out Theora at theora.org.

What about streaming in Ogg Vorbis?

Ogg Vorbis is easily streamable. Icecast, our streaming audio server, is capable of streaming Ogg Vorbis to players like XMMS, Winamp 2, and foobar2000.

What software and hardware support Ogg Vorbis?

Many programs support Ogg Vorbis encoding and playback; it's included in popular players such as Winamp an foobar2000 for Windows, and Whamb for OS X. It's also supported in popular audio applications such as CDex and GoldWave. For a more complete list, refer to our software page.

Our wiki has notes on hardware support for Vorbis.

Can I bundle Vorbis and another media type (like text lyrics or pictures) in the same file?

Yes. The Ogg container format was designed to allow different media types to be multiplexed together; Theora will be mixed with Vorbis audio in an Ogg container to encode movies.

In addition, FLAC can be embedded in Ogg and some preliminary work has been done to put MNG and MIDI content into Ogg files as well.Experimental code is available in the ogg-tools module in the Xiph.org CVS repository. Programmers working on such extensions can discuss issues and questions on the vorbis-dev mailing list.

Back to Top


Development

How do I get started with Ogg Vorbis development?

It is important to first become familiar with current development efforts. The best ways to do this are:

Once you have seen what others are doing, you will have a better chance to find a project to work on.

Is it feasible to port the Vorbis decoder/encoder to a platform without floating point support?

It's been done for the decoder.

Tremor is a fixed-point implementation of the Vorbis decoder suitable for chips found on portable devices. However, a fixed-point encoder has not been written.

Back to Top


Meta-FAQ

I have a question that isn't answered by this FAQ. Where can I turn for help?

There are archived mailing lists for advocacy, user discussion, and development at Xiph.org's mailing list page, as well as #vorbis on irc.freenode.net, an IRC channel.

Where can discussions about and contributions to this FAQ be made?

Xiph.org's mailing list page also has subscription info and archives of the vorbis mailing list. Contributions and discussion are welcome there.

How current is this FAQ?

It was updated on October 3, 2003.