<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear All,<div class="">I’m trying to get the UFID tag from mp3 file with the ffprobe commande without success.</div><div class=""><br class=""></div><div class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: var(--s-prose-spacing); margin-left: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class="">I'm using <code style="margin: 0px; padding: var(--su2) var(--su4); border: 0px; font-family: var(--ff-mono); font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: pre-wrap; color: var(--black-800); border-radius: var(--br-sm);" class="">ffprobe</code> to retrieve metadata from audio files. To do so, I usually use the following command:</div><pre style="margin-top: 0px; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); padding: var(--su12); border: 0px; font-family: var(--ff-mono); font-stretch: inherit; line-height: var(--lh-md); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; border-radius: var(--br-md); word-wrap: normal; color: var(--highlight-color);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: var(--ff-mono); font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: inherit; color: var(--black-800); border-radius: 0px;" class=""><br class=""></code></pre><pre style="margin-top: 0px; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); padding: var(--su12); border: 0px; font-family: var(--ff-mono); font-stretch: inherit; line-height: var(--lh-md); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; border-radius: var(--br-md); word-wrap: normal; color: var(--highlight-color);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: var(--ff-mono); font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: inherit; color: var(--black-800); border-radius: 0px;" class="">ffprobe -hide_banner -v 0 -i audio.mp3 -show_entries format -of json
</code></pre><div style="margin-top: 0px; margin-right: 0px; margin-bottom: var(--s-prose-spacing); margin-left: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class=""><br class=""></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: var(--s-prose-spacing); margin-left: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class="">This gives the following result:</div></div><div class=""><br class=""></div><div class=""><pre style="margin-top: 0px; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); padding: var(--su12); border: 0px; font-family: var(--ff-mono); font-stretch: inherit; line-height: var(--lh-md); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; border-radius: var(--br-md); word-wrap: normal; color: var(--highlight-color);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: var(--ff-mono); font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: inherit; color: var(--black-800); border-radius: 0px;" class="">{
"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"
}
}
}</code></pre><div class=""><br class=""></div></div><div class=""><span style="caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);" class="">However, in this result, I can't find the </span><a href="https://id3.org/id3v2.3.0#sec4.1" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; color: var(--theme-link-color-visited); cursor: pointer;" class="">UFID</a><span style="caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);" class=""> tag. I know this tag is present in the file, because it is retrievable with </span><code style="margin: 0px; padding: var(--su2) var(--su4); border: 0px; font-family: var(--ff-mono); font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: pre-wrap; color: rgb(35, 38, 41); border-radius: var(--br-sm); caret-color: rgb(35, 38, 41);" class="">mutagen-inspect</code><span style="caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);" class=""> more information </span><a href="https://mutagen.readthedocs.io/en/latest/man/mutagen-inspect.html" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; color: var(--theme-link-color-visited); cursor: pointer;" class="">here</a><span style="caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);" class="">. Using mutagen-inspect gives the following result:</span></div><div class=""><span style="caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><pre style="margin-top: 0px; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); padding: var(--su12); border: 0px; font-family: var(--ff-mono); font-stretch: inherit; line-height: var(--lh-md); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; border-radius: var(--br-md); word-wrap: normal; color: var(--highlight-color);" class=""><code style="margin: 0px; padding: 0px; border: 0px; font-family: var(--ff-mono); font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; white-space: inherit; color: var(--black-800); border-radius: 0px;" class="">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=<a href="http://musicbrainz.org=b'126cc184-b2a6-4743-803b-0953c85f7b0f'" class="">http://musicbrainz.org=b'126cc184-b2a6-4743-803b-0953c85f7b0f'</a></code></pre><div class=""><br class=""></div></div><div class=""><div style="margin-top: 0px; margin-right: 0px; margin-bottom: var(--s-prose-spacing); margin-left: 0px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; box-sizing: inherit; clear: both; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class="">For information, the files are written by <a href="https://picard.musicbrainz.org/" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; color: var(--theme-link-color-visited); cursor: pointer;" class="">MusicBrainz Picard</a>.</div><h1 style="margin: 1.5667em 0px 0.6em; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: 1.3; font-size: var(--fs-headline1); vertical-align: baseline; box-sizing: inherit; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class="">Questions</h1><ul style="margin: 0px 0px 0px 30px; padding: 0px; border: 0px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; line-height: inherit; font-size: 15px; vertical-align: baseline; list-style-position: initial; list-style-image: initial; box-sizing: inherit; caret-color: rgb(35, 38, 41); color: rgb(35, 38, 41);" class=""><li style="margin-top: 0px; margin-right: 0px; margin-bottom: var(--s-prose-spacing-condensed); margin-left: 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; word-wrap: break-word;" class="">Is it possible to retrieve the UFID tag with ffprobe?</li><li style="margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; box-sizing: inherit; word-wrap: break-word;" class="">If yes, how?</li></ul><div class=""><br class=""></div></div><div class="">Thanks for your help.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Alain</div></body></html>