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 693080 - Duplicate tags when converting from flac to mp3
Duplicate tags when converting from flac to mp3
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: dont know
1.0.5
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-03 04:15 UTC by Andrew
Modified: 2013-06-11 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Tags as reported by ffmpeg and gstreamer (57.77 KB, text/x-log)
2013-02-03 04:15 UTC, Andrew
Details

Description Andrew 2013-02-03 04:15:55 UTC
Created attachment 235091 [details]
Tags as reported by ffmpeg and gstreamer

some tags (notably the Musicbrainz ids) are duplicated during conversion

command:
gst-launch-1.0 filesrc location=Toms_Diner.flac name=src ! decodebin name=decoder ! audiorate ! audioresample ! audioconvert ! lamemp3enc ! xingmux ! id3v2mux ! filesink location=Toms_Diner.mp3

Sample files:
https://dl.dropbox.com/u/51948537/Toms_Diner.flac
https://dl.dropbox.com/u/51948537/Toms_Diner.mp3
Comment 1 Tim-Philipp Müller 2013-02-04 23:38:59 UTC
Just to be sure, you are refering to this:

    MusicBrainz Album Artist Id: cf119120-7df5-47d7-9dec-49f8837a4e40
    musicbrainz_albumartistid: cf119120-7df5-47d7-9dec-49f8837a4e40

    MusicBrainz Album Id: 6919e48e-0a37-4cbd-bfb6-9018035efb2b
    musicbrainz_albumid: 6919e48e-0a37-4cbd-bfb6-9018035efb2b

    MusicBrainz Artist Id: cf119120-7df5-47d7-9dec-49f8837a4e40
    musicbrainz_artistid: cf119120-7df5-47d7-9dec-49f8837a4e40

?
Comment 2 Andrew 2013-02-04 23:41:13 UTC
yes, though i noticed other tags also being duplicated.
if you run strings on the mp3 you can see that it is storing them twice
Comment 3 Tim-Philipp Müller 2013-02-04 23:58:32 UTC
Could you point out exactly what you mean? Maybe in the hexdump? So I don't have to look/guess?
Comment 4 Andrew 2013-02-05 00:05:22 UTC
From strings:
MusicBrainz Album Artist Id
cf119120-7df5-47d7-9dec-49f8837a4e40TXXX
musicbrainz_albumartistid
cf119120-7df5-47d7-9dec-49f8837a4e40TPOS
1/1TXXX
MusicBrainz Album Id
6919e48e-0a37-4cbd-bfb6-9018035efb2bTXXX
musicbrainz_albumid
6919e48e-0a37-4cbd-bfb6-9018035efb2bTPE2
Suzanne VegaTALB
Solitude StandingTXXX
MusicBrainz Artist Id
cf119120-7df5-47d7-9dec-49f8837a4e40TXXX
musicbrainz_artistid
cf119120-7df5-47d7-9dec-49f8837a4e40TPE1
Suzanne VegaUFID
http://musicbrainz.org
a9e35792-1134-4cfb-8c08-08851c990cfbTSOP
Vega, SuzanneTRCK
1/11
Comment 5 Tim-Philipp Müller 2013-02-05 00:24:49 UTC
Those aren't actually duplicates. The problem is that there are two variants of these IDs in use, since they're not official, and we write both variants. There isn't really any harm in writing both, since players will just ignore those they don't understand.

The name Suzanne Vega also appears multiple times in different roles: album artist (plain name, and sort name) and song artist (plain name and sort name).

I don't see anything wrong with this. What's causing problems exactly?
Comment 6 Andrew 2013-02-05 00:36:41 UTC
picard loads both variants of the tag and fails to get the correct id, arguably a picard bug but still.

as far as i'm aware only the lowercase with underscore form is needed, it is whats in the flac and when directly tagging mp3's.
Comment 7 Sebastian Dröge (slomo) 2013-06-11 10:40:12 UTC
Sounds like a picard bug only, see the explanation in comment 5.