HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - General => Topic started by: mute. on 2005-07-30 17:45:02

Title: iTunes vs. LAME: A little spot test
Post by: mute. on 2005-07-30 17:45:02
Hi folks

Today I stumbled across this forum (great place!), browsed a few topics and was quite taken aback to learn that by encoding all my MP3 files with iTunes/192kbps/Stereo I'd quality-wise not be "on the safe side" like I always thought. Then I took a look at LAME and reencoded a few songs but couldn't hear a clear difference (though my hifi stereo is currently not available).

Now I'm curious how better trained ears would judge the following sample. I tried to remove all obvious traces to the encoder but please be honest and use a player that doesn't show you any mp3 frame information (i.e. bitrate).

Clipping A (http://homepage.hispeed.ch/synapse/ClippingA.mp3)
Clipping B (http://homepage.hispeed.ch/synapse/ClippingB.mp3)

1. Which audio file do you think sounds better (if you can hear a difference)?
2. How do you rate the sound quality overall, i.e. would it be good enough for your personal preference?
3. Is the difference worth not just choosing the simplest encoding solution?

I'm going to post "the solution" and technical details when a few opinions have come in...
Title: iTunes vs. LAME: A little spot test
Post by: guruboolez on 2005-07-30 17:53:01
5,4 MB per file in MP3 format? Did you encode the full track?
Title: iTunes vs. LAME: A little spot test
Post by: mp3chan on 2005-07-30 18:00:56
How would you know which sounds better without comparing to the original sample?
Title: iTunes vs. LAME: A little spot test
Post by: guruboolez on 2005-07-30 18:04:41
Quote
How would you know which sounds better without comparing to the original sample?
[a href="index.php?act=findpost&pid=316845"][{POST_SNAPBACK}][/a]

If you can detect usual distortions introduced by lossy encoding (pre-echo, ringing...) the reference is most often not a need.
Title: iTunes vs. LAME: A little spot test
Post by: mute. on 2005-07-31 15:03:58
Quote
Quote
How would you know which sounds better without comparing to the original sample?
[a href="index.php?act=findpost&pid=316845"][{POST_SNAPBACK}][/a]

If you can detect usual distortions introduced by lossy encoding (pre-echo, ringing...) the reference is most often not a need.
[a href="index.php?act=findpost&pid=316847"][{POST_SNAPBACK}][/a]

Exactly. If it's not possible to distinguish the two samples without a reference, the discussion about which encoder to use gets quite superfluous.
Title: iTunes vs. LAME: A little spot test
Post by: smok3 on 2005-07-31 15:28:27
unless preecho and ringing are part of the reference (artistic expression maybe? )
Title: iTunes vs. LAME: A little spot test
Post by: kindofblue on 2005-08-02 08:53:52
@mute: cmiiw, itunes uses the Fraunhofer encoder for mp3 encoding, and 192kbps CBR should give decent quality. of course, you miss out on the benefits of VBR, which LAME offers.

On the other hand, I tried ABXing the two clips you posted and was hard-pressed to tell which was which. It might be hard to make conclusions based on just one sample, but you're probably fine with your 192 CBR encodes, especially for portable listening.

just my two cents.
Title: iTunes vs. LAME: A little spot test
Post by: Gabriel on 2005-08-02 09:05:11
Quote
@mute: cmiiw, itunes uses the Fraunhofer encoder for mp3 encoding

No, it uses a custom encoder, which is an evolution of the SoundJam one.
Title: iTunes vs. LAME: A little spot test
Post by: Defsac on 2005-08-02 09:45:59
Gabriel is correct. When Apple bought SoundJam MP (now iTunes) they improved the encoding engine.
Title: iTunes vs. LAME: A little spot test
Post by: kindofblue on 2005-08-02 10:05:46
Whoops. I stand corrected then.
Title: iTunes vs. LAME: A little spot test
Post by: mute. on 2005-08-02 21:35:11
Quote
@mute: cmiiw, itunes uses the Fraunhofer encoder for mp3 encoding, and 192kbps CBR should give decent quality. of course, you miss out on the benefits of VBR, which LAME offers.

On the other hand, I tried ABXing the two clips you posted and was hard-pressed to tell which was which. It might be hard to make conclusions based on just one sample, but you're probably fine with your 192 CBR encodes, especially for portable listening.

just my two cents.
[a href="index.php?act=findpost&pid=317305"][{POST_SNAPBACK}][/a]

kindofblue, thanks a lot for your comments. The standard LAME encoding (v3.96.1 (--alt-preset standard), 192 kbps VBR, Joint Stereo) certainly has - while being 4 times slower - a theoretical quality advantage over my standard iTunes encoding (v4.9(17), 192 kbps, Stereo, "Smart Encoding Adjustments", "Filter Frequencies Below 10 Hz") that is obviously not easy to perceive. Then how big could the differece be when the iTunes encoding was also done at VBR (except iTunes does VBR and Joint Stereo terribly bad)? Has anyone actually ever conducted serious encoder tests at bitrates of 192 kbps or higher? Anyway, it's still not clear to me what makes iTunes "the worst MP3 encoder still in widespread use".

Btw, in iTunes it says "MPEG Layer-3 audio coding technology licensed from Fraunhofer IIS and Thomson multimedia".
Title: iTunes vs. LAME: A little spot test
Post by: Gabriel on 2005-08-02 21:46:02
Quote
Btw, in iTunes it says "MPEG Layer-3 audio coding technology licensed from Fraunhofer IIS and Thomson multimedia".

This means that they licenced the patent pool from FhG/Thomson, but does not mean that they licensed the encoder implementation.
Winamp 5 is displaying a similar message, while it is using Lame.
Title: iTunes vs. LAME: A little spot test
Post by: guruboolez on 2005-08-02 23:50:00
Quote
v3.96.1 (--alt-preset standard), 192 kbps VBR, Joint Stereo certainly has (...) a theoretical quality advantage over my standard iTunes (...) that is obviously not easy to perceive.

For you and probably a lot of people, it's probably true. But you're not exploiting the real (and not theoretical) advantage of LAME. You are obviously comparing two encodings profiles which are purely transparent for you. Try with lower settings. You can probably obtain the same degree of quality than iTunes with a lower VBR profile (as -V5/-V4/-V3) and also increase encoding speed by using --vbr-new (also providing a better quality than regular VBR mode with latest 3.97 alphas).
Title: iTunes vs. LAME: A little spot test
Post by: kindofblue on 2005-08-03 09:59:29
@mute: your sample seems like a nice one for abx tests. any chance you could upload a wav/lossless version? thx