After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322409 - Long albumn names truncated after first track
Long albumn names truncated after first track
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-25 09:29 UTC by Evan Clarke
Modified: 2006-05-17 13:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Evan Clarke 2005-11-25 09:29:03 UTC
Version details: 2.12.2
Distribution/Version: Ubuntu Breezy

I have noticed that for a couple of my CDs, the first track lists the albumn
name correctly in the mp3 files metadata, but the second track onwards the long
albumn name is truncated.

For example:
Track 01 lists the albumn as "Good News for People Who Love Bad News" in the
metadata (viewed through nautilus or rythmbox), but track 02+ it is "Good News
for People Who Love".

Ditto for "When Young Terrorists Chase the Sun" (track 01) vs. "When Young
Terrorists Chase th" (track 02+) for the Gerling CD.

The output filename + path includes the albumn name, but is correct for all tracks.
Comment 1 Ross Burton 2005-11-25 13:39:12 UTC
Could you try ripping that album to Ogg Vorbis, and seeing if the truncation
still occurs?  This would help locate where the problem is occuring.
Comment 2 Evan Clarke 2005-11-26 09:47:01 UTC
Good call; tagged correctly when ripping to Ogg Vorbis.

I should have mentioned my MP3 gstreamer pipeline is:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc preset=standard
Comment 3 Ross Burton 2005-11-26 11:22:18 UTC
Looks like a very strange gstreamer bug then, re-assigning.
Comment 4 Edward Hervey 2005-11-30 12:15:50 UTC
Perfectly normal since the id3 tagger uses the idv3 1.1 tagging format which has
a 30 characters limitation for the fields.
More info here : http://www.id3.org/history.html
Comment 5 Ross Burton 2005-11-30 12:25:17 UTC
"the first track lists the album name correctly in the mp3 files metadata, but
the second track onwards the long albumn name is truncated."

Why is the first file tagged differently, with the full title?

Evan, can you put some sample files online?
Comment 6 Evan Clarke 2005-12-01 04:07:18 UTC
Thanks for re-opening.

Sample files are on http://www.alphalink.com.au/~pbclarke/
Track 01 lists full correct albumn name in nautilus properties, but track not
track 02.

To save space I have encoded this with the following gstreamer string:
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc bitrate=8 mode=3

I noticed that they don't play properly at all, all stuttery in mplayer and
totem, but you can still see the metadata problem.
Comment 7 Andy Wingo 2006-01-16 10:47:20 UTC
Copying Jan for comment
Comment 8 Jan Schmidt 2006-01-16 17:25:53 UTC
Here's an incomprehensible dump from 02\ -\ Dust_Me_Selecta.mp3. Keen readers will notice that at byte 0x88, there's a mysterious ID3 Version *1* tag, appended to the correct ID3v2 tag. 

Why is this? Well, I guess it ties in with bug #320767 and gstreamer's lame element inserting extra ID3v1 tags when encoding, coupled with the mad mp3 decoder interpreting the id3v1 tag it finds in the middle of the stream and sending a new TAG event that overrides the correct information in the ID3v2 tag.

Thie same playback part of this sequence doesn't seem to happen in 0.10, for reasons that the spirits have not yet revealed to me, but the end result is that (with the new non-libid3tag based id3demux) we end up only listing the correct tag information.

00000000  49 44 33 03 00 00 00 00  00 7d 54 53 53 45 00 00  |ID3......}TSSE..|
00000010  00 0d 00 00 00 4c 41 4d  45 20 76 33 2e 39 36 2e  |.....LAME v3.96.|
00000020  31 54 49 54 32 00 00 00  10 00 00 00 44 75 73 74  |1TIT2.......Dust|
00000030  20 4d 65 20 53 65 6c 65  63 74 61 54 50 45 31 00  | Me SelectaTPE1.|
00000040  00 00 08 00 00 00 47 65  72 6c 69 6e 67 54 41 4c  |......GerlingTAL|
00000050  42 00 00 00 24 00 00 00  57 68 65 6e 20 59 6f 75  |B...$...When You|
00000060  6e 67 20 54 65 72 72 6f  72 69 73 74 73 20 43 68  |ng Terrorists Ch|
00000070  61 73 65 20 74 68 65 20  53 75 6e 54 52 43 4b 00  |ase the SunTRCK.|
00000080  00 00 02 00 00 00 32 54  41 47 44 75 73 74 20 4d  |......2TAGDust M|
00000090  65 20 53 65 6c 65 63 74  61 00 00 00 00 00 00 00  |e Selecta.......|
000000a0  00 00 00 00 00 00 00 00  47 65 72 6c 69 6e 67 00  |........Gerling.|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  00 00 00 00 00 00 57 68  65 6e 20 59 6f 75 6e 67  |......When Young|
000000d0  20 54 65 72 72 6f 72 69  73 74 73 20 43 68 61 73  | Terrorists Chas|
000000e0  65 20 74 68 00 00 00 00  00 00 00 00 00 00 00 00  |e th............|

While I'm tuned into the psychic messages from the spirit world, I'm also going to go ahead and predict that the stutteriness exhibited on playback is due to these files being MPEG "2.5" audio files, with only an 8khz samplerate, and some element in 0.8 not doing timestamping correctly. Again, this is working properly here in 0.10.
Comment 9 Tim-Philipp Müller 2006-01-16 17:46:43 UTC
audioscale in 0.8.11 didn't timestamp properly (fixed in CVS), that would explain the stuttering/choppy playback.
Comment 10 Wim Taymans 2006-04-21 18:17:59 UTC
so, what's up with this?
Comment 11 Jan Schmidt 2006-05-01 00:23:21 UTC
The ID3 tag strangeness should be fixed in 0.10 with the recent work on the ID3 muxers, I believe. That's probably the best we can do - the tags are impossible to read and I think id3demux is already doing best-effort there.
Comment 12 Tim-Philipp Müller 2006-05-17 13:42:05 UTC
Closing given that it works in 0.10 and I can't see anyone looking into this for 0.8...