Ads
Amazon.com : You surely already know them...
Lunarpages webhosting : Standard Web Hosting Plan starting at $7.95 a month includes 1000MB storage and 40GB data transfer.
Quote of the day : "Oh, oh... I just made poopoo." Shibuki (Retard Girl voice pack)

Next quote in 8 hours. [suggest a quote]

Our free stuff

Software tests → MP3 vs Ogg Vorbis

Summary

Abstract
  • We compared the MP3 format to Ogg Vorbis.
  • We were not able to draw precise conclusions. However, the Ogg q4 format seemed to provide the best compression (no audible difference compared to higher qualities and bitrates).

Objectives

We wanted to assess the improvements brought by Ogg compared to MP3, and to precise the differences between bitrates for both MP3 and Ogg.
We used a constant bitrate (CBR) for MP3, because it's mainly used this way. We used a variable bitrate (VBR) for Ogg for the same reason.

Method

We didn't want to compare encoding speeds, so we won't detail our machine and running processes.

The music : we used Jean Michel Jarre's Oxygene 4 (Images - The Best Of Jean Michel Jarre - Track #01) to create a wav file starting at second #20 and finishing at second #43.

The softwares : Spectrum analysis parameters : The original file was 4057988 Bytes (3.86 MiB).

Results

We did a VBR compression into MP3, and we noticed it was (around twice) slower than MP3 CBR. We did a CBR compression into Ogg, and we noticed it was (around twice) slower than Ogg VBR. But this wasn't the objective of our test and we didn't explore it more. We only mention it for informational purpose.

Filesizes : Before going further, let me remind you that the audible frequencies range from (approximately) 20 Hz to 18-20 kHz.

We analyzed the way the original audio spectrum was respected by the different audio compressions.
First, we drew the audio spectra and determinated when (eg, the frequency at which) the compressed spectra differed from the original file with less than 0.5 decibel (dB) ("good match"), with more than 0.5 and less than 3 dB ("approx match"), and with more than 3 and less than 10 dB ("crazy match"). Beyond a 10 dB loss, we considered the sound as lost.
Results - graph 1
(Quick interpretation : the higher the limits, the more lossless the compression is.)

Then, we determinated when the compressed spectra lost more than 1 dB for the first time, and when it gained more than 1 dB for the first time. The variation over 1 dB was not considered if it didn't occur at least twice in a 500 Hz interval.
Results - graph 2

We noticed that Ogg tended to increase frequencies with more than 0.5 dB and even more than 1 dB under quality 4 (not included). We are not audio professionals, so we don't know if this is really a lot, but it made it difficult for us to draw conclusions on the bitrate equivalences between MP3 and Ogg.

Here are the gain/loss compared to the original spectrum of the MP3 128 and Ogg q4 files.
Results - graph 3

To sum up :

Conclusions

Considering an audible range from 20 Hz to 18 kHz, there is probably no audible difference between MP3 224 kbps and MP3 with higher bitrates, and there is probably no audible difference between Ogg q4 and Ogg with a higher quality.
We are not able to propose MP3-Ogg equivalences, because at an equivalent bitrate, Ogg preserves a wider range of frequencies than MP3 but tends to modify the original sound (even if this doesn't seem audible to us) more than MP3. We didn't expect such a result so we haven't been able to analyze it properly and as deeply as it should be.

It's also possible that our +/- 0.5 dB criterion was a bad criterion.

It's even harder to draw conclusions, because everyone has their own perception of sounds. We think that Ogg q4 is almost perfect to store audio, but our main concern with this quality is "what about compressions and recompressions ?", since it tends not to keep the original file as well as mp3.

This test should be continued in order to compare more precisely Ogg's distorsion to MP3's.

Appendixes

All spectra : spectra compared to the original file, 0 means no difference. Difference in dB. On all these graphs, the X axis is the frequency in Hz, linear, from 40 Hz to 22 kHz.
MP3 spectra

Ogg spectra

Ogg spectra 2