Dear All,
I’m trying to get the UFID tag from mp3 file with the ffprobe commande without 
success.

I'm using ffprobe to retrieve metadata from audio files. To do so, I usually 
use the following command:

ffprobe -hide_banner -v 0 -i audio.mp3 -show_entries format -of json

This gives the following result:

{
    "format": {
        "tags": {
            "title": "Try Me, I Know We Can Make It (edit)",
            "artist": "Donna Summer",
            "track": "3/9",
            "album": "Encore",
            "disc": "12/33",
            "TMED": "CD",
            "MusicBrainz Release Group Id": 
"c6b5e8d3-9ec1-4221-b595-857032b25249",
            "TORY": "2020",
            "MusicBrainz Release Track Id": 
"3c1c48bb-8f4f-4516-af8b-b5eadd99c469",
            "album_artist": "Donna Summer",
            "TSRC": "USIR20200908",
            "SCRIPT": "Latn",
            "TSO2": "Summer, Donna",
            "artist-sort": "Summer, Donna",
            "ASIN": "B083ZT9YFC",
            "originalyear": "2020",
            "publisher": "Driven by the Music",
            "TSST": "On the Radio (disc 1)",
            "ARTISTS": "Donna Summer",
            "BARCODE": "654378066023",
            "CATALOGNUMBER": "DBTMCDBOX02",
            "MusicBrainz Album Status": "official",
            "MusicBrainz Album Release Country": "XE",
            "MusicBrainz Album Type": "album/compilation",
            "Acoustid Id": "b2d70b30-8b7b-4207-bd9e-12c39419fb2b",
            "MusicBrainz Album Id": "0218662d-7e08-40f2-9b08-d41bace62e3b",
            "MusicBrainz Artist Id": "b60527cc-54f3-4bbe-a01b-dcf34c95ae14",
            "MusicBrainz Album Artist Id": 
"b60527cc-54f3-4bbe-a01b-dcf34c95ae14",
            "date": "2020-03-27"
        }
    }
}

However, in this result, I can't find the UFID 
<https://id3.org/id3v2.3.0#sec4.1> tag. I know this tag is present in the file, 
because it is retrievable with mutagen-inspect more information here 
<https://mutagen.readthedocs.io/en/latest/man/mutagen-inspect.html>. Using 
mutagen-inspect gives the following result:

APIC=cover front, Box (image/jpeg, 79556 bytes)
TALB=Encore
TDOR=2020
TDRC=2020-03-27
TIT2=Try Me, I Know We Can Make It (edit)
TMED=CD
TPE1=Donna Summer
TPE2=Donna Summer
TPOS=12/33
TPUB=Driven by the Music
TRCK=3/9
TSO2=Summer, Donna
TSOP=Summer, Donna
TSRC=USIR20200908
TSST=On the Radio (disc 1)
TXXX=ARTISTS=Donna Summer
TXXX=ASIN=B083ZT9YFC
TXXX=Acoustid Id=b2d70b30-8b7b-4207-bd9e-12c39419fb2b
TXXX=BARCODE=654378066023
TXXX=CATALOGNUMBER=DBTMCDBOX02
TXXX=MusicBrainz Album Artist Id=b60527cc-54f3-4bbe-a01b-dcf34c95ae14
TXXX=MusicBrainz Album Id=0218662d-7e08-40f2-9b08-d41bace62e3b
TXXX=MusicBrainz Album Release Country=XE
TXXX=MusicBrainz Album Status=official
TXXX=MusicBrainz Album Type=album/compilation
TXXX=MusicBrainz Artist Id=b60527cc-54f3-4bbe-a01b-dcf34c95ae14
TXXX=MusicBrainz Release Group Id=c6b5e8d3-9ec1-4221-b595-857032b25249
TXXX=MusicBrainz Release Track Id=3c1c48bb-8f4f-4516-af8b-b5eadd99c469
TXXX=SCRIPT=Latn
TXXX=originalyear=2020
UFID=http://musicbrainz.org=b'126cc184-b2a6-4743-803b-0953c85f7b0f'

For information, the files are written by MusicBrainz Picard 
<https://picard.musicbrainz.org/>.
Questions

Is it possible to retrieve the UFID tag with ffprobe?
If yes, how?

Thanks for your help.

Cheers,

Alain

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to