Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: iTunes 10.2.1 fails to decode MP3 properly (Read 10771 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

iTunes 10.2.1 fails to decode MP3 properly

Hello,

I have just posted the results of my MP3 decoder test, covering iTunes, Winamp, Windows Media Player and Foobar2000.

The TL;DR is that all MP3 decoders are NOT created equal. Specifically, iTunes produces significantly different output streams than the other players.

Best,

Tomasz

iTunes 10.2.1 fails to decode MP3 properly

Reply #1
Spare your time, guys. The guy concludes "distortion" just because it doesn't match the output of an old Fraunhofer decoder exactly and the difference file sounds "distorted" .

iTunes 10.2.1 fails to decode MP3 properly

Reply #2
Spare your time, guys. The guy concludes "distortion" just because it doesn't match the output of an old Fraunhofer decoder exactly and the difference file sounds "distorted" .

This is a decoder comparison. Checking differences with a reference is correct, all decoders should produce the same output (with some minimal and specified differences allowed).

iTunes 10.2.1 fails to decode MP3 properly

Reply #3
It'd be interesting to see 1) what happens under OS X, and 2) what happens with AAC.

I'll test both of those scenarios this evening when I get home, unless someone else wants to take the baton before then.
"Not sure what the question is, but the answer is probably no."

iTunes 10.2.1 fails to decode MP3 properly

Reply #4
This is a decoder comparison. Checking differences with a reference is correct, all decoders should produce the same output (with some minimal and specified differences allowed).


My point is, one cannot conclude "distortion" in this case from the sound of the difference file. This might also be the effect of a limiter. I don't remember if it was Apple's AAC encoder or decoder, but it is also happening there and no audible harm.

 

iTunes 10.2.1 fails to decode MP3 properly

Reply #5
Did some quick tests under Windows XP w/iTunes 10.1.2.17 just having iTunes decode to WAV (i.e. no loop-back):

1) I get similar difference results as tszyn when comparing against either fb2k's or LAME 3.98.4's decoded output (whereas both of those essentially null against each other).

2) Difference file isn't nearly as "busy" with CBR 256 as it is with V2.

3) iTunes is correctly removing the encoder delay and padding from the decoded MP3, but in addition, it is also cutting off exactly one frame from the end  (1152 samples) - verified with a few ~10 sec. MP3s...shades of the ALAC decoding bug from late last year with iTunes 10.0.

As such, when I did my inverted mix pastes, I shortened fb2k's/LAME's WAVs by 1152 samples before pasting.

@googlebot:  "Distortion" is any unintended change to the signal, so in the strictest technical sense, yes, iTunes' MP3 decoder is adding distortion when compared to the output of several other decoders...*why* is the question, and one that I hope we can find the answer to, or at least bring to Apple's attention (they did, after all, address the ALAC decoding bug in the next release of iTunes, 10.1).
"Not sure what the question is, but the answer is probably no."

iTunes 10.2.1 fails to decode MP3 properly

Reply #6
Here's a spectral view of the fb2k<->iTunes invert paste (audio clip is ~10 sec. from Elbow's "Grounds for Divorce"):



...and for a more visible example, 10 seconds from Ministry's "Filthpig":

"Not sure what the question is, but the answer is probably no."

iTunes 10.2.1 fails to decode MP3 properly

Reply #7
When I tested this a decade ago, quite a few decoders made these small mistakes above 16kHz - including the older FhG ACM codec.

The ones with errors above 16kHz are scored "2" in this table...
http://mp3decoders.mp3-tech.org/objective.html

Strange that iTunes have re-introduced something that's like this old bug.

Cheers,
David.

iTunes 10.2.1 fails to decode MP3 properly

Reply #8
What does the waveform look like below 16kHz? Could Apple be trying to interpolate missing harmonics (meaning was this a deliberate choice, with the hypothetical goal of improving the sound), or an unintended consequence of something else?

    - M.

iTunes 10.2.1 fails to decode MP3 properly

Reply #9
Rather looks like just a sneaky old bug to me now. If Apple would have done anything in that direction they would have let you know.