Samuel Sieb wrote: > On 6/16/26 8:05 PM, Robert Moskowitz via users wrote: >> mp3 for both. But I suspect something new in metadata. >> So I probably need some tool that can compare metadata >> between the two versions. Other than what shows up in VLC >> Info on the files. > > id3v2 -l file.mp3
I'd suggest eyeD3 or mid3v2 rather than id3v2. The latter
fails to parse many valid ID3 tags, for me.
I tried it on a few of mine for curiosity, as I hadn't used
it in a decade. None of them worked; id3v2 fails with "No
ID3 tag" for anything I've encoded over the past several
years.
(I know that's not the case as I've got a more meticulously
maintained set of tags than normal people. :)
It may be that id3v2 is unable to parse Xing/MP3 Info
headers or VBR encoded files, I didn't dig into it. Since
it had the last commit around 2010, I'd call it moribund, at
best.
Both eyeD3 and mid3v2 work well and default to showing the
tags when no options are given. Though I should say that I
build my own eyeD3 package since the Fedora one is a bit out
of date so I can't be sure there aren't bugs in the Fedora
packages that have been fixed upstream. Probably (or
hopefully) nothing which affects basic tag listing, at
least.
eyeD3 has plugins which produce output as json or yaml, if
that's handy for comparison.
The default mid3v2 output is nearly identical to what id3v2
produces (when it works) and is line-based which is also
easy to diff.
I often do something like this to compare tags between
files:
diff -u <(mid3v2 1.mp3) <(mid3v2 2.mp3)
Replace `diff -u` with `vimdiff` or whatever tool(s) you
like for diffing text.
Since I mentioned id3v2 failing and wondered if it was due
to Xing and/or MP3 info headers, you can print a bunch of
that information with eyeD3 using the lameinfo plugin:
$ eyeD3 -P lameinfo 1.mp3
1.mp3 [ 15.82 MB ]
----------------------------------------------------------------------------
Encoder Version : LAME3.98
LAME Tag Revision : 0
VBR Method : Constant Bitrate
Lowpass Filter : 20500
Peak Amplitude : 0.97470832 (-0.2 dB)
Radio Replay Gain : -9.2 dB (Set automatically)
Encoding Flags : --nspsytune --nssafejoint
ATH Type : 4
Bitrate (Constant) : 320
Encoder Delay : 576 samples
Encoder Padding : 941 samples
Noise Shaping : 1
Stereo Mode : Joint
Unwise Settings : False
Sample Frequency : 44.1 kHz
MP3 Gain : 0 (+0.0 dB)
Preset : CBR 320
Surround Info : None
Music Length : 0.00 Bytes
Music CRC-16 : 0000
LAME Tag CRC-16 : 0000
If nothing differs in the ID3 tags, perhaps the difference
is in the Xing/MP3 info headers.
--
Todd
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
