iTunes has wrong length for mp3 files.

I have several mp3 files that iTunes thinks are much longer then they really are. The Finder preview and QuickTime Player both give the correct length. The files play correctly as well except that the time remaining is incorrect. When the end of the song is reached iTunes starts playing the next song. The files play correctly, but it annoys me. If I use "Convert to mp3" on one of the problem files, the converted file shows up properly. I would prefer not to do this though, as it would degrade the quality of the file.

Does anyone have any idea what could cause this and/or how to fix it?

15" Titanium PowerBook G4 Mac OS X (10.3.9) iTunes 6.0.4

Posted on Mar 6, 2006 11:25 AM

Reply
8 replies

Mar 7, 2006 7:53 AM in response to Kevin Lemens

Good job noticing that! I opened up one of my MP3s in BBEdit (without QuickTime Translation) and found a single XING listed near the end of the header. I'm not too happy running software 'not tested with mpeg 2 5' and 'completely untested'.

This looks like it could be a simple fix (CLI) if what needed to be added was better documented here.

Think you could compare an unfixed file to a fixed one and see if the difference is easily added to any MP3? It might be best to do this on copies and convert the ID3 tag first to test it.

I'm surprised converting the tag from iTunes doesn't fix this.

Mar 7, 2006 9:45 AM in response to Kevin Lemens

If you bugged it or are going to...

Is the fix working on this file for example?

http://www.gutenberg.org/dirs/etext05/shsof1601.mp3

it reports different lengths by about 5 seconds (low bitrate file).

iTunes, the finder preview in column view, and get info > more info (disclosed) calculate the same erroneous time.

Worse, if you advance the start time a few seconds in iTunes it plays fine, but if you burn it the file starts at a different place further back (crops). This makes it almost useless.

I have no idea why the finder defaults to the iTunes calculation method, but it seems like there are two mp3 codecs installed. One as part of quicktime (intermediate? or packaged in the app) and the other part of iTunes...and the iTunes one is erroneous?

My guess... it's not the app, but the component used in playback. The Finder has it wrong as well (at least on my system with that file).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes has wrong length for mp3 files.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.