file not recognizing MP3 files?

Andrew Watts ahwatts at gmail.com
Mon Feb 28 16:22:44 PST 2011


It appears that version 5.05 of file is not recognizing MP3 files.  On
my mac, running 10.5.8, I get this:

andrew at drbernice ~ $ file nanana.mp3
nanana.mp3: data
andrew at drbernice ~ $ file --version
file-5.05
magic file from /opt/local/share/misc/magic
andrew at drbernice ~ $ md5 nanana.mp3
MD5 (nanana.mp3) = 489c7353b240310bf549a5479d44a79a

On a machine running FC10, I get this:

awatts at elton ~ $ file nanana.mp3
nanana.mp3: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo
awatts at elton ~ $ file --version
file-4.26
magic file from /usr/share/file/magic
awatts at elton ~ $ md5sum nanana.mp3
489c7353b240310bf549a5479d44a79a  nanana.mp3

(I include the MD5 just to demonstrate that it's the same file).

It's not just this file; it's not recognizing any MP3 on my machine.
It does recognize ID3 tags, but not the MP3 data that follows them.

Any suggestions?


More information about the macports-users mailing list