[gst-devel] application/x-id3 metadata failure

Rémi COHEN-SCALI remi at cohen-scali.com
Tue Jul 5 15:40:21 CEST 2005


Hi

I recently built gstreamer/gst-plugin 0.8.10 and rhythmbox. With 
previous versions they used to run correctly reading mp3 tags, but with 
these last I'm only able to get ogg metadata.
After a little investigation I tried these:

<rcoscali at xfiles> gstreamer-0.8.10 [1217/219]$ gst-launch -t gnomevfssrc 
location = afile.ogg ! typefind ! spider ! audio/x-raw-int ! fakesink
RUNNING pipeline ...
FOUND TAG      : found by element "oggdemux0".
         serial: 1327476490
FOUND TAG      : found by element "vorbisdec0".
          title: Go down
         artist: The House Keepers
          album: DanceFloor FG Summer 2005
           date: 731947
   track number: 8
    track count: 21
          genre: Dance Techno
        encoder: Xiph.Org libVorbis I 20030909
encoder version: 0
    audio codec: Vorbis
nominal bitrate: 160003
        bitrate: 160003
Execution ended after 17273 iterations (sum 5668412000 ns, average 
328166 ns, min 33000 ns, max 391860000 ns).
<rcoscali at xfiles> gstreamer-0.8.10 [1218/220]$ gst-launch -t gnomevfssrc 
location = afile.mp3 ! typefind ! spider ! audio/x-raw-int ! fakesink
RUNNING pipeline ...
FOUND TAG      : found by element "ffdemux_mp30".
    audio codec: MPEG-1 layer 3 audio
Execution ended after 7023 iterations (sum 3330220000 ns, average 474187 
ns, min 67000 ns, max 268266000 ns).
<rcoscali at xfiles> gstreamer-0.8.10 [1219/221]$ id3info afile.mp3

*** Tag information for 
/u7/MP3/FG_DJ_Radio/DanceFloor_FG_Summer_2004/04-David_Guetta_Ft_Chris_Willis-Mone__Money.mp3
=== TIT2 (Title/songname/content description): Money
=== TPE1 (Lead performer(s)/Soloist(s)): David Guetta Ft Chris Willis Mone
=== TALB (Album/Movie/Show title): DanceFloor FG Summer 2004
=== TYER (Year): 2004
=== TRCK (Track number/Position in set): 04/18
=== TCON (Content type): Dance Techno
=== COMM (Comments): (ID3v1 Comment)[XXX]: 6c40c99c
=== TLEN (Length): 183000
*** mp3 info
MPEG1/layer III
Bitrate: 128KBps
Frequency: 44KHz
<rcoscali at xfiles> gstreamer-0.8.10 [1220/222]$

I tried to add some debug in related gst-plugin files 
(gst-plugin/gst/tags/gstid3tag.c and gst-plugin/gst/tags/gstvorbistag.c) 
I noticed that vorbis traces appears but not the id3 ones.
I assumed that gst-ffmpeg do not handles metadata, but that puzzles me.

Could you please help me to proceed with either further debugging steps 
(where to search, any tips welcome) or what is the plugin to use (and 
how to force usage for it)
Thanks for help, I'm really stuck in the code ;-)

Remi




More information about the gstreamer-devel mailing list