leosongwei / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

Fails to read some mp3 tags #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I've got some old mp3s where mutagen (svn trunk rev 108) fails to read any tags.
Other applications, like id3info and mp3info, manage to read them, for example:

bash>mutagen-inspect ./01\ -\ Long\ Shot.mp3 
-- ./01 - Long Shot.mp3
- MPEG 1 layer 3, 96000 bps, 44100 Hz, 195.54 seconds (audio/mp3)
GEOB=[unrepresentable data]

bash> id3info ./01\ -\ Long\ Shot.mp3 

*** Tag information for ./01 - Long Shot.mp3
=== GEOB (General encapsulated object): (RealJukebox:Metadata)[]: binary, 1394 
bytes
=== TIT2 (Title/songname/content description): Long Shot
=== TPE1 (Lead performer(s)/Soloist(s)): Aimee Mann
=== TALB (Album/Movie/Show title): I'm With Stupid
=== TYER (Year): 2001
=== TRCK (Track number/Position in set): 1
=== TCON (Content type): (17)
*** mp3 info
MPEG1/layer III
Bitrate: 96KBps
Frequency: 44KHz

bash> mp3info ./01\ -\ Long\ Shot.mp3 
File: ./01 - Long Shot.mp3
Title:   Long Shot                      Track: 1
Artist:  Aimee Mann
Album:   I'm With Stupid                Year:  2001
Comment:                                Genre: Rock [17]

It's possible the files are not standards conforming somehow,
I'm afraid I don't know much/anything about this. The `file' command
reports:

01 - Long Shot.mp3: Audio file with ID3 version 2.3.0, contains: MPEG ADTS, 
layer III, v1,  96 kbps, 44.1 kHz, JntStereo

I attach the first 32kb of one file as suggested.

Thanks.

Original issue reported on code.google.com by r...@gnu.org on 25 Aug 2011 at 12:25

Attachments:

GoogleCodeExporter commented 9 years ago
Can you send me the file per mail?

Original comment by reiter.christoph@gmail.com on 25 Jul 2012 at 11:50

GoogleCodeExporter commented 9 years ago
The example contains a valid (although truncated) id3v2.3 tag which 
mutagen-inspect shows above.

My guess is that it contains a id3v1.1 tag at the end, which mutagen does not 
read, only write/update.

Joe: What do you think about adding upgraded id3v1.1 frames if they are not in 
v2.2/3/4?

Original comment by reiter.christoph@gmail.com on 6 Aug 2012 at 3:07

GoogleCodeExporter commented 9 years ago
I also have mp3 that mutagen fails to read some fields. Can I send it by mail?

Original comment by ibrka...@gmail.com on 17 Feb 2014 at 9:08

GoogleCodeExporter commented 9 years ago
They are not version v1.1 but v2.3

Original comment by ibrka...@gmail.com on 18 Feb 2014 at 9:22

GoogleCodeExporter commented 9 years ago
this is related to https://github.com/devsnd/tinytag/issues/3

Original comment by ibrka...@gmail.com on 18 Feb 2014 at 1:04

GoogleCodeExporter commented 9 years ago
mutagen has moved to Bitbucket: https://bitbucket.org/lazka/mutagen/issue/98

Original comment by reiter.christoph@gmail.com on 4 Jul 2014 at 3:40