Where OGG is needed
OGG is an open container from the Xiph.Org Foundation, and a .ogg music file almost always contains Vorbis audio. It has been free of patents and licence fees since the beginning, which made it popular in places where MP3 licensing was once a problem. Today you meet it in a few typical situations:
- Game engines such as Godot and many indie frameworks recommend OGG for music and longer sounds; Unity also handles it well.
- Wikipedia and Wikimedia Commons accept Ogg audio for uploads, but not MP3 files.
- Linux distributions and open-source apps often use OGG for system sounds.
- Some web projects use OGG as a second source for older Firefox versions.
Quality when going from MP3 to OGG
Both formats are lossy, so this is a re-encode. Vorbis is generally a little more efficient than MP3, but it cannot recover detail that the MP3 encoder has already removed. To avoid an audible loss, give the OGG file a bitrate at least as high as the MP3:
| Source MP3 | Suggested OGG | OGG size per minute |
|---|---|---|
| 128 kbps | 128 to 160 kbps | about 1 to 1.2 MB |
| 192 kbps | 192 kbps | about 1.4 MB |
| 320 kbps | 256 kbps | about 1.9 MB |
For short game sound effects, 96 kbps in mono is usually enough and keeps the build small.
Game audio tips
Vorbis supports gapless playback better than MP3, because it does not add the encoder padding that MP3 places at the start and end of each file. That is one reason games prefer it for looping music. Keep in mind that the loop will only be seamless if the original MP3 was cut at a clean point; the extra silence MP3 adds may need trimming in the editor first.
Tags and compatibility
Title, artist and album move into Vorbis comments, which most players read. OGG plays in VLC, Android, Chrome, Firefox, Edge and on Linux, but Safari on older iPhones and Macs, and many car stereos, do not support it. For Apple devices choose MP3 to M4A instead. If small file size is the main goal, MP3 to OPUS gives better results at low bitrates.