Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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

add comment

5 Answers 5

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

share|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
add comment

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

share|improve this answer
add comment

You can simply use id3info that comes with libid3.

share|improve this answer
add comment

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.

share|improve this answer
add comment

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.).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.