Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Compile mp3info and install from source' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Compile mp3info and install from source
Authored by: xcgr on Aug 02, '10 08:28:41AM

How is this any better than looking at your MP3 file's info in iTunes, or it's extended info in the Finder's Get Info window?

[ Reply to This | # ]
Compile mp3info and install from source
Authored by: neuralstatic on Aug 02, '10 10:09:28AM

people like doing things in different ways. but i see two reasons probably:
it has many more options, and lets you do some things that itunes wants to prevent.
and it's bash scriptable.

my question is why not just install it from macports?

from the man:

-a artist Specify ID3 artist name
-c comment Specify ID3 comment
-g genre Specify ID3 genre (use -G for genre list)
-l album Specify ID3 album name
-n track Specify ID3 v1.1 track number
-t title Specify ID3 track title
-y year Specify ID3 copyright year

-G Display valid genres
-h Display this help page
-x Display technical attributes of the MP3 file
-r a|m|v Report bit rate of (VBR) files as:
a - Average bit rate (float)
m - Median bit rate (integer)
v - Simply use the word 'Variable' (string) [default]

-i Edit ID3 tag interactively
-d Delete ID3 tag (if one exists)
-f Force processing if file is not a standard MP3
-F Full Scan (see man page for details)

-p "FORMAT_STRING" Print FORMAT_STRING with substitutions

Conversion Specifiers

%f Filename without the path (string)
%F Filename with the path (string)
%k File size in KB (integer)

%a Artist (string)
%c Comment (string)
%g Musical genre (string)
%G Musical genre (integer)
%l Album name (string)
%n Track (integer)
%t Track Title (string)
%y Year (string)

%C Copyright flag (string)
%e Emphasis (string)
%E CRC Error protection (string)
%L MPEG Layer (string)
%O Original material flag (string)
%o Stereo/mono mode (string)
%p Padding (string)
%v MPEG Version (float)

%u Number of good audio frames (integer)
%b Number of corrupt audio frames (integer)
%Q Sampling frequency in Hz (integer)
%q Sampling frequency in KHz (integer)
%r Bit Rate in KB/s (see also '-r')

%m Playing time: minutes only (integer)
%s Playing time: seconds only (integer)
%S Total playing time in seconds (integer)

%% A single percent sign

[ Reply to This | # ]
Compile mp3info and install from source
Authored by: bluehz on Aug 02, '10 07:41:40PM

I am the author of this post - not sure why it shows up as "anonymous"

Yes - all this can be done using iTunes and many other GUI apps - but I do a lot of batch runs and bash scripting and I always like the option to do something through the terminal.

As far as why I don't install MacPorts... I used to be a big Fink fan - from first days of Mac OS X... but I just found it got to be so big and overwhelming and I had no idea what exactly was going on with it in terms of my compilations. I much prefer a more hands on approach. Also - I found that by manually compiling I learned how to solve dependency issues, patching issues, and customization issues that were often lost in the MacPorts/Fink methodology. Its really just a personal preferences - I throw this hint out there just as a notation in case anyone else wants to do the same task.

[ Reply to This | # ]
Compile mp3info and install from source
Authored by: Gnarlodious on Aug 31, '10 07:40:01AM

The main advantage of the mp3info tool is to show an obsolete MP3 tag that iTunes infowindow ignores. The Terminal output of this command is not the same as what shows in iTunes and incidentally may display all sorts of irrelevant, embarrassing or incriminating data. You may also notice the strings are truncated at 30 characters because the inventors of this primitive tag did not imagine song titles exceeding 30 characters.

For a more modern printout of metadata use the id3info or id3v2 CLI tools. However, as you explore more modern metadata be prepared to see all sorts of junk you wish wasn't there.

[ Reply to This | # ]