How to get all the attributes in mp3 file including author, title, mp3 tags, etc, in terminal

link|improve this question
feedback

migrated from stackoverflow.com Jan 20 '10 at 15:50

This question came from our site for professional and enthusiast programmers.

5 Answers

I use the mp3info command. On Ubuntu, install by sudo apt-get install mp3info. Home page: http://www.ibiblio.org/mp3info/

link|improve this answer
ya can i get the information of the remote mp3 file – Ramesh Jan 20 '10 at 12:38
You first have to download the file (use wget, for instance) – codeape Jan 20 '10 at 13:02
or ssh, if you can login to the remote system: ssh -c 'mp3info /path/to/foo.mp3' user@host ... naturally the remote system will need a copy of the mp3info program. – quack quixote Jan 20 '10 at 16:00
feedback

There are several tools to do this, e.g. id3ed

link|improve this answer
feedback

You can simply use id3info that comes with libid3.

link|improve this answer
feedback

Many of the mp3-specific tools mentioned elsewhere are good options. However, I'd like to suggest exiftool, which will handle all sorts of file types. Very detailed, and it supports printf-style format strings, which are always handy when needing exact output formats for scripting.

link|improve this answer
feedback

Check out eyeD3

eyeD3 is a Python program and module that provides the ability to read and write ID3 tags (v1.x and v2.3/v2.4). It also decodes MP3 headers (bit rate, sample frequency, play time, etc.).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown