iTunes 10.2.1 fails to decode MP3 properly |
![]() ![]() |
iTunes 10.2.1 fails to decode MP3 properly |
Mar 16 2011, 09:54
Post
#1
|
|
|
Group: Members Posts: 22 Joined: 28-July 09 Member No.: 71851 |
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 |
|
|
|
Mar 16 2011, 10:22
Post
#2
|
|
|
Group: Members Posts: 698 Joined: 6-March 10 Member No.: 78779 |
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"
|
|
|
|
Mar 16 2011, 14:14
Post
#3
|
|
![]() Nero MPEG4 developer Group: Developer (Donating) Posts: 1218 Joined: 11-October 01 From: LA Member No.: 267 |
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). |
|
|
|
Mar 16 2011, 14:23
Post
#4
|
|
|
Group: Members Posts: 675 Joined: 23-February 05 Member No.: 20097 |
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."
|
|
|
|
Mar 16 2011, 14:37
Post
#5
|
|
|
Group: Members Posts: 698 Joined: 6-March 10 Member No.: 78779 |
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. This post has been edited by googlebot: Mar 16 2011, 14:39 |
|
|
|
Mar 16 2011, 15:29
Post
#6
|
|
|
Group: Members Posts: 675 Joined: 23-February 05 Member No.: 20097 |
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."
|
|
|
|
Mar 16 2011, 16:17
Post
#7
|
|
|
Group: Members Posts: 675 Joined: 23-February 05 Member No.: 20097 |
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":
This post has been edited by mixminus1: Mar 16 2011, 16:27 -------------------- "Not sure what the question is, but the answer is probably no."
|
|
|
|
Mar 16 2011, 16:21
Post
#8
|
|
![]() ReplayGain developer Group: Developer Posts: 4588 Joined: 5-November 01 From: Yorkshire, UK Member No.: 409 |
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. |
|
|
|
Mar 18 2011, 01:13
Post
#9
|
|
![]() Group: Members Posts: 964 Joined: 29-December 01 Member No.: 830 |
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. |
|
|
|
Mar 18 2011, 01:33
Post
#10
|
|
|
Group: Members Posts: 698 Joined: 6-March 10 Member No.: 78779 |
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.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 17:38 |